/* ==========================================================================
   AdminYAAA — hoja de estilos (versión 3)
   Identidad de la tarjeta: azul marino + verde brillante.
   Pensada para un público que incluye personas mayores:
   letra grande (18 px), contraste alto, botones grandes y las zonas de
   lectura sobre fondo claro. El azul domina en encabezado, portada,
   pasos, contacto y pie.
   Los colores viven en las variables de :root para cambiarlos en un solo lugar.
   ========================================================================== */

/* ---------- Tipografía (autoalojada, sin pedir nada a Google) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }

/* ---------- Variables ---------- */
:root {
  /* azules de la marca */
  --navy: #02264A;
  --navy-deep: #021B35;
  --navy-2: #06315E;
  --line-d: #2A67A3;       /* bordes sobre azul */
  --on-navy-muted: #D2DFEE;/* texto de apoyo sobre azul */
  /* verdes */
  --green: #0BE893;        /* acento de la tarjeta (botones, iconos) */
  --green-hover: #4AF2B0;
  --green-d: #0A6A3D;      /* verde para texto sobre fondo claro */
  /* zonas de lectura (claras) */
  --white: #FFFFFF;
  --tint: #EAF1F8;         /* fondo claro con un toque de azul */
  --ink: #02264A;
  --ink-muted: #2F455C;    /* texto de apoyo sobre claro */
  --line-l: #B4C7DA;       /* bordes sobre claro */

  --r: 20px;
  --r-lg: 28px;
  --font: "Poppins", "Segoe UI", "Avenir Next", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --bar-h: 88px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; background: var(--navy); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;      /* 18 px */
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 4px solid var(--green-d); outline-offset: 3px; border-radius: 8px; }
.navy :focus-visible { outline-color: var(--green); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -70px; z-index: 100;
  background: var(--green); color: var(--navy); padding: 14px 20px; border-radius: 12px; font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: clamp(20px, 4vw, 40px); }

/* ---------- Tipos ---------- */
h1, h2, h3, h4 { font-weight: 700; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6.6vw, 3.7rem); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); line-height: 1.15; letter-spacing: -0.015em; max-width: 20em; }
h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 600; }
.lead { font-size: clamp(1.15rem, 2.3vw, 1.3rem); max-width: 34em; }
.intro { margin-top: 16px; font-size: 1.2rem; max-width: 36em; color: var(--ink-muted); }
.navy .intro, .navy .lead { color: var(--on-navy-muted); }

/* Rótulo de sección: legible, sin mayúsculas chicas */
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 1.05rem; font-weight: 700; color: var(--green-d); }
.kicker::before { content: ""; width: 32px; height: 4px; border-radius: 4px; background: var(--green-d); }
.navy .kicker { color: var(--green); }
.navy .kicker::before { background: var(--green); }

/* Palabra destacada, con la línea verde de la marca */
.mark { color: var(--green); background: linear-gradient(var(--green), var(--green)) no-repeat 0 100% / 100% 0.07em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.section { position: relative; padding: clamp(64px, 9vw, 104px) 0; }
.section--tint { background: var(--tint); }
.navy { background: var(--navy); color: var(--white); }
.navy h1, .navy h2, .navy h3 { color: var(--white); }

/* Iconos */
.i { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.i--fill, .wa .i { fill: currentColor; stroke: none; }
.badge { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--navy); }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line-d); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: block; flex: none; line-height: 0; border-radius: 8px; }
.brand img { height: 44px; width: auto; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 8px 20px;
  background: transparent; color: var(--white);
  border: 2px solid var(--white); border-radius: 999px;
  font-weight: 600; font-size: 1.05rem; cursor: pointer;
}
.menu-btn .i { width: 22px; height: 22px; stroke-width: 2.4; }
.header-nav, .header-cta { display: none; }

@media (max-width: 1119px) {
  .js .header-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-bottom: 1px solid var(--line-d); padding: 6px clamp(20px, 4vw, 40px) 20px; }
  .js .header-nav.is-open { display: block; }
  html:not(.js) .header-nav { display: block; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 10px; }
  html:not(.js) .menu-btn { display: none; }
  .nav-list a { display: block; padding: 18px 4px; border-bottom: 1px solid var(--line-d); font-weight: 600; font-size: 1.15rem; text-decoration: none; }
  html:not(.js) .nav-list { display: flex; flex-wrap: wrap; gap: 4px 20px; }
  html:not(.js) .nav-list a { border: 0; padding: 6px 0; }
}
@media (min-width: 1120px) {
  .menu-btn { display: none; }
  .header-nav { display: block; margin-left: auto; }
  .nav-list { display: flex; gap: 4px; }
  .nav-list a { display: block; padding: 12px 16px; border-radius: 999px; font-weight: 600; font-size: 1.05rem; text-decoration: none; white-space: nowrap; }
  .nav-list a:hover { background: var(--navy-2); color: var(--green); }
  .header-cta { display: flex; gap: 10px; }
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 14px 30px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1.1rem; text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.btn--primary { background: var(--green); color: var(--navy); }
.btn--primary:hover { background: var(--green-hover); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--green); }
.btn .i { width: 22px; height: 22px; }

/* WhatsApp: los dos números SIEMPRE con el mismo estilo y tamaño */
.wa {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 72px; padding: 10px 26px;
  background: var(--green); color: var(--navy);
  border-radius: 999px; text-decoration: none;
  transition: background-color .15s;
}
.wa:hover { background: var(--green-hover); }
.wa .i { width: 34px; height: 34px; }
.wa-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.wa-label { font-size: 0.95rem; font-weight: 600; }
.wa-num { font-size: 1.45rem; font-weight: 700; white-space: nowrap; }
.wa--sm { min-height: 50px; padding: 6px 18px; gap: 10px; }
.wa--sm .i { width: 22px; height: 22px; }
.wa--sm .wa-num { font-size: 1.05rem; }
.wa-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Portada ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 84px) 0 clamp(60px, 8vw, 100px); background: url("../img/icon-watermark-dark.webp") right 2% top 30px / 470px no-repeat, var(--navy); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; background: var(--navy-2); pointer-events: none; }
.hero::before { width: 440px; height: 440px; left: -190px; top: -200px; opacity: .55; }
.hero::after { width: 520px; height: 520px; right: -210px; bottom: -260px; opacity: .7; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 22px; padding: 8px 18px; border: 2px solid var(--green); border-radius: 999px; font-size: 1rem; font-weight: 600; color: var(--green); }
.hero .lead { margin-top: 24px; }
.hero-cta { margin-top: 34px; max-width: 620px; }
.cta-title { margin-bottom: 14px; font-weight: 700; font-size: 1.3rem; }
.hero-address { margin-top: 22px; display: flex; gap: 12px; align-items: flex-start; color: var(--on-navy-muted); font-size: 1.05rem; }
.hero-address .i { margin-top: 3px; color: var(--green); }
.link-go { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 700; color: var(--green); text-underline-offset: 4px; }
.link-go .i { width: 18px; height: 18px; stroke-width: 2.4; }

/* "Vos / Nosotros" */
.split { background: var(--navy-2); border: 2px solid var(--line-d); border-radius: var(--r-lg); overflow: hidden; }
.split-you, .split-us { padding: 26px 30px; }
.split-us { background: var(--navy-deep); }
.split-title { font-weight: 700; font-size: 1.5rem; margin-bottom: 8px; }
.split-us .split-title { color: var(--green); }
.split li { display: flex; align-items: center; gap: 14px; min-height: 48px; padding-block: 6px; font-weight: 500; line-height: 1.4; }
.split-you li { border-top: 1px dashed var(--line-d); }
.split-you li:first-child { border-top: 0; }
.split-you li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--on-navy-muted); flex: none; margin: 0 8px 0 7px; opacity: .7; }
.split-us li .i { width: 24px; height: 24px; color: var(--green); stroke-width: 2.6; }
.split-foot { padding: 18px 30px; background: var(--green); color: var(--navy); font-weight: 700; display: flex; align-items: center; gap: 12px; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); } }

/* ---------- Servicios: "¿Qué necesitás resolver?" ---------- */
.needs { margin-top: 44px; display: grid; gap: 18px; }
.need { padding: 30px; background: var(--white); border: 2px solid var(--line-l); border-radius: var(--r); }
.need .badge { margin-bottom: 18px; }
.need h3 { margin-bottom: 8px; }
.need p { color: var(--ink-muted); }
.need--main { background: var(--navy); border-color: var(--navy); color: var(--white); }
.need--main h3 { color: var(--white); font-size: 1.55rem; }
.need--main p { color: var(--on-navy-muted); }
.need-list { margin-top: 18px; display: grid; gap: 4px 28px; }
.need-list li { display: flex; align-items: center; gap: 12px; min-height: 46px; font-weight: 600; }
.need-list .i { color: var(--green); width: 24px; height: 24px; stroke-width: 2.6; }
.needs-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.needs-cta p { font-weight: 600; max-width: 34em; }
@media (min-width: 720px) {
  .needs { grid-template-columns: 1fr 1fr; }
  .need--main { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 0 26px; align-items: start; }
  .need--main .badge { grid-row: span 3; margin: 0; }
  .need-list { grid-template-columns: 1fr 1fr; }
}

/* ---------- Cómo trabajamos ---------- */
.steps { margin-top: 52px; display: grid; gap: 40px 32px; counter-reset: paso; }
.steps li { counter-increment: paso; position: relative; padding-top: 84px; }
.steps li::before { content: counter(paso); position: absolute; top: 0; left: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--navy); font-weight: 700; font-size: 1.6rem; }
.steps h3 { margin-bottom: 8px; font-size: 1.4rem; }
.steps p { color: var(--on-navy-muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li:not(:last-child)::after { content: ""; position: absolute; top: 31px; left: 82px; right: 0; height: 3px; background: var(--line-d); }
}

/* ---------- Preguntas frecuentes ---------- */
.faq { margin-top: 40px; max-width: 840px; border-top: 3px solid var(--navy); }
.faq details { border-bottom: 2px solid var(--line-l); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 26px 56px 26px 0; font-weight: 700; font-size: 1.25rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 14px; height: 14px; border-right: 4px solid var(--green-d); border-bottom: 4px solid var(--green-d); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--green-d); }
.faq .answer { padding: 0 0 28px; color: var(--ink-muted); font-size: 1.15rem; max-width: 40em; }

/* ---------- Contacto (con ubicación) ---------- */
.contact-grid { margin-top: 44px; display: grid; gap: 28px; align-items: start; }
.clist { display: grid; gap: 14px; }
.crow { display: flex; align-items: center; gap: 18px; min-height: 84px; padding: 10px 22px 10px 14px; background: var(--navy-2); border: 2px solid var(--line-d); border-radius: 999px; text-decoration: none; transition: border-color .15s, background-color .15s; }
a.crow:hover { border-color: var(--green); background: var(--navy-deep); }
.crow .badge .i { width: 28px; height: 28px; }
.crow-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.crow-main { font-size: 1.4rem; font-weight: 700; overflow-wrap: anywhere; }
.crow-sub { font-size: 1rem; color: var(--on-navy-muted); }
.crow > .i:last-child { margin-left: auto; color: var(--green); stroke-width: 2.4; }
.office-note { margin-top: 22px; color: var(--on-navy-muted); }
.map { min-height: 400px; border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--line-d); background: var(--navy-2); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 400px; border: 0; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; } }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-deep); color: var(--white); border-top: 1px solid var(--line-d); padding: 52px 0 56px; }
.footer-grid { display: grid; gap: 32px; }
.footer-brand img { height: 46px; width: auto; }
.footer-slogan { margin-top: 16px; font-weight: 700; font-size: 1.15rem; color: var(--green); }
.footer-brand p:not(.footer-slogan) { margin-top: 6px; color: var(--on-navy-muted); max-width: 28em; }
.footer-col h3 { font-size: 1rem; font-weight: 700; color: var(--on-navy-muted); margin-bottom: 8px; }
.footer-col a { display: inline-block; padding: 10px 0; font-weight: 600; text-underline-offset: 4px; }
.footer-col a:hover { color: var(--green); }
.footer-col address { font-style: normal; font-weight: 600; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr; } }

/* ---------- Barra fija de WhatsApp (celular y tablet) ---------- */
.wa-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--navy-deep); border-top: 2px solid var(--line-d); box-shadow: 0 -6px 20px rgba(0,0,0,.3); transition: transform .25s ease, visibility .25s; }
.wa-bar .wa { flex: 1 1 0; min-width: 0; min-height: 64px; padding: 8px; gap: 8px; }
.wa-bar .wa .i { width: 26px; height: 26px; }
.wa-bar .wa-label { font-size: 0.95rem; }
.wa-bar .wa-num { font-size: 1.1rem; }
.wa-bar.is-hidden { transform: translateY(110%); visibility: hidden; }
@media (max-width: 1119px) {
  .wa-bar { display: flex; }
  .site-footer { padding-bottom: calc(56px + var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Celular ---------- */
@media (max-width: 619px) {
  .wa-pair { grid-template-columns: 1fr; }
  .split-you, .split-us, .split-foot { padding-inline: 22px; }
  .need { padding: 24px 22px; }
  .needs-cta .btn { width: 100%; }
  .hero::before { width: 320px; height: 320px; left: -170px; top: -170px; }
  .hero::after { width: 380px; height: 380px; right: -190px; bottom: -200px; }
  .crow { padding-right: 16px; gap: 14px; }
  .crow > .i:last-child { display: none; }
  .crow-main { font-size: 1.2rem; }
  .crow-main--mail { font-size: 1.02rem; }
}
@media (max-width: 359px) {
  .crow { gap: 12px; padding-left: 10px; }
  .crow .badge { width: 48px; height: 48px; }
  .crow-main { font-size: 1.1rem; }
  .crow-main--mail { font-size: 0.93rem; }
  .wa-bar .wa .i { display: none; }
  .wa-bar .wa-num { font-size: 1rem; }
  .brand img { height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wa-bar, .btn, .crow, .faq summary::after { transition: none; }
}
