/* =====================================================
   San Justo Laboral · Estilos modernos
   Diseño: profesional, médico, premium
   ===================================================== */

/* ===== Variables ===== */
:root {
    /* Colores */
    --c-primary: #065f46;
    --c-primary-dark: #064e3b;
    --c-primary-light: #059669;
    --c-secondary: #10b981;
    --c-secondary-soft: #d1fae5;
    --c-mint: #ecfdf5;
    --c-accent: #34d399;

    --c-ink: #0f172a;
    --c-text: #334155;
    --c-text-soft: #64748b;
    --c-text-faint: #94a3b8;

    --c-surface: #f8fafc;
    --c-surface-2: #f1f5f9;
    --c-border: #e2e8f0;
    --c-white: #ffffff;

    --c-whatsapp: #25d366;
    --c-whatsapp-dark: #1da851;

    /* Tipografía */
    --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Layout */
    --container: 1200px;
    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --radius-xl: 40px;

    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow: 0 12px 32px -12px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 24px 60px -16px rgba(15, 23, 42, 0.18);
    --shadow-green: 0 20px 40px -10px rgba(16, 185, 129, 0.35);
    --shadow-whatsapp: 0 14px 28px -8px rgba(37, 211, 102, 0.5);

    /* Transiciones */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 100%; }

/* ===== Layout helpers ===== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

.text-gradient {
    background: linear-gradient(120deg, var(--c-primary-light) 0%, var(--c-secondary) 60%, var(--c-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-primary-light);
    background: var(--c-secondary-soft);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.eyebrow--light { background: rgba(255, 255, 255, 0.12); color: #a7f3d0; }

.section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.section__title {
    font-family: var(--font-head);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--c-ink);
    margin-bottom: 16px;
}
.section__lead {
    font-size: 17px;
    color: var(--c-text-soft);
    line-height: 1.7;
}

/* ===== Botones ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 999px;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
    will-change: transform;
    text-align: center;
}
.btn--primary {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
    color: #fff;
    box-shadow: var(--shadow-green);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -10px rgba(16, 185, 129, 0.5); }
.btn--whatsapp {
    background: var(--c-whatsapp);
    color: #fff;
    box-shadow: var(--shadow-whatsapp);
}
.btn--whatsapp:hover { background: var(--c-whatsapp-dark); transform: translateY(-3px); }
.btn--light {
    background: #fff;
    color: var(--c-primary);
    box-shadow: var(--shadow);
}
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn--block { width: 100%; }

/* ===== Header ===== */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 14px 0;
    transition: all 0.35s var(--ease);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border-bottom: 1px solid transparent;
}
.header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(15, 23, 42, 0.06);
    padding: 10px 0;
    box-shadow: 0 6px 24px -12px rgba(15, 23, 42, 0.1);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Marca */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 38px; height: 38px; display: block; box-shadow: var(--shadow-sm); border-radius: 11px; }
.brand__mark--img { width: 40px; height: 40px; object-fit: cover; border-radius: 12px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--c-ink); letter-spacing: -0.01em; }
.brand__text span { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c-primary-light); font-weight: 600; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text span { color: #6ee7b7; }

/* Navegación */
.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
    position: relative;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text);
    padding: 8px 0;
    transition: color 0.25s var(--ease);
}
.nav__link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--c-secondary);
    transition: width 0.3s var(--ease);
    border-radius: 2px;
}
.nav__link:hover { color: var(--c-primary); }
.nav__link:hover::after { width: 100%; }
.nav__link--cta {
    background: var(--c-primary);
    color: #fff;
    padding: 10px 22px;
    border-radius: 999px;
    transition: all 0.25s var(--ease);
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--c-primary-light); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-green); }

/* Menú mobile */
.menu-toggle {
    display: none;
    width: 44px; height: 44px;
    position: relative;
    border-radius: 12px;
    background: var(--c-mint);
}
.menu-toggle span {
    position: absolute;
    left: 12px; right: 12px;
    height: 2px;
    background: var(--c-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 26px; }
.menu-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 980px) {
    .menu-toggle { display: block; }
    .nav {
        position: fixed;
        inset: 64px 0 auto 0;
        flex-direction: column;
        gap: 4px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        padding: 20px 24px 28px;
        border-bottom: 1px solid var(--c-border);
        transform: translateY(-130%);
        transition: transform 0.4s var(--ease);
        box-shadow: var(--shadow-lg);
    }
    .nav.is-open { transform: translateY(0); }
    .nav__link { width: 100%; padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--c-border); }
    .nav__link::after { display: none; }
    .nav__link--cta { border-bottom: none !important; margin-top: 12px; text-align: center; }
}

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(16, 185, 129, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 95, 70, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #f6fbf9 0%, #ffffff 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}
.hero__blob--1 { width: 480px; height: 480px; background: radial-gradient(circle, #34d399, transparent 70%); top: -180px; right: -120px; }
.hero__blob--2 { width: 380px; height: 380px; background: radial-gradient(circle, #10b981, transparent 70%); bottom: -160px; left: -120px; opacity: 0.35; }
.hero__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(6, 95, 70, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 95, 70, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
@media (max-width: 980px) {
    .hero { padding: 120px 0 60px; }
    .hero__inner { grid-template-columns: 1fr; gap: 40px; }
}

.hero__content { max-width: 600px; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--c-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-primary);
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-secondary); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); } 50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.05); } }

.hero__title {
    font-family: var(--font-head);
    font-size: clamp(36px, 6vw, 62px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--c-ink);
    margin-bottom: 24px;
}
.hero__lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--c-text-soft);
    margin-bottom: 32px;
    max-width: 540px;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}
.hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}
.hero__features li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
}
.hero__features svg { color: var(--c-secondary); flex-shrink: 0; }

/* Media del hero */
.hero__media { position: relative; }
.hero__image-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1 / 1;
}
.hero__image-wrap::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.6;
}
.hero__image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.hero__floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}
.hero__floating-card--top { top: 28px; left: -24px; }
.hero__floating-card--bottom { bottom: 32px; right: -24px; animation-delay: 1.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero__floating-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
    color: #fff;
    display: grid; place-items: center;
}
.hero__floating-icon--accent { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.hero__floating-card div:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.hero__floating-card span { font-size: 12px; color: var(--c-text-soft); font-weight: 500; }
.hero__floating-card strong { font-family: var(--font-head); font-size: 15px; color: var(--c-ink); font-weight: 700; }

@media (max-width: 560px) {
    .hero__floating-card--top { left: 12px; top: 12px; padding: 10px 12px; }
    .hero__floating-card--bottom { right: 12px; bottom: 12px; padding: 10px 12px; }
    .hero__floating-icon { width: 36px; height: 36px; }
}

/* ===== Stats ===== */
.stats {
    background: var(--c-ink);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(16, 185, 129, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(5, 150, 105, 0.2) 0%, transparent 50%);
}
.stats__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 768px) { .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; text-align: center; } }
.stat { text-align: center; }
.stat__num {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(120deg, #fff 0%, #6ee7b7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}
.stat__label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* ===== Servicios ===== */
.servicios { background: var(--c-surface); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 980px) { .services-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.service-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 36px 30px 30px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-primary), var(--c-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--c-mint), var(--c-secondary-soft));
    color: var(--c-primary);
    display: grid; place-items: center;
    margin-bottom: 20px;
    transition: transform 0.4s var(--ease);
}
.service-card:hover .service-card__icon { transform: rotate(-6deg) scale(1.05); }
.service-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-primary);
    background: var(--c-secondary-soft);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.service-card__tag--alt { color: #b45309; background: #fef3c7; }
.service-card__tag--exclusive { color: #be123c; background: #ffe4e6; }
.service-card__title {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--c-ink);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.service-card__desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--c-text-soft);
    margin-bottom: 22px;
}
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    color: var(--c-primary);
    transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.service-card__link:hover { gap: 12px; color: var(--c-primary-light); }

/* ===== Nosotros ===== */
.nosotros__grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    align-items: center;
}
@media (max-width: 980px) { .nosotros__grid { grid-template-columns: 1fr; gap: 40px; } }

.nosotros__media { position: relative; }
.nosotros__media img {
    width: 100%;
    border-radius: var(--radius-xl);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}
.nosotros__badge {
    position: absolute;
    bottom: 24px; left: -20px;
    background: #fff;
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    border-left: 4px solid var(--c-secondary);
}
.nosotros__badge strong { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--c-primary); }
.nosotros__badge span { font-size: 12px; color: var(--c-text-soft); font-weight: 500; }
@media (max-width: 560px) { .nosotros__badge { left: 12px; bottom: 12px; padding: 12px 16px; } }

.features-list { display: flex; flex-direction: column; gap: 22px; margin: 28px 0 32px; }
.features-list__item { display: flex; gap: 18px; align-items: flex-start; }
.features-list__icon {
    flex-shrink: 0;
    width: 50px; height: 50px;
    border-radius: 14px;
    background: var(--c-mint);
    color: var(--c-primary);
    display: grid; place-items: center;
    border: 1px solid var(--c-secondary-soft);
}
.features-list__item strong { display: block; font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--c-ink); margin-bottom: 4px; }
.features-list__item p { font-size: 14.5px; color: var(--c-text-soft); line-height: 1.6; }

/* ===== Exámenes (acordeón) ===== */
.examenes { background: var(--c-surface); }
.accordion { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.accordion__item {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.accordion__item[open] { box-shadow: var(--shadow); border-color: var(--c-secondary-soft); }
.accordion__summary {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 26px;
    cursor: pointer;
    list-style: none;
    transition: background 0.25s var(--ease);
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary:hover { background: var(--c-mint); }
.accordion__icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--c-mint);
    color: var(--c-primary);
    display: grid; place-items: center;
}
.accordion__item[open] .accordion__icon { background: var(--c-primary); color: #fff; }
.accordion__title { flex: 1; font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--c-ink); letter-spacing: -0.01em; }
.accordion__toggle { color: var(--c-text-faint); transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.accordion__item[open] .accordion__toggle { transform: rotate(180deg); color: var(--c-primary); }

.accordion__content {
    padding: 0 26px 26px 92px;
    animation: slideDown 0.4s var(--ease);
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.accordion__content > p { color: var(--c-text-soft); margin-bottom: 16px; line-height: 1.7; }
@media (max-width: 560px) { .accordion__content { padding: 0 20px 22px 20px; } .accordion__summary { padding: 16px 18px; gap: 12px; } .accordion__icon { width: 40px; height: 40px; } }

.check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
}
@media (max-width: 560px) { .check-list { grid-template-columns: 1fr; } }
.check-list li {
    position: relative;
    padding-left: 28px;
    font-size: 14.5px;
    color: var(--c-text);
    font-weight: 500;
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 6px;
    width: 18px; height: 18px;
    background: var(--c-secondary-soft);
    border-radius: 50%;
}
.check-list li::after {
    content: '';
    position: absolute;
    left: 6px; top: 10px;
    width: 6px; height: 3px;
    border-left: 2px solid var(--c-primary);
    border-bottom: 2px solid var(--c-primary);
    transform: rotate(-45deg);
}

.examenes__cta {
    margin: 40px auto 0;
    max-width: 720px;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-green);
}
.examenes__cta p { font-family: var(--font-head); font-size: 18px; font-weight: 700; }
.examenes__cta .btn { background: #fff; color: var(--c-primary); box-shadow: none; }
.examenes__cta .btn:hover { background: var(--c-mint); transform: translateY(-2px); }

/* ===== Destacado (banda verde) ===== */
.destacado {
    background:
        radial-gradient(ellipse at 10% 0%, rgba(52, 211, 153, 0.4) 0%, transparent 50%),
        linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    color: #fff;
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}
.destacado::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.destacado__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
@media (max-width: 980px) { .destacado__inner { grid-template-columns: 1fr; gap: 40px; } }
.destacado__title {
    font-family: var(--font-head);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}
.destacado__lead { font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, 0.82); margin-bottom: 28px; }
.destacado__list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.destacado__list li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; }
.destacado__list svg { color: var(--c-accent); flex-shrink: 0; }

.destacado__media img {
    width: 100%;
    border-radius: var(--radius-xl);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
    border: 6px solid rgba(255, 255, 255, 0.1);
}

/* ===== Testimonios ===== */
.testimonios__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 980px) { .testimonios__grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; } }

/* Badge de Google Reviews */
.google-rating {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 14px 22px;
    background: #fff;
    border: 1.5px solid var(--c-border);
    border-radius: 999px;
    box-shadow: var(--shadow);
    transition: all 0.3s var(--ease);
    text-decoration: none;
}
.google-rating:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #4285F4; }
.google-rating__logo { display: grid; place-items: center; flex-shrink: 0; }
.google-rating__body { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.google-rating__stars { display: flex; gap: 1px; }
.google-rating__text { font-size: 14px; color: var(--c-text); font-weight: 500; }
.google-rating__text strong { color: var(--c-ink); font-family: var(--font-head); font-weight: 800; font-size: 16px; }
.google-rating__cta { font-size: 13px; font-weight: 600; color: #4285F4; font-family: var(--font-head); white-space: nowrap; }
@media (max-width: 560px) {
    .google-rating { flex-wrap: wrap; gap: 8px 14px; padding: 12px 16px; }
    .google-rating__cta { width: 100%; text-align: left; }
}

/* Fuente de cada testimonio */
.testimonial__source {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-text-faint);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.testimonial {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    position: relative;
}
.testimonial::before {
    content: '"';
    position: absolute;
    top: 14px; right: 24px;
    font-family: Georgia, serif;
    font-size: 80px;
    line-height: 1;
    color: var(--c-secondary-soft);
    font-weight: 700;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testimonial__stars { display: flex; gap: 2px; color: #f59e0b; margin-bottom: 16px; position: relative; z-index: 1; }
.testimonial blockquote {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--c-text);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.testimonial figcaption { border-top: 1px solid var(--c-border); padding-top: 16px; display: flex; flex-direction: column; gap: 2px; }
.testimonial figcaption strong { font-family: var(--font-head); font-size: 15px; color: var(--c-ink); font-weight: 700; }
.testimonial figcaption span { font-size: 13px; color: var(--c-text-faint); }

/* ===== Contacto ===== */
.contacto {
    background:
        radial-gradient(ellipse at 100% 0%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, var(--c-surface) 0%, #fff 100%);
}
.contacto__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: stretch;
}
@media (max-width: 980px) { .contacto__inner { grid-template-columns: 1fr; gap: 36px; } }

.contacto__info { padding: 12px 0; }
.contacto__title {
    font-family: var(--font-head);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--c-ink);
    margin-bottom: 16px;
}
.contacto__lead { font-size: 17px; color: var(--c-text-soft); line-height: 1.7; margin-bottom: 32px; }

.contacto__list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.contacto__list li { display: flex; gap: 16px; align-items: flex-start; }
.contacto__icon {
    flex-shrink: 0;
    width: 50px; height: 50px;
    border-radius: 14px;
    background: #fff;
    color: var(--c-primary);
    display: grid; place-items: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-border);
}
.contacto__list li > div { display: flex; flex-direction: column; line-height: 1.3; }
.contacto__list span { font-size: 12px; color: var(--c-text-faint); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.contacto__list strong { font-family: var(--font-head); font-size: 16px; color: var(--c-ink); font-weight: 700; margin-top: 2px; }
.contacto__list em { font-size: 13px; color: var(--c-text-soft); font-style: normal; margin-top: 2px; }

.contacto__social { display: flex; gap: 12px; }
.contacto__social a {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--c-whatsapp);
    color: #fff;
    display: grid; place-items: center;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
    box-shadow: var(--shadow-whatsapp);
}
.contacto__social a:last-child { background: #1877f2; box-shadow: 0 14px 28px -8px rgba(24, 119, 243, 0.4); }
.contacto__social a:hover { transform: translateY(-3px) scale(1.05); }

/* Form */
.contacto__form {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow);
}
.contacto__form-title { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--c-ink); margin-bottom: 4px; }
.contacto__form-sub { font-size: 14px; color: var(--c-text-soft); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--c-text); margin-bottom: 6px; font-family: var(--font-head); }
.form-group input, .form-group select, .form-group textarea {
    border: 1.5px solid var(--c-border);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    color: var(--c-ink);
    background: var(--c-surface);
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
    width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--c-secondary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-disclaimer { font-size: 12px; color: var(--c-text-faint); text-align: center; margin-top: 12px; }

/* ===== Mapa ===== */
.mapa { height: 420px; background: var(--c-surface-2); }
.mapa iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }

/* ===== Footer ===== */
.footer { background: var(--c-ink); color: rgba(255, 255, 255, 0.7); padding: 64px 0 0; }
.footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 768px) { .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer__inner { grid-template-columns: 1fr; } }

.footer__brand p { font-size: 14px; line-height: 1.65; margin-top: 16px; max-width: 320px; }
.footer__col h4 { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col li { font-size: 14px; }
.footer__col a { transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--c-accent); }

.footer__bottom { padding: 22px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer__bottom p { font-size: 13px; color: rgba(255, 255, 255, 0.5); }

/* ===== WhatsApp flotante ===== */
.whatsapp-float {
    position: fixed;
    bottom: 26px; right: 26px;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--c-whatsapp);
    color: #fff;
    display: grid; place-items: center;
    box-shadow: var(--shadow-whatsapp);
    z-index: 90;
    transition: transform 0.3s var(--ease-spring);
}
.whatsapp-float:hover { transform: scale(1.1) rotate(5deg); }
.whatsapp-float__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--c-whatsapp);
    z-index: -1;
    animation: pulseRing 2s infinite;
}
@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ===== Scroll top ===== */
.scroll-top {
    position: fixed;
    bottom: 26px; left: 26px;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--c-primary);
    color: #fff;
    display: grid; place-items: center;
    box-shadow: var(--shadow-green);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    z-index: 89;
}
.scroll-top.is-visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); }

/* ===== Animaciones reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ===== Áreas de servicio (chips SEO local) ===== */
.areas-servicio { background: var(--c-surface); }
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 880px;
    margin: 0 auto;
}
.area-chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #fff;
    border: 1.5px solid var(--c-border);
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    color: var(--c-primary);
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-sm);
}
.area-chip::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-secondary);
    margin-right: 10px;
    flex-shrink: 0;
}
.area-chip:hover {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}
.area-chip:hover::before { background: #fff; }

/* ===== FAQ ===== */
.faq .accordion__content strong { color: var(--c-primary); font-weight: 700; }
.faq .accordion__content a { color: var(--c-primary); font-weight: 600; text-decoration: underline; text-decoration-color: var(--c-secondary); text-underline-offset: 3px; }
.faq .accordion__content a:hover { color: var(--c-primary-light); }

/* ===== Selección ===== */
::selection { background: var(--c-secondary); color: #fff; }
