/* Guidance & Soft — sistema visual web
   Concepto: el corte diagonal del isotipo (45°) organiza botones, bandas y tarjetas.
   Tema único claro por manual de marca (cabecera sobre blanco cálido, azul dominante). */
:root {
  --azul: #132D46;
  --azul-900: #0E2337;
  --azul-700: #1F3D5A;
  --verde: #247B78;
  --verde-700: #1C6461;
  --verde-claro: #8FCFCA;
  --blanco: #F7F7F4;
  --white: #FFFFFF;
  --grafito: #454C55;
  --grafito-claro: #6A717A;
  --linea: #DDE1DE;
  --tinte: #E8EEEC;
  --sobre-azul: #C9D3DD;

  --f-display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --max: 1200px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 10px;
  --cut: 14px;
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
svg.icon { width: 24px; height: 24px; flex: none; }
.mobile-nav a.m-link svg { width: 20px; height: 20px; color: var(--verde); }
.nav__toggle[data-current] { box-shadow: inset 0 -3px 0 var(--verde); border-radius: 0; }
.note svg.icon { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blanco);
  color: var(--grafito);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--blanco); }
img, svg { max-width: 100%; }
a { color: var(--verde-700); text-underline-offset: 3px; }
a:hover { color: var(--azul); }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--azul); color: var(--white); padding: 10px 16px; border-radius: 6px; z-index: 100; }
.skip:focus { top: 12px; color: var(--white); }

h1, h2, h3, h4 { font-family: var(--f-display); color: var(--azul); margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; font-weight: 800; }
h2 { font-size: clamp(27px, 3.4vw, 38px); line-height: 1.15; font-weight: 800; }
h3 { font-size: clamp(19px, 2vw, 22px); line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; max-width: 62ch; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tint { background: var(--tinte); }
.section--white { background: var(--white); }
.section--azul { background: var(--azul); color: var(--sobre-azul); }
.section--azul h2, .section--azul h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-body); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--verde);
}
.section--azul .eyebrow, .hero .eyebrow, .on-dark .eyebrow { color: var(--verde-claro); }
.head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }

/* Botones: esquina cortada a 45° como el isotipo */
.btn {
  --bg: var(--verde); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  font: 600 16px/1 var(--f-body); text-decoration: none; letter-spacing: 0.005em;
  background: var(--bg); color: var(--fg); border: 0; cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: background-color .18s ease, transform .18s ease;
}
.btn:hover { --bg: var(--verde-700); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline-offset: 4px; border-radius: 0; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--azul { --bg: var(--azul); }
.btn--azul:hover { --bg: var(--azul-700); }
.btn--ghost { --bg: transparent; --fg: var(--azul); box-shadow: inset 0 0 0 2px var(--azul); clip-path: none; border-radius: 0; }
.btn--ghost:hover { --bg: var(--azul); color: var(--white); }
.btn--ghost-light { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); clip-path: none; }
.btn--ghost-light:hover { --bg: rgba(255,255,255,.1); color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--verde-700); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(247,247,244,.96); backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--linea); box-shadow: 0 6px 24px -18px rgba(19,45,70,.45); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand svg { width: 188px; height: auto; display: block; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
  font: 500 15.5px/1 var(--f-body); color: var(--azul); text-decoration: none;
  background: none; border: 0; cursor: pointer; border-radius: 6px;
}
.nav__link:hover, .nav__toggle:hover, .nav__toggle[aria-expanded="true"] { background: var(--tinte); color: var(--azul); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--verde); border-radius: 0; }
.nav__toggle svg { width: 16px; height: 16px; transition: transform .18s ease; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__item { position: relative; }
.nav__cta { margin-left: 10px; min-height: 46px; padding: 0 20px; font-size: 15px; }

.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-42%);
  width: min(760px, 92vw); background: var(--white); border: 1px solid var(--linea);
  border-radius: 12px; box-shadow: 0 24px 60px -28px rgba(19,45,70,.45); padding: 14px;
}
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mega__link { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 8px; text-decoration: none; color: var(--grafito); }
.mega__link:hover { background: var(--blanco); color: var(--grafito); }
.mega__link strong { display: block; font: 700 15px/1.3 var(--f-display); color: var(--azul); margin-bottom: 2px; }
.mega__link span { font-size: 13.5px; line-height: 1.45; }
.mega__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; padding: 14px 12px 4px; border-top: 1px solid var(--linea); font-size: 14px; }

.ico-tile { width: 40px; height: 40px; display: grid; place-items: center; background: var(--tinte); color: var(--azul); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%); }
.ico-tile svg { width: 22px; height: 22px; }
.icon { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon .ac { stroke: var(--verde); }
.icon .acf { fill: var(--verde); stroke: none; }
.on-dark .icon .ac, .section--azul .icon .ac { stroke: var(--verde-claro); }
.on-dark .icon .acf, .section--azul .icon .acf { fill: var(--verde-claro); }

.menu-btn { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 1.5px solid var(--azul); background: transparent; color: var(--azul); font: 600 15px/1 var(--f-body); border-radius: 6px; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }

.mobile-nav { position: fixed; inset: 0; z-index: 70; background: var(--blanco); display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gutter-r) calc(env(safe-area-inset-bottom, 0px) + 20px) var(--gutter); overflow-y: auto; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.mobile-nav__top .brand svg { width: 160px; }
.mobile-nav ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; }
.mobile-nav a.m-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--linea); font: 700 21px/1.2 var(--f-display); color: var(--azul); text-decoration: none; }
.mobile-nav .m-sub { padding: 6px 0 10px 14px; border-bottom: 1px solid var(--linea); }
.mobile-nav .m-sub a { display: block; padding: 9px 4px; font-size: 16px; color: var(--grafito); text-decoration: none; }
.mobile-nav .m-label { margin-top: 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--verde); }
.mobile-nav .btn { margin-top: 24px; width: 100%; }

/* Hero */
.hero { position: relative; background: var(--azul); color: var(--sobre-azul); overflow: hidden; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-block: clamp(64px, 9vw, 120px) clamp(120px, 13vw, 170px); }
.hero h1 { color: var(--white); margin: 22px 0 22px; }
.hero .lead { color: var(--sobre-azul); }
.hero .btn-row { margin-top: 36px; }
.hero__art { position: relative; justify-self: end; width: min(440px, 100%); }
.hero__art svg { display: block; width: 100%; height: auto; }

/* Pilares sobre el hero */
.pillars { position: relative; z-index: 2; margin-top: clamp(-96px, -9vw, -72px); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--white); border: 1px solid var(--linea); box-shadow: 0 30px 60px -40px rgba(19,45,70,.5); }
.pillar { padding: 30px 30px 32px; display: grid; gap: 12px; align-content: start; }
.pillar + .pillar { border-left: 1px solid var(--linea); }
.pillar__top { display: flex; align-items: center; gap: 14px; }
.pillar h3 { font-size: 19px; }
.pillar p { font-size: 15.5px; line-height: 1.6; }
.pillars__intro { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; align-items: end; margin: 56px 0 0; }
.pillars__intro p { max-width: 56ch; }

/* Tarjetas de servicio */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: 28px 26px 26px;
  background: var(--white); border: 1px solid var(--linea); color: var(--grafito); text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.card:hover { border-color: var(--verde); transform: translateY(-3px); box-shadow: 0 22px 40px -30px rgba(19,45,70,.55); color: var(--grafito); }
.card__num { position: absolute; top: 24px; right: 24px; font: 700 13px/1 var(--f-display); color: var(--grafito-claro); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.card h3 { font-size: 19.5px; }
.card p { font-size: 15.5px; line-height: 1.6; }
.card .link-arrow { margin-top: 6px; }
.card .ico-tile { width: 48px; height: 48px; }
.card .ico-tile svg { width: 26px; height: 26px; }
.card--cta { background: var(--azul); border-color: var(--azul); color: var(--sobre-azul); grid-template-rows: auto 1fr auto; }
.card--cta h3 { color: var(--white); }
.card--cta:hover { border-color: var(--azul); color: var(--sobre-azul); }
.card--cta .link-arrow { color: var(--verde-claro); }

/* Split quiénes somos + motivos */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.split__text { display: grid; gap: 20px; }
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--linea); margin-top: 8px; }
.reason { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 18px 12px 18px 0; border-bottom: 1px solid var(--linea); font-size: 15.5px; line-height: 1.5; color: var(--azul); font-weight: 500; }
.reason svg { width: 26px; height: 26px; color: var(--azul); }

/* Placeholder de fotografía real */
.photo {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; width: 100%; max-width: 100%;
  background-color: var(--tinte);
  background-image: repeating-linear-gradient(135deg, rgba(19,45,70,.06) 0 2px, transparent 2px 16px);
  border: 1px dashed #9FB0AE; color: var(--azul); overflow: hidden;
}
.photo::after { content: ""; position: absolute; right: 0; bottom: 0; width: 34%; height: 18px; background: var(--verde); clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%); }
.photo__label { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 20px; max-width: 34ch; }
.photo__label svg { width: 34px; height: 34px; }
.photo__label strong { font: 700 15px/1.3 var(--f-display); }
.photo__label span { font-size: 13px; line-height: 1.45; color: var(--grafito); }
.photo--wide { aspect-ratio: 16 / 10; }

/* Complementarios */
.extras { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.extras__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; margin: 0; padding: 0; }
.extras__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 18px 18px; background: var(--white); border: 1px solid var(--linea); font-size: 15.5px; line-height: 1.5; color: var(--azul); }
.extras__list svg { width: 20px; height: 20px; margin-top: 2px; color: var(--verde); }

/* CTA band */
.cta-band { position: relative; background: var(--azul); color: var(--sobre-azul); overflow: hidden; }
.cta-band .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; padding-block: clamp(56px, 8vw, 88px); }
.cta-band h2 { color: var(--white); margin: 16px 0 14px; }
.cta-band__shape { position: absolute; right: -60px; top: -40px; width: 420px; opacity: .14; pointer-events: none; }

/* Page hero (interiores) */
.page-hero { padding-block: clamp(28px, 4vw, 40px) clamp(48px, 7vw, 80px); }
.page-hero--azul { background: var(--azul); color: var(--sobre-azul); }
.page-hero--azul h1 { color: var(--white); }
.page-hero--azul .lead { color: var(--sobre-azul); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.page-hero h1 { margin: 18px 0 20px; }
.crumbs { font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 26px; padding: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--grafito-claro); }
.crumbs li + li::before { content: "/"; color: #A8AFB5; }
.crumbs a { color: var(--grafito); text-decoration: none; }
.crumbs a:hover { color: var(--verde-700); text-decoration: underline; }
.page-hero--azul .crumbs a, .page-hero--azul .crumbs li { color: var(--sobre-azul); }
.service-badge { justify-self: end; width: min(260px, 100%); aspect-ratio: 1; display: grid; place-items: center; background: var(--azul); color: var(--white); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px), calc(100% - 46px) 100%, 0 100%); position: relative; }
.service-badge svg.icon { width: 46%; height: 46%; stroke-width: 1.1; }
.service-badge__n { position: absolute; left: 22px; top: 18px; font: 700 14px/1 var(--f-display); letter-spacing: .1em; color: var(--verde-claro); }

/* Detalle de servicio */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.includes { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: inc; border-top: 2px solid var(--azul); }
.includes li { counter-increment: inc; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--linea); font-size: 17px; line-height: 1.55; color: var(--azul); }
.includes li::before { content: counter(inc, decimal-leading-zero); font: 700 15px/1.6 var(--f-display); color: var(--verde); font-variant-numeric: tabular-nums; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--azul); color: var(--sobre-azul); padding: 30px 28px; display: grid; gap: 16px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.aside-card h2 { font-size: 23px; color: var(--white); }
.aside-card p { font-size: 15.5px; }
.aside-card .btn { width: 100%; }
.aside-card .wa-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; color: var(--white); font-weight: 600; text-decoration: none; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.aside-card .wa-link:hover { box-shadow: inset 0 0 0 1.5px var(--white); color: var(--white); }
.aside-card .wa-link svg { width: 20px; height: 20px; }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Servicios índice */
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; list-style: none; margin: 0; padding: 0; }
.svc-row { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px; background: var(--white); border: 1px solid var(--linea); text-decoration: none; color: var(--grafito); height: 100%; transition: border-color .18s ease, box-shadow .18s ease; }
.svc-row:hover { border-color: var(--verde); box-shadow: 0 22px 40px -32px rgba(19,45,70,.55); color: var(--grafito); }
.svc-row .ico-tile { width: 64px; height: 64px; background: var(--azul); color: var(--white); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); }
.svc-row .ico-tile svg { width: 32px; height: 32px; }
.svc-row .icon .ac { stroke: var(--verde-claro); }
.svc-row .icon .acf { fill: var(--verde-claro); }
.svc-row__body { display: grid; gap: 8px; align-content: start; }
.svc-row small { font: 700 12.5px/1 var(--f-display); letter-spacing: .12em; color: var(--verde); }
.svc-row h2 { font-size: 21px; letter-spacing: -0.01em; }
.svc-row p { font-size: 15.5px; }

/* Nosotros */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mv__card { padding: clamp(28px, 4vw, 44px); background: var(--white); border: 1px solid var(--linea); display: grid; gap: 14px; align-content: start; }
.mv__card--azul { background: var(--azul); border-color: var(--azul); color: var(--sobre-azul); }
.mv__card--azul h2 { color: var(--white); }
.mv__card h2 { font-size: 26px; }
.mv__card p { font-size: 17px; line-height: 1.7; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--azul); }
.trio > div { padding: 28px 28px 8px 0; display: grid; gap: 12px; align-content: start; }
.trio > div + div { padding-left: 28px; border-left: 1px solid var(--linea); }
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.four > div { padding: 26px 22px; background: var(--white); border: 1px solid var(--linea); display: grid; gap: 14px; align-content: start; font-weight: 500; color: var(--azul); line-height: 1.5; }

/* Contacto */
.contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--linea); padding: clamp(24px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; color: var(--azul); }
.field .opt { font-weight: 400; color: var(--grafito-claro); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--azul);
  background: var(--blanco); border: 1.5px solid #C6CDCB; border-radius: 6px; padding: 13px 14px; min-height: 50px;
  transition: border-color .15s ease, background-color .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9AA6A4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--verde); background: var(--white); box-shadow: 0 0 0 3px rgba(36,123,120,.22); }
.field [aria-invalid="true"] { border-color: #B3261E; background: #FFF8F7; }
.field .err { display: none; align-items: center; gap: 6px; font-size: 14px; color: #B3261E; }
.field .err::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #B3261E; color: #fff; font-size: 12px; font-weight: 700; flex: none; }
.field .err.is-on { display: flex; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--verde); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form-status { margin-top: 22px; padding: 16px 18px; border-left: 4px solid var(--verde); background: var(--tinte); color: var(--azul); font-size: 15.5px; }
.form-status--error { border-left-color: #B3261E; background: #FFF4F2; }
.channels { display: grid; gap: 0; border-top: 2px solid var(--azul); }
.channel { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--linea); }
.channel .ico-tile { width: 44px; height: 44px; }
.channel strong { display: block; font: 700 16px/1.3 var(--f-display); color: var(--azul); }
.pending { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13.5px; color: var(--grafito-claro); }
.pending::before { content: ""; width: 8px; height: 8px; background: #C9A227; border-radius: 2px; transform: rotate(45deg); }
.note { font-size: 14px; line-height: 1.55; color: var(--grafito-claro); }

/* Legales / 404 */
.prose { max-width: 70ch; display: grid; gap: 18px; }
.notice { padding: 22px 24px; background: var(--white); border: 1px solid var(--linea); border-left: 4px solid var(--verde); }

/* Footer */
.site-footer { background: var(--azul-900); color: var(--sobre-azul); font-size: 15px; }
.site-footer .wrap { padding-block: 64px 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr); gap: 40px; }
.footer-grid h2 { font: 600 12.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--verde-claro); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--sobre-azul); text-decoration: none; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-brand svg { width: 280px; max-width: 100%; height: auto; display: block; margin-bottom: 20px; }
.footer-brand p { max-width: 36ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(201,211,221,.18); font-size: 13.5px; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: var(--sobre-azul); }

/* WhatsApp flotante (icono propio) */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px;
  background: var(--verde); color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  box-shadow: 0 12px 30px -10px rgba(19,45,70,.6);
}
.wa-float { opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s ease, transform .25s ease, background-color .18s ease; }
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--verde-700); color: var(--white); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float .icon .ac { stroke: var(--white); }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .four { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .brand svg { width: 160px; }
  .hero .wrap { grid-template-columns: 1fr; padding-bottom: 130px; }
  .hero__art { display: none; }
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--linea); }
  .split, .extras, .page-hero__grid, .contact, .detail, .mv, .cta-band .wrap { grid-template-columns: 1fr; }
  .service-badge { display: none; }
  .page-hero__grid .photo { display: none; }
  .svc-list, .related { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; }
  .trio > div, .trio > div + div { padding: 24px 0; border-left: 0; }
  .trio > div + div { border-top: 1px solid var(--linea); }
  .aside-card { position: static; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .cards, .reasons, .extras__list, .form-grid, .four, .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .svc-row { grid-template-columns: 1fr; padding: 24px; }
  .wa-float { padding: 0 16px; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .footer-bottom { flex-direction: column; }
  .site-footer .wrap { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.contact--single { grid-template-columns: minmax(0, 860px); justify-content: start; }

/* ===== v2 · Presentación de servicios (tarjetas web, encabezado partido, animación de entrada) ===== */
.section--services { position: relative; overflow: hidden; }
.section--services::before {
  content: ""; position: absolute; right: -220px; top: -160px; width: 760px; height: 760px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 760 760' fill='none' stroke='%23247B78' stroke-opacity='.12'%3E%3Ccircle cx='380' cy='380' r='120'/%3E%3Ccircle cx='380' cy='380' r='200'/%3E%3Ccircle cx='380' cy='380' r='280'/%3E%3Ccircle cx='380' cy='380' r='360'/%3E%3C/svg%3E") no-repeat center / contain;
}
.section--services > .wrap { position: relative; }
.head-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.head-split .eyebrow { margin-bottom: 18px; }
.head-split h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }
.head-split h2 em { font-style: normal; color: var(--verde); display: block; }
.head-split .lead { padding-bottom: 6px; }

.cards { gap: 24px; }
.card {
  grid-template-rows: auto auto auto 1fr auto; gap: 14px; padding: 32px 30px 28px;
  border-radius: 20px; border: 1px solid rgba(19,45,70,.09);
  box-shadow: 0 1px 2px rgba(19,45,70,.04), 0 14px 34px -22px rgba(19,45,70,.22);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(36,123,120,.35); box-shadow: 0 2px 4px rgba(19,45,70,.05), 0 30px 54px -26px rgba(19,45,70,.38); }
.card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.card .ico-tile { width: 56px; height: 56px; border-radius: 16px; clip-path: none; background: var(--tinte); color: var(--azul); transition: background-color .3s ease, color .3s ease; }
.card .ico-tile svg { width: 28px; height: 28px; }
.card:hover .ico-tile { background: var(--verde); color: var(--white); }
.card:hover .ico-tile .icon .ac { stroke: var(--white); }
.card:hover .ico-tile .icon .acf { fill: var(--white); }
.card__go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--linea); color: var(--azul); opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .3s ease, background-color .3s ease, color .3s ease; }
.card__go svg.icon { width: 18px; height: 18px; }
.card:hover .card__go, .card:focus-visible .card__go { opacity: 1; transform: none; background: var(--azul); border-color: var(--azul); color: var(--white); }
.card h3 { font-size: 21px; line-height: 1.25; }
.card p { font-size: 16px; line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; align-self: start; }
.tags li { font-size: 13.5px; font-weight: 500; line-height: 1; color: var(--azul); background: var(--blanco); border: 1px solid var(--linea); padding: 8px 12px; border-radius: 999px; }
.card .link-arrow { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--linea); font-size: 15px; }
.card--cta { background: var(--azul); border-color: var(--azul); grid-template-rows: auto auto 1fr auto; }
.card--cta .ico-tile { background: rgba(255,255,255,.1); color: var(--white); }
.card--cta:hover .ico-tile { background: var(--verde); }
.card--cta p { color: var(--sobre-azul); }
.card--cta .link-arrow { border-top-color: rgba(201,211,221,.2); color: var(--verde-claro); }

/* Superficies suavizadas en el resto del sitio */
.pillars__grid { border-radius: 20px; overflow: hidden; border-color: rgba(19,45,70,.09); }
.extras__list li { border-radius: 14px; border-color: rgba(19,45,70,.09); }
.mv__card, .form-card { border-radius: 20px; }
.photo { border-radius: 16px; }

/* Animación de entrada al hacer scroll (solo con JS y sin preferencia de movimiento reducido) */
html.js-rv .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
html.js-rv .rv.is-in { opacity: 1; transform: none; }
html.js-rv .card.rv.is-in:hover { transform: translateY(-6px); }

@media (max-width: 860px) {
  .head-split { grid-template-columns: 1fr; }
  .section--services::before { width: 480px; height: 480px; right: -200px; top: -120px; }
}
@media (hover: none) { .card__go { opacity: 1; transform: none; } }
.card h3 { text-wrap: pretty; }
@media (min-width: 1081px) {
  .cards > .card--cta { grid-column: span 2; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr auto; column-gap: 24px; align-content: center; }
  .cards > .card--cta .card__top { grid-row: 1 / span 3; align-self: start; margin: 0; }
  .cards > .card--cta h3 { font-size: 24px; align-self: end; }
  .cards > .card--cta .link-arrow { justify-self: start; }
}
.card--cta { overflow: hidden; }
.card--cta::after {
  content: ""; position: absolute; right: -40px; bottom: -50px; width: 300px; height: 280px; pointer-events: none; opacity: .14;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='40 37 200 190'%3E%3Cg transform='translate(40 37)'%3E%3Cpath d='M154 6 H77 C35 6 6 36 6 82 C6 108 17 128 32 140 L56 117 C45 106 39 94 39 80 C39 53 58 35 83 35 H129 Z' fill='%23F7F7F4'/%3E%3Cpath d='M96 82 H193 V105 C193 148 164 180 118 180 H16 L49 146 H113 C136 146 152 135 157 115 H64 Z' fill='%238FCFCA'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.card--cta > * { position: relative; z-index: 1; }
.card--cta .link-arrow { border-top: 0; padding: 0 22px; min-height: 48px; background: var(--verde); color: var(--white); justify-self: start; align-self: end;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
.card--cta:hover .link-arrow { background: var(--verde-700); color: var(--white); }
@media (min-width: 1081px) {
  .cards > .card--cta { grid-template-rows: auto auto 1fr; padding: 40px; }
  .cards > .card--cta h3 { font-size: 28px; max-width: 18ch; }
  .cards > .card--cta p { max-width: 44ch; font-size: 17px; }
}

/* Quiénes somos (Inicio) sin fotografía */
.about { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 80px); align-items: stretch; }
.about__side { display: grid; grid-template-rows: 1fr auto; gap: 18px; }
.about .mv__card--azul { position: relative; overflow: hidden; align-content: start; padding-bottom: 140px; }
.about .mv__card--azul::after {
  content: ""; position: absolute; right: -30px; bottom: -40px; width: 230px; height: 215px; opacity: .16; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='40 37 200 190'%3E%3Cg transform='translate(40 37)'%3E%3Cpath d='M154 6 H77 C35 6 6 36 6 82 C6 108 17 128 32 140 L56 117 C45 106 39 94 39 80 C39 53 58 35 83 35 H129 Z' fill='%23F7F7F4'/%3E%3Cpath d='M96 82 H193 V105 C193 148 164 180 118 180 H16 L49 146 H113 C136 146 152 135 157 115 H64 Z' fill='%238FCFCA'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.about .mv__card--azul p { font-size: 18px; color: var(--white); position: relative; }
.about .mv__card { border-color: rgba(19,45,70,.09); }
.about .split__text { align-content: center; }
.reasons--list { grid-template-columns: 1fr; }
.reasons--list .reason { grid-template-columns: 44px 1fr; align-items: center; padding: 16px 0; font-size: 16px; }
.reasons--list .reason svg { width: 28px; height: 28px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about .split__text { order: -1; } .about .mv__card--azul { padding-bottom: 110px; } }

/* Footer compacto */
.site-footer .wrap { padding-block: 40px 24px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.footer-logo svg { width: 170px; height: auto; display: block; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 32px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: var(--sobre-azul); text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: var(--white); }
.site-footer .footer-bottom { margin-top: 32px; padding-top: 20px; font-size: 13.5px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 860px) {
  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-row .btn { width: 100%; }
  .site-footer .wrap { padding-bottom: 96px; }
}
.field .check { grid-template-columns: 20px 1fr; gap: 12px; align-items: start; line-height: 1.5; }
.field .check input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 2px 0 0; border: 0; background: none; box-shadow: none; }
.field .check label { line-height: 1.5; }

/* ===== v3 · Páginas internas alineadas al Inicio ===== */
.ihero { position: relative; background: var(--azul); color: var(--sobre-azul); overflow: hidden; }
.ihero::before {
  content: ""; position: absolute; right: -180px; top: -200px; width: 720px; height: 720px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 760 760' fill='none' stroke='%238FCFCA' stroke-opacity='.10'%3E%3Ccircle cx='380' cy='380' r='120'/%3E%3Ccircle cx='380' cy='380' r='200'/%3E%3Ccircle cx='380' cy='380' r='280'/%3E%3Ccircle cx='380' cy='380' r='360'/%3E%3C/svg%3E") no-repeat center / contain;
}
.ihero .wrap { position: relative; padding-block: 28px clamp(64px, 8vw, 104px); }
.ihero--overlap .wrap { padding-bottom: clamp(120px, 12vw, 160px); }
.ihero .crumbs ol { margin-bottom: clamp(32px, 4vw, 48px); }
.ihero .crumbs li, .ihero .crumbs a { color: var(--sobre-azul); }
.ihero .crumbs a:hover { color: var(--white); }
.ihero .crumbs li[aria-current] { color: var(--verde-claro); }
.ihero .crumbs li + li::before { color: rgba(201,211,221,.45); }
.ihero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 56px; align-items: center; }
.ihero__text { display: grid; gap: 0; justify-items: start; }
.ihero h1 { color: var(--white); margin: 18px 0 20px; font-size: clamp(32px, 4.4vw, 50px); }
.ihero .lead { color: var(--sobre-azul); }
.ihero .btn-row { margin-top: 32px; }
.ihero__art { justify-self: end; }
.art-sym { width: min(300px, 100%); height: auto; display: block; }
.art-tile { position: relative; width: 240px; aspect-ratio: 1; border-radius: 28px; display: grid; place-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(201,211,221,.18); color: var(--white); box-shadow: inset 0 0 0 10px rgba(255,255,255,.02); }
.art-tile svg.icon { width: 46%; height: 46%; stroke-width: 1.1; }
.art-tile .icon .ac { stroke: var(--verde-claro); }
.art-tile .icon .acf { fill: var(--verde-claro); }
.art-tile__n { position: absolute; left: 22px; top: 20px; font: 700 12px/1 var(--f-display); letter-spacing: .14em; color: var(--verde-claro); }
.tags--dark { margin-top: 22px; }
.tags--dark li { background: rgba(255,255,255,.06); border-color: rgba(201,211,221,.22); color: var(--white); }

.overlap-section { padding-top: 0; }
.overlap-section > .wrap { position: relative; z-index: 2; margin-top: clamp(-112px, -10vw, -80px); }
.form-card { box-shadow: 0 1px 2px rgba(19,45,70,.04), 0 30px 60px -36px rgba(19,45,70,.45); border-color: rgba(19,45,70,.09); }
.contact--single { grid-template-columns: minmax(0, 900px); }
.notice-card { display: grid; grid-template-columns: 56px 1fr; gap: 20px; max-width: 900px; }
.notice-card .ico-tile { width: 56px; height: 56px; border-radius: 16px; clip-path: none; }
.notice-card h2 { font-size: 22px; margin-bottom: 8px; }

/* Detalle: qué incluye en tarjetas */
.detail { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; list-style: none; margin: 0; padding: 0; align-content: start; }
.inc { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; padding: 22px 22px; background: var(--white); border: 1px solid rgba(19,45,70,.09); border-radius: 16px; color: var(--azul); font-size: 16px; line-height: 1.5; font-weight: 500; box-shadow: 0 1px 2px rgba(19,45,70,.04), 0 12px 28px -22px rgba(19,45,70,.25); transition: border-color .3s ease, transform .3s ease; }
.inc:hover { border-color: rgba(36,123,120,.4); }
.inc__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tinte); color: var(--verde); }
.inc__ico svg.icon { width: 20px; height: 20px; stroke-width: 2; }
.aside-card { border-radius: 20px; clip-path: none; padding: 32px 28px; overflow: hidden; gap: 14px; }
.aside-card::after {
  content: ""; position: absolute; right: -36px; bottom: -44px; width: 200px; height: 190px; opacity: .12; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='40 37 200 190'%3E%3Cg transform='translate(40 37)'%3E%3Cpath d='M154 6 H77 C35 6 6 36 6 82 C6 108 17 128 32 140 L56 117 C45 106 39 94 39 80 C39 53 58 35 83 35 H129 Z' fill='%23F7F7F4'/%3E%3Cpath d='M96 82 H193 V105 C193 148 164 180 118 180 H16 L49 146 H113 C136 146 152 135 157 115 H64 Z' fill='%238FCFCA'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.aside-card > * { position: relative; z-index: 1; }
.aside-card .ico-tile { width: 52px; height: 52px; border-radius: 14px; clip-path: none; background: rgba(255,255,255,.08); color: var(--white); }
.aside-card .wa-link { border-radius: 0; }
.related { gap: 24px; }

/* Menú móvil: panel desplegable bajo el encabezado */
.menu-btn__close { display: none; align-items: center; gap: 8px; }
.menu-btn__open { display: inline-flex; align-items: center; gap: 8px; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: inline-flex; }
.menu-btn[aria-expanded="true"] { background: var(--azul); color: var(--white); }
.mobile-nav {
  position: absolute; inset: auto; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter-r); z-index: 70;
  display: block; padding: 10px 18px 18px; max-height: calc(100vh - var(--header-h) - 32px); max-height: calc(100dvh - var(--header-h) - 32px); overflow-y: auto;
  background: var(--white); border: 1px solid rgba(19,45,70,.1); border-radius: 18px;
  box-shadow: 0 30px 60px -24px rgba(19,45,70,.45);
  animation: dropIn .22s ease;
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-backdrop { position: fixed; inset: 0; z-index: 45; background: rgba(14,35,55,.35); }
.m-list { list-style: none; margin: 0; padding: 0; display: grid; }
.m-list > li { border-bottom: 1px solid var(--linea); }
.mobile-nav .m-link { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 15px 4px; background: none; border: 0; cursor: pointer; text-align: left; font: 700 18px/1.2 var(--f-display); color: var(--azul); text-decoration: none; }
.mobile-nav .m-link[aria-current="page"] { color: var(--verde); }
.m-acc svg.icon { width: 20px; height: 20px; color: var(--verde); transition: transform .2s ease; }
.m-acc[aria-expanded="true"] svg.icon { transform: rotate(180deg); }
.m-panel { padding: 0 0 14px; }
.m-svcs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-svc { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; min-height: 56px; padding: 8px 10px; border-radius: 12px; background: var(--blanco); border: 1px solid var(--linea); font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--azul); text-decoration: none; }
.m-svc:hover { border-color: var(--verde); color: var(--azul); }
.m-svc .ico-tile { width: 34px; height: 34px; border-radius: 10px; clip-path: none; background: var(--tinte); }
.m-svc .ico-tile svg { width: 19px; height: 19px; }
.m-all { margin-top: 14px; font-size: 15px; }
.mobile-nav .btn { width: 100%; margin-top: 18px; }

@media (max-width: 1080px) { .detail { grid-template-columns: 1fr; } .aside-card { position: static; } }
@media (max-width: 860px) {
  .ihero__grid { grid-template-columns: 1fr; }
  .ihero__art { display: none; }
  .ihero .btn-row .btn { width: 100%; }
}
@media (max-width: 600px) {
  .inc-grid { grid-template-columns: 1fr; }
  .m-svcs { grid-template-columns: 1fr; }
  .notice-card { grid-template-columns: 1fr; }
}
@media (min-width: 1081px) { .mobile-nav, .mobile-backdrop { display: none !important; } }
.contact--single { grid-template-columns: 1fr; }
.form-card--split { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding: clamp(20px, 3vw, 28px); }
.form-side { background: var(--tinte); border-radius: 16px; padding: 28px 22px; display: grid; gap: 16px; align-content: start; }
.form-side__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.form-side__list a { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; color: var(--azul); text-decoration: none; font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.form-side__list a:hover { background: var(--white); color: var(--azul); }
.form-side .ico-tile { width: 34px; height: 34px; border-radius: 10px; clip-path: none; background: var(--white); }
.form-side .ico-tile svg { width: 19px; height: 19px; }
.form-main { padding: clamp(8px, 2vw, 20px) clamp(4px, 1.5vw, 16px) clamp(8px, 2vw, 16px) 0; }
@media (max-width: 960px) { .form-card--split { grid-template-columns: 1fr; } .form-side { order: 2; } .form-main { padding: 8px 4px; } }

/* ===== v4 · Encabezado flotante y menú desplegable de servicios ===== */
:root { --header-h: 92px; }
.site-header { position: fixed; top: 0; left: 0; right: 0; padding-top: calc(env(safe-area-inset-top, 0px) + 12px); background: transparent; border: 0; box-shadow: none; backdrop-filter: none; pointer-events: none; }
.site-header.is-scrolled { border: 0; box-shadow: none; }
.site-header > .wrap { height: auto; display: block; }
.bar {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 68px; padding: 0 10px 0 20px;
  background: rgba(255,255,255,.97); border: 1px solid rgba(19,45,70,.08); border-radius: 18px;
  box-shadow: 0 12px 34px -20px rgba(14,35,55,.55);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled .bar { box-shadow: 0 16px 40px -18px rgba(14,35,55,.6); }
.bar .brand svg { width: 168px; }
.nav__cta { margin-left: 8px; }
.hero .wrap { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); }
.ihero .wrap { padding-top: calc(var(--header-h) + 24px); }
body::before { background: var(--azul); }

.nav__item { position: static; }
.nav { position: relative; }
.mega {
  pointer-events: auto; position: absolute; top: calc(100% + 24px); left: -8px; transform: none;
  width: min(720px, 86vw); padding: 24px 22px 18px; border-radius: 18px;
  background: var(--white); border: 1px solid rgba(19,45,70,.08); box-shadow: 0 30px 60px -28px rgba(14,35,55,.5);
  animation: dropIn .2s ease;
}
.mega__label { margin: 0 12px 10px; font: 600 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--grafito-claro); }
.mega__grid { grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.mega__link { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 13px 12px; border-radius: 12px; }
.mega__link strong { margin: 0; font: 700 16px/1.25 var(--f-display); color: var(--azul); transition: color .15s ease; }
.mega__link span { font-size: 14px; line-height: 1.4; color: var(--grafito-claro); }
.mega__link:hover { background: var(--blanco); }
.mega__link:hover strong { color: var(--verde); }
.mega__link--all strong { color: var(--verde); }
.mega__foot { display: none; }

.mobile-nav { top: calc(100% + 8px); }
@media (max-width: 860px) {
  :root { --header-h: 80px; }
  .bar { height: 60px; padding: 0 8px 0 14px; border-radius: 16px; }
  .bar .brand svg { width: 142px; }
  .menu-btn { height: 42px; }
}
.mega { left: auto; right: -10px; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; }

/* Servicios compactos en el Inicio */
.minis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mini {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 18px 12px; min-height: 172px; padding: 22px 22px 20px;
  background: var(--white); border: 1px solid rgba(19,45,70,.09); border-radius: 18px; text-decoration: none; color: var(--grafito);
  box-shadow: 0 1px 2px rgba(19,45,70,.04), 0 12px 28px -22px rgba(19,45,70,.25);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.mini:hover { transform: translateY(-4px); border-color: rgba(36,123,120,.35); box-shadow: 0 2px 4px rgba(19,45,70,.05), 0 24px 44px -26px rgba(19,45,70,.38); color: var(--grafito); }
html.js-rv .mini.rv.is-in:hover { transform: translateY(-4px); }
.mini .ico-tile { width: 46px; height: 46px; border-radius: 14px; clip-path: none; background: var(--tinte); color: var(--azul); transition: background-color .3s ease, color .3s ease; }
.mini .ico-tile svg { width: 24px; height: 24px; }
.mini:hover .ico-tile { background: var(--verde); color: var(--white); }
.mini:hover .ico-tile .icon .ac { stroke: var(--white); }
.mini:hover .ico-tile .icon .acf { fill: var(--white); }
.mini__go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--linea); color: var(--azul); transition: all .3s ease; }
.mini__go svg.icon { width: 16px; height: 16px; }
.mini:hover .mini__go { background: var(--azul); border-color: var(--azul); color: var(--white); }
.mini__body { grid-column: 1 / -1; display: grid; gap: 6px; align-content: end; }
.mini__body strong { font: 700 16.5px/1.28 var(--f-display); color: var(--azul); letter-spacing: -0.01em; text-wrap: pretty; }
.mini__body span { font-size: 13.5px; line-height: 1.4; color: var(--grafito-claro); }
.mini--cta { background: var(--azul); border-color: var(--azul); }
.mini--cta .ico-tile { background: rgba(255,255,255,.1); color: var(--white); }
.mini--cta .mini__body strong { color: var(--white); }
.mini--cta .mini__body span { color: var(--sobre-azul); }
.mini--cta .mini__go { border-color: rgba(201,211,221,.3); color: var(--white); }
.mini--cta:hover .mini__go { background: var(--verde); border-color: var(--verde); }
.minis__foot { margin-top: 28px; display: flex; justify-content: center; }
@media (max-width: 1080px) { .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .minis { grid-template-columns: 1fr; gap: 10px; }
  .mini { grid-template-columns: 44px 1fr 32px; grid-template-rows: auto; align-items: center; min-height: 0; padding: 14px 14px; gap: 14px; border-radius: 14px; }
  .mini .ico-tile { width: 44px; height: 44px; border-radius: 12px; }
  .mini__body { grid-column: auto; gap: 3px; }
  .mini__body strong { font-size: 15.5px; }
  .mini__body span { font-size: 13px; }
  .mini__go { grid-column: 3; grid-row: 1; width: 32px; height: 32px; }
}
@media (min-width: 601px) {
  .mini { grid-template-rows: auto auto; min-height: 0; align-content: start; }
  .mini__go { grid-column: 2; grid-row: 1; align-self: start; }
  .mini__body { grid-row: 2; align-content: start; }
}

/* CTA lateral de servicio: botones compactos */
.aside-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.aside-card .aside-ctas .btn { width: auto; min-height: 46px; padding: 0 20px; font-size: 15px; }
.aside-card .btn--ghost-light .icon .ac { stroke: var(--verde-claro); }
@media (max-width: 1080px) {
  .aside-card { grid-template-columns: auto 1fr auto; align-items: center; column-gap: 20px; padding: 26px 28px; }
  .aside-card .ico-tile { grid-row: 1 / span 2; }
  .aside-card h2 { grid-column: 2; font-size: 21px; }
  .aside-card p { grid-column: 2; }
  .aside-card .aside-ctas { grid-column: 3; grid-row: 1 / span 2; margin: 0; flex-wrap: nowrap; }
}
@media (max-width: 760px) {
  .aside-card { grid-template-columns: 1fr; }
  .aside-card .ico-tile, .aside-card h2, .aside-card p, .aside-card .aside-ctas { grid-column: auto; grid-row: auto; }
  .aside-card .aside-ctas { flex-wrap: wrap; }
}

/* Quiénes somos (Inicio): lectura de arriba hacia abajo */
.about-mv { gap: 20px; }
.about-mv .mv__card { padding: clamp(26px, 3vw, 36px); border-color: rgba(19,45,70,.09); }
.about-mv .mv__card p { font-size: 16.5px; line-height: 1.65; }
.about-mv .mv__card--azul { position: relative; overflow: hidden; }
.about-mv .mv__card--azul p { color: var(--white); position: relative; max-width: 52ch; }
.about-mv .mv__card--azul::after {
  content: ""; position: absolute; right: -30px; bottom: -40px; width: 180px; height: 170px; opacity: .12; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='40 37 200 190'%3E%3Cg transform='translate(40 37)'%3E%3Cpath d='M154 6 H77 C35 6 6 36 6 82 C6 108 17 128 32 140 L56 117 C45 106 39 94 39 80 C39 53 58 35 83 35 H129 Z' fill='%23F7F7F4'/%3E%3Cpath d='M96 82 H193 V105 C193 148 164 180 118 180 H16 L49 146 H113 C136 146 152 135 157 115 H64 Z' fill='%238FCFCA'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.why { margin-top: clamp(40px, 5vw, 56px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--linea); display: grid; gap: 24px; }
.why h3 { font-size: clamp(19px, 2vw, 22px); }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.why__list li { display: grid; gap: 14px; align-content: start; font-size: 15.5px; line-height: 1.5; font-weight: 500; color: var(--azul); }
.why__list .ico-tile { width: 46px; height: 46px; border-radius: 14px; clip-path: none; background: var(--tinte); }
.why__list .ico-tile svg { width: 24px; height: 24px; }
@media (max-width: 1080px) { .why__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .why__list { grid-template-columns: 1fr; gap: 14px; }
  .why__list li { grid-template-columns: 46px 1fr; align-items: center; }
}

/* Footer con menú y servicios */
.site-footer .wrap { padding-block: clamp(48px, 6vw, 72px) 24px; }
.fgrid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr) minmax(0, .55fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.fbrand { display: grid; gap: 18px; justify-items: start; }
.fbrand p { font-size: 15px; line-height: 1.6; max-width: 32ch; }
.fbrand .btn { min-height: 46px; padding: 0 20px; font-size: 15px; margin-top: 4px; }
.flabel { margin: 0 0 14px 12px; font: 600 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--verde-claro); }
.fsvcs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.fsvcs a { display: grid; gap: 3px; padding: 10px 12px; border-radius: 12px; text-decoration: none; transition: background-color .2s ease; }
.fsvcs a:hover { background: rgba(255,255,255,.06); }
.fsvcs strong { font: 700 15.5px/1.25 var(--f-display); color: var(--white); }
.fsvcs a:hover strong { color: var(--verde-claro); }
.fsvcs span { font-size: 13.5px; line-height: 1.4; color: var(--sobre-azul); opacity: .8; }
.fnav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fnav a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--sobre-azul); text-decoration: none; font-weight: 500; }
.fnav a:hover { background: rgba(255,255,255,.06); color: var(--white); }
.site-footer .footer-bottom { margin-top: clamp(36px, 4vw, 48px); }
@media (max-width: 1080px) { .fgrid { grid-template-columns: 1fr 1fr; } .fsvcs { grid-column: 1 / -1; grid-row: 2; } }
@media (max-width: 600px) {
  .fgrid { grid-template-columns: 1fr; }
  .fsvcs, .fnav { grid-column: auto; grid-row: auto; }
  .fsvcs ul { grid-template-columns: 1fr; }
  .fbrand .btn { width: 100%; }
}

/* Footer corto */
.site-footer .wrap { padding-block: 40px 20px; }
.fgrid { grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 56px; }
.fbrand { gap: 16px; }
.footer-logo svg { width: 150px; }
.fbrand .btn { min-height: 42px; padding: 0 18px; font-size: 14.5px; margin: 0; }
.flabel { margin: 2px 0 10px; font-size: 11.5px; }
.fsvcs ul { grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 32px; }
.fsvcs a, .fnav a { display: inline; padding: 0; border-radius: 0; background: none; font-size: 14.5px; font-weight: 500; color: var(--sobre-azul); }
.fsvcs a:hover, .fnav a:hover { background: none; color: var(--white); text-decoration: underline; }
.fnav ul { gap: 6px; }
.site-footer .footer-bottom { margin-top: 28px; padding-top: 16px; font-size: 13px; }
@media (max-width: 1080px) {
  .fgrid { grid-template-columns: minmax(0, 1fr) auto; }
  .fbrand { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: space-between; align-items: center; width: 100%; }
  .fsvcs { grid-column: 1; grid-row: 2; }
  .fsvcs ul { grid-template-columns: repeat(2, auto); }
  .fnav { grid-row: 2; }
}
@media (max-width: 600px) {
  .fgrid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .fbrand { grid-template-columns: 1fr; justify-items: start; }
  .fbrand .btn { width: auto; }
  .fsvcs { grid-column: 1 / -1; }
  .fsvcs ul { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .fnav { grid-column: 1 / -1; grid-row: auto; }
  .fnav ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
}
.fsvcs ul { grid-template-columns: repeat(2, auto); gap: 8px 48px; }
.fsvcs a { white-space: nowrap; }
@media (max-width: 600px) { .fsvcs ul { grid-template-columns: 1fr; gap: 8px; } .fsvcs a { white-space: normal; } }

/* Encabezado tipo T-mapp: enlaces junto al logo, CTA a la derecha */
.bar { justify-content: flex-start; gap: 36px; }
.bar .nav { flex: 1; display: flex; align-items: center; }
.bar .nav__list { gap: 6px; }
.bar .nav__link, .bar .nav__toggle { font-size: 16px; color: var(--azul); }
.bar .nav__cta { margin-left: auto; }
.mega { left: -12px; right: auto; width: min(720px, calc(100vw - 260px)); }
.menu-btn { width: 44px; height: 44px; padding: 0; justify-content: center; margin-left: auto; border-radius: 12px; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 1080px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .bar { gap: 20px; }
  .bar .nav__link, .bar .nav__toggle { padding: 0 10px; font-size: 15px; }
  .bar .nav__cta { padding: 0 16px; font-size: 14px; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 760px) {
  .bar .nav { display: none; }
  .bar .menu-btn { display: inline-flex; margin-left: auto; }
}
.mobile-nav a.m-link, .mobile-nav button.m-link { font: 700 18px/1.2 var(--f-display); padding: 15px 4px; border-bottom: 0; }
.mega { width: min(560px, calc(100vw - 260px)); padding: 20px 16px 14px; }
.mega__link { padding: 11px 12px; }
.mega__link strong { font-size: 15.5px; }
.mega { width: max-content; max-width: calc(100vw - 260px); }
.mega__grid { grid-template-columns: repeat(2, max-content); gap: 0 8px; }
.mega__link strong { white-space: nowrap; }
@media (max-width: 960px) { .mega__link strong { white-space: normal; } .mega__grid { grid-template-columns: 1fr 1fr; } }

/* Áreas relacionadas compactas */
.related-sec { padding-block: clamp(48px, 6vw, 72px); }
.related-head { display: grid; gap: 10px; margin-bottom: 24px; }
.related-head h2 { font-size: clamp(24px, 2.6vw, 30px); }
.related--mini { grid-template-columns: 1fr 1fr; gap: 16px; }
.related--mini .mini { grid-template-columns: 46px 1fr 34px; grid-template-rows: auto; align-items: center; gap: 16px; padding: 18px 20px; }
.related--mini .mini__body { grid-column: 2; grid-row: 1; align-content: center; }
.related--mini .mini__go { grid-column: 3; grid-row: 1; align-self: center; }
@media (max-width: 600px) { .related--mini { grid-template-columns: 1fr; gap: 10px; } .related--mini .mini { grid-template-columns: 44px 1fr 32px; padding: 14px; } }

/* Foto de servicio en el hero */
.art-photo { position: relative; margin: 0; width: min(460px, 100%); aspect-ratio: 4 / 3; border-radius: 24px; overflow: visible; }
.art-photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.art-photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid rgba(143,207,202,.35); border-radius: 24px; z-index: -1; }
.art-photo__ico { position: absolute; left: -18px; bottom: 22px; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--white); color: var(--azul); box-shadow: 0 16px 30px -14px rgba(0,0,0,.5); }
.art-photo__ico svg.icon { width: 32px; height: 32px; }
.ihero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
@media (max-width: 860px) {
  .ihero__art { display: block; justify-self: stretch; margin-top: 8px; }
  .ihero__art .art-sym { display: none; }
  .art-photo { width: 100%; aspect-ratio: 16 / 10; }
  .art-photo::before { display: none; }
  .art-photo__ico { left: 14px; bottom: 14px; width: 52px; height: 52px; border-radius: 14px; }
}
@media (max-width: 860px) { .ihero__grid { grid-template-columns: 1fr; gap: 28px; } }
.mobile-nav { pointer-events: auto; }

/* Línea final del footer + crédito DMA */
.site-footer .footer-bottom { align-items: center; }
.footer-bottom__right { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.dma-credit {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(201,211,221,.28); color: var(--sobre-azul); text-decoration: none; font-size: 13px; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.dma-credit strong { color: var(--white); font-weight: 700; letter-spacing: .04em; }
.dma-credit svg.icon { width: 14px; height: 14px; transition: transform .2s ease; }
.dma-credit:hover { background: var(--verde); border-color: var(--verde); color: var(--white); text-decoration: none; }
.dma-credit:hover svg.icon { transform: translateX(3px); }
@media (max-width: 600px) { .footer-bottom__right { flex-direction: column; align-items: flex-start; } }
.footer-bottom__right, .footer-bottom__right ul { margin: 0; padding: 0; }
@media (max-width: 600px) { .footer-bottom { align-items: flex-start; } }
@media (max-width: 600px) { .site-footer .footer-bottom { align-items: flex-start; } }

/* Páginas legales */
.legal-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding: clamp(24px, 4vw, 48px); }
.legal-nav { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.legal-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.legal-nav a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--grafito); text-decoration: none; font-size: 15px; font-weight: 500; }
.legal-nav a:hover { background: var(--blanco); color: var(--azul); }
.legal-nav a[aria-current="page"] { background: var(--tinte); color: var(--azul); font-weight: 600; }
.legal-nav .flabel { color: var(--verde); }
.legal-prose { max-width: 70ch; font-size: 16.5px; line-height: 1.75; color: var(--grafito); }
.legal-prose > * + * { margin-top: 14px; }
.legal-prose h2 { font-size: 20px; line-height: 1.3; margin-top: 36px; color: var(--azul); }
.legal-prose ul { padding-left: 20px; }
.legal-prose li + li { margin-top: 6px; }
.legal-prose strong { color: var(--azul); }
.legal-lead { font-size: 18px; color: var(--azul); }
.legal-date { margin-top: 36px !important; padding-top: 18px; border-top: 1px solid var(--linea); font-size: 14px; color: var(--grafito-claro); }
.ph { background: #FFF3CD; color: #6B4E00; padding: 1px 6px; border-radius: 4px; font-size: .92em; white-space: nowrap; }
@media (max-width: 860px) { .legal-card { grid-template-columns: 1fr; } .legal-nav { position: static; } .legal-nav ul { display: flex; flex-wrap: wrap; } }
