/* ============================================================
   VARIABLES CSS
   ============================================================ */
:root {
    --blue:          #1a56db;
    --blue-dark:     #1e40af;
    --blue-darker:   #1e3a8a;
    --blue-light:    #dbeafe;
    --blue-pale:     #eff6ff;
    --sky:           #0ea5e9;
    --green-wa:      #25d366;
    --green-wa-dark: #128c7e;
    --orange:        #f97316;
    --purple:        #7c3aed;
    --text:          #111827;
    --text-mid:      #374151;
    --text-light:    #6b7280;
    --white:         #ffffff;
    --gray-50:       #f9fafb;
    --gray-100:      #f3f4f6;
    --gray-200:      #e5e7eb;
    --gray-300:      #d1d5db;
    --error:         #dc2626;
    --success:       #16a34a;
    --header-h:      68px;
    --shadow-sm:     0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:     0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg:     0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --shadow-xl:     0 20px 25px rgba(0,0,0,.1), 0 10px 10px rgba(0,0,0,.04);
    --radius-sm:     6px;
    --radius-md:     10px;
    --radius-lg:     16px;
    --radius-xl:     24px;
    --transition:    .25s ease;
    --font:          -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: .95rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg  { padding: 14px 28px; font-size: 1.05rem; }
.btn-xl  { padding: 16px 32px; font-size: 1.1rem; border-radius: var(--radius-lg); }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background: var(--green-wa);
    color: var(--white);
    border-color: var(--green-wa);
}
.btn-whatsapp:hover, .btn-whatsapp:focus {
    background: var(--green-wa-dark);
    border-color: var(--green-wa-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.7);
}
.btn-outline-white:hover, .btn-outline-white:focus {
    background: rgba(255,255,255,.15);
    border-color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}
.btn-outline:hover, .btn-outline:focus {
    background: var(--blue-pale);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 20px;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-img {
    height: 44px;
    width: auto;
    display: block;
}
.logo-img--footer {
    height: 40px;
    width: auto;
    background: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-md);
}

/* Nav */
.main-nav { flex: 1; }
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}
.main-nav a {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
    color: var(--blue);
    background: var(--blue-pale);
}

/* Header CTAs */
.header-ctas { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

.btn-header-call {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--blue);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: .85rem;
    transition: var(--transition);
}
.btn-header-call svg { width: 16px; height: 16px; }
.btn-header-call:hover { background: var(--blue-dark); }

.btn-header-whatsapp {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--green-wa);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: .85rem;
    transition: var(--transition);
}
.btn-header-whatsapp svg { width: 16px; height: 16px; }
.btn-header-whatsapp:hover { background: var(--green-wa-dark); }

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
    margin-left: auto;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    background:
        linear-gradient(to right,
            rgba(30, 58, 138, 0.98) 0%,
            rgba(30, 58, 138, 0.96) 40%,
            rgba(30, 58, 138, 0.55) 62%,
            rgba(30, 58, 138, 0.15) 100%
        ),
        url('/img/conductos.webp') center right / cover no-repeat;
    color: var(--white);
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,.88);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    color: rgba(255,255,255,.9);
    font-weight: 500;
}
.trust-item svg {
    width: 18px;
    height: 18px;
    color: #86efac;
    flex-shrink: 0;
}

.hero-image { display: block; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}
.section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--text);
    margin-bottom: 16px;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
}
.section-header--light h2 { color: var(--white); }
.section-header--light p  { color: rgba(255,255,255,.8); }

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ============================================================
   FORM SECTION
   ============================================================ */
.form-section {
    padding: 80px 0;
    background: var(--blue-pale);
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

.form-intro h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: var(--text);
    margin-bottom: 16px;
}
.form-intro p {
    color: var(--text-mid);
    margin-bottom: 24px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.form-trust-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}
.form-trust-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    color: var(--text-mid);
    font-weight: 500;
}
.form-trust-list svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; }

.form-contact-alt p { font-size: .9rem; color: var(--text-light); margin-bottom: 12px; }
.form-contact-alt { display: flex; flex-direction: column; gap: 10px; }
.form-contact-alt .btn { justify-content: center; }

.form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

/* Form fields */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-mid);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: .95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26,86,219,.15);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 20px; padding-right: 36px; }

.form-check { flex-direction: row; align-items: flex-start; gap: 12px; }
.check-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .9rem; color: var(--text-mid); line-height: 1.5; }
.check-label input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--blue); cursor: pointer; }
.check-label a { color: var(--blue); text-decoration: underline; }

.form-error {
    font-size: .82rem;
    color: var(--error);
    font-weight: 500;
    min-height: 18px;
    display: block;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(220,38,38,.1);
}

.form-note {
    text-align: center;
    font-size: .8rem;
    color: var(--text-light);
    margin-top: 12px;
}

/* Honeypot — must stay hidden */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-section {
    padding: 80px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
}
.service-card:hover {
    border-color: var(--blue-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.service-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-icon--blue   { background: var(--blue-pale); color: var(--blue); }
.service-icon--green  { background: #dcfce7; color: #16a34a; }
.service-icon--orange { background: #fff7ed; color: var(--orange); }
.service-icon--purple { background: #f5f3ff; color: var(--purple); }

.service-card h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 10px;
}
.service-card p {
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================================
   SPACES
   ============================================================ */
.spaces-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.spaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.space-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.space-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.space-icon { font-size: 2.4rem; margin-bottom: 12px; }
.space-card h3 { font-size: .95rem; color: var(--text); margin-bottom: 8px; }
.space-card p  { font-size: .85rem; color: var(--text-light); line-height: 1.5; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--blue-darker) 0%, var(--blue-dark) 100%);
    color: var(--white);
}
.process-section .section-header h2 { color: var(--white); }
.process-section .section-header p  { color: rgba(255,255,255,.8); }

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: rgba(255,255,255,.2);
}

.process-step {
    display: flex;
    gap: 28px;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 56px; height: 56px;
    background: var(--white);
    color: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px rgba(255,255,255,.1);
}

.step-content { padding-top: 10px; }
.step-content h3 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 6px;
}
.step-content p {
    font-size: .95rem;
    color: rgba(255,255,255,.8);
    line-height: 1.6;
}

.process-section .section-cta .btn-primary {
    background: var(--white);
    color: var(--blue);
    border-color: var(--white);
}
.process-section .section-cta .btn-primary:hover {
    background: var(--gray-100);
}

/* ============================================================
   ADVANTAGES
   ============================================================ */
.advantages-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--blue-darker) 0%, #0f2d6b 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.advantage-item {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
}
.advantage-item:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-3px);
}

.advantage-icon {
    width: 48px; height: 48px;
    background: rgba(255,255,255,.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #93c5fd;
}
.advantage-icon svg { width: 24px; height: 24px; }

.advantage-item h3 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 8px;
}
.advantage-item p {
    font-size: .88rem;
    color: rgba(255,255,255,.75);
    line-height: 1.6;
}

/* ============================================================
   MAINTENANCE
   ============================================================ */
.maintenance-section {
    padding: 80px 0;
    background: var(--white);
}

.maintenance-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
    max-width: 820px;
    margin: 0 auto;
}

.maintenance-content h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--text);
    margin-bottom: 16px;
}
.maintenance-content > p {
    color: var(--text-mid);
    margin-bottom: 36px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.maintenance-items { display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }

.maint-item { display: flex; gap: 18px; align-items: flex-start; }
.maint-item-icon {
    width: 44px; height: 44px;
    background: var(--blue-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--blue);
}
.maint-item-icon svg { width: 22px; height: 22px; }
.maint-item h3 { font-size: .95rem; color: var(--text); margin-bottom: 4px; }
.maint-item p  { font-size: .88rem; color: var(--text-light); line-height: 1.6; }


/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--gray-200); }
.gallery-item--large { grid-column: span 2; grid-row: span 1; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
    min-height: 220px;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-placeholder { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); min-height: 220px; }
.gallery-placeholder img { display: none; }

.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: var(--white);
    padding: 30px 16px 14px;
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.4;
}

/* ============================================================
   TRUST SECTION
   ============================================================ */
.trust-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--blue-darker) 0%, var(--blue-dark) 100%);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.trust-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
}
.trust-card:hover {
    background: rgba(255,255,255,.13);
    transform: translateY(-3px);
}
.trust-card-icon {
    width: 48px; height: 48px;
    background: rgba(255,255,255,.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #93c5fd;
    margin-bottom: 16px;
}
.trust-card-icon svg { width: 24px; height: 24px; }
.trust-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 8px; }
.trust-card p  { font-size: .88rem; color: rgba(255,255,255,.75); line-height: 1.6; }

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.stat-item {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.12);
}
.stat-item:last-child { border-right: none; }
.stat-item strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 6px;
}
.stat-item span {
    font-size: .85rem;
    color: rgba(255,255,255,.7);
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section {
    padding: 80px 0;
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.review-card {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}
.review-card:hover {
    border-color: var(--blue-light);
    box-shadow: var(--shadow-lg);
}
.review-stars {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}
.review-card blockquote p {
    font-size: .95rem;
    color: var(--text-mid);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.review-avatar {
    width: 42px; height: 42px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    flex-shrink: 0;
}
.review-author strong {
    display: block;
    font-size: .9rem;
    color: var(--text);
}
.review-author span {
    display: block;
    font-size: .8rem;
    color: var(--text-light);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--blue-darker) 0%, var(--blue-dark) 100%);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { background: rgba(255,255,255,.11); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-align: left;
    transition: var(--transition);
}
.faq-question:hover { color: #93c5fd; }
.faq-question[aria-expanded="true"] { color: #93c5fd; }
.faq-question[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); }

.faq-arrow {
    width: 24px; height: 24px;
    flex-shrink: 0;
    color: rgba(255,255,255,.6);
    transition: transform var(--transition);
}

.faq-answer {
    padding: 0 24px 24px;
    font-size: .95rem;
    color: rgba(255,255,255,.8);
    line-height: 1.7;
}
.faq-answer[hidden] { display: none; }
.faq-answer p strong { color: var(--white); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
    padding: 80px 0;
    background: var(--blue-pale);
    text-align: center;
}
.final-cta h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--text);
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.final-cta p {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.final-cta-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #0f1e45;
    color: rgba(255,255,255,.8);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand p {
    font-size: .9rem;
    line-height: 1.7;
    color: rgba(255,255,255,.65);
    margin-top: 16px;
    max-width: 320px;
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
    font-size: .9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.footer-contact ul,
.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-contact li a,
.footer-links li a,
.footer-legal li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    color: rgba(255,255,255,.65);
    transition: color var(--transition);
}
.footer-contact li a:hover,
.footer-links li a:hover,
.footer-legal li a:hover { color: var(--white); }
.footer-contact li a svg,
.footer-contact li svg { width: 16px; height: 16px; flex-shrink: 0; color: rgba(255,255,255,.4); }
.footer-contact li { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: rgba(255,255,255,.65); }

.footer-bottom {
    padding: 28px 0;
    text-align: center;
}
.footer-seo {
    font-size: .82rem;
    color: rgba(255,255,255,.45);
    line-height: 1.6;
    margin-bottom: 10px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.footer-seo strong { color: rgba(255,255,255,.6); }
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.35); }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-btns {
    position: fixed;
    bottom: 28px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 900;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 100px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--white);
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
}
.floating-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.floating-btn--whatsapp { background: var(--green-wa); }
.floating-btn--whatsapp:hover { background: var(--green-wa-dark); }
.floating-btn--call { background: var(--blue); }
.floating-btn--call:hover { background: var(--blue-dark); }
.floating-label { white-space: nowrap; }

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.12); }
    .stat-item:nth-child(4) { border-right: none; }
}

@media (max-width: 900px) {
    .main-nav { display: none; }
    .header-ctas { display: none; }
    .menu-toggle { display: flex; }

    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        padding: 20px;
        z-index: 999;
    }
    .main-nav.open ul {
        flex-direction: column;
        gap: 4px;
    }
    .main-nav.open a {
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: var(--radius-md);
    }
    .main-nav.open::after {
        content: '';
        display: block;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--gray-200);
    }

    .hero-inner { grid-template-columns: 1fr; gap: 0; }
    .hero-image { display: none; }
    .hero {
        background:
            linear-gradient(to bottom,
                rgba(30, 58, 138, 0.97) 0%,
                rgba(30, 58, 138, 0.92) 100%
            ),
            url('/img/conductos.webp') center / cover no-repeat;
    }
    .trust-badges { grid-template-columns: 1fr 1fr; }

    .form-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .form-contact-alt { flex-direction: row; flex-wrap: wrap; }
    .form-contact-alt p { flex-basis: 100%; margin-bottom: 0; }

    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item--large { grid-column: span 2; }

    .process-steps::before { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 640px)
   ============================================================ */
@media (max-width: 640px) {
    body { padding-top: var(--header-h); }

    .hero { padding: 48px 0 40px; }
    .hero h1 { font-size: 1.7rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; justify-content: center; }
    .trust-badges { grid-template-columns: 1fr; }

    .form-section { padding: 48px 0; }
    .form-card { padding: 24px 18px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    .services-section,
    .spaces-section,
    .reviews-section,
    .gallery-section,
    .maintenance-section,
    .final-cta,
    .faq-section { padding: 56px 0; }

    .services-grid { grid-template-columns: 1fr; }
    .spaces-grid { grid-template-columns: 1fr 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }

    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item--large { grid-column: span 1; }

    .stats-bar { grid-template-columns: 1fr 1fr; }

    .final-cta-btns { flex-direction: column; align-items: center; }
    .final-cta-btns .btn { width: 100%; max-width: 360px; justify-content: center; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand p { max-width: 100%; }

    /* Floating buttons: larger on mobile */
    .floating-btns { bottom: 16px; right: 14px; gap: 10px; }
    .floating-btn { padding: 14px 16px; font-size: .85rem; border-radius: 100px; }
    .floating-label { display: none; }
    .floating-btn { padding: 16px; border-radius: 50%; width: 56px; height: 56px; justify-content: center; }
    .floating-btn svg { width: 24px; height: 24px; }

    .process-step { flex-direction: column; gap: 12px; }
    .step-content { padding-top: 0; }

    .btn-header-call span, .btn-header-whatsapp span { display: none; }
    .btn-header-call, .btn-header-whatsapp { padding: 8px 10px; }
}

@media (max-width: 400px) {
    .spaces-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
    .stat-item:last-child { border-bottom: none; }
}

/* ============================================================
   ZONAS SEO — MADRID
   ============================================================ */
.zonas-section {
    padding: 64px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.zonas-section h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--text);
    margin-bottom: 14px;
    text-align: center;
}

.zonas-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: .95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.zonas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.zonas-bloque h3 {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--blue);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--blue-light);
}

.zonas-bloque ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.zonas-bloque ul li {
    font-size: .82rem;
    color: var(--text-mid);
    line-height: 1.5;
    padding-left: 10px;
    position: relative;
}
.zonas-bloque ul li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--blue-light);
    font-weight: 700;
}

.zonas-municipios {
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-top: 8px;
}

.zonas-municipios h3 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 8px;
}

.zonas-municipios > p {
    font-size: .88rem;
    color: var(--text-light);
    margin-bottom: 18px;
}

.municipios-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.municipios-lista span {
    background: var(--blue-pale);
    color: var(--blue-dark);
    font-size: .8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid var(--blue-light);
}

@media (max-width: 640px) {
    .zonas-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .zonas-municipios { padding: 20px 18px; }
}
