/* Mónica López Abogada — hoja de estilos
   Layout: texto protagonista y fotos completas (sin recortes) en tamaño moderado,
   con un panel azul claro desplazado detrás que recuerda las curvas del isotipo "ML". */
:root {
  --brand: #0E3B89;        /* Color principal */
  --brand-soft: #CEE2F3;   /* Color secundario */
  --accent: #BF0029;       /* Color de acento */
  --bg: #FFFFFF;
  --panel: #F1F6FC;
  --ink: #0E3B89;
  --text: #1C2B47;
  --muted: #4E5F7D;
  --line: #DAE5F1;
  --card: #FFFFFF;
  --accent-text: #BF0029;
  --shadow: 0 20px 44px -28px rgba(14, 59, 137, .45);
  --serif: "Libre Caslon Text", "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1140px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #081733; --panel: #0C1F45; --ink: #DCEAF7; --text: #D3DEEC; --muted: #A3B5CE;
    --line: #1F3766; --card: #0F2650; --accent-text: #FF6B81; --brand-soft: #1E4C97;
    --shadow: 0 20px 44px -28px rgba(0,0,0,.7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #081733; --panel: #0C1F45; --ink: #DCEAF7; --text: #D3DEEC; --muted: #A3B5CE;
  --line: #1F3766; --card: #0F2650; --accent-text: #FF6B81; --brand-soft: #1E4C97;
  --shadow: 0 20px 44px -28px rgba(0,0,0,.7); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 700; line-height: 1.2; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
h2 { font-size: clamp(1.55rem, 2.7vw, 2.1rem); }
h3 { font-size: 1.22rem; }
p { margin: 0; }
strong { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 780px; }
.section { padding-block: clamp(52px, 7vw, 92px); }
.section--panel { background: var(--panel); }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 26px; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.lead { font-size: 1.14rem; color: var(--muted); }
.hl { color: var(--accent-text); }
.quote { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; color: var(--ink); border-left: 3px solid var(--accent); padding-left: 20px; margin: 0; }
.note { font-size: .93rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 16px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-weight: 600; font-size: .9rem; letter-spacing: .04em; padding: 14px 26px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease; cursor: pointer; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: #BF0029; color: #fff; }
.btn--accent:hover { background: #A00022; }
.btn--brand { background: #0E3B89; color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
/* Logo: símbolo arriba, nombre debajo y ABOGADA centrado (según manual de marca) */
.brandmark { display: inline-flex; flex-direction: column; align-items: center; gap: 7px; text-decoration: none; color: var(--ink); padding-block: 10px; }
.brandmark svg.iso { width: 96px; height: auto; color: var(--ink); }
.brandmark .name { display: grid; justify-items: center; line-height: 1; text-align: center; }
.brandmark .name b { font-family: var(--serif); font-weight: 400; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.brandmark .name small { font-family: var(--serif); font-size: .5rem; letter-spacing: .42em; padding-left: .42em; color: var(--ink); margin-top: 5px; }
/* Logo de la cabecera: ~35 % más pequeño, mismas proporciones del manual */
.site-header .wrap { min-height: 64px; }
.site-header .brandmark { gap: 4px; padding-block: 8px; }
.site-header .brandmark svg.iso { width: 68px; }
.site-header .brandmark .name b { font-size: .66rem; }
.site-header .brandmark .name small { font-size: .42rem; margin-top: 3px; }
@media (max-width: 600px) {
  .site-header .brandmark svg.iso { width: 59px; }
  .site-header .brandmark .name b { font-size: .57rem; }
  .site-header .brandmark .name small { font-size: .37rem; }
}
main { overflow-x: clip; }
/* Cabecera: logo centrado arriba, línea fina y menú centrado debajo */
.site-header .wrap { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; min-height: 0; }
.brand-row { display: flex; justify-content: center; padding-block: 6px 8px; border-bottom: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 18px; padding-block: 10px; }
.nav > a, .nav-trigger { text-decoration: none; font-family: var(--sans); font-size: .9375rem; font-weight: 600; color: var(--text); padding: 6px 4px; background: none; border: 0; cursor: pointer; white-space: nowrap; position: relative; }
.nav > a:not(.btn)::after, .nav-trigger::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s ease; }
.nav > a:not(.btn):hover::after, .nav > a[aria-current]::after, .nav-trigger:hover::after, .nav-trigger.is-current::after { transform: scaleX(1); }
.nav > a:hover, .nav-trigger:hover, .nav > a[aria-current], .nav-trigger.is-current { color: var(--ink); }
.nav > a.btn { padding: 10px 22px; margin-left: 4px; color: #fff; background: #BF0029; border-radius: 999px; font-size: .9375rem; }
.nav > a.btn:hover { background: #A00022; }
.nav .btn::after { display: none; }
.nav .btn:hover { color: #fff; }
/* Desplegable «Servicios» */
.nav-item { position: relative; }
.nav-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav-trigger svg { width: 15px; height: 15px; transition: transform .2s ease; }
.nav-item.open .nav-trigger svg { transform: rotate(180deg); }
.subnav { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 60; width: 290px; max-width: calc(100vw - 32px); display: none; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 0 24px 0 24px; box-shadow: var(--shadow); text-align: left; }
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item.open .subnav { display: grid; }
@media (hover: hover) {
  .nav-item:hover .subnav { display: grid; }
  .nav-item:hover .nav-trigger svg { transform: rotate(180deg); }
}
.subnav a { display: block; text-decoration: none; color: var(--text); padding: 9px 12px; border-radius: 10px; font-size: .9375rem; line-height: 1.35; }
.subnav a.main { font-weight: 600; color: var(--ink); }
.subnav a.sub { font-size: .875rem; padding-left: 28px; position: relative; color: var(--muted); }
.subnav a.sub::before { content: ""; position: absolute; left: 14px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transform: translateY(-50%); }
.subnav a:hover, .subnav a[aria-current="page"] { background: var(--panel); color: var(--accent-text); }
/* Al bajar: se oculta el logo y queda solo el menú */
.site-header.compact .brand-row { display: none; }
/* Celular */
@media (max-width: 600px) {
  .nav { gap: 2px 12px; padding-block: 8px; }
  .nav > a, .nav-trigger { font-size: .9rem; padding: 6px 2px; }
  .nav .btn { display: none; } /* en celular ya está el botón flotante de WhatsApp */
  @media (max-width: 380px) { .nav { gap: 2px 8px; } .nav > a, .nav-trigger { font-size: .84rem; } }
  .nav-item { position: static; }
  .site-header .wrap { position: relative; }
  .subnav { left: 0; right: 0; transform: none; width: auto; max-width: none; top: 100%; max-height: 70vh; overflow-y: auto; }
}

/* Fotos: siempre completas, nunca recortadas */
.photo { position: relative; justify-self: center; width: 100%; }
.photo img { width: 100%; height: auto; border-radius: 0 56px 0 56px; position: relative; z-index: 1; }
.photo::before { content: ""; position: absolute; z-index: 0; inset: 14px -14px -14px 14px; background: var(--brand-soft); border-radius: 0 56px 0 56px; }
.photo--sm { max-width: 300px; }
.photo--md { max-width: 380px; }
.photo--lg { max-width: 420px; }

/* Quién soy (apertura del inicio) */
.intro { padding-block: clamp(44px, 6vw, 84px); }
/* Quién soy: la foto a la izquierda y el texto seguido que la rodea;
   título y primer párrafo al lado, el resto continúa debajo a todo el ancho */
.intro .wrap { display: block; }
.intro .wrap::after { content: ""; display: block; clear: both; }
.intro .photo { float: left; width: min(360px, 40%); margin: 6px clamp(28px, 4vw, 56px) 28px 0; }
.intro .text { display: block; }
.intro .text > * + * { margin-top: 20px; }
.intro .intro-title { margin-bottom: 4px; font-size: clamp(2.25rem, 4.2vw, 2.875rem); }
.intro .lead { font-size: 1.1875rem; line-height: 1.6; color: var(--text); }
.intro .text p:not(.lead) { font-size: 1.125rem; line-height: 1.6; }
.intro .quote { overflow: hidden; }
.intro .values, .intro .btn-row { clear: both; }
/* Valores: tres columnas, ícono arriba y palabra debajo (sin borde, para no confundirse con botones) */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.intro .text > .values { margin-top: 40px; }
.value { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-weight: 600; color: var(--ink); font-size: 1rem; }
.value .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--brand-soft); color: var(--ink); display: grid; place-items: center; }
.value .ic svg { width: 28px; height: 28px; }
/* Línea fina y botones centrados debajo */
.intro .text > .btn-row { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); justify-content: center; }
@media (max-width: 600px) {
  .values { gap: 8px; }
  .value { font-size: .9rem; gap: 10px; }
  .value .ic { width: 54px; height: 54px; }
  .value .ic svg { width: 24px; height: 24px; }
  .intro .text > .values { margin-top: 32px; }
  .intro .text > .btn-row { margin-top: 24px; padding-top: 24px; }
}
@media (max-width: 860px) {
  .intro .photo img, .intro .photo::before { border-radius: 0 36px 0 36px; }
  .intro .photo::before { inset: 10px -10px -10px 10px; }
}
@media (max-width: 600px) {
  .intro .photo { width: 44%; margin: 4px 22px 14px 0; }
  .intro .intro-title { font-size: 1.7rem; }
  .intro .lead, .intro .text p:not(.lead) { font-size: 1.0625rem; }
  .intro .text > * + * { margin-top: 16px; }
}

/* Servicios (inicio) */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.svc { background: var(--card); border: 1px solid var(--line); border-radius: 0 40px 0 0; padding: 30px 28px; display: grid; gap: 14px; grid-template-rows: auto auto 1fr auto; }
.svc-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft); color: var(--ink); display: grid; place-items: center; transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.svc-ic svg { width: 28px; height: 28px; }
.svc:hover .svc-ic, a.svc-ic:focus-visible { transform: scale(1.08); background: #0E3B89; color: #fff; }
a.svc-ic { text-decoration: none; cursor: pointer; }
.svc p { color: var(--muted); }
.svc .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }

/* Encabezado de páginas de servicio */
.crumbs { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); }
.page-hero { background: var(--panel); padding-block: clamp(36px, 5vw, 68px); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.page-hero .copy { display: grid; gap: 20px; min-width: 0; }
@media (max-width: 820px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero .photo { max-width: 260px; justify-self: start; } }
/* Registro de marcas: la foto empieza a la altura de "Inicio / ..." y no la sobrepasa */
.page-hero--top .wrap { align-items: start; }
.page-hero--top .photo { margin-top: 4px; }


/* Asesoría laboral: texto y foto siempre lado a lado */
@media (max-width: 820px) {
  .page-hero--side .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 38%); gap: 24px; }
  .page-hero--side .photo { max-width: 100%; justify-self: end; }
  .page-hero--side .photo img, .page-hero--side .photo::before { border-radius: 0 32px 0 32px; }
  .page-hero--side .photo::before { inset: 10px -10px -10px 10px; }
}
@media (max-width: 600px) {
  .page-hero--side h1 { font-size: 1.6rem; }
  .page-hero--side .copy { gap: 12px; }
  .page-hero--side .lead { font-size: 1rem; }
  .page-hero--side .copy p:not(.lead) { font-size: .92rem; }
  .page-hero--side .photo::before { inset: 10px -10px -10px 10px; }
  .page-hero--side .wrap { gap: 18px; padding-right: max(28px, env(safe-area-inset-right, 0px)); }
}

/* Servicios específicos: imagen horizontal arriba */
.page-hero--wide .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); }
.photo--wide { max-width: 500px; }
@media (max-width: 820px) { .page-hero--wide .wrap { grid-template-columns: 1fr; } .page-hero--wide .photo { max-width: 520px; } }
/* Tu foto en el cierre de cada servicio específico */
.band-photo { max-width: 230px; justify-self: end; }
.band-photo img, .band-photo::before { border-radius: 0 40px 0 40px; }
.band-photo::before { inset: 14px -14px -14px 14px; background: #CEE2F3; opacity: .35; }
@media (max-width: 760px) { .band-photo { max-width: 180px; justify-self: start; } }

/* Bloques */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card p { color: var(--muted); }
a.card { text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
a.card:hover { border-color: var(--ink); transform: translateY(-3px); }
.text-link { color: var(--accent-text); font-weight: 600; text-decoration: none; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 0 48px 0 0; padding: clamp(24px, 4vw, 36px); display: grid; gap: 16px; box-shadow: var(--shadow); min-width: 0; }

/* Listas */
.checks, .crosses, .dots { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li, .crosses li, .dots li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: #CEE2F3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.4' fill='none' stroke='%230E3B89' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.crosses li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: #BF0029 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.dots li::before { content: ""; position: absolute; left: 6px; top: .68em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.steps li { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 2px solid var(--brand-soft); }
@supports (grid-template-rows: subgrid) {
  .steps { row-gap: 30px; column-gap: 22px; }
  .steps li { grid-row: span 2; grid-template-rows: subgrid; row-gap: 8px; }
  .steps li:has(> :only-child) { grid-row: span 1; }
}
.steps p { color: var(--muted); }

.guarantee { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; background: #CEE2F3; border-radius: 0 64px 0 64px; padding: clamp(26px, 4vw, 42px); }
.guarantee h2, .guarantee p, .guarantee strong { color: #0E3B89; }
.guarantee svg { width: 56px; height: 56px; color: #BF0029; }
@media (max-width: 600px) { .guarantee { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 1.06rem; padding: 16px 30px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-family: var(--sans); font-size: 1.5rem; color: var(--accent-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* Banda final */
.band { background: #0E3B89; }
.band h2 { color: #fff; }
.band p { color: #DCE8F6; }
.band-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: center; padding-block: clamp(46px, 6vw, 80px); }
.band .iso-big { width: 150px; color: #CEE2F3; }
@media (max-width: 760px) { .band-inner { grid-template-columns: 1fr; } .band .iso-big { width: 100px; } }

/* Contacto */
.contact { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 480px); justify-content: center; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact-list { display: grid; gap: 12px; max-width: 520px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-decoration: none; color: var(--text); }
.contact-item svg { width: 24px; height: 24px; color: var(--accent-text); flex: none; }
.contact-item small { display: block; color: var(--muted); font-size: .85rem; font-weight: 500; }
.contact-item span { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
/* Contacto en celular: foto pequeña junto al título y los datos a todo el ancho */
@media (max-width: 760px) {
  .contact { grid-template-columns: minmax(0, 120px) minmax(0, 1fr); justify-content: stretch; column-gap: 22px; row-gap: 24px; align-items: center; }
  .contact .stack-lg { display: contents; }
  .contact .photo { grid-row: 1 / span 2; max-width: 120px; }
  .contact .eyebrow { grid-column: 2; align-self: end; }
  .contact h2 { grid-column: 2; align-self: start; font-size: 1.7rem; }
  .contact-list { grid-column: 1 / -1; max-width: none; gap: 10px; }
  .contact .photo img, .contact .photo::before { border-radius: 0 24px 0 24px; }
  .contact .photo::before { inset: 10px -10px -10px 10px; }
  .contact-item { padding: 12px 14px; gap: 12px; }
  .contact-item svg { width: 22px; height: 22px; }
  .contact-item small { font-size: .8rem; }
  .contact-item span { font-size: .95rem; }
}

/* Footer */
.site-footer { background: #0A2C68; color: #CEE2F3; padding-block: 52px 36px; }
.site-footer .wrap { display: grid; gap: 32px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.footer-top > * { min-width: 0; }
.site-footer .brandmark, .site-footer .brandmark .name b, .site-footer .brandmark .name small, .site-footer .brandmark svg.iso { color: #CEE2F3; }
.site-footer h4 { font-family: var(--sans); color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #CEE2F3; text-decoration: none; font-size: .94rem; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(206,226,243,.2); padding-top: 20px; font-size: .84rem; color: #9DB5D6; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }

.wa-float { position: fixed; z-index: 40; width: 56px; height: 56px; border-radius: 50%; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); background: #BF0029; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(191,0,41,.6); }
.wa-float svg { width: 28px; height: 28px; }
figure { margin: 0; }

/* Movimiento al deslizar (solo se activa con JavaScript y si el usuario no pidió reducir movimiento) */
.will-reveal.in { transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.will-reveal[data-reveal="left"] { opacity: 0; transform: translateX(-60px); }
.will-reveal[data-reveal="right"] { opacity: 0; transform: translateX(60px); }
.will-reveal[data-reveal="up"] { opacity: 0; transform: translateY(28px); }
.will-reveal.in { opacity: 1; transform: none; }
.will-reveal.in.card, .will-reveal.in.svc { transition-property: opacity, transform, border-color; }

/* Entrada suave del encabezado de cada página al cargar */
@keyframes ml-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes ml-slide { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .intro .text > *, .page-hero .copy > * { animation: ml-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .intro .text > :nth-child(2), .page-hero .copy > :nth-child(2) { animation-delay: .08s; }
  .intro .text > :nth-child(3), .page-hero .copy > :nth-child(3) { animation-delay: .16s; }
  .intro .text > :nth-child(4), .page-hero .copy > :nth-child(4) { animation-delay: .24s; }
  .intro .text > :nth-child(5), .page-hero .copy > :nth-child(5) { animation-delay: .32s; }
  .intro .text > :nth-child(6), .page-hero .copy > :nth-child(6) { animation-delay: .40s; }
  .intro .text > :nth-child(n+7) { animation-delay: .48s; }
  .intro .photo, .page-hero .photo { animation: ml-slide 1s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .photo img { transition: transform .5s ease; }
  .photo:hover img { transform: translate(-4px, -4px); }
}

/* Propuesta de valor (apertura del inicio) */
.hero-home { background: #0E3B89; color: #fff; text-align: center; padding-block: clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero-home .wrap { display: grid; justify-items: center; gap: 22px; max-width: 880px; position: relative; z-index: 1; }
.hero-home .eyebrow { color: #CEE2F3; letter-spacing: .2em; }
.hero-home h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.15; max-width: 18ch; }
.hero-home .lead { color: #DCE8F6; font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 56ch; }
.hero-home .btn-row { justify-content: center; margin-top: 6px; }
.hero-home .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero-home .btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.hero-home::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -260px; border-radius: 50%; border: 60px solid rgba(206, 226, 243, .07); }
@media (prefers-reduced-motion: no-preference) {
  .hero-home .wrap > * { animation: ml-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-home .wrap > :nth-child(2) { animation-delay: .1s; }
  .hero-home .wrap > :nth-child(3) { animation-delay: .2s; }
  .hero-home .wrap > :nth-child(4) { animation-delay: .3s; }
}

/* Registro de marcas en celular: foto centrada y un poco más grande (es casi cuadrada) */
@media (max-width: 600px) { .page-hero--side.page-hero--top .wrap { align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 44%); } .page-hero--side.page-hero--top .photo { margin-top: 0; } }
