/* -------------------------------------------------------------
   ENMED MANUFACTURAS - Modern B2B Industrial Stylesheet (2026)
   ------------------------------------------------------------- */

:root {
    --bg-dark: #f8fafc;           /* Primary: Crisp White / Light Off-White background */
    --bg-card: #ffffff;           /* Clean Pure White cards */
    --bg-card-hover: #f1f5f9;     /* Subtle light grey hover */
    --accent-copper: #d35400;     /* Secondary: Industrial Orange / Copper */
    --accent-copper-hover: #e67e22;
    --accent-copper-glow: rgba(211, 84, 0, 0.2);
    --text-main: #0f172a;         /* Tertiary: Deep Dark Anthracite text */
    --text-muted: #475569;       /* Slate dark grey for body copy */
    --text-dim: #64748b;         /* Muted slate text */
    --border-light: #e2e8f0;      /* Clean subtle light border */
    --border-copper: rgba(211, 84, 0, 0.35);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-main: 0 10px 30px rgba(15, 23, 42, 0.08);
    --font-heading: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-heading);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 90px 0;
}

/* Header & Sticky Nav (Dark Mode) */
.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.brand-logo img {
    height: 48px;
    width: auto;
    border-radius: var(--radius-sm);
    background: #ffffff;
    padding: 3px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.brand-logo span {
    color: var(--accent-copper);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: #cbd5e1;
    transition: color 0.25s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-copper);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-cta-nav {
    background: var(--accent-copper);
    color: #fff;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--accent-copper-glow);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.btn-cta-nav:hover {
    background: var(--accent-copper-hover);
    transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
}

/* Hero Section (Dark Mode) */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 110px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 41, 59, 0.88) 100%), url('../images/tubo_1.jpg') center/cover no-repeat;
    overflow: hidden;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, transparent 0%, var(--accent-copper) 30%, #e67e22 70%, transparent 100%) 1;
    box-shadow: 0 10px 30px rgba(211, 84, 0, 0.15);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    max-width: 100%;
}

.hero-stats-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid var(--border-copper);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(211, 84, 0, 0.15);
    backdrop-filter: blur(12px);
}

.hero-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-card-title i {
    color: var(--accent-copper);
}

.hero-stat-box {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--accent-copper);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.hero-stat-box:last-child {
    margin-bottom: 0;
}

.hero-stat-box:hover {
    transform: translateX(5px);
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(211, 84, 0, 0.4);
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-copper);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 2px;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(211, 84, 0, 0.15);
    border: 1px solid var(--border-copper);
    color: var(--accent-copper);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-title span {
    color: var(--accent-copper);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 36px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-primary-wa {
    background: #25d366;
    color: #0b1325;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-primary-wa:hover {
    background: #20ba5a;
    transform: translateY(-3px);
}

.btn-secondary-outline {
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(15, 23, 42, 0.6);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.btn-secondary-outline:hover {
    border-color: var(--accent-copper);
    background: var(--accent-copper);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Feature Stats Grid */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--accent-copper);
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.95rem;
    color: #e2e8f0;
    font-weight: 500;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.section-title span {
    color: var(--accent-copper);
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.about-features {
    list-style: none;
    margin-bottom: 30px;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--text-main);
}

.about-features i {
    color: var(--accent-copper);
    font-size: 1.2rem;
    margin-top: 3px;
}

.about-img-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-main);
    border: 1px solid var(--border-copper);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.about-img-box img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.about-img-box:hover img {
    transform: scale(1.04);
}

/* Compact Capabilities Section & Specs Table */
.section-padding-compact {
    padding: 50px 0;
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.compact-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.compact-header-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 500px;
}

.specs-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-copper);
    border-radius: var(--radius-md);
    overflow-x: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.specs-table th {
    background: rgba(211, 84, 0, 0.12);
    color: var(--text-main);
    font-weight: 700;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-copper);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.specs-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-muted);
}

.specs-table tbody tr:last-child td {
    border-bottom: none;
}

.specs-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.specs-table td strong {
    color: var(--text-main);
}

.specs-table td strong i {
    color: var(--accent-copper);
    margin-right: 8px;
}

.spec-highlight {
    color: var(--accent-copper);
    font-weight: 700;
    background: rgba(211, 84, 0, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.88rem;
}

/* Product Gallery & Lightbox - 7 Items split in 2 clean rows */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.gallery-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    /* Default: Row 1 items (first 4 items) take 1/4 width minus gap */
    flex: 1 1 calc(25% - 15px);
    max-width: calc(25% - 15px);
}

.gallery-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-copper);
}

/* Row 2 items (last 3 items: cards 5, 6, 7) take 1/3 width minus gap */
.gallery-card:nth-child(n+5) {
    flex: 1 1 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
}

.gallery-img-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 22, 27, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--accent-copper);
    margin-bottom: 8px;
}

.gallery-info {
    padding: 16px;
}

.gallery-info h4 {
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 4px;
}

.gallery-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 900px;
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-copper);
}

.lightbox-content img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: #000;
}

.lightbox-details {
    padding: 20px;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 20;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: var(--accent-copper);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid var(--border-copper);
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 15;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.lightbox-nav:hover {
    background: var(--accent-copper);
    border-color: var(--accent-copper);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px var(--accent-copper-glow);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Quotation Form Section (2 Columns) */
.quote-section {
    background: #f1f5f9;
}

.quote-card-2col {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 45px;
    box-shadow: var(--shadow-main);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.text-left {
    text-align: left !important;
}

.quote-info-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.quote-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 25px;
    width: 100%;
}

.q-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-main);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.q-feat-item i {
    font-size: 1.3rem;
    color: var(--accent-copper);
    margin-top: 2px;
}

.q-feat-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 2px;
}

.q-feat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.quote-form-col form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
}

.form-control {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-copper);
    box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

.cad-note {
    grid-column: span 2;
    background: rgba(211, 84, 0, 0.1);
    border-left: 4px solid var(--accent-copper);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cad-note i {
    color: var(--accent-copper);
    margin-right: 6px;
}

.btn-submit-quote {
    grid-column: span 2;
    background: var(--accent-copper);
    color: #fff;
    border: none;
    padding: 16px 30px;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--accent-copper-glow);
}

.btn-submit-quote:hover {
    background: var(--accent-copper-hover);
    transform: translateY(-2px);
}

/* Contact & Location */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--border-light);
}

.contact-info-list {
    list-style: none;
    margin-top: 20px;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.contact-info-list i {
    color: var(--accent-copper);
    font-size: 1.3rem;
    margin-top: 3px;
}

.badge-coverage {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25d366;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

.map-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    min-height: 350px;
    border: 1px solid var(--border-light);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Floating WhatsApp Button */
.float-wa-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.float-wa-btn:hover {
    transform: scale(1.1);
    background: #20ba5a;
}

.float-wa-tooltip {
    position: absolute;
    right: 70px;
    background: #0f172a;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid var(--accent-copper);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.float-wa-btn:hover .float-wa-tooltip {
    opacity: 1;
}

/* Footer B2B Styles */
.footer-b2b {
    background: #080b0e;
    border-top: 1px solid var(--border-light);
    padding: 70px 0 30px 0;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-logo {
    height: 42px;
    width: auto;
    background: #ffffff;
    padding: 3px 6px;
    border-radius: var(--radius-sm);
}

.footer-brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.footer-brand-title span {
    color: var(--accent-copper);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-copper);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--accent-copper);
    border-color: var(--accent-copper);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px var(--accent-copper-glow);
}

.footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--accent-copper);
}

.footer-links, .footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--accent-copper);
}

.footer-links a:hover {
    color: var(--accent-copper);
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-contact i {
    color: var(--accent-copper);
    margin-top: 3px;
}

.footer-contact a {
    color: var(--accent-copper);
    font-weight: 700;
    transition: color 0.25s ease;
}

.footer-contact a:hover {
    color: #e67e22;
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.88rem;
    color: var(--text-dim);
}

.designer-credit {
    color: var(--text-muted);
}

.designer-credit a {
    color: var(--accent-copper);
    font-weight: 700;
    transition: color 0.25s ease;
}

.designer-credit a:hover {
    color: var(--accent-copper-hover);
    text-decoration: underline;
}

/* Responsive Mobile Breakpoint Rules */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-img-box {
        max-height: 350px;
    }

    .about-img-box img {
        height: 100%;
        object-fit: cover;
    }
    
    .quote-card-2col {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .gallery-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .gallery-card {
        flex: 1 1 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        transition: left 0.3s ease;
        padding: 40px;
    }
    
    .nav-menu.active { 
        left: 0; 
    }
    
    .mobile-toggle { 
        display: block; 
    }
    
    .hero-buttons { 
        flex-direction: column; 
    }
    
    .btn-primary-wa, .btn-secondary-outline { 
        width: 100%; 
        justify-content: center; 
    }

    /* Tabla de Capacidades Responsiva */
    .specs-table-wrapper {
        background: transparent;
        border: none;
        box-shadow: none;
        overflow-x: visible;
    }
    
    .specs-table, .specs-table tbody, .specs-table tr, .specs-table td {
        display: block;
        width: 100%;
    }

    .specs-table thead {
        display: none; /* Ocultar encabezados horizontales rígidos en móviles */
    }

    .specs-table tr {
        background: var(--bg-card);
        border: 1px solid var(--border-copper);
        border-radius: var(--radius-md);
        margin-bottom: 16px;
        padding: 16px;
        box-shadow: var(--shadow-main);
    }

    .specs-table td {
        padding: 8px 0;
        border-bottom: 1px solid var(--border-light);
        display: flex;
        flex-direction: column;
        gap: 4px;
        font-size: 0.95rem;
    }

    .specs-table td:last-child {
        border-bottom: none;
    }

    .specs-table td::before {
        content: attr(data-label);
        font-weight: 700;
        font-size: 0.75rem;
        text-transform: uppercase;
        color: var(--accent-copper);
        letter-spacing: 0.5px;
    }

    .specs-table td:first-child {
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--text-main);
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-section {
        padding-top: 130px;
        padding-bottom: 70px;
    }

    .gallery-grid {
        display: flex;
        flex-direction: column;
    }
    
    .gallery-card {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-specs-card {
        padding: 20px;
    }
}
