/* ============================================
   AUTOESCUELA JAIME — v2.0
   ============================================
   Colores extraídos del Instagram @autoescuelajaime:
   - Negro carbón auténtico (fondos de posts)
   - Verde L de prácticas (el verde oficial DGT)
   - Blanco limpio sobre negro
   - Toques cálidos (fotos reales, feeling cercano)
   ============================================ */

/* ---- Variables ---- */
:root {
    /* PALETA REAL del Instagram de Autoescuela Jaime */
    --negro: #1A1A1A;                  /* Fondo principal de los posts */
    --negro-suave: #242424;            /* Variante para cards */
    --negro-puro: #111111;             /* Fondo profundo hero */
    --gris-oscuro: #333333;            /* Bordes sutiles */
    --gris-medio: #666666;             /* Texto secundario */
    --gris-claro: #999999;             /* Texto muted */
    --gris-bg: #F5F5F5;               /* Fondo secciones claras */
    --blanco: #FFFFFF;
    --blanco-roto: #F0F0F0;

    /* Verde L de prácticas — el verde real de la L DGT */
    --verde: #00A651;                  /* Verde L principal */
    --verde-claro: #2ECC71;            /* Verde más vivo para hovers */
    --verde-oscuro: #008C46;           /* Verde para press */
    --verde-glow: rgba(0, 166, 81, 0.15);

    /* Acento — botones CTA (un verde brillante que destaca) */
    --accent: #00C853;
    --accent-hover: #00E676;

    /* Tipografía */
    --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-script: 'Caveat', cursive;  /* Para "Jaime" — estilo manuscrito */

    /* Radios */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 14px;
    --r-xl: 20px;
    --r-full: 50px;

    /* Sombras */
    --sombra: 0 2px 12px rgba(0,0,0,0.06);
    --sombra-md: 0 6px 24px rgba(0,0,0,0.08);
    --sombra-lg: 0 12px 40px rgba(0,0,0,0.12);

    /* Transiciones */
    --fast: 0.18s ease;
    --normal: 0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--negro);
    background: var(--blanco);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }

/* ---- Utilidades ---- */
.script-text {
    font-family: var(--font-script);
    font-weight: 600;
    color: var(--verde);
}

.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-head h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    margin-bottom: 10px;
}

.section-head p {
    color: var(--gris-medio);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
}

.section-head.light h2 { color: var(--blanco); }
.section-head.light p { color: var(--gris-claro); }

/* ---- Botones ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 13px 26px;
    border-radius: var(--r-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--normal);
    line-height: 1;
    white-space: nowrap;
}

.btn-accent {
    background: var(--verde);
    color: var(--blanco);
    border-color: var(--verde);
}
.btn-accent:hover {
    background: var(--verde-claro);
    border-color: var(--verde-claro);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 166, 81, 0.35);
}

.btn-dark {
    background: var(--negro);
    color: var(--blanco);
    border-color: var(--negro);
}
.btn-dark:hover {
    background: var(--gris-oscuro);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--blanco);
    border-color: rgba(255,255,255,0.35);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--negro);
    border-color: var(--negro);
}
.btn-outline-dark:hover {
    background: var(--negro);
    color: var(--blanco);
    transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 14px 0;
    transition: all var(--normal);
}

.header.scrolled {
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(12px);
    padding: 8px 0;
    box-shadow: 0 1px 8px rgba(0,0,0,0.18);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 44px;
    width: auto;
    transition: height var(--normal);
}

.header.scrolled .logo-img {
    height: 36px;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--verde);
    color: var(--blanco);
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
}

.logo-type {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-auto {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--blanco);
    text-transform: uppercase;
}

.logo-jaime {
    font-family: var(--font-script);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--verde);
    margin-top: -2px;
}

/* Nav menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    padding: 8px 14px;
    border-radius: var(--r-full);
    transition: all var(--fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--blanco);
    background: rgba(255,255,255,0.08);
}

.cta-link {
    background: var(--verde) !important;
    color: var(--blanco) !important;
    padding: 9px 18px !important;
    font-weight: 600 !important;
}
.cta-link:hover {
    background: var(--verde-claro) !important;
}

.cta-blue {
    background: #007BFF !important;
}
.cta-blue:hover {
    background: #0056b3 !important;
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 110;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--blanco);
    border-radius: 2px;
    transition: all var(--fast);
}

.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;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--negro-puro);
    overflow: hidden;
}

/* EDITABLE: Cambia la imagen de fondo aquí. Usa una foto real.
   Ejemplo: background-image: url('images/hero-bg.webp'); */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* La imagen de fallback si el vídeo no carga */
    background-image: url('../images/hero-fallback.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17,17,17,0.92) 0%, rgba(17,17,17,0.7) 100%);
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 3;
    padding: 140px 0 80px;
}

.hero-content {
    max-width: 640px;
}

.hero-location {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--verde);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.hero-title {
    font-size: clamp(2rem, 5.5vw, 3.2rem);
    font-weight: 800;
    color: var(--blanco);
    margin-bottom: 18px;
    line-height: 1.1;
}

.hero-title .script-text {
    font-size: 1.1em;
    display: block;
    margin-top: 4px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--gris-claro);
    margin-bottom: 28px;
    line-height: 1.7;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--gris-claro);
    padding: 6px 14px;
    border-radius: var(--r-full);
    border: 1px solid var(--gris-oscuro);
    background: rgba(255,255,255,0.03);
}

.badge i {
    color: var(--verde);
    font-size: 0.75rem;
}

/* ============================================
   PERMISOS
   ============================================ */
.permisos {
    padding: 90px 0;
    background: var(--gris-bg);
}

/* Carousel wrapper */
.permisos-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.permisos-carousel {
    overflow: hidden;
    flex: 1;
}

.permisos-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.permisos-track .permiso-card {
    min-width: calc((100% - 48px) / 3);
    flex-shrink: 0;
}

/* Arrows */
.carousel-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--negro);
    background: var(--blanco);
    color: var(--negro);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--normal);
    flex-shrink: 0;
    z-index: 2;
    font-size: 0.9rem;
}

.carousel-arrow:hover {
    background: var(--verde);
    border-color: var(--verde);
    color: var(--blanco);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-arrow:disabled:hover {
    background: var(--blanco);
    border-color: var(--negro);
    color: var(--negro);
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D0D0D0;
    border: none;
    cursor: pointer;
    transition: all var(--normal);
    padding: 0;
}

.carousel-dot.active {
    background: var(--verde);
    transform: scale(1.3);
}

.carousel-dot:hover:not(.active) {
    background: #999;
}

.permiso-body > p {
    font-size: 0.92rem;
    color: var(--gris-medio);
    margin-bottom: 16px;
    line-height: 1.6;
}

.permiso-card {
    position: relative;
    background: var(--blanco);
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid #E8E8E8;
    transition: all var(--normal);
    display: flex;
    flex-direction: column;
}

.permiso-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sombra-lg);
    border-color: transparent;
}

/* Top colored strip */
.permiso-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--verde);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--normal);
}
.permiso-card:hover::after,
.permiso-card.featured::after {
    transform: scaleX(1);
}

.permiso-card.featured {
    border-color: var(--verde);
    box-shadow: 0 0 0 1px var(--verde), 0 4px 20px rgba(0,166,81,0.12);
}

.featured-label {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--blanco);
    background: var(--verde);
    padding: 4px 12px;
    border-radius: var(--r-full);
    z-index: 2;
}

.permiso-icon-wrap {
    background: var(--negro);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.permiso-icon-wrap i {
    font-size: 2.2rem;
    color: var(--verde);
}

.permiso-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.permiso-body h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.permiso-tag {
    font-size: 0.82rem;
    color: var(--gris-medio);
    font-weight: 500;
    margin-bottom: 12px;
}



.permiso-body ul {
    margin-bottom: 20px;
    flex: 1;
}

.permiso-body li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--negro);
    padding: 4px 0;
}

.permiso-body li i {
    color: var(--verde);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.permisos-all-link {
    text-align: center;
}

/* ============================================
   UBICACIÓN
   ============================================ */
.ubicacion {
    padding: 90px 0;
    background: var(--blanco);
}

.ubicacion-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
    align-items: stretch;
    min-height: 420px;
}

.ubicacion-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: var(--gris-bg);
    border-radius: var(--r-md);
    transition: all var(--fast);
}

.info-card:hover {
    background: var(--verde-glow);
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: var(--negro);
    color: var(--verde);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.info-card strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--negro);
    margin-bottom: 2px;
}

.info-card p {
    font-size: 0.88rem;
    color: var(--gris-medio);
    line-height: 1.5;
}

.info-card a {
    color: var(--verde);
    font-weight: 500;
    transition: color var(--fast);
}
.info-card a:hover { color: var(--verde-oscuro); }

.ubicacion-mapa {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sombra-md);
    min-height: 360px;
}

.ubicacion-mapa iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ============================================
   OPINIONES
   ============================================ */
.opiniones {
    padding: 90px 0;
    background: var(--gris-bg);
}

.google-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

.google-g { flex-shrink: 0; }

.rating-data {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-score {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--negro);
}

.rating-stars {
    display: flex;
    gap: 2px;
    color: #FBBC04;
    font-size: 1rem;
}

.rating-count {
    font-size: 0.88rem;
    color: var(--gris-medio);
}

/* Reviews grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.reviews-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--gris-medio);
    padding: 40px 0;
}

.review-card {
    background: var(--blanco);
    border-radius: var(--r-md);
    padding: 24px;
    border: 1px solid #E8E8E8;
    transition: all var(--normal);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-md);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--negro);
    color: var(--verde);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.review-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--negro);
}

.review-time {
    font-size: 0.78rem;
    color: var(--gris-claro);
}

.review-stars {
    color: #FBBC04;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex;
    gap: 2px;
}

.review-text {
    font-size: 0.9rem;
    color: var(--gris-medio);
    line-height: 1.6;
}

.reviews-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto {
    padding: 90px 0;
    background: var(--negro);
}

.contacto-grid {
    max-width: 640px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gris-oscuro);
    border-radius: var(--r-md);
    background: rgba(255,255,255,0.06);
    color: var(--blanco);
    font-family: var(--font);
    font-size: 0.92rem;
    transition: all var(--fast);
    outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(255,255,255,0.25);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--verde);
    box-shadow: 0 0 0 3px rgba(0,166,81,0.15);
}

.field input.valid { border-color: var(--verde); }
.field input.invalid,
.field select.invalid { border-color: #E53935; }

.field-error {
    font-size: 0.76rem;
    color: #E53935;
    display: none;
}

.field.error .field-error { display: block; }
.field.error input,
.field.error select { border-color: #E53935; }

/* Radio chips */
.radio-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    cursor: pointer;
}

.chip input { display: none; }

.chip span {
    display: block;
    padding: 10px 18px;
    border: 1px solid var(--gris-oscuro);
    border-radius: var(--r-full);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    transition: all var(--fast);
}

.chip:hover span {
    border-color: var(--verde);
    color: var(--blanco);
}

.chip input:checked + span {
    background: var(--verde);
    border-color: var(--verde);
    color: var(--blanco);
    font-weight: 500;
}

/* Select */
.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23999' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.field select option {
    background: var(--negro);
    color: var(--blanco);
}

.form-hint {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    margin-top: 4px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--negro-puro);
    color: var(--gris-claro);
    padding: 60px 0 24px;
}

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

.footer-brand p {
    font-size: 0.88rem;
    margin: 16px 0;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--r-sm);
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--gris-claro);
    transition: all var(--fast);
}

.footer-social a:hover {
    background: var(--verde);
    color: var(--blanco);
    transform: translateY(-2px);
}

.permiso-icon-wrap i {
    font-size: 2rem;
    color: var(--verde);
    transition: all var(--fast);
}

.permiso-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.permiso-card:hover .permiso-icon-wrap {
    background: var(--verde);
    transform: scale(1.1);
}

.permiso-card:hover .permiso-icon-wrap i {
    color: var(--blanco);
}

.footer h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blanco);
    margin-bottom: 16px;
}

.footer ul li { margin-bottom: 8px; }

.footer ul a {
    font-size: 0.88rem;
    color: var(--gris-claro);
    transition: all var(--fast);
}

.footer ul a:hover {
    color: var(--verde);
    padding-left: 3px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.footer-contact-list i {
    color: var(--verde);
    margin-top: 3px;
    width: 14px;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.25);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.wa-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-size: 1.7rem;
    z-index: 90;
    box-shadow: 0 3px 14px rgba(37,211,102,0.35);
    transition: all var(--normal);
    animation: waPulse 2.5s ease infinite;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 22px rgba(37,211,102,0.5);
}

/* ============================================
   MODAL
   ============================================ */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
    z-index: 200;
}

.modal-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    z-index: 201;
    background: var(--blanco);
    border-radius: var(--r-xl);
    padding: 44px;
    text-align: center;
    max-width: 380px;
    width: 90%;
    box-shadow: var(--sombra-lg);
    opacity: 0;
    transition: all var(--normal);
}

.modal-backdrop.show { display: block; }
.modal-box.show {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.modal-check {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--verde-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.modal-check i {
    font-size: 1.6rem;
    color: var(--verde);
}

.modal-box h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.modal-box p {
    font-size: 0.92rem;
    color: var(--gris-medio);
    margin-bottom: 20px;
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes waPulse {
    0%, 100% { box-shadow: 0 3px 14px rgba(37,211,102,0.35); }
    50% { box-shadow: 0 3px 22px rgba(37,211,102,0.55); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero animations */
.hero-location { animation: fadeUp 0.6s ease 0.1s both; }
.hero-title { animation: fadeUp 0.6s ease 0.2s both; }
.hero-desc { animation: fadeUp 0.6s ease 0.3s both; }
.hero-actions { animation: fadeUp 0.6s ease 0.4s both; }
.hero-badges { animation: fadeUp 0.6s ease 0.5s both; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .permisos-track .permiso-card { min-width: calc((100% - 24px) / 2); }
    .ubicacion-grid { grid-template-columns: 1fr; }
    .ubicacion-mapa { min-height: 300px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 78%;
        max-width: 300px;
        height: 100vh;
        background: var(--negro-puro);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 20px 28px;
        gap: 4px;
        transition: right var(--normal);
        box-shadow: -6px 0 20px rgba(0,0,0,0.25);
        z-index: 105;
    }

    .nav-menu.open { right: 0; }

    .nav-link {
        padding: 12px 14px;
        font-size: 1rem;
        border-radius: var(--r-sm);
    }

    .cta-link { margin-top: 12px; text-align: center; justify-content: center; }

    .hero { min-height: auto; }
    .hero-inner { padding: 110px 0 60px; }
    .hero-title { font-size: clamp(1.7rem, 7vw, 2.3rem); }
    .hero-badges { flex-direction: column; gap: 8px; }

    .permisos { padding: 60px 0; }
    .permisos-track .permiso-card { min-width: 100%; }
    .carousel-arrow { width: 36px; height: 36px; font-size: 0.75rem; }

    .reviews-grid { grid-template-columns: 1fr; }

    .form-row-2 { grid-template-columns: 1fr; }
    .radio-row { flex-direction: column; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-contact-list li { justify-content: center; }

    .ubicacion, .opiniones { padding: 60px 0; }
    .contacto { padding: 60px 0; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .reviews-cta { flex-direction: column; align-items: center; }
}
