/* Fundación ABBA · Landing
   Diseño y desarrollo: JLE-Tecnologías Web */

:root {
  --ink: #1c2145;
  --ink-2: #353a60;
  --muted: #5b6080;
  --bg: #fbf9f6;
  --paper: #ffffff;
  --line: #e8e4ee;
  --violet: #a8559f;
  --violet-soft: #f6ebf5;
  --sky: #1f97cf;
  --sky-soft: #e5f4fb;
  --green: #3f7a10;
  --green-2: #57a01c;
  --green-soft: #eef7e3;
  --amber: #e08a14;
  --amber-soft: #fdf1df;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(28, 33, 69, .05), 0 12px 32px -12px rgba(28, 33, 69, .18);
  --shadow-lg: 0 30px 60px -24px rgba(28, 33, 69, .35);
  --ff-d: "Fraunces", Georgia, "Times New Roman", serif;
  --ff: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

*, *::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(--ff); font-size: 17px; line-height: 1.65; color: var(--ink-2);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; line-height: 1.15; }
h1, h2 { font-family: var(--ff-d); font-weight: 600; letter-spacing: -.015em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-wa { fill: currentColor; stroke: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 700 1rem/1.2 var(--ff); padding: .9em 1.4em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; text-decoration: none !important;
  text-align: center;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -10px rgba(63, 122, 16, .7); }
.btn-primary:hover { background: #356a0c; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost .ico-wa { color: #25a244; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }
.btn-lg { font-size: 1.05rem; padding: 1em 1.4em; }
.btn-sm { font-size: .92rem; padding: .65em 1.1em; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--green); }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Encabezado ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  transition: background .3s, box-shadow .3s; padding-top: env(safe-area-inset-top);
}
.site-header.solid { background: rgba(251, 249, 246, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.brand img { width: 63px; height: 44px; object-fit: contain; }
.brand-text { font: 800 1.35rem/1 var(--ff); letter-spacing: .06em; color: var(--ink); }
.brand-text small { display: block; font-size: .58rem; letter-spacing: .32em; font-weight: 600; color: var(--muted); margin-bottom: 3px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink-2); font-weight: 600; font-size: .96rem; padding: .5em .75em; border-radius: 999px; }
.nav a:not(.btn):hover { background: rgba(28, 33, 69, .06); text-decoration: none; }
.nav-cta { margin-left: 8px; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: #fff; box-shadow: var(--shadow); cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 13px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s, top .25s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(28px, 6vw, 72px)) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.b1 { width: 520px; height: 520px; background: #f1d7ee; top: -160px; right: -120px; }
.b2 { width: 420px; height: 420px; background: #d3eefa; bottom: -160px; left: -140px; }
.b3 { width: 300px; height: 300px; background: #e3f2cf; top: 30%; left: 40%; opacity: .45; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); background: #fff; padding: .45em .95em; border-radius: 999px; box-shadow: var(--shadow); margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 4px rgba(87, 160, 28, .2); }
.hero h1 { font-size: clamp(2.2rem, 1.3rem + 3.8vw, 4rem); line-height: 1.05; margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--violet); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .18em; background: linear-gradient(90deg, #d7eebf, #cfe9f7); z-index: -1; border-radius: 4px; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--muted); max-width: 36em; }
.lead strong { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--green-2); width: 1.15em; height: 1.15em; stroke-width: 3; }

.hero-media { position: relative; padding: 0 0 28px 28px; }
.hm-main { margin: 0; border-radius: 28px 28px 28px 120px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 9 / 10; }
.hm-main img { width: 100%; height: 100%; object-fit: cover; }
.hm-small { position: absolute; margin: 0; border-radius: 22px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); }
.hm-a { width: 34%; aspect-ratio: 1; left: -6px; bottom: 0; transform: rotate(-4deg); }
.hm-small img { width: 100%; height: 100%; object-fit: cover; }
.hm-card { position: absolute; top: 28px; right: -16px; display: flex; align-items: center; gap: 12px; background: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow); }
.hm-card-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--violet-soft); color: var(--violet); display: grid; place-items: center; }
.hm-card-ico svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.hm-card strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.2; }
.hm-card span { font-size: .86rem; color: var(--muted); }

/* ---------- Franja ---------- */
.strip { background: var(--ink); color: #dfe2f5; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 28px 22px; display: flex; align-items: center; gap: 14px; border-left: 1px solid rgba(255, 255, 255, .1); }
.strip-item:first-child { border-left: 0; }
.strip-item b { font: 600 2.2rem/1 var(--ff-d); color: #fff; flex: none; }
.strip-item:nth-child(1) b { color: #f2b9ec; } .strip-item:nth-child(2) b { color: #8fd6f5; }
.strip-item:nth-child(3) b { color: #b7e28a; } .strip-item:nth-child(4) b { color: #ffd08a; }
.strip-item span { font-size: .93rem; line-height: 1.35; }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.kicker { font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); margin-bottom: 12px; }
.kicker.light { color: #f2b9ec; }
.sub { font-size: 1.08rem; color: var(--muted); }
.soft { color: var(--violet); font-style: italic; }
.small { font-size: .95rem; }
.muted { color: var(--muted); }

/* Por qué */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: var(--paper); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .25s; }
.why-card:hover { transform: translateY(-4px); }
.why-card p { margin: 0; color: var(--muted); font-size: .98rem; }
.ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.ico svg { width: 26px; height: 26px; }
.ico-violet { background: var(--violet-soft); color: var(--violet); }
.ico-sky { background: var(--sky-soft); color: var(--sky); }
.ico-green { background: var(--green-soft); color: var(--green); }
.ico-amber { background: var(--amber-soft); color: var(--amber); }

/* Nosotros */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.about-media { position: relative; padding: 0 12% 14% 0; }
.am-1 { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 9 / 7; object-fit: cover; }
.am-2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow); }
.am-badge { position: absolute; left: 18px; bottom: 6%; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); }
.am-badge b { display: block; font-size: 1rem; } .am-badge span { font-size: .82rem; color: #c9cde6; }
.checks { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f7a10' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.steps .n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 600 1.3rem var(--ff-d); color: #fff; background: var(--ink); margin-bottom: 16px; }
.steps li:nth-child(2) .n { background: var(--violet); } .steps li:nth-child(3) .n { background: var(--sky); } .steps li:nth-child(4) .n { background: var(--green); }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Actividades */
.acts { background: linear-gradient(180deg, var(--bg), #f4f0f7); }
.feature { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 28px; }
.feature-media { position: relative; min-height: 100%; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.tag { position: absolute; top: 18px; left: 18px; background: #fff; color: var(--violet); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: .5em .9em; border-radius: 999px; }
.feature-copy { padding: clamp(28px, 4vw, 52px); }
.feature-copy h3 { font: 600 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1.15 var(--ff-d); }
.mini-steps { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-steps li { display: flex; align-items: center; gap: 10px; background: var(--bg); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: .93rem; color: var(--ink); line-height: 1.3; }
.mini-steps span { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); font-weight: 800; font-size: .85rem; }

.cards { display: grid; gap: 22px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .96rem; }
.card-body p:last-child { margin-bottom: 0; }
.card .meta { margin-top: auto; font-size: .84rem; font-weight: 600; color: var(--violet); }
.card .link-arrow { margin-top: auto; }

.disc { margin-top: 40px; text-align: center; }
.disc-title { font-weight: 700; color: var(--ink); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips li { background: #fff; border: 1px solid var(--line); padding: .5em 1em; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-2); }

/* Obras sociales */
.os { padding-top: 0; }
.services { padding-bottom: clamp(48px, 6vw, 80px); }
.os-box { display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; background: var(--ink); color: #d7dbf0; border-radius: 32px; overflow: hidden; padding: 0; box-shadow: var(--shadow-lg); max-width: calc(1200px - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); }
.os-copy { padding: clamp(30px, 5vw, 64px); }
.os-copy h2 { color: #fff; }
.os-copy strong { color: #fff; }
.os-media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.pay { list-style: none; padding: 0; margin: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.pay li { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); padding: .5em .95em; border-radius: 999px; font-weight: 600; font-size: .92rem; color: #fff; }

/* Diagnósticos */
.diag { background: var(--paper); }
.diag-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.chips-lg { justify-content: flex-start; }
.chips-lg li { background: var(--bg); font-size: .97rem; padding: .6em 1.1em; }
.chips-lg li:nth-child(4n+1) { background: var(--violet-soft); border-color: #ecd3ea; }
.chips-lg li:nth-child(4n+2) { background: var(--sky-soft); border-color: #cfe9f6; }
.chips-lg li:nth-child(4n+3) { background: var(--green-soft); border-color: #dcefc6; }
.chips-lg li:nth-child(4n) { background: var(--amber-soft); border-color: #f8e0bd; }

/* Proyectos */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); isolation: isolate; }
.proj-wide { grid-column: span 2; }
.proj-last { grid-column: span 3; min-height: 300px; }
.proj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.proj:hover img { transform: scale(1.05); }
.proj::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 23, 52, 0) 30%, rgba(20, 23, 52, .88) 100%); }
.proj-body { padding: 24px; }
.proj-body h3 { color: #fff; font-size: 1.25rem; }
.proj-body p { margin: 0; color: #e3e5f3; font-size: .95rem; }

.help { margin-top: 36px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: center; background: linear-gradient(120deg, var(--violet-soft), var(--sky-soft) 60%, var(--green-soft)); border-radius: 28px; padding: clamp(26px, 4vw, 44px); }
.help-copy h3 { font: 600 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--ff-d); }
.help-copy p { margin: 0; color: var(--ink-2); }
.help-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.help-btn { background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none !important; transition: transform .2s; display: flex; flex-direction: column; gap: 4px; }
.help-btn:hover { transform: translateY(-3px); }
.help-btn b { font-size: 1.05rem; } .help-btn span { font-size: .88rem; color: var(--muted); line-height: 1.35; }

/* Galería */
.gallery { background: var(--paper); }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.g { display: block; border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 1; background: var(--line); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g:hover img { transform: scale(1.06); }
.g-big { grid-column: span 2; grid-row: span 2; }
.gal-more { margin: 28px 0 0; }

/* Sedes */
.sedes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sede { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map { aspect-ratio: 16 / 9; background: var(--sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 30h60M30 0v60' stroke='%23c7e3f1' stroke-width='1'/%3E%3C/svg%3E"); display: grid; place-items: center; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-load { font: 700 .95rem var(--ff); background: #fff; color: var(--ink); border: 0; padding: .8em 1.3em; border-radius: 999px; box-shadow: var(--shadow); cursor: pointer; }
.sede-body { padding: 22px 24px 26px; }
.addr { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); }
.addr svg { color: var(--violet); width: 1.25em; height: 1.25em; margin-top: .2em; }
.sede-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.acc details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; overflow: hidden; }
.acc summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--ink); position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--violet-soft); color: var(--violet); display: grid; place-items: center; font-size: 1.2rem; transition: transform .25s; }
.acc details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Contacto */
.contact { background: var(--ink); color: #d7dbf0; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 159, .35), transparent 70%); top: -200px; left: -200px; }
.contact-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-copy h2 { color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact-list a { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background .2s; word-break: break-word; }
.contact-list a:hover { background: rgba(255, 255, 255, .12); }
.ci { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; flex: none; }
.ci svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: #aab0d3; font-size: .8rem; font-weight: 600; }
.form { background: #fff; color: var(--ink-2); border-radius: 26px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form h3 { font: 600 1.6rem/1.2 var(--ff-d); margin-bottom: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 16px/1.4 var(--ff); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c2145' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: #fff; }
.field .err { display: none; color: #c0392b; font-size: .82rem; font-weight: 600; margin-top: 4px; }
.field.invalid input { border-color: #e2685a; }
.field.invalid .err { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form .btn-primary .ico-wa { width: 1.3em; height: 1.3em; }

/* Pie */
.footer { background: #141834; color: #aab0d3; padding: 56px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer .brand-text { color: #fff; } .footer .brand-text small { color: #aab0d3; }
.footer .brand img { background: #fff; border-radius: 12px; padding: 4px 6px; }
.f-brand p { margin: 14px 0 0; }
.legal { font-size: .82rem; color: #8288b0; }
.f-col h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.f-col a { display: block; color: #aab0d3; margin-bottom: 6px; }
.f-col p { margin: 0 0 6px; } .f-col p a { display: inline; }
.f-col a:hover { color: #fff; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 20px; font-size: .85rem; }
.f-bottom p { margin: 0; } .f-bottom a { color: #d7dbf0; }

/* Barra móvil y FAB */
.mbar { display: none; }
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 32px; height: 32px; fill: currentColor; stroke: none; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(14, 16, 36, .94); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.lb[hidden] { display: none; }
.lb img { max-width: min(1100px, 100%); max-height: 100%; border-radius: 12px; object-fit: contain; }
.lb button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }

/* Animación de aparición */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav a:not(.btn) { padding: .5em .55em; font-size: .92rem; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .help { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); padding: 12px var(--gutter) 22px; box-shadow: 0 20px 30px -20px rgba(28, 33, 69, .35);
    transform: translateY(-10px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { margin: 14px 0 0; }
  .site-header.menu-open { background: var(--bg); }

  .hero-grid, .about-grid, .diag-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .feature { grid-template-columns: 1fr; }
  .feature-media img { min-height: 0; aspect-ratio: 16 / 10; }
  .os-box { grid-template-columns: 1fr; }
  .os-media { order: -1; }
  .os-media img { min-height: 0; aspect-ratio: 16 / 8; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(3) { border-left: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-last { grid-column: span 2; }
  .about-media { max-width: 600px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }

  /* Barra fija inferior en celular */
  .fab { display: none; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 -8px 24px -12px rgba(28, 33, 69, .3);
    transform: translateY(110%); transition: transform .3s;
  }
  .mbar.show { transform: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; border-radius: 999px; padding: 13px 10px; text-decoration: none; font-size: .98rem; }
  .mbar-wa { background: #25d366; color: #fff; }
  .mbar-wa svg { width: 20px; height: 20px; }
  .mbar-cta { background: var(--green); color: #fff; }
  body { padding-bottom: 0; }
  .footer { padding-bottom: 96px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--header-h) + 22px); }
  .hero h1 em { white-space: normal; }
  .hero-ctas .btn { width: 100%; }
  .hero-trust { flex-direction: column; gap: 8px; }
  .hero-media { padding: 0 0 22px 18px; }
  .hm-card { right: -4px; top: 16px; padding: 10px 12px; }
  .hm-card-ico { width: 34px; height: 34px; }
  .hm-main { border-radius: 22px 22px 22px 80px; }
  .strip-item { padding: 20px 14px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .strip-item b { font-size: 1.8rem; }
  .strip-item span { font-size: .86rem; }
  .why-grid, .steps, .cards-4, .cards-3, .proj-grid, .sedes-grid { grid-template-columns: 1fr; }
  .proj-wide, .proj-last { grid-column: auto; }
  .proj { min-height: 300px; }
  .mini-steps { grid-template-columns: 1fr; }
  .help-actions { grid-template-columns: 1fr; }
  .gal { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .row2 { grid-template-columns: 1fr; }
  .os-box { border-radius: 24px; }
  .feature { border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .f-bottom { flex-direction: column; }
  .lb-nav { top: auto; bottom: 14px; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}
@media (max-width: 400px) {
  .eyebrow { font-size: .74rem; letter-spacing: .03em; }
}
