/* ==========================================================================
   CASABELLA REFORMAS, INSTALACIONES & SERVICIOS
   Estilo Arquitectónico Corporativo, Fino y Serio
   - Botones geométricos de empresa real (menos circulares, esquinas sobrias de 4-6px)
   - Botón de Presupuesto con diseño noble y distinguido
   - Fondos fotográficos con degradados animados continuos
   - Acordeón de preguntas frecuentes ampliado y realista
   - Verde Bosque Noble (#267b50 / #48b57e) sobre Obsidian
   ========================================================================== */

:root {
    /* Fondos Obsidian y Pizarra Profunda */
    --bg-main: #0a0d13;
    --bg-surface: #0f141d;
    --bg-card: rgba(18, 26, 37, 0.86);
    --bg-card-hover: rgba(22, 33, 47, 0.96);
    --border-subtle: rgba(255, 255, 255, 0.08);
    
    /* Verde Bosque de Autor */
    --forest-primary: #267b50;
    --forest-hover: #2f9461;
    --forest-light: #48b57e;
    --forest-dark: #185436;
    --forest-subtle: rgba(38, 123, 80, 0.16);
    --forest-border: rgba(72, 181, 126, 0.36);
    --forest-glow: rgba(72, 181, 126, 0.22);
    --forest-glow-bright: rgba(72, 181, 126, 0.45);
    
    /* Tipografía */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dark: #051a0f;
    
    /* Geometría Corporativa de Empresa Real (NO circular) */
    --radius-btn: 4px;
    --radius-card: 6px;
    --radius-box: 8px;
    --shadow-card: 0 12px 28px -6px rgba(0, 0, 0, 0.6), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 24px var(--forest-glow);
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-spring: transform 0.14s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Reset y control total de desbordamientos */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   ANIMACIÓN DE DEGRADADOS EN FONDOS (GRADIENT SWEEP)
   ========================================================================== */
@keyframes gradientAtmosphere {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatOrb {
    0% { transform: translate(0px, 0px) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.08); }
    100% { transform: translate(0px, 0px) scale(1); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0px, 0px) scale(1.05); }
    50% { transform: translate(-25px, 25px) scale(0.95); }
    100% { transform: translate(0px, 0px) scale(1.05); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Luces ambientales */
.ambient-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
    pointer-events: none;
    z-index: 1;
}

.orb-1 {
    width: 450px;
    height: 450px;
    top: 5%;
    right: 8%;
    background: radial-gradient(circle, rgba(72, 181, 126, 0.16) 0%, transparent 70%);
    animation: floatOrb 14s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    bottom: 8%;
    left: 5%;
    background: radial-gradient(circle, rgba(38, 123, 80, 0.14) 0%, transparent 75%);
    animation: floatOrb2 16s ease-in-out infinite;
}

.orb-calc {
    width: 500px;
    height: 500px;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(72, 181, 126, 0.14) 0%, transparent 70%);
    animation: floatOrb 15s ease-in-out infinite;
}

/* Capas de degradado animado sobre fotografías */
.hero-animated-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 13, 19, 0.94) 0%, rgba(22, 60, 40, 0.35) 45%, rgba(10, 13, 19, 0.96) 80%, #0a0d13 100%);
    background-size: 220% 220%;
    animation: gradientAtmosphere 20s ease infinite;
    z-index: 1;
}

.section-animated-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 13, 19, 0.88) 0%, rgba(20, 50, 34, 0.22) 50%, rgba(10, 13, 19, 0.92) 100%);
    background-size: 240% 240%;
    animation: gradientAtmosphere 24s ease infinite;
    pointer-events: none;
    z-index: 1;
}

/* ==========================================================================
   ANIMACIONES DE ENTRADA (REVEAL)
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--stagger, 0) * 0.08s);
}

.reveal-fade {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ==========================================================================
   BOTONES Y ELEMENTOS: GEOMETRÍA DE EMPRESA REAL (4-6PX, NO CIRCULAR)
   ========================================================================== */
button, .btn, .filter-btn, .quality-btn, .phone-capsule, .card-action-btn, .top-mail-link, .whatsapp-btn, .faq-question, .menu-trigger-btn {
    transition: var(--transition-spring);
    user-select: none;
}

button:active, .btn:active, .filter-btn:active, .quality-btn:active, .phone-capsule:active, .whatsapp-btn:active, .menu-trigger-btn:active {
    transform: scale(0.97) translateY(1px) !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.72rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-btn);
    cursor: pointer;
    border: none;
    text-decoration: none;
    letter-spacing: 0.02em;
}

/* BOTÓN DE PRESUPUESTO DISTINGUIDO (DISEÑO FORMAL Y NOBLE) */
.btn-quote-primary {
    background: linear-gradient(180deg, #2a8352 0%, #1b5b37 100%);
    border: 1px solid var(--forest-light);
    border-radius: var(--radius-btn);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding: 0.68rem 1.35rem;
}

.btn-quote-primary:hover {
    background: linear-gradient(180deg, #32965f 0%, #206b40 100%);
    border-color: #5dd496;
    box-shadow: 0 6px 18px rgba(38, 123, 80, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.btn-quote-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
}

.quote-btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-btn);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-btn);
}

.btn-outline:hover {
    border-color: var(--forest-light);
    color: var(--forest-light);
}

.btn-lg {
    padding: 0.85rem 1.7rem;
    font-size: 0.95rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   BARRA SUPERIOR DESPEJADA
   ========================================================================== */
.top-announcement-bar {
    background: #06090e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding: 0.45rem 0;
    position: relative;
    z-index: 101;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.top-info-clean {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.secure-tag {
    color: var(--forest-light);
    font-weight: 600;
}

.top-sep {
    color: var(--text-muted);
    opacity: 0.5;
}

.region-tag {
    color: #e2e8f0;
}

.top-mail-clean {
    display: flex;
    align-items: center;
}

.top-mail-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-secondary);
}

.top-mail-link:hover {
    color: #ffffff;
}

.top-icon {
    width: 14px;
    height: 14px;
    color: var(--forest-light);
}

/* ==========================================================================
   CABECERA PRINCIPAL CON LOGO GRANDE CENTRADO
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 13, 19, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.nav-container-centered {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0.7rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
}

/* Zona Izquierda: Botón Menú Rectangular */
.nav-left-zone {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.menu-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-btn);
    color: #ffffff;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.menu-trigger-btn:hover {
    background: rgba(38, 123, 80, 0.18);
    border-color: var(--forest-light);
    box-shadow: 0 0 12px rgba(72, 181, 126, 0.22);
}

.hamburger-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 16px;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--forest-light);
    border-radius: 1px;
}

.menu-trigger-text {
    font-family: 'Space Grotesk', sans-serif;
}

/* Zona Centro: Logo Grande */
.nav-center-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo-large {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.brand-logo-large:hover {
    transform: scale(1.02);
}

.detailed-house-logo {
    width: 270px;
    height: 72px;
    max-width: 100%;
    display: block;
    filter: drop-shadow(0 3px 10px rgba(38, 123, 80, 0.25));
}

/* Zona Derecha: Teléfono + Botón Presupuesto */
.nav-right-zone {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
}

.phone-capsule {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.95rem;
    background: rgba(38, 123, 80, 0.12);
    border: 1px solid var(--forest-border);
    border-radius: var(--radius-btn);
    transition: all 0.25s ease;
}

.phone-capsule:hover {
    background: rgba(38, 123, 80, 0.22);
    border-color: var(--forest-light);
    transform: translateY(-1px);
}

.capsule-icon {
    width: 30px;
    height: 30px;
    border-radius: 3px;
    background: var(--forest-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.capsule-icon svg {
    width: 15px;
    height: 15px;
}

.capsule-data {
    display: flex;
    flex-direction: column;
}

.capsule-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--forest-light);
    line-height: 1.1;
}

.capsule-number {
    font-size: 0.98rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

/* ==========================================================================
   MENÚ LATERAL DESPLEGABLE (DRAWER)
   ========================================================================== */
.menu-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 390px;
    height: 100vh;
    background: #0b1018;
    border-right: 1px solid var(--forest-border);
    box-shadow: 12px 0 35px rgba(0, 0, 0, 0.85);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.menu-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    padding: 1.5rem 1.6rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-logo-wrap {
    display: flex;
    flex-direction: column;
}

.drawer-brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #ffffff;
}

.drawer-brand-sub {
    font-size: 0.7rem;
    color: var(--forest-light);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.drawer-close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-btn);
}

.drawer-close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.drawer-nav {
    padding: 1.4rem 1.6rem;
    flex: 1;
}

.drawer-nav-heading {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--forest-light);
    margin-bottom: 1.1rem;
    text-transform: uppercase;
}

.drawer-nav-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-btn);
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.drawer-link:hover {
    background: rgba(38, 123, 80, 0.14);
    color: #ffffff;
    transform: translateX(4px);
}

.drawer-link.active {
    background: rgba(38, 123, 80, 0.24);
    border-left: 3px solid var(--forest-light);
    color: #ffffff;
    font-weight: 700;
}

.drawer-link-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    color: var(--forest-light);
    font-weight: 800;
    opacity: 0.85;
}

.drawer-footer {
    padding: 1.5rem 1.6rem;
    border-top: 1px solid var(--border-subtle);
    background: #080c13;
}

.drawer-contact-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.drawer-contact-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.drawer-phone-btn {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--forest-light);
}

.drawer-mail-text {
    font-size: 0.82rem;
    color: var(--text-secondary);
    word-break: break-all;
}

/* ==========================================================================
   1. HERO SECTION CENTRADA Y ELEGANTE
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 86vh;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-backdrop-diffuse {
    position: absolute;
    inset: -30px;
    background-image: url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    filter: blur(6px);
    opacity: 0.28;
    transform: scale(1.04);
    z-index: 0;
}

.hero-container.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 1.1rem;
    border-radius: var(--radius-btn);
    background: rgba(38, 123, 80, 0.14);
    border: 1px solid var(--forest-border);
    color: var(--forest-light);
    font-size: 0.82rem;
    font-weight: 600;
    margin: 0 auto 1.5rem auto;
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--forest-light);
    animation: pulseGlow 2.5s infinite ease-in-out;
}

.hero-title {
    font-size: clamp(2.3rem, 5.2vw, 3.85rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 auto 1.4rem auto;
    max-width: 950px;
    text-align: center;
}

.text-gradient-forest {
    color: var(--forest-light);
    background: linear-gradient(135deg, #5dd496 0%, #267b50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: clamp(1.05rem, 1.8vw, 1.18rem);
    color: var(--text-secondary);
    max-width: 780px;
    line-height: 1.65;
    margin: 0 auto 2.5rem auto;
    text-align: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 3.8rem;
    width: 100%;
}

.arrow-icon, .phone-call-icon {
    width: 18px;
    height: 18px;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    width: 100%;
}

.stat-card {
    background: rgba(15, 20, 29, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    padding: 1.45rem;
    border-radius: var(--radius-card);
    transition: var(--transition-smooth);
    text-align: center;
}

.stat-card:hover {
    border-color: var(--forest-border);
    transform: translateY(-4px);
    background: rgba(19, 27, 38, 0.94);
    box-shadow: 0 10px 22px -6px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.stat-icon-wrap {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.stat-number {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--forest-light);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* ==========================================================================
   TIRA DE COMPROMISOS TÉCNICOS
   ========================================================================== */
.trust-strip {
    background: #0a0e15;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.95rem 0;
    position: relative;
    z-index: 2;
}

.trust-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.trust-check {
    color: var(--forest-light);
    font-weight: 800;
}

/* ==========================================================================
   2. SECCIÓN DE SERVICIOS
   ========================================================================== */
.section {
    padding: 6.5rem 0;
    position: relative;
    overflow: hidden;
}

.section.alt-bg {
    background-color: var(--bg-surface);
}

.section-diffuse-bg {
    position: absolute;
    inset: -30px;
    background-size: cover;
    background-position: center;
    filter: blur(40px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    transform: scale(1.04);
}

.bg-reformas {
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80');
}

.bg-instalaciones {
    background-image: url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=1920&q=80');
}

.bg-comparador {
    background-image: url('https://images.unsplash.com/photo-1513694203232-719a280e022f?auto=format&fit=crop&w=1920&q=80');
}

.bg-reviews {
    background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1920&q=80');
}

.section-header {
    margin-bottom: 3.2rem;
    position: relative;
    z-index: 2;
}

.section-header.text-center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    color: var(--forest-light);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.9rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 720px;
    line-height: 1.6;
    margin: 0 auto;
}

/* Filtros con esquinas estructuradas (4px) */
.service-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 2rem;
}

.filter-btn {
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-btn);
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(19, 27, 38, 0.9);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.filter-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--forest-primary);
    color: #ffffff;
    border-color: var(--forest-primary);
    box-shadow: 0 4px 12px rgba(38, 123, 80, 0.35);
}

/* Cuadrícula de 12 Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 1.85rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--forest-border);
    box-shadow: 0 18px 32px -8px rgba(0, 0, 0, 0.65), var(--shadow-glow);
}

.card-image-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #161e2b;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .card-image-wrap img {
    transform: scale(1.06);
}

.service-icon-badge {
    position: absolute;
    bottom: 12px;
    left: 14px;
    width: 36px;
    height: 36px;
    background: rgba(15, 20, 29, 0.94);
    backdrop-filter: blur(10px);
    border: 1px solid var(--forest-border);
    border-radius: var(--radius-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.service-icon-badge svg {
    width: 17px;
    height: 17px;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-category-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--forest-light);
    margin-bottom: 0.35rem;
}

.card-title {
    font-size: 1.14rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    line-height: 1.35;
    color: #ffffff;
}

.card-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 1.3rem;
    flex: 1;
}

.card-action-btn {
    align-self: flex-start;
    background: transparent;
    border: none;
    color: var(--forest-light);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
}

.card-action-btn:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* ==========================================================================
   3. COMPARADOR ANTES Y DESPUÉS
   ========================================================================== */
.before-after-section {
    background-color: var(--bg-surface);
}

.ba-comparison-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.ba-image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 500px;
    border-radius: var(--radius-box);
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.75);
    border: 1px solid var(--border-subtle);
    user-select: none;
    cursor: ew-resize;
}

.ba-img-after {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-before-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.ba-img-before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: var(--forest-light);
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(72, 181, 126, 0.85);
}

.ba-handle-line {
    flex: 1;
    width: 2px;
    background: var(--forest-light);
}

.ba-handle-button {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-btn);
    background: var(--forest-primary);
    border: 1px solid var(--forest-light);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.ba-handle-button svg {
    width: 14px;
    height: 14px;
}

.ba-tag {
    position: absolute;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-btn);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    z-index: 4;
    backdrop-filter: blur(8px);
}

.tag-after {
    bottom: 20px;
    right: 20px;
    background: rgba(10, 13, 19, 0.88);
    color: var(--forest-light);
    border: 1px solid var(--forest-border);
}

.tag-before {
    bottom: 20px;
    left: 20px;
    background: rgba(10, 13, 19, 0.88);
    color: #ffffff;
    border: 1px solid var(--border-subtle);
}

.ba-footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2.2rem;
    text-align: center;
}

.ba-stat-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 1.3rem;
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.ba-stat-item:hover {
    border-color: var(--forest-border);
    transform: translateY(-3px);
}

.ba-stat-item strong {
    font-size: 1.65rem;
    color: var(--forest-light);
    font-weight: 800;
}

.ba-stat-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   4. SHOWCASE SECTIONS
   ========================================================================== */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.showcase-grid.reverse {
    grid-template-columns: 1fr 1fr;
}

.showcase-media {
    position: relative;
}

.showcase-img-container {
    position: relative;
    border-radius: var(--radius-box);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    transition: transform 0.4s ease;
}

.showcase-img-container:hover {
    transform: scale(1.015);
}

.rounded-image {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(15, 20, 29, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid var(--forest-border);
    padding: 0.85rem 1.3rem;
    border-radius: var(--radius-btn);
    box-shadow: var(--shadow-card);
}

.experience-badge.right-badge {
    left: 20px;
    right: auto;
}

.badge-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--forest-light);
    line-height: 1;
}

.badge-text {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 0.2rem;
}

.showcase-content {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.showcase-title {
    font-size: clamp(1.9rem, 3.1vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.showcase-text {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 0.8rem 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.94rem;
    color: var(--text-primary);
}

.check-icon {
    width: 20px;
    height: 20px;
    border-radius: var(--radius-btn);
    background: var(--forest-subtle);
    color: var(--forest-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
    border: 1px solid var(--forest-border);
}

.showcase-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.8rem;
}

/* ==========================================================================
   5. METODOLOGÍA EN 4 PASOS
   ========================================================================== */
.workflow-section {
    background-color: var(--bg-main);
}

.workflow-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 2rem 1.6rem;
    border-radius: var(--radius-card);
    position: relative;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    text-align: left;
}

.step-card:hover {
    border-color: var(--forest-border);
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--forest-light);
    opacity: 0.85;
    line-height: 1;
    margin-bottom: 0.8rem;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #ffffff;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ==========================================================================
   6. CALCULADORA DE PRECIOS
   ========================================================================== */
.calculator-section {
    background: radial-gradient(circle at top, #141f2e 0%, var(--bg-main) 70%);
}

.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--forest-border);
    border-radius: var(--radius-box);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
    padding: 2.5rem;
    max-width: 1040px;
    margin: 0 auto;
    backdrop-filter: blur(16px);
    position: relative;
    z-index: 2;
}

.calc-top-conditions {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(38, 123, 80, 0.12);
    border: 1px solid var(--forest-border);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-btn);
    margin-bottom: 2rem;
    font-size: 0.88rem;
    color: #e2e8f0;
}

.condition-badge {
    background: var(--forest-primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    white-space: nowrap;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
    align-items: center;
}

.calc-controls {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.calc-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.calc-select, input[type="text"], input[type="tel"], input[type="email"], textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(15, 20, 29, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-btn);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.92rem;
    outline: none;
    transition: all 0.25s ease;
}

.calc-select:focus, input:focus, textarea:focus {
    border-color: var(--forest-light);
    box-shadow: 0 0 0 3px rgba(72, 181, 126, 0.25);
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-val {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--forest-light);
}

.calc-range {
    width: 100%;
    height: 7px;
    border-radius: 3px;
    background: var(--bg-surface);
    outline: none;
    accent-color: var(--forest-primary);
    cursor: pointer;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.quality-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.quality-btn {
    padding: 0.75rem 0.5rem;
    font-size: 0.8rem;
    background: rgba(15, 20, 29, 0.8);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    border-radius: var(--radius-btn);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.quality-btn strong {
    color: #ffffff;
    font-size: 0.82rem;
}

.quality-btn span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.quality-btn.active {
    background: rgba(38, 123, 80, 0.22);
    border-color: var(--forest-light);
}

.quality-btn.active strong {
    color: var(--forest-light);
}

.calc-result-box {
    background: rgba(15, 20, 29, 0.9);
    border: 1px solid var(--border-subtle);
    padding: 2.2rem;
    border-radius: var(--radius-card);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.result-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--forest-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.result-price {
    font-size: 2.05rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.calc-realism-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.25);
    padding: 0.85rem;
    border-radius: var(--radius-btn);
    text-align: left;
    font-size: 0.8rem;
    color: #fef08a;
    line-height: 1.45;
}

.warning-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #eab308;
    margin-top: 1px;
}

.result-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #cbd5e1;
    text-align: left;
    width: 100%;
}

/* ==========================================================================
   7. RESEÑAS
   ========================================================================== */
.reviews-section {
    background-color: var(--bg-surface);
}

.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.stars {
    color: #eab308;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.rating-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1.85rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.review-card:hover {
    border-color: var(--forest-border);
    transform: translateY(-5px);
    box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.reviewer-avatar {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-btn);
    background: var(--forest-subtle);
    border: 1px solid var(--forest-border);
    color: var(--forest-light);
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.review-project {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.review-stars {
    color: #eab308;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.review-comment {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.6;
    font-style: italic;
    flex: 1;
}

.review-date {
    font-size: 0.75rem;
    color: var(--forest-light);
    font-weight: 600;
}

/* ==========================================================================
   8. PREGUNTAS FRECUENTES (AMPLIADAS Y REALISTAS)
   ========================================================================== */
.faq-section {
    background-color: var(--bg-main);
}

.faq-accordion-wrapper {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-btn);
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.25s ease;
}

.faq-item.open {
    border-color: var(--forest-border);
    box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.4);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    text-align: left;
    cursor: pointer;
}

.faq-question:hover {
    color: var(--forest-light);
}

.faq-arrow {
    font-size: 1.4rem;
    color: var(--forest-light);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.faq-item.open .faq-arrow {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-answer {
    max-height: 380px;
}

.faq-answer p {
    padding: 0 1.5rem 1.4rem 1.5rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ==========================================================================
   9. BANNER CONTACTO DIRECTO
   ========================================================================== */
.cta-banner-box {
    position: relative;
    border: 1px solid var(--forest-border);
    border-radius: var(--radius-box);
    padding: 4.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.cta-banner-backdrop {
    position: absolute;
    inset: -20px;
    background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    filter: blur(25px);
    opacity: 0.22;
    z-index: 0;
    transform: scale(1.03);
}

.cta-banner-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(19, 29, 43, 0.92) 0%, rgba(10, 15, 22, 0.98) 100%);
    z-index: 1;
}

.cta-content {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.9rem;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2.2rem;
    line-height: 1.6;
}

.cta-contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.cta-contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(15, 20, 29, 0.85);
    border: 1px solid var(--border-subtle);
    padding: 1.2rem 1.4rem;
    border-radius: var(--radius-btn);
    text-align: left;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.cta-contact-card:hover {
    border-color: var(--forest-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.cta-card-icon {
    font-size: 1.75rem;
}

.cta-card-info {
    display: flex;
    flex-direction: column;
}

.cta-card-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.cta-card-val {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    word-break: break-all;
}

/* ==========================================================================
   PIE DE PÁGINA
   ========================================================================== */
.footer {
    background-color: #06090f;
    border-top: 1px solid var(--border-subtle);
    padding-top: 4.5rem;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3.5rem;
    padding-bottom: 4rem;
}

.footer-logo-centered {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer-brand-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #ffffff;
}

.footer-brand-subtitle {
    font-size: 0.75rem;
    color: var(--forest-light);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 440px;
}

.footer-badges {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.f-badge {
    font-size: 0.75rem;
    color: var(--forest-light);
    background: var(--forest-subtle);
    border: 1px solid var(--forest-border);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-btn);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.highlight-link {
    color: var(--forest-light);
    font-weight: 700;
}

.email-wrap {
    word-break: break-all;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 1.8rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   MODAL DE PRESUPUESTO
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.84);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-dialog {
    background: rgba(19, 27, 38, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-box);
    width: 100%;
    max-width: 550px;
    padding: 2.2rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    transform: scale(0.95) translateY(15px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-backdrop.open .modal-dialog {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
}

.modal-close-btn:hover {
    color: #ffffff;
}

.modal-header {
    margin-bottom: 1.4rem;
}

.modal-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--forest-light);
    letter-spacing: 0.08em;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0.3rem 0;
    color: #ffffff;
}

.form-destination-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: rgba(38, 123, 80, 0.12);
    border: 1px solid var(--forest-border);
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-btn);
    font-size: 0.8rem;
    color: #e2e8f0;
    margin-top: 0.6rem;
    line-height: 1.45;
}

.dest-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--forest-light);
    margin-top: 2px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.84rem;
    font-weight: 600;
    color: #e2e8f0;
}

.form-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 0.2rem 0;
}

.form-terms-check input[type="checkbox"] {
    accent-color: var(--forest-primary);
    cursor: pointer;
    margin-top: 2px;
}

.form-success-message {
    display: none;
    text-align: center;
    padding: 2rem 0;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
}

.form-success-message.visible {
    display: flex;
}

.success-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-btn);
    background: var(--forest-primary);
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(72, 181, 126, 0.4);
}

.success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 0.5rem;
}

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP & TOAST
   ========================================================================== */
.floating-contact {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99;
}

.whatsapp-btn {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-btn);
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    position: relative;
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
}

.wa-tooltip {
    position: absolute;
    right: 68px;
    background: rgba(15, 20, 29, 0.95);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-btn);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
}

.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(19, 27, 38, 0.96);
    backdrop-filter: blur(14px);
    border: 1px solid var(--forest-light);
    color: #ffffff;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-btn);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-card);
    z-index: 1001;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ==========================================================================
   ADAPTACIÓN A PANTALLAS PEQUEÑAS (RESPONSIVE)
   ========================================================================== */
@media (max-width: 1024px) {
    .nav-container-centered {
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
    }
    
    .detailed-house-logo {
        width: 215px;
        height: 58px;
    }
}

@media (max-width: 860px) {
    .nav-container-centered {
        display: flex;
        justify-content: space-between;
    }

    .detailed-house-logo {
        width: 180px;
        height: 50px;
    }
    
    .showcase-grid, .showcase-grid.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .showcase-content {
        order: 1;
    }

    .showcase-media {
        order: 2;
    }
    
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ba-footer-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .ba-image-container {
        height: 380px;
    }

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

@media (max-width: 680px) {
    .top-announcement-bar {
        font-size: 0.75rem;
    }
    
    .top-bar-flex {
        justify-content: center;
        text-align: center;
    }
    
    .top-mail-clean {
        display: none;
    }
    
    .phone-capsule {
        padding: 0.35rem 0.65rem;
        gap: 0.45rem;
    }

    .capsule-number {
        font-size: 0.88rem;
    }

    .capsule-label {
        display: none;
    }

    .btn-quote-primary {
        padding: 0.45rem 0.8rem;
    }

    .btn-quote-inner span {
        font-size: 0.8rem;
    }

    .detailed-house-logo {
        width: 150px;
        height: 42px;
    }

    .menu-trigger-text {
        display: none;
    }

    .menu-trigger-btn {
        padding: 0.55rem 0.75rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .quality-selector {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
