/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/GolosText-latin-ext-ab0844.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/GolosText-latin-0defa2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/GolosText-latin-ext-ab0844.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/GolosText-latin-0defa2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/GolosText-latin-ext-ab0844.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/GolosText-latin-0defa2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/Montserrat-latin-ext-ccd96b.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/Montserrat-latin-e56e84.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/Montserrat-latin-ext-ccd96b.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/Montserrat-latin-e56e84.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================
   CY Consultoría — hoja de estilos
   Estética editorial: Golos Text, esquinas rectas, verde petróleo + menta.
   Animaciones: ease-out personalizadas, duraciones cortas, sin scale(0),
   respetando prefers-reduced-motion.
   ========================================================== */
:root {
  --ink-950: #000d0e;
  --ink-900: #001517;
  --ink-800: #012b30;
  --teal: #056671;
  --mint: #14f3c1;
  --mint-ink: #001517;
  --bg: #f5f7f7;
  --tint: #ebf4f5;
  --line: #d8e9eb;
  --white: #ffffff;
  --text: #001517;
  --text-2: #415355;
  --text-3: #7d8c8e;
  --wa: #1fa855;

  --max: 1266px;
  --gutter: 32px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.38; letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--mint); color: var(--mint-ink); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--mint); color: var(--mint-ink); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 700px) { :root { --gutter: 16px; } }

/* Bilingüe por bloques (páginas largas) */
html[lang="es"] [data-l="en"], html[lang="en"] [data-l="es"] { display: none !important; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7.4vw, 6rem); line-height: 1.01; letter-spacing: -0.064em; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.04; letter-spacing: -0.058em; }
h3 { font-size: clamp(1.4rem, 2vw, 1.6rem); line-height: 1.15; letter-spacing: -0.035em; }
h4 { font-size: 1.56rem; line-height: 1.2; letter-spacing: -0.035em; }
p { margin: 0; text-wrap: pretty; }
.accent { color: var(--mint); }
.muted { color: var(--text-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .94rem; letter-spacing: -0.01em; color: var(--text); }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--teal); }
.dark .eyebrow { color: #fff; }
.dark .eyebrow::before { background: var(--mint); }
.lead { font-size: 1.06rem; color: var(--text-2); max-width: 46ch; }
.dark .lead { color: var(--line); }

/* ---------- Botones (texto + caja de icono) ---------- */
.btn {
  --b-bg: var(--mint); --b-fg: var(--mint-ink); --i-bg: var(--ink-800); --i-fg: var(--mint);
  position: relative; display: inline-flex; align-items: center; gap: 22px;
  height: 48px; padding: 5px 5px 5px 26px; border: 0; border-radius: 1px;
  background: var(--b-bg); color: var(--b-fg); text-decoration: none; cursor: pointer;
  font-size: .97rem; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden;
  transition: transform 160ms var(--ease-out), background-color 240ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn__icon { width: 38px; height: 38px; display: grid; place-items: center; background: var(--i-bg); color: var(--i-fg); flex: none; overflow: hidden; position: relative; }
.btn__icon svg { width: 16px; height: 16px; transition: transform 320ms var(--ease-out); }
.btn__icon svg + svg { position: absolute; transform: translate(-150%, 150%); }
.btn--plain { padding: 0 26px; gap: 10px; }
.btn--light { --b-bg: var(--white); --b-fg: var(--text); --i-bg: var(--ink-800); --i-fg: var(--mint); }
.btn--tint { --b-bg: var(--tint); --b-fg: var(--text); }
.btn--dark { --b-bg: var(--ink-800); --b-fg: #fff; --i-bg: var(--mint); --i-fg: var(--mint-ink); }
.btn--wa { --b-bg: var(--wa); --b-fg: #fff; --i-bg: rgba(0,0,0,.18); --i-fg: #fff; }
.btn--wa .wa-ico { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn__icon svg:first-child { transform: translate(150%, -150%); }
  .btn:hover .btn__icon svg + svg { transform: none; }
  .btn--plain:hover { filter: brightness(1.04); }
}

/* ---------- Navegación flotante ---------- */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 80; pointer-events: none; transition: transform 420ms var(--ease-out); }
.nav-wrap.is-hidden { transform: translateY(-120%); }
.nav {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 8px 0 20px; background: rgba(0, 21, 23, .72); color: #fff;
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,.08);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.32rem; letter-spacing: -0.05em; color: #fff; }
.logo svg { width: 26px; height: 26px; color: var(--mint); }
.nav__links { display: flex; gap: 2px; }
.nav__links a { text-decoration: none; padding: 8px 13px; font-size: .95rem; color: rgba(255,255,255,.78); transition: color 200ms var(--ease-out); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; }
.nav__right { display: flex; align-items: center; gap: 8px; }
.nav .btn { height: 48px; }

.lang { display: inline-flex; position: relative; background: rgba(255,255,255,.08); padding: 3px; }
.lang button { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 9px 11px; font-size: .82rem; letter-spacing: .02em; color: rgba(255,255,255,.6); transition: color 220ms var(--ease-out); }
.lang button[aria-pressed="true"] { color: var(--mint-ink); }
.lang__pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); background: var(--mint); transition: transform 300ms var(--ease-out); }
html[lang="en"] .lang__pill { transform: translateX(100%); }

.menu-btn { display: none; width: 48px; height: 48px; border: 0; background: rgba(255,255,255,.08); cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform 260ms var(--ease-out), background-color 160ms; }
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { transform: translateY(-6px); } .menu-btn span::after { transform: translateY(6px); }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: rotate(45deg); }
.menu-open .menu-btn span::after { transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 79; background: var(--ink-900); color: #fff;
  padding: 104px 16px 32px; display: flex; flex-direction: column; gap: 2px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 480ms var(--ease-in-out), visibility 0s linear 480ms;
}
.mobile-nav a:not(.btn) { text-decoration: none; font-size: 2rem; letter-spacing: -0.05em; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); opacity: 0; transform: translateY(12px); transition: opacity 300ms var(--ease-out), transform 400ms var(--ease-out); }
.mobile-nav .btn { margin-top: 24px; align-self: flex-start; }
.menu-open .mobile-nav { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
.menu-open .mobile-nav a:not(.btn) { opacity: 1; transform: none; transition-delay: calc(140ms + var(--i, 0) * 40ms); }
@media (max-width: 1080px) { .nav__links { display: none; } .menu-btn { display: grid; } }
@media (max-width: 640px) { .nav .btn { display: none; } .nav { padding-left: 14px; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink-950); color: #fff; padding: 190px 0 0; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero__inner { position: relative; }
.hero h1 { max-width: 10.5em; }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 150px; }
.hero__copy p { font-size: 1.36rem; line-height: 1.3; letter-spacing: -0.035em; max-width: 21em; color: #fff; }
.hero__copy .btn { margin-top: 40px; }
.hero__media { position: relative; width: min(380px, 40%); aspect-ratio: 16/10; overflow: hidden; background: var(--ink-800); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media figcaption { position: absolute; left: 12px; bottom: 12px; font-size: .78rem; background: rgba(0,21,23,.7); padding: 6px 10px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero__ticker { margin-top: 64px; border-top: 1px solid rgba(255,255,255,.08); padding: 28px 0; }
@media (max-width: 760px) {
  .hero { padding-top: 140px; }
  .hero__row { flex-direction: column; align-items: stretch; margin-top: 70px; }
  .hero__media { width: 100%; }
}

/* ---------- Marquesina ---------- */
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; flex: none; gap: 56px; padding-right: 56px; align-items: center; animation: marquee var(--speed, 38s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; font-size: 1.3rem; letter-spacing: -0.04em; color: rgba(255,255,255,.72); white-space: nowrap; }
.ticker-item svg { width: 22px; height: 22px; color: var(--mint); }
.words { background: var(--tint); padding: 64px 0; }
.words .marquee__track { gap: 40px; padding-right: 40px; }
.words span { font-size: clamp(3rem, 7vw, 5.6rem); letter-spacing: -0.06em; white-space: nowrap; color: var(--ink-900); }
.words i { font-style: normal; color: var(--ink-900); font-size: 2rem; }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section--white { background: var(--white); }
.section--tint { background: var(--tint); }
.dark { background: var(--ink-800); color: #fff; }
.dark--deep { background: var(--ink-950); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.head h2 { margin-top: 16px; max-width: 13em; }
.head--center { flex-direction: column; align-items: center; text-align: center; }
.head--center .lead { margin: 18px auto 0; text-align: center; }

/* ---------- Sobre nosotros ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 2.2fr; gap: 40px; align-items: start; }
.about__grid .eyebrow { margin-top: 12px; }
.about__statement { font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.16; letter-spacing: -0.05em; text-indent: 2.2em; }
.about__statement .w { color: #b9c9cb; transition: color 300ms var(--ease-out); }
.about__statement .w.is-on { color: var(--text); }
.about__meta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.avatars { display: flex; align-items: center; gap: 12px; font-size: .84rem; color: var(--text-2); }
.avatars__imgs { display: flex; }
.avatars__imgs img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); margin-left: -10px; }
.avatars__imgs img:first-child { margin-left: 0; }
.avatars strong { display: block; color: var(--text); font-weight: 400; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 80px; }
.pillar { background: var(--white); padding: 30px; min-height: 395px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: transform 400ms var(--ease-out); }
.pillar p { color: var(--text-2); margin-top: 14px; max-width: 30ch; }
.pillar--dark { background: var(--ink-800); color: #fff; }
.pillar--dark p { color: var(--line); }
.pillar--dark svg.rays { position: absolute; top: -40px; left: -40px; width: 260px; height: 260px; color: rgba(255,255,255,.12); }
.icon-box { width: 48px; height: 48px; display: grid; place-items: center; background: var(--tint); color: var(--teal); position: relative; }
.icon-box svg { width: 22px; height: 22px; }
.dark .icon-box, .pillar--dark .icon-box { background: rgba(255,255,255,.08); color: var(--mint); }
@media (hover: hover) and (pointer: fine) { .pillar:hover { transform: translateY(-6px); } }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } .pillars { grid-template-columns: 1fr; } .pillar { min-height: 280px; } }

/* ---------- Servicios (carrusel) ---------- */
.carousel { position: relative; }
.carousel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.svc { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; position: relative; aspect-ratio: 405/520; overflow: hidden; color: #fff; text-decoration: none; background: var(--ink-800); }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); transition: transform 700ms var(--ease-out), filter 500ms var(--ease-out); }
.svc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,21,23,0) 35%, rgba(0,21,23,.92) 100%); }
.svc__body { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; }
.svc .icon-box { background: rgba(0,21,23,.55); color: #fff; margin-bottom: 18px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.svc p { color: var(--line); margin-top: 10px; font-size: .97rem; }
@media (hover: hover) and (pointer: fine) { .svc:hover img { transform: scale(1.05); filter: grayscale(0); } }
@media (max-width: 960px) { .svc { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 600px) { .svc { flex-basis: 86%; } }
.carousel__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 40px; }
.carousel__foot p { max-width: 34ch; color: var(--text-2); }
.carousel__ctrls { display: flex; gap: 8px; }
.arrow-btn { width: 48px; height: 48px; border: 0; background: var(--tint); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background-color 200ms var(--ease-out), transform 160ms var(--ease-out); }
.arrow-btn:active { transform: scale(.94); }
.arrow-btn:hover { background: var(--mint); }
.arrow-btn:disabled { opacity: .35; cursor: default; background: var(--tint); }
.arrow-btn svg { width: 18px; height: 18px; }

/* ---------- Valores ---------- */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 240px; max-width: 1100px; margin: 0 auto; position: relative; }
.value { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); padding: 26px; min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; }
.value p { color: var(--line); margin-top: 12px; max-width: 32ch; }
.values__img { position: absolute; left: 50%; top: 50%; width: 200px; aspect-ratio: 3/4; transform: translate(-50%, -50%); overflow: hidden; z-index: 1; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.values__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) { .values { column-gap: 16px; } .values__img { display: none; } }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } .values__img { display: block; } .values__img { position: relative; left: auto; top: auto; transform: none; width: 100%; aspect-ratio: 16/10; order: -1; } .value { min-height: 0; gap: 40px; } }

/* ---------- Casos / Testimonios ---------- */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case { position: relative; aspect-ratio: 615/520; overflow: hidden; color: #fff; background: var(--ink-800); }
.case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.case::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,21,23,0) 40%, rgba(0,21,23,.88) 100%); }
.case__tag { position: absolute; top: 20px; left: 20px; z-index: 1; font-size: .82rem; padding: 6px 12px; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.case__body { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; }
.case__body h3 { max-width: 17em; }
.case__meta { display: flex; gap: 10px; align-items: center; margin-top: 18px; font-size: .9rem; color: var(--line); flex-wrap: wrap; }
.case__meta b { font-weight: 400; color: var(--mint); }
.case__meta i { width: 4px; height: 4px; background: var(--mint); border-radius: 50%; }
@media (hover: hover) and (pointer: fine) { .case:hover img { transform: scale(1.04); } }
@media (max-width: 800px) { .cases { grid-template-columns: 1fr; } .case { aspect-ratio: 4/4.2; } }

.testi { margin-top: 16px; }
.testi .marquee__track { gap: 16px; padding-right: 16px; align-items: stretch; --speed: 60s; }
.t-card { width: 340px; flex: none; background: var(--white); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.t-card .stars { color: var(--teal); letter-spacing: 3px; font-size: .9rem; }
.t-card blockquote { margin: 12px 0 0; font-size: 1.02rem; line-height: 1.38; white-space: normal; }
.t-who { display: flex; gap: 12px; align-items: center; }
.t-who img { width: 42px; height: 42px; object-fit: cover; }
.t-who strong { display: block; font-weight: 400; }
.t-who span { font-size: .84rem; color: var(--text-3); }
.center { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Enfoque (tabs con scroll) ---------- */
.approach { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; }
.approach__tabs { position: sticky; top: 120px; align-self: start; list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.approach__tabs a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.1rem; color: #b9c9cb; transition: color 260ms var(--ease-out); }
.approach__tabs a::before { content: ""; width: 7px; height: 7px; background: currentColor; }
.approach__tabs a.is-active { color: var(--text); }
.step { padding-bottom: 72px; }
.step:last-child { padding-bottom: 0; }
.step__img { aspect-ratio: 650/420; overflow: hidden; background: var(--tint); }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.step .icon-box { background: none; width: auto; height: auto; justify-content: start; margin: 22px 0 10px; color: var(--text); }
.step p { color: var(--text-2); margin-top: 12px; max-width: 46ch; }
@media (max-width: 860px) { .approach { grid-template-columns: 1fr; } .approach__tabs { display: none; } }

/* ---------- Ventajas (tarjetas que convergen) ---------- */
.why { position: relative; min-height: 220vh; }
.why__sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.why__center { text-align: center; position: relative; z-index: 2; padding: 0 16px; max-width: 640px; }
.why__center h2 { margin: 16px 0 18px; }
.why__center .lead { margin: 0 auto 36px; text-align: center; }
.why-card { position: absolute; width: 300px; background: var(--teal); color: #fff; padding: 22px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; border: 6px solid var(--white); z-index: 1; will-change: transform; }
.why-card .icon-box { background: var(--ink-900); color: var(--mint); }
.why-card p { color: var(--line); margin-top: 10px; font-size: .95rem; }
.why-card:nth-of-type(1) { left: 4%; top: 6%; }
.why-card:nth-of-type(2) { right: 4%; top: 10%; }
.why-card:nth-of-type(3) { left: 8%; bottom: 6%; }
.why-card:nth-of-type(4) { right: 7%; bottom: 4%; }
@media (max-width: 1000px) {
  .why { min-height: 0; }
  .why__sticky { position: static; height: auto; display: block; padding: 0; }
  .why__center { margin: 0 auto 40px; }
  .why__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .why-card { position: static; width: auto; transform: none !important; border: 0; }
}
@media (max-width: 600px) { .why__cards { grid-template-columns: 1fr; } .why-card { min-height: 0; gap: 32px; } }

/* ---------- Comparación ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare__col { border: 1px solid rgba(255,255,255,.08); padding: 20px; }
.compare__intro { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); padding: 22px; min-height: 140px; }
.compare__intro p { color: var(--line); margin-top: 14px; font-size: .97rem; max-width: 42ch; }
.compare__col--us .compare__intro { background: rgba(20,243,193,.06); border-color: rgba(20,243,193,.18); }
.compare ul { list-style: none; padding: 12px 6px 4px; margin: 0; display: grid; gap: 16px; }
.compare li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; }
.compare li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.compare__col--them li { color: rgba(255,255,255,.62); }
.compare__col--them li svg { color: rgba(255,255,255,.4); }
.compare__col--us li svg { color: var(--mint); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,.08); margin-top: 80px; }
.stat { text-align: center; padding: 56px 16px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.08); }
.stat strong { display: block; font-weight: 400; font-size: clamp(2.8rem, 5vw, 4.1rem); letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; color: var(--line); font-size: .92rem; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); } }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post { text-decoration: none; display: block; }
.post__img { aspect-ratio: 400/330; overflow: hidden; background: var(--tint); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.post__meta { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .86rem; color: var(--text-3); }
.post__meta i { width: 4px; height: 4px; background: var(--teal); border-radius: 50%; }
.post h3 { margin-top: 10px; font-size: 1.4rem; }
@media (hover: hover) and (pointer: fine) { .post:hover .post__img img { transform: scale(1.05); } }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; }
.faq__side { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.faq__help img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.faq__help p { margin: 16px 0 18px; }
.faq__list { display: grid; gap: 4px; }
.faq details { background: transparent; transition: background-color 300ms var(--ease-out); }
.faq details[open] { background: var(--bg); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { width: 24px; height: 24px; border-radius: 50%; background: var(--teal); flex: none; position: relative; transition: transform 320ms var(--ease-out); }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; background: #fff; transform: translate(-50%, -50%); }
.faq .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); }
.faq .answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 340ms var(--ease-out); }
.faq details[open] .answer { grid-template-rows: 1fr; }
.faq .answer > div { overflow: hidden; }
.faq .answer p { padding: 0 20px 22px; color: var(--text-2); max-width: 56ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- CTA final + footer ---------- */
.footer-zone { background: var(--ink-800); color: #fff; padding: 0 0 24px; }
.cta { position: relative; overflow: hidden; min-height: 520px; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(1,43,48,.78); }
.cta__in { position: relative; z-index: 1; max-width: 760px; }
.cta p { color: var(--line); margin: 18px auto 0; max-width: 40ch; }
.cta__row { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 36px; flex-wrap: wrap; }
.cta__trust { text-align: left; font-size: .88rem; color: var(--line); }
.cta__trust strong { display: block; font-weight: 400; color: #fff; font-size: .95rem; }

.footer { border: 1px solid rgba(255,255,255,.08); border-top: 0; padding: 48px 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--line); margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { text-decoration: none; color: #fff; transition: color 200ms var(--ease-out); }
.footer a:hover { color: var(--mint); }
.footer__lead { font-size: 1.15rem; letter-spacing: -0.03em; max-width: 22ch; }
.footer__contact { margin-top: 26px; display: grid; gap: 8px; font-size: .95rem; color: var(--line); }
.footer__contact a { color: var(--line); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px 0 0; font-size: .88rem; color: var(--line); }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; color: #fff; text-align: left; }
.linklike:hover { color: var(--mint); }
@media (max-width: 900px) { .footer { grid-template-columns: 1fr 1fr; padding: 32px 20px; } .footer > :first-child { grid-column: 1 / -1; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31,168,85,.7); transition: transform 200ms var(--ease-out), bottom 300ms var(--ease-out); animation: pop-in 500ms var(--ease-out) 1.4s both; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { transform: translateY(-3px); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.9); } }
body.has-banner .wa-float { bottom: calc(20px + var(--banner-h, 0px)); }

/* ---------- Banner de cookies ---------- */
.cookie-banner { position: fixed; left: 16px; bottom: 16px; z-index: 90; width: min(520px, calc(100% - 32px)); background: var(--white); color: var(--text); padding: 24px; box-shadow: 0 30px 70px -20px rgba(0,21,23,.45); border-top: 3px solid var(--mint); opacity: 0; transform: translateY(16px); visibility: hidden; transition: opacity 240ms var(--ease-out), transform 360ms var(--ease-out), visibility 0s linear 360ms; }
.cookie-banner.is-visible { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.cookie-banner h2 { font-size: 1.3rem; letter-spacing: -0.04em; margin-bottom: 8px; }
.cookie-banner p { font-size: .92rem; color: var(--text-2); }
.cookie-banner a { color: var(--teal); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cookie-banner .btn { height: 44px; padding: 0 18px; flex: 1 1 auto; justify-content: center; }

/* ---------- Páginas internas ---------- */
.page-hero { background: var(--ink-950); color: #fff; padding: 180px 0 72px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-top: 18px; max-width: 14em; }
.page-hero p { color: var(--line); margin-top: 18px; max-width: 52ch; }
.legal { display: grid; grid-template-columns: 260px 1fr; gap: 64px; padding: 72px 0 120px; }
.legal__toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 2px; font-size: .94rem; }
.legal__toc a { text-decoration: none; color: var(--text-3); padding: 6px 0 6px 14px; border-left: 2px solid var(--line); transition: color 200ms, border-color 200ms; }
.legal__toc a:hover { color: var(--text); border-color: var(--teal); }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.7rem; margin: 48px 0 14px; scroll-margin-top: 110px; letter-spacing: -0.045em; }
.prose > div > h2:first-child, .prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--text-2); line-height: 1.6; letter-spacing: -0.01em; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 20px; margin: 12px 0; }
.prose li { margin: 6px 0; }
.prose a { color: var(--teal); }
.prose strong { font-weight: 600; color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .9rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--tint); font-weight: 600; }
.note { background: var(--tint); padding: 16px 18px; margin-top: 22px; font-size: .92rem; border-left: 3px solid var(--teal); }
@media (max-width: 900px) { .legal { grid-template-columns: 1fr; gap: 0; padding-top: 48px; } .legal__toc { display: none; } }

.article-img { aspect-ratio: 16/8; overflow: hidden; margin-bottom: 40px; }
.article-img img { width: 100%; height: 100%; object-fit: cover; }

/* Configurar cookies */
.pref { background: var(--white); padding: 24px; display: flex; gap: 20px; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.pref h3 { font-size: 1.25rem; margin-bottom: 6px; }
.pref p { font-size: .94rem; color: var(--text-2); }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: #c3d0d2; transition: background-color 220ms var(--ease-out); }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; background: #fff; transition: transform 280ms var(--ease-out); }
.switch input:checked + span { background: var(--teal); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: .6; }
.switch input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 3px; }
.pref-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding: 72px 0 120px; }
.contact__cards { display: grid; gap: 8px; align-content: start; }
.c-card { background: var(--white); padding: 22px; display: flex; gap: 16px; align-items: center; text-decoration: none; transition: background-color 200ms var(--ease-out); }
a.c-card:hover { background: var(--tint); }
.c-card small { display: block; color: var(--text-3); font-size: .82rem; }
.c-card strong { font-weight: 400; font-size: 1.1rem; word-break: break-word; }
.form { background: var(--white); padding: 32px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .9rem; color: var(--text-2); }
.form input, .form textarea, .form select { font: inherit; font-size: 1rem; color: var(--text); padding: 14px 14px; border: 1px solid var(--line); background: var(--bg); border-radius: 0; transition: border-color 200ms; width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--teal); }
.form textarea { min-height: 130px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__check { display: flex !important; grid-template-columns: none; gap: 10px !important; align-items: flex-start; font-size: .86rem !important; }
.form__check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--teal); }
.form__actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .form__row { grid-template-columns: 1fr; } .form { padding: 20px; } }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 95; background: var(--ink-900); color: #fff; padding: 12px 18px; font-size: .92rem; transform: translate(-50%, 12px); opacity: 0; transition: opacity 200ms var(--ease-out), transform 280ms var(--ease-out); pointer-events: none; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Apariciones ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out), filter 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }
.js .reveal-img { clip-path: inset(12% 0 0 0); transition: clip-path 1100ms var(--ease-out); }
.js .reveal-img img { transform: scale(1.12); transition: transform 1400ms var(--ease-out); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-img.is-in img { transform: none; }
.js .split .line { display: block; vertical-align: top; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js .split .line > span { display: block; transform: translateY(105%); transition: transform 1000ms var(--ease-out); transition-delay: calc(var(--l, 0) * 90ms + 120ms); }
.js .split.is-in .line > span { transform: none; }
.lang-swap { animation: lang-swap 340ms var(--ease-out); }
@keyframes lang-swap { from { opacity: .15; filter: blur(3px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-img, .js .reveal-img img, .js .split .line > span { opacity: 1; transform: none; filter: none; clip-path: none; }
  .marquee__track { animation: none; }
  .why-card { transform: none !important; }
}
.page-hero .eyebrow { color: #fff; }
.page-hero .eyebrow::before { background: var(--mint); }

/* ==========================================================
   Daniel Pemberthy: capa propia sobre la hoja base de la plantilla
   ========================================================== */

/* Revisión */
.review-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #ffe58a; color: #3a2e00; font-size: .82rem; text-align: center; padding: 6px 12px; }
.is-review { padding-bottom: 30px; }
.is-review .wa-float { bottom: 44px; }
mark.pend { background: #ffe58a; color: #3a2e00; padding: 2px 6px; font-size: .85em; letter-spacing: 0; display: inline; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Logo */
.logo { gap: 12px; font-size: 1rem; }
.logo__mark { width: 36px; height: 36px; flex: none; display: grid; place-items: center; background: var(--mint); color: var(--mint-ink); font-weight: 600; font-size: .95rem; letter-spacing: -0.02em; }
.logo__txt { display: grid; line-height: 1.1; }
.logo__txt strong { font-weight: 500; font-size: 1.12rem; letter-spacing: -0.035em; }
.logo__txt small { font-size: .72rem; color: rgba(255,255,255,.62); letter-spacing: -0.005em; }
@media (max-width: 1240px) { .nav__links a { padding: 8px 10px; } }
@media (max-width: 420px) { .logo__txt small { display: none; } }

/* Tipografía más sobria para frases largas */
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); letter-spacing: -0.055em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -0.05em; }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); max-width: 18em; }
.page-hero p { font-size: 1.12rem; }
.head h2 { max-width: 17em; }

/* Botón fantasma sobre fondo oscuro */
.btn--ghost { --b-bg: rgba(255,255,255,.08); --b-fg: #fff; --i-bg: rgba(255,255,255,.1); --i-fg: var(--mint); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { --b-bg: rgba(255,255,255,.14); } }
.btn { white-space: normal; text-align: left; min-height: 48px; height: auto; line-height: 1.2; }

/* Hero */
.hero--dp { padding: 170px 0 110px; }
.hero__grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; align-items: end; margin-top: 24px; }
.hero--dp h1 { max-width: 14em; }
.hero__sub { font-size: 1.24rem; line-height: 1.4; letter-spacing: -0.025em; max-width: 34em; color: var(--line); margin-top: 28px; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.aud { background: rgba(1,43,48,.62); border: 1px solid rgba(255,255,255,.1); padding: 26px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.aud__t { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; }
.aud ul { list-style: none; margin: 0; padding: 0; display: grid; }
.aud li { display: flex; gap: 14px; align-items: flex-start; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 1.02rem; line-height: 1.3; }
.aud li:first-child { border-top: 0; padding-top: 0; }
.aud li svg { width: 22px; height: 22px; flex: none; color: var(--mint); margin-top: 1px; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; gap: 40px; } .hero--dp { padding: 140px 0 72px; } }

/* Problemas */
.probs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.probs--3 { grid-template-columns: repeat(3, 1fr); }
.prob { background: var(--white); padding: 26px; display: flex; flex-direction: column; gap: 30px; min-height: 210px; }
.prob p { font-size: 1.08rem; line-height: 1.35; letter-spacing: -0.02em; }
@media (max-width: 1000px) { .probs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .probs, .probs--3 { grid-template-columns: 1fr; } .prob { min-height: 0; flex-direction: row; gap: 16px; align-items: flex-start; padding: 20px; } .prob .icon-box { flex: none; } }

/* Servicios */
.svcs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.svc4 { background: var(--bg); padding: 32px; display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 100px; }
.svc4__top { display: flex; justify-content: space-between; align-items: flex-start; }
.svc4__letter { font-size: 2.6rem; line-height: 1; color: var(--line); letter-spacing: -0.04em; }
.svc4 h3 { font-size: 1.6rem; }
.svc4__dl { margin: 0; display: grid; gap: 14px; }
.svc4__dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.svc4__dl dt { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); padding-top: 3px; }
.svc4__dl dd { margin: 0; color: var(--text-2); line-height: 1.45; }
.svc4__link, .mode__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--teal); text-decoration: none; font-size: .97rem; padding-top: 6px; }
.svc4__link svg, .mode__link svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
.svc4__link:hover svg, .mode__link:hover svg { transform: translate(2px, -2px); }
.svc4__link:hover, .mode__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.svcs__foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 860px) { .svcs { grid-template-columns: 1fr; } .svc4 { padding: 24px; } }
@media (max-width: 480px) { .svc4__dl div { grid-template-columns: 1fr; gap: 4px; } }

/* Pasos */
.steps4 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: s; }
.step4 { border-top: 1px solid rgba(255,255,255,.18); padding: 24px 4px 0 0; }
.step4__n { display: block; font-size: .9rem; color: var(--mint); margin-bottom: 40px; letter-spacing: .04em; }
.step4 h3 { font-size: 1.32rem; margin-bottom: 12px; }
.step4 p { color: var(--line); line-height: 1.5; font-size: .98rem; }
.dark__note { margin-top: 56px; max-width: 62ch; color: var(--line); border-left: 2px solid var(--mint); padding-left: 16px; }
@media (max-width: 1000px) { .steps4 { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }
@media (max-width: 560px) { .steps4 { grid-template-columns: 1fr; row-gap: 28px; } .step4__n { margin-bottom: 14px; } }

/* Sobre mí */
.about2 { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 64px; align-items: start; }
.about2__txt { display: grid; gap: 16px; margin-top: 26px; max-width: 60ch; }
.about2__txt p { color: var(--text-2); line-height: 1.6; font-size: 1.06rem; letter-spacing: -0.012em; }
.portrait__ph { aspect-ratio: 4/5; background: linear-gradient(160deg, var(--ink-800), var(--ink-950)); display: grid; place-items: center; }
.portrait__ph span { font-size: 4.4rem; color: var(--mint); letter-spacing: -0.06em; }
.portrait figcaption { margin-top: 10px; font-size: .9rem; }
@media (max-width: 860px) { .about2 { grid-template-columns: 1fr; gap: 32px; } .portrait { max-width: 300px; } }

/* Modalidades */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mode { background: var(--bg); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.mode h3 { margin-top: 18px; font-size: 1.7rem; }
.mode__what { font-size: 1.08rem; line-height: 1.35; }
.mode__when { color: var(--text-2); line-height: 1.5; font-size: .97rem; margin-bottom: 10px; }
.modes__note { margin-top: 22px; color: var(--text-2); font-size: .95rem; }
@media (max-width: 900px) { .modes { grid-template-columns: 1fr; } }

/* Páginas internas */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.jump a { color: #fff; text-decoration: none; padding: 10px 14px; border: 1px solid rgba(255,255,255,.18); font-size: .94rem; transition: border-color 200ms, color 200ms; }
.jump a:hover { border-color: var(--mint); color: var(--mint); }
.detail { padding: clamp(64px, 8vw, 110px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.detail:nth-of-type(even) { background: var(--white); }
.detail__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.detail__head { position: sticky; top: 110px; align-self: start; }
.detail__letter { display: block; font-size: 4rem; color: var(--line); line-height: 1; margin-top: 28px; letter-spacing: -0.05em; }
.detail__head h2 { margin-top: 8px; }
.detail__body h3 { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin: 34px 0 12px; }
.detail__body h3:first-child { margin-top: 0; }
.detail__body > p { color: var(--text-2); line-height: 1.6; font-size: 1.06rem; max-width: 62ch; }
.detail__probs { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 1.1rem; }
.detail__dels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.detail__dels li { display: flex; gap: 10px; align-items: flex-start; background: var(--tint); padding: 16px; line-height: 1.35; }
.detail__dels svg { width: 20px; height: 20px; color: var(--teal); flex: none; }
.detail__note { margin-top: 12px !important; font-size: .9rem !important; }
.detail__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
@media (max-width: 900px) { .detail__grid { grid-template-columns: 1fr; gap: 28px; } .detail__head { position: static; } .detail__letter { display: none; } }
@media (max-width: 560px) { .detail__dels { grid-template-columns: 1fr; } }
.narrow { max-width: 860px; }
.dels { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.del { background: var(--bg); padding: 26px; display: grid; gap: 12px; align-content: start; }
.del h3 { font-size: 1.25rem; margin-top: 14px; }
.del p { color: var(--text-2); line-height: 1.5; font-size: .97rem; }
@media (max-width: 900px) { .dels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dels { grid-template-columns: 1fr; } }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.nots { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 4px; }
.nots li { display: flex; gap: 12px; align-items: center; background: var(--white); padding: 14px 16px; }
.nots svg { width: 18px; height: 18px; color: #b03a2e; flex: none; }
@media (max-width: 860px) { .split2 { grid-template-columns: 1fr; gap: 40px; } }

/* Preguntas */
.faq details { border-bottom: 1px solid var(--line); }
.section:not(.section--white) .faq details[open] { background: var(--white); }
.faq__help { background: var(--white); padding: 24px; align-self: start; }
.section--white .faq__help { background: var(--bg); }
.faq__help p { margin: 0 0 18px; }

/* Cierre sin fotografía */
.cta { min-height: 0; padding: clamp(64px, 9vw, 110px) 24px; background: var(--ink-950); border: 1px solid rgba(255,255,255,.08); }
.cta::after { display: none; }
.cta h2 { max-width: 16em; margin: 0 auto; }
.cta p { max-width: 50ch; }
.footer-zone { padding-top: 0; }
.footer__h { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--line); margin-bottom: 18px; font-weight: 400; }
.footer__contact .pend { color: #3a2e00; }

/* Contacto */
.contact { grid-template-columns: 1fr 1.35fr; }
.c-pend { padding: 0 4px 6px; }
.form__t { font-size: 1.9rem; }
.form__intro { font-size: .92rem; margin-top: -6px; }
.form__pend { margin: 0; }
.field { display: grid; gap: 6px; }
.field label { font-size: .92rem; color: var(--text); }
.field__hint { font-size: .82rem; color: var(--text-3); }
.field__err { font-size: .85rem; color: #b03a2e; min-height: 0; }
.field__err:empty { display: none; }
.form [aria-invalid="true"] { border-color: #b03a2e; }
.form .form__check { display: flex; gap: 10px; font-size: .88rem; color: var(--text-2); }
.form__check a { color: var(--teal); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { font-size: .95rem; padding: 0; outline: none; }
.form__msg:empty { display: none; }
.form__msg.is-ok { background: #e3f7ee; color: #0d5132; padding: 14px 16px; border-left: 3px solid #1fa855; }
.form__msg.is-error { background: #fbeaea; color: #7a2018; padding: 14px 16px; border-left: 3px solid #b03a2e; }
.form__msg.is-info { color: var(--text-2); }
.form__msg a { color: inherit; font-weight: 600; }
.form button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .contact .form { order: -1; } }
.note { line-height: 1.45; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--mint); }
@media (max-width: 560px) { .hero__ctas .btn, .detail__ctas .btn, .cta__row .btn { width: 100%; justify-content: space-between; } }
.prose { min-width: 0; overflow-wrap: anywhere; }
.legal > * { min-width: 0; }

/* Trayectoria */
.jobs { list-style: none; padding: 0; margin: 0; display: grid; }
.job { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); }
.job__meta { color: var(--teal); font-size: .95rem; padding-top: 4px; }
.job h3 { font-size: 1.45rem; }
.job__co { color: var(--text-2); margin-top: 6px; }
.job ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 6px; color: var(--text-2); line-height: 1.5; max-width: 70ch; }
@media (max-width: 700px) { .job { grid-template-columns: 1fr; gap: 6px; } }
.edu, .extra { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 4px; }
.edu li { background: var(--white); padding: 16px 18px; display: grid; gap: 4px; }
.edu strong { font-weight: 500; }
.edu span { color: var(--text-2); font-size: .94rem; }
.extra li { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.portrait img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--ink-800); }

/* ===== Línea gráfica Mapea2 (logo: #000F0F, #02EFC2, blanco; Montserrat) ===== */
:root { --ink-950: #000f0f; --ink-900: #011819; --ink-800: #022a2b; --mint: #02efc2; --mint-ink: #000f0f; --teal: #04776a; --tint: #e8f6f2; --line: #d3ebe5;
  --display: "Montserrat", "Golos Text", system-ui, sans-serif; }
h1, h2, h3, .cta h2, .form__t { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.08; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.12; }
h3 { letter-spacing: -0.015em; }
.svc4 h3, .mode h3 { font-size: 1.45rem; }
.step4 h3 { font-size: 1.2rem; }
.detail__body h3, .aud__t { font-family: var(--font); font-weight: 400; letter-spacing: .08em; }
.logo__mark { width: auto; height: 34px; background: none; display: block; }
.wordmark { font-family: var(--display); font-weight: 700 !important; font-size: 1.22rem !important; letter-spacing: .02em !important; color: #f5fbf9; }
.wordmark span { color: var(--mint); }
.logo__txt small { font-size: .7rem; }
.footer__logo { height: 64px; width: auto; margin-bottom: 22px; }
.svc4__letter, .detail__letter, .step4__n { font-family: var(--display); font-weight: 700; }
.svc4__letter { color: var(--tint); }
.portrait__ph span { font-family: var(--display); font-weight: 700; }
.probs { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .probs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .probs { grid-template-columns: 1fr; } }
.svc4:nth-child(5):last-child { grid-column: 1 / -1; }
.nots--ok svg { color: var(--teal); }
.nots--ok li { align-items: flex-start; line-height: 1.4; }
.split2 .eyebrow { display: flex; }

:root { --text-3: #5b6b6d; }
.footer__bottom { padding-right: 84px; }

/* Ilustración del flujo automatizado (hero) */
.hero__side { display: grid; gap: 20px; align-content: end; }
.flow svg { width: 100%; height: auto; overflow: visible; }
.flow figcaption { font-size: .78rem; color: rgba(255,255,255,.55); margin-top: 8px; line-height: 1.4; }
.fl-chip rect { fill: rgba(2,42,43,.85); stroke: rgba(255,255,255,.16); }
.fl-chip--out rect { stroke: rgba(2,239,194,.5); }
.fl-t { fill: #f5fbf9; font: 600 13px var(--display); }
.fl-s { fill: rgba(245,251,249,.6); font: 400 11px var(--font); }
.fl-line { fill: none; stroke: rgba(2,239,194,.55); stroke-width: 1.4; stroke-dasharray: 4 6; animation: flow-dash 1.6s linear infinite; }
.fl-line--out { stroke: var(--mint); }
.fl-ai__halo { fill: rgba(2,239,194,.12); stroke: rgba(2,239,194,.35); animation: flow-pulse 2.4s var(--ease-in-out) infinite; transform-box: fill-box; transform-origin: center; }
.fl-ai__core { fill: var(--mint); }
.fl-ai text { fill: var(--mint-ink); font: 700 15px var(--display); }
@keyframes flow-dash { to { stroke-dashoffset: -20; } }
@keyframes flow-pulse { 50% { transform: scale(1.12); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .fl-line, .fl-ai__halo { animation: none; } }
@media (max-width: 960px) { .hero__side { max-width: 560px; } }
.hero__grid { align-items: center; margin-top: 32px; }
.hero__side { align-content: start; }
.hero--dp { padding: 150px 0 90px; }
.svc-picks { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.svc-pick { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--text); line-height: 1.3; transition: border-color 200ms, background-color 200ms; }
.svc-pick svg { width: 20px; height: 20px; color: var(--wa); flex: none; }
.svc-pick:hover { border-color: var(--teal); background: var(--tint); }
@media (max-width: 560px) { .svc-picks { grid-template-columns: 1fr; } }

/* Clientes (solo nombres, autorizados por Daniel) */
.clients { margin-top: 28px; }
.clients__t { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.clients ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.clients li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--ink-950); background: #fff; }
.prose .clients { margin: 28px 0 20px; }
