/* Gijutsu Design — estilos de la portada. Sin framework.
   Orden: tokens · base · botones · encabezado · hero · formulario de la cita ·
   secciones · pie · flotantes · celular. */

:root {
    --navy-950: #040d22;
    --navy-900: #06142f;
    --navy-800: #0a1f4a;
    --navy-700: #0f2c66;
    --blue-700: #1438a6;
    --blue-600: #1e4fd6;
    --blue-500: #2f6bef;
    --blue-300: #7aa6ff;
    --lime-300: #c2ef72;
    --lime-400: #a6e14a;
    --lime-500: #86cf36;
    --lime-600: #6cb423;
    --lime-txt: #8fd640;
    --ink: #0a1a3d;
    --muted: #4b5a7a;
    --muted-dark: #c3cfe6;
    --line: #dbe3f0;
    --soft: #f3f6fb;
    --white: #fff;
    --radius: 14px;
    --shadow-sm: 0 2px 6px rgba(10, 26, 61, .06), 0 8px 24px rgba(10, 26, 61, .06);
    --shadow-lg: 0 30px 70px rgba(2, 8, 24, .45);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --container: 1240px;
    --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime-400); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.txt-lime { color: var(--lime-txt); }
.txt-navy { color: var(--ink); }
.raya { display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--lime-500); margin-top: 22px; }
.titulo-seccion { font-size: clamp(28px, 3vw, 36px); font-weight: 800; color: var(--blue-600); }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 20px; border: 0; border-radius: 12px;
    font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lime {
    background: linear-gradient(180deg, var(--lime-300) 0%, var(--lime-500) 100%);
    color: var(--navy-900);
    box-shadow: 0 6px 18px rgba(134, 207, 54, .35), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn--lime:hover { filter: brightness(1.04); box-shadow: 0 10px 24px rgba(134, 207, 54, .45), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--sm { min-height: 34px; padding: 0 16px; font-size: 13px; border-radius: 999px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 999px; }
.btn--block { width: 100%; }
.btn--outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .8); border-radius: 999px; min-height: 42px; }
.btn--outline:hover { background: rgba(255, 255, 255, .08); }
.btn--whatsapp { background: #25d366; color: #fff; }
.btn--ghost { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.btn[aria-busy="true"] { opacity: .8; cursor: progress; }
.btn__busy { display: none; }
.btn[aria-busy="true"] .btn__label { display: none; }
.btn[aria-busy="true"] .btn__busy { display: inline; }

/* ---------- Encabezado ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 rgba(10, 26, 61, .06), 0 6px 20px rgba(10, 26, 61, .05); }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo__img { height: 46px; width: auto; }
.logo__icono { width: 46px; height: 46px; background-repeat: no-repeat; background-size: auto 100%; background-position: left center; flex: none; }
.logo__texto { display: flex; flex-direction: column; line-height: 1; }
.logo__nombre { font-size: 25px; font-weight: 600; letter-spacing: -.02em; }
.logo__nombre span:first-child { color: var(--blue-600); }
.logo__nombre span:last-child { color: var(--lime-500); }
.logo__lema { font-size: 10.5px; color: var(--muted); margin-top: 4px; letter-spacing: .01em; }
.logo--grande .logo__icono { width: 56px; height: 56px; }
.logo--grande .logo__nombre { font-size: 30px; }
.logo--grande .logo__lema { font-size: 12px; }
.logo--grande .logo__img { height: 56px; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 6px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { padding: 10px 4px 10px 12px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); }
.nav__item:not(.has-menu) .nav__link { padding-right: 12px; }
.nav__link:hover { color: var(--blue-600); }
.nav__caret { display: inline-flex; padding: 6px 6px 6px 0; background: none; border: 0; cursor: pointer; color: var(--ink); }
.nav__caret .icon { width: 15px; height: 15px; transition: transform .2s; }
.nav__item.is-open .nav__caret .icon { transform: rotate(180deg); }
.nav__menu {
    position: absolute; top: calc(100% + 4px); left: 0; min-width: 240px; padding: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm);
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; text-decoration: none; color: var(--ink); }
.nav__menu a:hover { background: var(--soft); color: var(--blue-600); }
.nav__item.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) {
    .nav__item.has-menu:hover .nav__menu { opacity: 1; visibility: visible; transform: none; }
    .nav__item.has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
}
.nav__cta-movil { display: none; }

.header__acciones { display: flex; align-items: center; gap: 22px; flex: none; }
.header__cta { min-height: 42px; font-size: 14px; }
.header__cta .icon { width: 18px; height: 18px; }
.header__sep { width: 1px; height: 36px; background: var(--line); }
.header__meta { display: flex; align-items: center; gap: 10px; font-size: 11.5px; white-space: nowrap; line-height: 1.3; color: var(--ink); }
.header__globo { width: 28px; height: 28px; color: var(--ink); }
/* Selector de idioma (el mismo de whatbot): <details> con bandera */
.idioma { position: relative; }
.idioma summary { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; user-select: none; transition: border-color .15s, background-color .15s; }
.idioma summary::-webkit-details-marker { display: none; }
.idioma summary:hover { border-color: var(--blue-500); background: var(--soft); }
.idioma__bandera { width: 22px; height: 15px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(10, 26, 61, .12); }
.idioma__flecha { width: 14px; height: 14px; transition: transform .2s; }
.idioma[open] .idioma__flecha { transform: rotate(180deg); }
.idioma ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 170px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); }
.idioma a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; }
.idioma a:hover { background: var(--soft); }
.idioma a[aria-current] { font-weight: 700; color: var(--blue-600); }
.idioma a .icon { width: 16px; height: 16px; margin-left: auto; color: var(--blue-600); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav__toggle .icon { width: 28px; height: 28px; }
.nav__cerrar { display: none; }

/* ---------- Hero ---------- */
.hero {
    /* Sin overflow: hidden: el calendario de la fecha sale por debajo del hero. Los trazos verdes vienen en la foto. */
    position: relative; z-index: 2; color: #fff;
    background-color: var(--navy-900);
    background-image:
        linear-gradient(90deg, rgba(4, 13, 34, .96) 0%, rgba(4, 13, 34, .82) 34%, rgba(4, 13, 34, .15) 56%, rgba(4, 13, 34, 0) 70%),
        var(--hero);
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
/* Onda que separa el hero de "Call center + tecnología": del color de arriba
   de esa sección, con un filo de luz blanca, como en la maqueta. */
.hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; z-index: 1; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 34 C260 14 520 12 760 30 S1180 60 1440 8 V70 H0Z' fill='%23eef3fb'/%3E%3Cpath d='M0 34 C260 14 520 12 760 30 S1180 60 1440 8' fill='none' stroke='%23ffffff' stroke-opacity='.9' stroke-width='3'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
    filter: drop-shadow(0 -6px 12px rgba(255, 255, 255, .35));
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 660px) minmax(0, 1fr) 390px; gap: 24px; align-items: center; padding-top: 48px; padding-bottom: 96px; min-height: 560px; }
.hero__titulo { font-size: clamp(36px, 3.6vw, 52px); font-weight: 800; line-height: 1.07; letter-spacing: -.025em; }
.hero__titulo .txt-lime { display: block; }
.hero__sub { margin-top: 22px; max-width: 560px; font-size: 17px; line-height: 1.55; color: #dfe7f6; }
.hero__datos { display: flex; flex-wrap: wrap; gap: 12px 0; margin-top: 34px; }
.hero__datos li { display: flex; align-items: flex-start; gap: 12px; padding: 4px 24px; border-left: 1px solid rgba(255, 255, 255, .28); }
.hero__datos li:first-child { padding-left: 0; border-left: 0; }
.hero__datos .icon { width: 36px; height: 36px; color: var(--lime-400); stroke-width: 1.6; }
.hero__datos span { display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; color: #dfe7f6; max-width: 130px; }
.hero__datos strong { font-size: 17px; font-weight: 700; color: #fff; }
.hero__foto { min-height: 1px; }


/* ---------- Tarjeta "Agenda una cita" ---------- */
.cita { position: relative; z-index: 3; align-self: center; }
.cita__form { background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .6); }
.cita__head { padding: 15px 20px; border-radius: 16px 16px 0 0; background: linear-gradient(180deg, #2a62ea 0%, #1543c4 100%); text-align: center; }
.cita__head h2 { color: #fff; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.cita__body { padding: 14px 18px 16px; }
.cita__sub { text-align: center; font-size: 13.5px; line-height: 1.4; color: var(--ink); margin-bottom: 12px; }
.cita__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.campo { position: relative; min-width: 0; }
.campo--ancho { grid-column: 1 / -1; }
.campo input, .campo select {
    width: 100%; height: 40px; padding: 0 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 8px;
    font-size: 13.5px; color: var(--ink);
    transition: border-color .15s, box-shadow .15s;
}
.campo input::placeholder { color: #5d6b88; opacity: 1; }
.campo input:focus, .campo select:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(47, 107, 239, .18); }
.campo [aria-invalid="true"] { border-color: #d93636; box-shadow: 0 0 0 3px rgba(217, 54, 54, .12); }
.campo select {
    appearance: none; -webkit-appearance: none; padding-right: 32px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1a3d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center; background-size: 15px;
    text-overflow: ellipsis;
}
.campo select:invalid, .campo select.is-vacio { color: #5d6b88; }
.campo select option { color: var(--ink); }
.campo select:disabled { cursor: not-allowed; background-color: #f6f8fc; }

/* intl-tel-input dentro de la tarjeta */
.campo .iti { width: 100%; display: block; }
.campo .iti input { padding-left: 84px !important; }
.campo .iti__selected-flag { border-radius: 8px 0 0 8px; padding: 0 6px 0 10px; }
.campo .iti__selected-dial-code { font-size: 13px; }
.iti__country-list { max-width: 300px; z-index: 40; font-size: 13px; }
.iti__search { position: sticky; top: 0; padding: 6px; background: #fff; z-index: 1; }
.iti__search input { width: 100%; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; }
.iti__search-empty { padding: 10px; color: var(--muted); }

/* Pasos del agendador (como whatbot): datos → día → hora */
.cita__pasos { display: flex; gap: 6px; padding: 12px 18px 0; counter-reset: paso; }
.cita__pasos li { flex: 1; display: flex; align-items: center; gap: 6px; padding-bottom: 8px; border-bottom: 3px solid var(--line); font-size: 12px; font-weight: 600; color: #8a96b0; counter-increment: paso; }
.cita__pasos li::before { content: counter(paso); display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--line); color: var(--muted); font-size: 11px; font-weight: 800; flex: none; }
.cita__pasos li.is-active { color: var(--ink); border-color: var(--blue-600); }
.cita__pasos li.is-active::before { background: var(--blue-600); color: #fff; }
.cita__pasos li.is-done { color: var(--ink); border-color: var(--lime-500); }
.cita__pasos li.is-done::before { content: "✓"; background: var(--lime-500); color: var(--navy-900); }
.cita__paso-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cita__paso-head h3 { font-size: 17px; font-weight: 800; }
.cita__hint { font-size: 12px; color: var(--muted); margin-top: 2px; }

.cal__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal__month { font-weight: 700; font-size: 14px; }
.cal__btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; flex: none; }
.cal__btn:hover:not(:disabled) { border-color: var(--blue-500); color: var(--blue-600); }
.cal__btn:disabled { opacity: .35; cursor: default; }
.cal__btn .icon { width: 16px; height: 16px; }
.cal__weekdays, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__weekdays span { text-align: center; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: capitalize; padding-bottom: 2px; }
.cal__day { height: 36px; border: 0; border-radius: 8px; background: transparent; font-size: 13px; color: #a5afc4; cursor: default; }
.cal__day.is-free { background: #ecf8dc; color: #2f6a0a; font-weight: 700; cursor: pointer; }
.cal__day.is-free:hover { background: #d9f2b8; }
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--blue-500); }
.cal__day.is-selected { background: var(--blue-600); color: #fff; }
.cal__legend { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.cal__legend-keys { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 4px; color: var(--ink); }
.cal__legend-keys > span { display: inline-flex; align-items: center; gap: 6px; }
.cal__dot { width: 12px; height: 12px; border-radius: 4px; background: #ecf8dc; box-shadow: inset 0 0 0 1px #b7e08a; }
.cal__dot--busy { background: #f1f3f8; box-shadow: inset 0 0 0 1px var(--line); }
.cal__hours { margin-top: 4px; }
.cal__hours strong { color: var(--ink); }
.cal__rules { margin-top: 4px; }

.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 2px; }
.slot { height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .15s, background-color .15s; }
.slot:hover { border-color: var(--blue-500); color: var(--blue-600); }
.slot[aria-selected="true"] { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.cita__enviar:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.check { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: 12px; line-height: 1.4; color: var(--muted); cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 1px 0 0; flex: none; accent-color: var(--blue-600); cursor: pointer; }
.check a { color: var(--blue-600); font-weight: 600; }
.check input[aria-invalid="true"] { outline: 2px solid #d93636; outline-offset: 1px; }

.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { padding: 9px 12px; border-radius: 8px; background: #fdeeee; color: #a61d1d; font-size: 13px; line-height: 1.4; }
.form__error .btn { margin-top: 8px; min-height: 36px; font-size: 13px; }
.cita__error { margin-top: 10px; }
.cita__body[data-paso="day"], .cita__body[data-paso="time"] { min-height: 420px; }
.cita__enviar { margin-top: 12px; min-height: 46px; font-size: 16px; border-radius: 10px; }
.cita__enviar .icon { width: 19px; height: 19px; }
.cita__nota { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.cita__nota .icon { width: 16px; height: 16px; color: var(--lime-600); }

.cita__listo { padding: 28px 22px 26px; text-align: center; }
.cita__listo:focus { outline: none; }
.cita__ok { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(180deg, var(--lime-300), var(--lime-500)); color: var(--navy-900); }
.cita__ok .icon { width: 28px; height: 28px; stroke-width: 2.6; }
.cita__listo-titulo { margin-top: 14px; font-size: 24px; font-weight: 800; }
.cita__resumen { margin-top: 8px; font-size: 14.5px; line-height: 1.5; }
.cita__correo { margin-top: 6px; font-size: 13px; color: var(--muted); }
.cita__acciones { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.cita__acciones .icon { width: 19px; height: 19px; }

/* ---------- Servicios ---------- */
/* "Call center + tecnología", como en la maqueta: la onda que la separa del
   hero (en .hero::after), la cinta verde y azul que baja de la esquina
   izquierda, brillos azules de fondo y tarjetas de vidrio. */
.servicios { position: relative; overflow: hidden; padding: 40px 0 64px;
    background:
        radial-gradient(38% 55% at 8% 78%, rgba(47, 107, 239, .16), transparent 70%),
        radial-gradient(30% 40% at 92% 20%, rgba(47, 107, 239, .10), transparent 70%),
        linear-gradient(180deg, #eef3fb 0%, #f5f8fd 60%, #eaf0fa 100%); }

.servicios__trazo { position: absolute; left: 0; top: 0; width: 1px; height: 1px; pointer-events: none; }
.servicios__trazo::before, .servicios__trazo::after { content: ""; position: absolute; border-radius: 999px; transform: rotate(-42deg); transform-origin: left center; }
.servicios__trazo::before { left: -130px; top: 285px; width: 300px; height: 58px; background: linear-gradient(90deg, rgba(30, 79, 214, 0) 0%, #1e4fd6 45%, #3d7bff 100%); box-shadow: 0 0 40px rgba(47, 107, 239, .45); opacity: .9; }
.servicios__trazo::after { left: -130px; top: 235px; width: 280px; height: 54px; background: linear-gradient(90deg, rgba(166, 225, 74, 0) 0%, var(--lime-400) 45%, var(--lime-300) 100%); box-shadow: 0 0 46px rgba(134, 207, 54, .65), inset 0 2px 0 rgba(255, 255, 255, .5); }
.servicios__inner { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.servicios__intro { padding-top: 8px; }
.servicios__lead { margin-top: 10px; font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--muted); }
.servicios__intro > p:not(.servicios__lead) { margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.servicios__img { position: relative; margin: 14px 0 0 -34%; width: 134%; max-width: none; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%); }
.servicios__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tarjeta { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--radius); padding: 22px 20px; box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 10px 30px rgba(30, 79, 214, .08), 0 2px 6px rgba(10, 26, 61, .04); transition: transform .2s, box-shadow .2s; }
.tarjeta:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 18px 40px rgba(30, 79, 214, .14), 0 4px 10px rgba(10, 26, 61, .06); }
.tarjeta__icono { width: 30px; height: 30px; color: var(--blue-600); }
.tarjeta h3 { margin-top: 14px; font-size: 15.5px; font-weight: 700; }
.tarjeta p { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* ---------- Flujo ---------- */
.flujo { color: #fff; background: radial-gradient(120% 140% at 70% 0%, #0f3a8f 0%, rgba(15, 58, 143, 0) 55%), linear-gradient(100deg, var(--navy-950) 0%, var(--navy-800) 55%, #081a40 100%); padding: 52px 0; }
.flujo__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.flujo__intro h2 { font-size: clamp(26px, 2.4vw, 32px); font-weight: 800; }
.flujo__pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.paso { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.paso__num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(180deg, var(--lime-300), var(--lime-500)); color: var(--navy-900); font-size: 12.5px; font-weight: 800; box-shadow: 0 0 0 6px rgba(134, 207, 54, .15); }
.paso__icono { width: 46px; height: 46px; margin-top: 12px; color: #fff; stroke-width: 1.4; }
.paso h3 { margin-top: 8px; font-size: 19px; font-weight: 700; }
.paso p { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--muted-dark); }
.paso__flecha { position: absolute; top: 46px; right: -28px; width: 26px; height: 26px; color: var(--blue-300); }
.flujo__extra { position: relative; padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .22); text-align: center; }
.pill { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--lime-400); color: var(--navy-900); font-size: 12px; font-weight: 800; }
.flujo__megafono { display: block; width: 30px; height: 30px; margin: 10px auto 0; color: #fff; stroke-width: 1.5; }
.flujo__extra h3 { margin-top: 6px; font-size: 16.5px; font-weight: 800; }
.flujo__extra p { margin-top: 8px; font-size: 12.5px; line-height: 1.45; color: var(--muted-dark); }
.flujo__extra .btn { margin-top: 12px; }

/* ---------- Productos ---------- */
.productos { background: linear-gradient(180deg, #f6f8fc 0%, #edf2fa 100%); padding: 56px 0; }
.productos__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 3fr); gap: 32px; align-items: center; }
.productos__intro .titulo-seccion { font-size: clamp(26px, 2.4vw, 32px); }
.productos__intro p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.productos__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.producto { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 0; min-height: 196px; padding: 18px 12px 16px 18px; background: #fff; border: 1px solid #e3e9f4; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 20px); }
.producto__texto { position: relative; z-index: 1; align-self: stretch; display: flex; flex-direction: column; }
.producto__tag { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; line-height: 1.25; }
.producto__icono { width: 30px; height: 30px; color: var(--lime-600); stroke-width: 1.6; }
.producto__nombre { margin-top: 12px; font-size: 26px; font-weight: 800; color: var(--blue-600); letter-spacing: -.02em; }
.producto__texto > p:not(.producto__tag) { margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: var(--ink); }
.producto__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 700; color: var(--blue-600); text-decoration: none; }
.producto__link .icon { width: 15px; height: 15px; transition: transform .15s; }
.producto__link:hover .icon { transform: translateX(3px); }
.producto__img { width: 135%; max-width: none; align-self: end; margin: 0 0 -14px -22%; }

/* ---------- Quiénes somos y experiencia ---------- */
.equipo { position: relative; overflow: hidden; color: #fff; background: radial-gradient(80% 120% at 40% 50%, #0d2f74 0%, rgba(13, 47, 116, 0) 60%), linear-gradient(100deg, var(--navy-950), var(--navy-900) 50%, #081a40); padding: 52px 0; }
.equipo__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr) minmax(0, 1.05fr) minmax(0, 1.05fr); gap: 28px; align-items: center; }
.equipo .titulo-seccion { color: #fff; }
.equipo__lead { margin-top: 8px; font-size: 17px; font-weight: 600; line-height: 1.35; }
.equipo__intro > p:not(.equipo__lead) { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--muted-dark); }
.equipo__intro .btn { margin-top: 22px; }
.equipo__foto img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; -webkit-mask-image: radial-gradient(75% 80% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(75% 80% at 50% 50%, #000 55%, transparent 100%); }
.equipo__frentes { display: flex; flex-direction: column; gap: 18px; }
.equipo__frentes li { display: flex; align-items: flex-start; gap: 12px; }
.equipo__icono { width: 40px; height: 40px; padding: 7px; border: 1.5px solid var(--lime-500); border-radius: 10px; color: var(--lime-400); stroke-width: 1.6; }
.equipo__frentes h3 { font-size: 13.5px; font-weight: 700; }
.equipo__frentes p { margin-top: 3px; font-size: 12px; line-height: 1.4; color: #aebfe0; }
.experiencia { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .22); scroll-margin-top: calc(var(--header-h) + 20px); }
.experiencia h2 { font-size: clamp(20px, 1.9vw, 25px); font-weight: 800; color: var(--lime-txt); }
.experiencia > p { margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: #e3eaf7; }
.experiencia__sectores { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.experiencia__sectores li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); text-align: center; font-size: 11px; line-height: 1.2; }
.experiencia__sectores .icon { width: 26px; height: 26px; stroke-width: 1.6; }

/* ---------- Llamado final ---------- */
.cta { background: linear-gradient(90deg, #0d34a0 0%, #1d54dc 50%, #0d34a0 100%); color: #fff; padding: 30px 0; }
.cta__inner { display: flex; align-items: center; justify-content: center; gap: 28px 40px; flex-wrap: wrap; text-align: center; }
.cta h2 { font-size: clamp(20px, 2vw, 25px); font-weight: 700; }
.cta .btn .icon { width: 20px; height: 20px; }

/* ---------- Pie ---------- */
.footer { position: relative; overflow: hidden; background: #fff; padding: 34px 0; }
.footer__inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__inner > * + * { padding-left: 24px; border-left: 1px solid var(--line); }
.footer__lugar { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; }
.footer__lugar .icon { width: 22px; height: 22px; color: var(--ink); }
.footer__legal { font-size: 13px; color: var(--ink); }
.footer__legal a { margin-left: 8px; color: var(--blue-600); }
.footer__trazo { position: absolute; right: -40px; bottom: -40px; width: 260px; height: 200px; pointer-events: none; }
.footer__trazo::before, .footer__trazo::after { content: ""; position: absolute; width: 360px; border-radius: 999px; transform: rotate(-45deg); }
.footer__trazo::before { right: -120px; bottom: 70px; height: 34px; background: linear-gradient(90deg, var(--lime-300), var(--lime-500)); }
.footer__trazo::after { right: -160px; bottom: 30px; height: 30px; background: linear-gradient(90deg, var(--blue-500), var(--blue-700)); }

/* ---------- Página de texto (privacidad) ---------- */
.pagina { padding: 56px 0 72px; background: var(--soft); }
.pagina__inner { max-width: 820px; }
.pagina h1 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; color: var(--blue-600); }
.pagina__fecha { margin-top: 6px; color: var(--muted); font-size: 14px; }
.politica { margin-top: 28px; }
.politica h2 { font-size: 20px; font-weight: 700; }
.politica p { margin-top: 8px; color: var(--muted); line-height: 1.65; }

/* ---------- Flotantes ---------- */
.float-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .28); transition: transform .2s; }
.float-whatsapp:hover { transform: scale(1.06); }
.float-whatsapp .icon { width: 32px; height: 32px; }

/* ---------- Pantallas medianas ---------- */
@media (max-width: 1280px) {
    .header__inner { gap: 18px; }
    .header__acciones { gap: 14px; }
    .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, .25fr) 390px; }
    .equipo__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .experiencia { padding-left: 0; border-left: 0; }
    .productos__inner { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
    :root { --header-h: 68px; }
    .nav__toggle { display: inline-flex; }
    .header__cta { display: none; }
    .header__sep { display: none; }
    .nav {
        position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; display: block;
        padding: 20px 24px 32px; background: #fff; overflow-y: auto;
        transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
    }
    body.nav-open { overflow: hidden; }
    body.nav-open .nav { transform: none; visibility: visible; }
    body.nav-open .nav__abrir { display: none; }
    body.nav-open .nav__cerrar { display: block; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .nav__link { flex: 1; padding: 16px 0; font-size: 17px; }
    .nav__caret { padding: 12px; }
    .nav__menu { position: static; flex-basis: 100%; display: none; min-width: 0; padding: 0 0 10px 8px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .nav__item.is-open .nav__menu { display: block; }
    .nav__item.has-menu:hover .nav__menu { display: none; }
    .nav__item.has-menu.is-open:hover .nav__menu { display: block; }
    .nav__cta-movil { display: flex; margin-top: 24px; width: 100%; min-height: 50px; }

    .hero__inner { grid-template-columns: minmax(0, 1fr) 390px; min-height: 0; padding-top: 40px; }
    .hero__foto { display: none; }
    .hero { background-image: linear-gradient(90deg, rgba(4, 13, 34, .95) 0%, rgba(4, 13, 34, .8) 50%, rgba(4, 13, 34, .55) 100%), var(--hero); }
    .servicios__inner { grid-template-columns: 1fr; }
    .servicios__img { margin: 18px auto 0; width: 100%; max-width: 560px; -webkit-mask-image: none; mask-image: none; }
    .servicios__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flujo__inner { grid-template-columns: 1fr; }
    .flujo__extra { padding: 24px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); max-width: 520px; margin: 0 auto; }
    .productos__grid { grid-template-columns: 1fr; max-width: 620px; }
    .producto { min-height: 200px; }
}

/* ---------- Celular ---------- */
@media (max-width: 760px) {
    .container { padding: 0 18px; }
    .logo__icono { width: 38px; height: 38px; }
    .logo__nombre { font-size: 21px; }
    .logo__lema { font-size: 9.5px; }
    .header__meta { gap: 6px; }
    .header__anios, .header__globo { display: none; }

    .hero { background-image: none; background: var(--navy-900); }
    .hero__inner { grid-template-columns: 1fr; gap: 0; padding-top: 32px; padding-bottom: 40px; }
    .hero__titulo { font-size: clamp(30px, 8.4vw, 40px); }
    .hero__sub { font-size: 15.5px; }
    .hero__datos { gap: 14px 0; }
    .hero__datos li { padding: 4px 14px; }
    .hero__datos .icon { width: 28px; height: 28px; }
    .hero__datos strong { font-size: 15px; }
    .hero__datos span { font-size: 12.5px; max-width: 110px; }
    .hero__foto { display: block; margin: 26px -18px 0; aspect-ratio: 4 / 5; max-height: 460px; background: var(--hero-movil) center / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 78%, transparent 100%); }
    .cita { margin-top: -60px; }

    .cita__grid { grid-template-columns: 1fr; }
    .campo input, .campo select { height: 46px; font-size: 16px; }   /* 16px: iOS no hace zoom */

    .servicios { padding: 36px 0 40px; }
    .servicios__trazo { transform: translateY(330px) scale(.6); transform-origin: top left; }
    .hero::after { height: 40px; }
    .servicios__grid { grid-template-columns: 1fr; }
    .flujo__pasos { grid-template-columns: 1fr; gap: 36px; }
    .paso__flecha { top: auto; bottom: -32px; right: 50%; transform: translateX(50%) rotate(90deg); }
    .producto { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
    .equipo__inner { grid-template-columns: 1fr; }
    .equipo__foto { order: -1; }
    .experiencia__sectores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cta h2 { font-size: 21px; }
    .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; padding-right: 0; }
    .footer__inner > * + * { padding-left: 0; border-left: 0; }
    .footer__trazo { width: 160px; height: 120px; opacity: .8; }
    .float-whatsapp { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
