/* ============================================
   SONRISA DENTAL — PREMIUM REDESIGN
   Tipografía: Fraunces (serif display) + DM Sans
   Paleta: Azul cielo · Verde esmeralda · Blanco nieve
   ============================================ */

:root {
    --sky: #0EA5E9;
    --sky-dark: #0284C7;
    --sky-light: #38BDF8;
    --sky-pale: #E0F2FE;
    --sky-ghost: #F0F9FF;
    --mint: #10B981;
    --mint-dark: #059669;
    --mint-light: #34D399;
    --amber: #F59E0B;
    --wa: #25D366;
    --wa-dark: #128C7E;

    --ink: #0C1B2E;
    --ink-2: #1E3448;
    --slate: #3D566C;
    --muted: #6B8196;
    --light: #A8BDC8;
    --border: #E2EBF0;
    --border-soft: #EEF4F8;
    --surface: #F7FAFB;
    --white: #FFFFFF;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 999px;

    --shadow-sm: 0 1px 4px rgba(12, 27, 46, 0.06);
    --shadow: 0 4px 16px rgba(12, 27, 46, 0.08);
    --shadow-md: 0 8px 28px rgba(12, 27, 46, 0.1);
    --shadow-lg: 0 20px 50px rgba(12, 27, 46, 0.12);
    --shadow-sky: 0 8px 28px rgba(14, 165, 233, 0.25);
    --shadow-sky-lg: 0 20px 50px rgba(14, 165, 233, 0.3);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t: 0.3s;

    --nav-h: 68px;
    --container: 1200px;
    --gutter: clamp(1.25rem, 5vw, 4rem);

      /* ===== ESTAS FALTAN PARA EL HERO ===== */
    --bg-primary: #f0f7ff;
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Fraunces', Georgia, serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 16px;
}

body {
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ============================================
   CUSTOM CURSOR
   ============================================ */
@media (hover: hover) and (pointer: fine) {
    body { cursor: none; }
    #cursor, #cursor-dot {
        position: fixed;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: opacity 0.3s;
    }
    #cursor {
        width: 32px;
        height: 32px;
        border: 1.5px solid var(--sky);
        border-radius: 50%;
        transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s;
    }
    #cursor.hovered {
        width: 48px;
        height: 48px;
        background: rgba(14, 165, 233, 0.1);
    }
    #cursor-dot {
        width: 5px;
        height: 5px;
        background: var(--sky);
        border-radius: 50%;
    }
}
@media (hover: none) {
    #cursor, #cursor-dot { display: none; }
}

/* ============================================
   FLOATING WA BUTTON
   ============================================ */
.wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: var(--wa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform var(--t) var(--ease-bounce), box-shadow var(--t);
    color: white;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}
.wa-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--wa);
    animation: waPulse 2s infinite;
}
@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--gutter);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--t);
}
nav.scrolled {
    box-shadow: var(--shadow);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}
.logo-mark svg { width: 36px; height: 36px; }
.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--ink);
}
.logo-sub {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--sky);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 0.25rem;
}
@media (min-width: 768px) {
    .nav-links { display: flex; }
}
.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-full);
    transition: color var(--t), background var(--t);
}
.nav-links a:hover {
    color: var(--sky);
    background: var(--sky-ghost);
}
.nav-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    background: var(--sky) !important;
    color: var(--white) !important;
    padding: 0.55rem 1.2rem !important;
    border-radius: var(--radius-full) !important;
    font-weight: 600 !important;
    transition: background var(--t), transform var(--t), box-shadow var(--t) !important;
}
.nav-cta svg { width: 14px; height: 14px; }
.nav-cta:hover {
    background: var(--sky-dark) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sky) !important;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: background var(--t);
}
@media (min-width: 768px) { .menu-toggle { display: none; } }
.menu-toggle:hover { background: var(--surface); }
.bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform var(--t), opacity var(--t);
}
.menu-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; }
.menu-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   MOBILE OVERLAY MENU
   ============================================ */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(12, 27, 46, 0.4);
    backdrop-filter: blur(4px);
    animation: fadeOverlay 0.2s ease;
}
.mobile-overlay.open { display: block; }
@keyframes fadeOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}
.mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100%;
    background: var(--white);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    animation: slideMenu 0.3s var(--ease);
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}
@keyframes slideMenu {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
.mobile-close {
    align-self: flex-end;
    font-size: 1.2rem;
    color: var(--muted);
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    transition: color var(--t);
}
.mobile-close:hover { color: var(--ink); }
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}
.mobile-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--slate);
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    transition: background var(--t), color var(--t);
}
.mobile-link:hover { background: var(--sky-ghost); color: var(--sky); }
.mobile-link.cta {
    background: var(--sky);
    color: var(--white) !important;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
    border-radius: var(--radius-full);
}
.mobile-info {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.mobile-info p {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ============================================
   CONTAINER & LAYOUT HELPERS
   ============================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ============================================
   HERO SECTION - CORREGIDO
   ============================================ */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f4ff 100%);
    overflow: hidden;
}

@media (min-width: 992px) {
    .hero {
        flex-direction: row;
        align-items: center;
        min-height: calc(100vh - 70px);
    }
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/demo/dental-hero.jpg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.75) 100%);
    z-index: 1;
}

.hero-content,
.hero-image {
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    padding: 3rem 1.5rem;
}

@media (min-width: 992px) {
    .hero-content {
        padding: 0 4rem;
    }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(8, 145, 178, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: #0891b2;
    margin-bottom: 1.5rem;
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.hero-title .highlight {
    color: #0891b2;
}

.hero-sub {
    font-size: 1rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
}

@media (min-width: 768px) {
    .hero-sub {
        font-size: 1.1rem;
    }
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

@media (min-width: 768px) {
    .btn-primary, .btn-secondary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

.btn-primary {
    background: #0891b2;
    color: white;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
}

.btn-primary:hover {
    background: #0e7490;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #0f172a;
}

.btn-secondary:hover {
    border-color: #0891b2;
    color: #0891b2;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.stat-number {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #0891b2;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 1.8rem;
    }
}

.stat-label {
    font-size: 0.7rem;
    color: #64748b;
    letter-spacing: 1px;
}

.hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    padding: 2rem 1.8rem;
    text-align: center;
    box-shadow: 0 20px 40px -12px rgba(8, 145, 178, 0.4);
    max-width: 300px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatCard 3s ease-in-out infinite;
}

.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 48px -15px rgba(8, 145, 178, 0.5);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-card-icon {
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
}

.hero-card-text {
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 0.5rem;
}

.hero-card-price {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #0891b2;
    margin-bottom: 0.8rem;
}

.hero-card-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    display: inline-block;
}

/* ============================================
   SECTIONS HEADER
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(8, 145, 178, 0.1);
    border-radius: 50px;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.promo-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-sky-lg);
    width: 100%;
    max-width: 340px;
    border: 1px solid rgba(14, 165, 233, 0.15);
    overflow: hidden;
    transition: transform var(--t) var(--ease-bounce), box-shadow var(--t);
}
.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.35);
}
.promo-card-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(14,165,233,0.1), transparent 70%);
    pointer-events: none;
}
.promo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.promo-avatar svg { width: 52px; height: 52px; }
.promo-badge-pill {
    font-size: 0.7rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--amber), #E08000);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
}
.promo-service {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.5rem;
}
.promo-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.promo-before {
    font-size: 1rem;
    color: var(--light);
    text-decoration: line-through;
}
.promo-now {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--sky);
    line-height: 1;
}
.promo-features {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--sky-ghost);
    border-radius: var(--radius-sm);
}
.promo-feature {
    font-size: 0.82rem;
    color: var(--sky-dark);
    font-weight: 500;
}
.promo-cta {
    display: block;
    width: 100%;
    background: var(--sky);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.9rem;
    border-radius: var(--radius-full);
    text-align: center;
    transition: background var(--t), transform var(--t);
    cursor: pointer;
}
.promo-cta:hover {
    background: var(--sky-dark);
    transform: scale(1.02);
}

/* Mini floating cards */
.mini-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-soft);
}
.mini-card-1 {
    top: -10px;
    right: -10px;
    animation: floatA 3s ease-in-out infinite;
}
.mini-card-2 {
    bottom: 10px;
    left: -20px;
    animation: floatB 3.5s ease-in-out infinite;
}
@media (max-width: 480px) {
    .mini-card-1 { right: 0; top: -5px; }
    .mini-card-2 { left: 0; bottom: 5px; }
}
@keyframes floatA {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-8px) rotate(-2deg); }
}
@keyframes floatB {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(8px) rotate(2deg); }
}
.mini-icon { font-size: 1.4rem; }
.mini-val {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--ink);
    line-height: 1;
}
.mini-lbl {
    font-size: 0.65rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero wave */
.hero-wave {
    line-height: 0;
    margin-top: -2px;
}
.hero-wave svg {
    width: 100%;
    height: clamp(30px, 5vw, 60px);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem var(--gutter);
}
.trust-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
}
.trust-item svg { width: 14px; height: 14px; color: var(--sky); flex-shrink: 0; }
.trust-sep { color: var(--border); font-size: 1.2rem; display: none; }
@media (min-width: 640px) { .trust-sep { display: block; } }

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.section-chip {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sky);
    background: rgba(14,165,233,0.08);
    border: 1px solid rgba(14,165,233,0.15);
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 1rem;
}
.section-title em {
    font-style: italic;
    color: var(--sky);
    font-weight: 300;
}
.section-desc {
    font-size: 1rem;
    color: var(--slate);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ============================================
   SERVICIOS
   ============================================ */
.servicios-section {
    padding: clamp(4rem, 10vw, 7rem) 0;
    background: var(--surface);
}

.servicios-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 540px) {
    .servicios-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .servicios-grid { grid-template-columns: repeat(3, 1fr); }
}

.servicio-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.4rem, 4vw, 2rem);
    position: relative;
    overflow: hidden;
    transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t);
}
.servicio-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--sky-ghost), transparent 60%);
    opacity: 0;
    transition: opacity var(--t);
}
.servicio-card:hover {
    transform: translateY(-5px);
    border-color: var(--sky-light);
    box-shadow: var(--shadow-sky);
}
.servicio-card:hover::before { opacity: 1; }

.servicio-card.featured {
    border-color: var(--sky);
    background: linear-gradient(135deg, #EFF9FF, var(--white));
}
.servicio-card.featured::before {
    opacity: 0.5;
}
.featured-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--sky);
    color: var(--white);
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
}

.servicio-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--sky-pale);
    line-height: 1;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}
.servicio-icon-wrap {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.servicio-emoji { font-size: 2.5rem; }
.servicio-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 1;
}
.servicio-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}
.servicio-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-soft);
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.servicio-price-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.price-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--light);
}
.price-val {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--sky);
}
.price-val small {
    font-size: 0.75rem;
    font-weight: 500;
}
.servicio-btn {
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate);
    transition: all var(--t);
    cursor: pointer;
    white-space: nowrap;
}
.servicio-btn:hover {
    background: var(--sky);
    border-color: var(--sky);
    color: var(--white);
    transform: translateX(3px);
}

/* ============================================
   PROCESO
   ============================================ */
.proceso-section {
    padding: clamp(4rem, 10vw, 7rem) 0;
    background: var(--white);
}
.proceso-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
}
@media (min-width: 768px) {
    .proceso-grid {
        grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
        gap: 0.5rem;
    }
}
.paso {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.paso:hover {
    transform: translateY(-4px);
    border-color: var(--sky-light);
    box-shadow: var(--shadow-sky);
}
.paso-num {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: var(--sky);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}
.paso-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.paso h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.5rem;
}
.paso p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.55;
}
.paso-arrow {
    font-size: 1.5rem;
    color: var(--sky-light);
    text-align: center;
    transform: rotate(90deg);
}
@media (min-width: 768px) {
    .paso-arrow { transform: none; }
}

/* ============================================
   ESPECIALISTAS
   ============================================ */
.especialistas-section {
    padding: clamp(4rem, 10vw, 7rem) 0;
    background: var(--sky-ghost);
}
.especialistas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .especialistas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .especialistas-grid { grid-template-columns: repeat(3, 1fr); }
}

.especialista-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.especialista-card:hover {
    transform: translateY(-5px);
    border-color: var(--sky-light);
    box-shadow: var(--shadow-sky);
}
.esp-avatar {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform var(--t) var(--ease-bounce);
    flex-shrink: 0;
}
.especialista-card:hover .esp-avatar { transform: scale(1.05); }
.esp-body { flex: 1; }
.esp-body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.3rem;
}
.esp-role {
    font-size: 0.78rem;
    color: var(--sky);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.75rem;
}
.esp-bio {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.esp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.esp-tags span {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.25rem 0.7rem;
    background: var(--sky-pale);
    color: var(--sky-dark);
    border-radius: var(--radius-full);
}
.esp-btn {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--slate);
    cursor: pointer;
    transition: all var(--t);
}
.esp-btn:hover {
    background: var(--sky);
    border-color: var(--sky);
    color: var(--white);
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonios-section {
    padding: clamp(4rem, 10vw, 7rem) 0;
    background: var(--white);
}
.testimonios-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}
@media (min-width: 640px) {
    .testimonios-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .testimonios-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonio-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: transform var(--t), box-shadow var(--t);
}
.testimonio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.test-rating {
    font-size: 0.9rem;
    color: var(--amber);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}
.test-text {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}
.test-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.test-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--white);
    flex-shrink: 0;
}
.test-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
}
.test-date {
    font-size: 0.75rem;
    color: var(--light);
}

.rating-banner {
    background: linear-gradient(135deg, var(--sky-ghost), var(--sky-pale));
    border: 1.5px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.rating-stars { font-size: 1.4rem; letter-spacing: 0.05em; }
.rating-info { flex: 1; }
.rating-info strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--ink);
}
.rating-info span {
    font-size: 0.8rem;
    color: var(--muted);
}
.rating-cta {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sky-dark);
    transition: transform var(--t);
    display: inline-block;
    white-space: nowrap;
}
.rating-cta:hover { transform: translateX(4px); }

/* ============================================
   CONTACTO
   ============================================ */
.contacto-section {
    padding: clamp(4rem, 10vw, 7rem) 0;
    background: var(--surface);
}
.contacto-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 992px) {
    .contacto-layout {
        grid-template-columns: 1fr 1.4fr;
        gap: 3rem;
    }
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: transform var(--t), border-color var(--t);
}
.info-item:hover {
    transform: translateX(4px);
    border-color: var(--sky-light);
}
.info-icon-wrap { font-size: 1.6rem; flex-shrink: 0; }
.info-item h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.25rem;
}
.info-item p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.55;
}
.insurance-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}
.insurance-box h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.75rem;
}
.insurance-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.insurance-logos span {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    background: var(--sky-ghost);
    color: var(--sky-dark);
    border-radius: var(--radius-full);
    border: 1px solid rgba(14,165,233,0.15);
}

/* Form */
.form-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 5vw, 2.5rem);
    box-shadow: var(--shadow);
}
.form-header { margin-bottom: 1.75rem; }
.form-header h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.5rem;
}
.form-header p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.55;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
@media (min-width: 500px) {
    .form-row { grid-template-columns: 1fr 1fr; }
}
.form-field {
    margin-bottom: 1rem;
}
.form-field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
}
.form-input, .form-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--ink);
    transition: border-color var(--t), box-shadow var(--t), background var(--t);
    outline: none;
    -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--light); }
.form-input:focus, .form-textarea:focus {
    border-color: var(--sky);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}
.form-textarea {
    resize: vertical;
    min-height: 90px;
}

.chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--slate);
    cursor: pointer;
    user-select: none;
    transition: all var(--t) var(--ease-bounce);
}
.chip:hover {
    border-color: var(--sky-light);
    background: var(--sky-ghost);
    color: var(--sky);
    transform: translateY(-2px);
}
.chip.selected {
    background: var(--sky);
    border-color: var(--sky);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
    transform: scale(1.03);
}

.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--wa);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 1rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--t), transform var(--t), box-shadow var(--t);
    margin-top: 0.5rem;
}
.submit-btn:hover {
    background: var(--wa-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}
.submit-btn:active { transform: scale(0.98); }

.form-trust {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.form-trust span {
    font-size: 0.73rem;
    color: var(--light);
    font-weight: 500;
}

/* ============================================
   AGENCY BANNER
   ============================================ */
.agency-banner {
    background: linear-gradient(135deg, var(--sky-dark) 0%, #0369A1 100%);
    padding: 1.25rem var(--gutter);
    overflow: hidden;
    position: relative;
}
.agency-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.agency-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
    animation: shine 4s infinite;
}
@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.agency-sparkle {
    font-size: 1.6rem;
    animation: sparkle 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0); }
    50% { transform: scale(1.15) rotate(10deg); }
}
.agency-text { flex: 1; }
.agency-text strong {
    display: block;
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: white;
    font-weight: 700;
}
.agency-text span {
    font-size: clamp(0.75rem, 1.8vw, 0.85rem);
    color: rgba(255,255,255,0.75);
}
.agency-btn {
    background: white;
    color: var(--sky-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-full);
    transition: transform var(--t), box-shadow var(--t);
    white-space: nowrap;
    flex-shrink: 0;
}
.agency-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--ink);
    color: var(--white);
}
.footer-top {
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 5rem) var(--gutter) 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
@media (min-width: 640px) {
    .footer-top { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .footer-top { grid-template-columns: 2fr 1fr 1fr 1.2fr; }
}

.footer-brand {}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.75rem;
}
.footer-brand > p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.footer-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--wa);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    transition: background var(--t), transform var(--t);
}
.footer-wa:hover {
    background: var(--wa-dark);
    transform: translateY(-2px);
}

.footer-col h5 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 1rem;
}
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-col li, .footer-col a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    transition: color var(--t);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding: 1.25rem var(--gutter);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
}
.footer-bottom a {
    color: var(--sky-light);
    font-weight: 600;
    transition: color var(--t);
}
.footer-bottom a:hover { color: var(--white); }

/* ============================================
   TOAST
   ============================================ */
.toast {
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    left: 1.5rem;
    max-width: 360px;
    margin-left: auto;
    background: var(--white);
    border-left: 4px solid var(--mint);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    z-index: 300;
    box-shadow: var(--shadow-lg);
    transform: translateY(120%) scale(0.9);
    opacity: 0;
    transition: transform 0.4s var(--ease-bounce), opacity 0.4s;
}
.toast.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.toast.error { border-color: #EF4444; }
.toast-icon { font-size: 1.4rem; flex-shrink: 0; }
.toast-body {}
.toast-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.1rem;
}
.toast-msg {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.4;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-top {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    z-index: 150;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--t);
    cursor: pointer;
}
.back-top.visible {
    opacity: 1;
    transform: translateY(0);
}
.back-top:hover {
    background: var(--sky);
    border-color: var(--sky);
    color: var(--white);
    transform: translateY(-2px);
}
.back-top svg { width: 16px; height: 16px; }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.18s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.28s; }
.reveal:nth-child(6) { transition-delay: 0.32s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--sky-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--sky); }

/* ============================================
   MOBILE TWEAKS
   ============================================ */
@media (max-width: 479px) {
    .hero-ctas { flex-direction: column; }
    .btn-main, .btn-ghost { width: 100%; justify-content: center; }
    .rating-banner { flex-direction: column; text-align: center; }
    .agency-inner { flex-direction: column; text-align: center; }
    .form-trust { gap: 0.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 767px) {
    .promo-card { max-width: 100%; }
    .hero-visual { padding: 1rem 0; }
    .mini-card-1, .mini-card-2 { display: none; }
    .servicios-grid .servicio-card { padding: 1.4rem; }
}

/* Selection */
::selection { background: var(--sky-pale); color: var(--sky-dark); }
