/* ===== ROOT VARIABLES ===== */
:root {
    --wood-dark: #2C1810;
    --wood-brown: #5C2E0A;
    --wood-medium: #8B4513;
    --wood-light: #A0522D;
    --wood-tan: #C47A3A;
    --wood-cream: #F5E6C8;
    --wood-beige: #EDD9A3;
    --fire-orange: #E85D04;
    --fire-red: #DC2F02;
    --fire-yellow: #F48C06;
    --fire-bright: #FFBA08;
    --text-dark: #1A0A00;
    --text-medium: #4A2C0A;
    --text-light: #7A5C3A;
    --white: #FFFFFF;
    --off-white: #FDF8F0;
    --shadow-sm: 0 2px 8px rgba(44,24,16,0.12);
    --shadow-md: 0 4px 20px rgba(44,24,16,0.18);
    --shadow-lg: 0 8px 40px rgba(44,24,16,0.25);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
    --font-head: 'Montserrat', sans-serif;
    --font-body: 'Lora', serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }

/* ===== TOPBAR ===== */
.topbar {
    background: var(--wood-dark);
    color: rgba(255,255,255,0.9);
    padding: 8px 0;
    font-size: 0.82rem;
    font-family: var(--font-head);
    border-bottom: 2px solid var(--fire-orange);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar-left span, .topbar-right a { color: rgba(255,255,255,0.9); font-size: 0.82rem; display: flex; align-items: center; gap: 6px; }
.topbar-right a:hover { color: var(--fire-yellow); }
.topbar i { color: var(--fire-orange); }
.topbar .fa-whatsapp { color: #25D366; }

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(255,252,245,0.97);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(44,24,16,0.12);
    border-bottom: 3px solid var(--wood-tan);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { flex-shrink: 0; filter: drop-shadow(0 2px 8px rgba(232,93,4,0.4)); }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-head); font-size: 1.3rem; font-weight: 900; color: var(--wood-brown); letter-spacing: -0.5px; line-height: 1; }
.logo-tagline { font-family: var(--font-body); font-size: 0.72rem; color: var(--wood-light); font-style: italic; }

/* Nav Menu */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-medium);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--fire-orange);
    background: rgba(232,93,4,0.08);
}
.nav-menu a i { font-size: 0.75rem; }
.btn-whatsapp-nav {
    background: #25D366 !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 50px !important;
    font-size: 0.8rem !important;
    white-space: nowrap;
}
.btn-whatsapp-nav:hover { background: #1db954 !important; transform: translateY(-1px); }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; border-radius: 8px; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: var(--wood-brown); transition: var(--transition); border-radius: 2px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu close button – hidden on desktop */
.nav-menu-close { display: none; }

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/img11.jpg');
    background-size: cover;
    background-position: center 40%;
    filter: brightness(0.45) saturate(0.8);
    z-index: 0;
    transform: scale(1.05);
    animation: heroZoom 12s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.0); } to { transform: scale(1.08); } }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44,24,16,0.85) 0%, rgba(92,46,10,0.5) 60%, rgba(232,93,4,0.15) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 60px 0;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--fire-orange);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease both;
}
.hero-badge i { font-size: 0.9rem; }
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: white;
    font-weight: 900;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    margin-bottom: 18px;
    animation: fadeInDown 0.9s ease both;
    line-height: 1.1;
}
.hero h1 .accent { color: var(--fire-yellow); }
.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 600px;
    animation: fadeInUp 1s ease both;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.hero-price {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    background: rgba(255,186,8,0.15);
    border: 2px solid var(--fire-yellow);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 32px;
    animation: fadeInUp 1.1s ease both;
}
.hero-price .price { font-family: var(--font-head); font-size: 2rem; font-weight: 900; color: var(--fire-yellow); }
.hero-price .price-suffix { color: rgba(255,255,255,0.85); font-size: 1rem; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeInUp 1.2s ease both; }
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--fire-orange), var(--fire-red));
    color: white;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(232,93,4,0.4);
    transition: var(--transition);
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(232,93,4,0.5); color: white; }
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #25D366;
    color: white;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    letter-spacing: 0.5px;
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(37,211,102,0.5); color: white; background: #1db954; }
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    background: transparent;
    color: white;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.6);
    transition: var(--transition);
    letter-spacing: 0.5px;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: white; transform: translateY(-2px); }
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s ease-in-out infinite;
}
.hero-scroll span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 15px;
    position: relative;
    margin: 0 auto;
}
.hero-scroll span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot { 0%,100%{top:8px;opacity:1} 80%{top:28px;opacity:0} }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-8px)} }
.hero-stats {
    position: absolute;
    bottom: 60px;
    right: 0;
    z-index: 2;
    display: flex;
    gap: 2px;
    animation: fadeInRight 1.3s ease both;
}
.hero-stat {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 16px 22px;
    text-align: center;
    color: white;
}
.hero-stat:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.hero-stat:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.hero-stat strong { display: block; font-family: var(--font-head); font-size: 1.6rem; font-weight: 900; color: var(--fire-yellow); line-height: 1; }
.hero-stat span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.9; }

/* ===== CONFIGURATOR ===== */
.configurator-section {
    padding: 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
.configurator-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border-top: 5px solid var(--fire-orange);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.configurator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--fire-red), var(--fire-orange), var(--fire-yellow));
}
.configurator-title {
    text-align: center;
    margin-bottom: 32px;
}
.configurator-title h2 {
    font-size: 1.5rem;
    color: var(--wood-brown);
    font-family: var(--font-head);
}
.configurator-title p { color: var(--text-light); font-size: 0.95rem; margin-top: 6px; }
.config-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.config-group label {
    display: block;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--wood-medium);
    margin-bottom: 10px;
}
.wood-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wood-type-btn {
    border: 2px solid var(--wood-cream);
    border-radius: var(--radius-sm);
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--off-white);
    font-family: var(--font-head);
}
.wood-type-btn i { display: block; font-size: 1.6rem; margin-bottom: 6px; color: var(--wood-light); transition: var(--transition); }
.wood-type-btn span { font-size: 0.82rem; font-weight: 700; color: var(--text-medium); display: block; }
.wood-type-btn small { font-size: 0.72rem; color: var(--text-light); }
.wood-type-btn:hover, .wood-type-btn.selected {
    border-color: var(--fire-orange);
    background: rgba(232,93,4,0.05);
}
.wood-type-btn:hover i, .wood-type-btn.selected i { color: var(--fire-orange); }
.wood-type-btn.selected { box-shadow: 0 0 0 3px rgba(232,93,4,0.2); }

.quantity-control { display: flex; align-items: center; gap: 0; border: 2px solid var(--wood-cream); border-radius: var(--radius-sm); overflow: hidden; width: 100%; }
.qty-btn {
    width: 50px;
    height: 56px;
    background: var(--wood-cream);
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--wood-brown);
    transition: var(--transition);
    flex-shrink: 0;
    font-family: var(--font-head);
}
.qty-btn:hover { background: var(--fire-orange); color: white; }
.qty-input {
    flex: 1;
    height: 56px;
    border: none;
    text-align: center;
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--wood-brown);
    background: white;
    outline: none;
    width: 100%;
    -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-label { font-family: var(--font-head); font-size: 0.7rem; color: var(--text-light); text-align: center; margin-top: 8px; }
.config-result {
    background: linear-gradient(135deg, var(--wood-dark), var(--wood-brown));
    color: white;
    border-radius: var(--radius-md);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.result-info strong { display: block; font-size: 2rem; font-family: var(--font-head); font-weight: 900; color: var(--fire-yellow); }
.result-info span { font-size: 0.85rem; opacity: 0.85; }
.result-detail { font-size: 0.85rem; opacity: 0.8; }
.result-detail p { margin: 2px 0; }
.config-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.config-actions .btn-primary, .config-actions .btn-whatsapp, .config-actions .btn-outline { padding: 12px 22px; font-size: 0.85rem; }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232,93,4,0.1);
    color: var(--fire-orange);
    padding: 5px 14px;
    border-radius: 50px;
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}
.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--wood-dark);
    margin-bottom: 14px;
}
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; font-size: 1rem; }
.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--fire-orange), var(--fire-yellow));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== WOOD TYPES SECTION ===== */
.wood-section { background: linear-gradient(180deg, var(--off-white) 0%, var(--wood-cream) 100%); }
.wood-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wood-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}
.wood-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-bottom-color: var(--fire-orange); }
.wood-card-icon {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}
.wood-card:nth-child(1) .wood-card-icon { background: linear-gradient(135deg, #c4855a, #8B4513); }
.wood-card:nth-child(2) .wood-card-icon { background: linear-gradient(135deg, #7a6050, #4a3828); }
.wood-card:nth-child(3) .wood-card-icon { background: linear-gradient(135deg, #b8a070, #7a6040); }
.wood-card-body { padding: 24px; }
.wood-card-body h3 { font-size: 1.2rem; color: var(--wood-dark); margin-bottom: 10px; }
.wood-card-body p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.wood-props { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.wood-prop {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--wood-medium);
    background: var(--wood-cream);
    padding: 4px 10px;
    border-radius: 20px;
}
.wood-price-tag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--wood-cream);
}
.wood-price { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: var(--fire-orange); }
.wood-price small { font-size: 0.72rem; color: var(--text-light); font-weight: 400; display: block; }
.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
    font-family: var(--font-head);
    font-weight: 700;
    border-radius: 50px;
    background: var(--fire-orange);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-sm:hover { background: var(--fire-red); color: white; transform: translateY(-1px); }

/* ===== VIDEO SECTION ===== */
.video-section { background: var(--wood-dark); padding: 80px 0; }
.video-section .section-header h2 { color: white; }
.video-section .section-header p { color: rgba(255,255,255,0.7); }
.video-section .section-tag { background: rgba(255,186,8,0.15); color: var(--fire-yellow); }
.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 3px solid rgba(255,186,8,0.3);
    position: relative;
}
.video-wrapper video { width: 100%; display: block; }

/* ===== SERVICES ===== */
.services-section { background: white; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    padding: 36px 28px;
    border-radius: var(--radius-md);
    background: var(--off-white);
    border: 2px solid var(--wood-cream);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--fire-orange), var(--fire-yellow));
    transform: scaleY(0);
    transition: var(--transition);
    transform-origin: bottom;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--fire-orange); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--fire-orange), var(--fire-red));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(232,93,4,0.3);
}
.service-card h3 { font-size: 1.1rem; color: var(--wood-dark); margin-bottom: 10px; }
.service-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

/* ===== ABOUT ===== */
.about-section { background: var(--wood-cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-images { position: relative; }
.about-img-main { border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 55%;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 5px solid white;
}
.about-content { padding-left: 20px; }
.about-content h2 { font-size: 2rem; color: var(--wood-dark); margin-bottom: 16px; }
.about-content p { color: var(--text-medium); margin-bottom: 16px; font-size: 0.95rem; line-height: 1.8; }
.about-features { margin-top: 24px; }
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}
.feature-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--fire-orange), var(--fire-red));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}
.feature-text strong { display: block; font-family: var(--font-head); font-size: 0.9rem; color: var(--wood-dark); margin-bottom: 3px; }
.feature-text span { font-size: 0.85rem; color: var(--text-light); }

/* ===== GALLERY ===== */
.gallery-section { background: var(--off-white); }
.gallery-grid { columns: 3; gap: 16px; }
.gallery-item { break-inside: avoid; margin-bottom: 16px; position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44,24,16,0.8), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: white; font-size: 0.85rem; font-family: var(--font-head); font-weight: 600; }
.gallery-overlay i { color: white; font-size: 1.5rem; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0); transition: var(--transition); }
.gallery-item:hover .gallery-overlay i { transform: translate(-50%,-50%) scale(1); }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-content img { max-width: 90vw; max-height: 80vh; border-radius: var(--radius-sm); object-fit: contain; }
.lightbox-close { position: absolute; top: -40px; right: 0; background: none; border: none; color: white; font-size: 1.8rem; cursor: pointer; }
.lightbox-prev, .lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 14px 18px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}
.lightbox-prev:hover, .lightbox-next:hover { background: var(--fire-orange); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 16px;
    font-size: 0.95rem;
    font-family: var(--font-head);
}

/* ===== FAQ ===== */
.faq-section { background: white; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 2px solid var(--wood-cream);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}
.faq-item.open { border-color: var(--fire-orange); box-shadow: 0 4px 20px rgba(232,93,4,0.1); }
.faq-question {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: var(--off-white);
    transition: var(--transition);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--wood-dark);
    gap: 16px;
    user-select: none;
}
.faq-question:hover { background: var(--wood-cream); }
.faq-item.open .faq-question { background: rgba(232,93,4,0.06); color: var(--fire-orange); }
.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--wood-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    font-size: 0.8rem;
    color: var(--wood-brown);
}
.faq-item.open .faq-icon { background: var(--fire-orange); color: white; transform: rotate(45deg); }
.faq-answer {
    display: none;
    padding: 0 24px 20px;
    background: var(--off-white);
    color: var(--text-medium);
    font-size: 0.92rem;
    line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }

/* ===== CONTACT ===== */
.contact-section { background: var(--wood-cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h3 { font-size: 1.4rem; color: var(--wood-dark); margin-bottom: 24px; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--fire-orange), var(--fire-red));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-item-text strong { display: block; font-family: var(--font-head); font-size: 0.85rem; color: var(--wood-medium); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.contact-item-text a, .contact-item-text span { font-size: 1rem; color: var(--wood-dark); font-weight: 500; }
.contact-item-text a:hover { color: var(--fire-orange); }
.contact-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.map-placeholder {
    background: linear-gradient(135deg, var(--wood-dark), var(--wood-brown));
    border-radius: var(--radius-md);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-head);
    font-size: 1rem;
    gap: 10px;
    margin-top: 24px;
}

/* ===== STATS SECTION ===== */
.stats-section { background: linear-gradient(135deg, var(--wood-dark), var(--wood-brown)); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 30px 20px; position: relative; }
.stat-item:not(:last-child)::after { content:''; position:absolute; right:0; top:25%; height:50%; width:1px; background:rgba(255,255,255,0.15); }
.stat-number { font-family: var(--font-head); font-size: 2.8rem; font-weight: 900; color: var(--fire-yellow); display: block; line-height: 1; margin-bottom: 8px; }
.stat-label { color: rgba(255,255,255,0.75); font-size: 0.85rem; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; }
.stat-icon { font-size: 1.8rem; color: rgba(255,255,255,0.2); margin-bottom: 12px; }

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-brown) 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fire-red), var(--fire-orange), var(--fire-yellow));
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: white; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1rem; max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 20px; font-family: var(--font-head); font-size: 0.8rem; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--fire-yellow); }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: var(--fire-yellow); }

/* ===== FOOTER ===== */
.footer { background: var(--wood-dark); color: rgba(255,255,255,0.85); position: relative; }
.footer-wave { position: relative; height: 0; overflow: visible; margin-bottom: -1px; }
.footer-wave svg { display: block; width: 100%; }
.footer-main { padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-name { display: block; font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: white; }
.footer-logo-tag { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.5); font-style: italic; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 20px; }
.footer-price-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    background: rgba(255,186,8,0.1);
    border: 1px solid rgba(255,186,8,0.3);
    padding: 10px 18px;
    border-radius: 50px;
}
.price-big { font-family: var(--font-head); font-size: 1.8rem; font-weight: 900; color: var(--fire-yellow); }
.price-unit { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.footer-col h4 { font-family: var(--font-head); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1.5px; color: white; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content:''; position:absolute; bottom:0; left:0; width:30px; height:2px; background:var(--fire-orange); }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-links span {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--fire-yellow); padding-left: 4px; }
.footer-links i { color: var(--fire-orange); font-size: 0.75rem; }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.75);
}
.footer-contact-item i { color: var(--fire-orange); font-size: 1.1rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item strong { display: block; font-family: var(--font-head); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.5); margin-bottom: 3px; }
.footer-contact-item span, .footer-contact-item a { font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.footer-contact-item a:hover { color: var(--fire-yellow); }
.footer-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.btn-footer-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: #25D366;
    color: white;
    border-radius: 50px;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}
.btn-footer-wa:hover { background: #1db954; color: white; transform: translateY(-2px); }
.btn-footer-call {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: var(--fire-orange);
    color: white;
    border-radius: 50px;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}
.btn-footer-call:hover { background: var(--fire-red); color: white; transform: translateY(-2px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--fire-yellow); }

/* ===== FLOATING BUTTONS ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
}
.whatsapp-float:hover { background: #1db954; transform: scale(1.1); color: white; }
.wa-pulse {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background: rgba(37,211,102,0.4);
    animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse { 0%{transform:scale(1);opacity:1} 70%{transform:scale(1.6);opacity:0} 100%{opacity:0} }
.phone-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--fire-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(232,93,4,0.4);
    transition: var(--transition);
    animation: phoneRing 3s ease-in-out infinite;
}
.phone-float:hover { background: var(--fire-red); transform: scale(1.1); color: white; }
@keyframes phoneRing { 0%,100%{transform:rotate(0)} 10%{transform:rotate(-10deg)} 20%{transform:rotate(10deg)} 30%{transform:rotate(-5deg)} 40%{transform:rotate(5deg)} 50%{transform:rotate(0)} }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInRight { from{opacity:0;transform:translateX(20px)} to{opacity:1;transform:translateX(0)} }
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .stats-grid .stat-item:nth-child(2)::after { display: none; }
    .wood-cards { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* ---- NAVBAR MOBILE ---- */
    .nav-toggle { display: flex; }

    /*
     * IMPORTANT: .nav-menu is moved to <body> by JavaScript so it escapes
     * the navbar's stacking context. These styles apply once it's on body.
     */
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: min(85vw, 320px);
        height: 100%;
        height: 100dvh;
        background: var(--wood-dark);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        box-shadow: -8px 0 50px rgba(0,0,0,0.5);
        z-index: 99999;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .nav-menu.open {
        display: flex;
        animation: mobileMenuSlideIn 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    }
    @keyframes mobileMenuSlideIn {
        from { transform: translateX(100%); opacity: 0.6; }
        to   { transform: translateX(0);    opacity: 1; }
    }

    /* Menu header */
    .nav-menu::before {
        content: '';
        display: block;
        height: 4px;
        background: linear-gradient(90deg, var(--fire-red), var(--fire-orange), var(--fire-yellow));
        flex-shrink: 0;
    }

    /* Close button */
    .nav-menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
        align-self: flex-end;
        width: 44px;
        height: 44px;
        margin: 14px 14px 6px auto;
        background: rgba(255,255,255,0.1);
        border: 1.5px solid rgba(255,255,255,0.25);
        border-radius: 50%;
        font-size: 1rem;
        color: white;
        cursor: pointer;
        transition: var(--transition);
        flex-shrink: 0;
    }
    .nav-menu-close:hover,
    .nav-menu-close:active { background: var(--fire-orange); border-color: var(--fire-orange); }

    /* Menu items */
    .nav-menu li { width: 100%; flex-shrink: 0; }
    .nav-menu a {
        width: 100%;
        padding: 16px 24px;
        border-radius: 0;
        font-size: 1rem;
        font-weight: 700;
        color: rgba(255,255,255,0.85);
        background: transparent;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        display: flex;
        align-items: center;
        gap: 14px;
        letter-spacing: 0.5px;
    }
    .nav-menu a i {
        font-size: 1rem;
        width: 22px;
        text-align: center;
        color: var(--fire-orange);
    }
    .nav-menu a:hover,
    .nav-menu a.active {
        background: rgba(232,93,4,0.15);
        color: white;
        padding-left: 30px;
    }
    .nav-menu a.active { border-left: 4px solid var(--fire-orange); padding-left: 20px; }

    /* WhatsApp CTA at bottom */
    .nav-cta { margin-top: auto; padding: 20px 20px 30px; flex-shrink: 0; }
    .btn-whatsapp-nav {
        background: #25D366 !important;
        color: white !important;
        width: 100% !important;
        justify-content: center !important;
        padding: 14px 20px !important;
        border-radius: 12px !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
    }
    .btn-whatsapp-nav i { font-size: 1.1rem !important; }

    /* Overlay behind the drawer */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        z-index: 99998;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }
    .nav-overlay.active { display: block; }

    /* ---- TOPBAR ---- */
    .topbar .container { justify-content: center; }
    .topbar-left { display: none; }

    /* ---- HERO: stats below text on mobile ---- */
    .hero {
        min-height: 92vh;
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 20px;
    }
    .hero > .container:first-of-type {
        flex: 1;
        display: flex;
        align-items: center;
    }
    .hero-content { text-align: center; padding-top: 80px; padding-bottom: 20px; }
    .hero-btns { justify-content: center; }
    .hero-stats {
        position: static !important;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 0;
        padding-bottom: 30px;
        gap: 6px;
    }
    .hero-stat { border-radius: var(--radius-sm) !important; padding: 12px 18px; }
    .hero-stat strong { font-size: 1.3rem; }
    .hero > .container:last-of-type { width: 100%; position: static !important; }
    .hero-scroll { display: none; }

    /* ---- CONFIGURATOR ---- */
    .configurator-card { padding: 24px 18px; }
    .config-grid { grid-template-columns: 1fr; }
    .wood-types { grid-template-columns: repeat(3,1fr); }

    /* ---- CONTENT ---- */
    .wood-cards { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-img-secondary { display: none; }
    .about-content { padding-left: 0; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .gallery-grid { columns: 2; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-cta-btns { justify-content: center; }
    .config-result { flex-direction: column; text-align: center; }
    .config-actions { justify-content: center; }
    section { padding: 60px 0; }

    /* ---- PRICE TABLE ---- */
    .price-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 16px;
    }
    .price-table-wrapper table { min-width: 480px; width: 100%; }
    .price-table-wrapper thead th,
    .price-table-wrapper tbody td {
        padding: 14px 16px !important;
        font-size: 0.82rem !important;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .gallery-grid { columns: 1; }
    .wood-types { grid-template-columns: repeat(3, 1fr); }
    .wood-type-btn { padding: 10px 6px; }
    .hero-price .price { font-size: 1.6rem; }
    .config-actions { flex-direction: column; }
    .config-actions .btn-primary, .config-actions .btn-whatsapp { width: 100%; justify-content: center; }
    .whatsapp-float { bottom: 20px; right: 20px; }
    .phone-float { bottom: 88px; right: 20px; }
}
