/* =========================================================
   Mr. Wellness — Portada (index.html / english-home.html)
   Usa la marca tal como está en el sitio: la paleta del logotipo
   (azul sereno, naranja, salvia), neutros cálidos, Plus Jakarta Sans
   y el logotipo real. Mismos tokens que assets/styles.css, con su
   modo oscuro. Solo la portada carga este archivo.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Marca (idénticos a styles.css) */
  --blue:        #7FB2CC;
  --blue-deep:   #35708F;
  --blue-ink:    #2B5D78;
  --orange:      #F2871F;
  --orange-deep: #AE5A05;
  --sage:        #A3BC3C;
  --sage-deep:   #5E7519;
  --violet:      #8878A8;   /* solo el logotipo de Ikite */

  --ink:      #22262C;
  --ink-2:    #464C55;
  --muted:    #666D77;
  --line:     #E7E2DA;
  --line-2:   #F0ECE5;
  --bg:       #FBFAF7;
  --bg-2:     #F4F1EB;
  --surface:  #FFFFFF;

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(34,38,44,.06), 0 2px 8px rgba(34,38,44,.04);
  --shadow:    0 2px 4px rgba(34,38,44,.05), 0 12px 32px -12px rgba(34,38,44,.18);
  --shadow-lg: 0 4px 8px rgba(34,38,44,.05), 0 28px 60px -20px rgba(34,38,44,.28);
  --ring:      0 0 0 3px rgba(60,122,155,.28);

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 78px;
  --spot: rgba(127, 178, 204, .22);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue:        #8CC0D9;
    --blue-deep:   #9BCDE4;
    --blue-ink:    #B7DCEC;
    --orange:      #F79A45;
    --orange-deep: #FFB067;
    --sage:        #B7CE58;
    --sage-deep:   #C6DA72;
    --violet:      #A596CC;

    --ink:      #EDEAE4;
    --ink-2:    #C3BFB8;
    --muted:    #9A958D;
    --line:     #32363D;
    --line-2:   #292D33;
    --bg:       #16191D;
    --bg-2:     #1D2126;
    --surface:  #1E2228;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow:    0 2px 4px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.7);
    --shadow-lg: 0 4px 8px rgba(0,0,0,.3), 0 28px 60px -20px rgba(0,0,0,.8);
    --ring:      0 0 0 3px rgba(155,205,228,.35);
    --spot: rgba(140, 192, 217, .16);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px; line-height: 1.65; color: var(--ink-2); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
::selection { background: rgba(242, 135, 31, .22); }

.skip-link { position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.2rem + 5.2vw, 5rem); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.3rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.7rem); font-weight: 700; }
p { text-wrap: pretty; }
em { font-style: normal; }
h1 em, h2 em {
  background: linear-gradient(95deg, var(--blue-deep), var(--sage-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.lead { font-size: clamp(1.05rem, 1rem + .45vw, 1.28rem); color: var(--ink-2); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep);
}
.eyebrow::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--orange), var(--sage)); }

/* ---------- Botones (los de la marca) ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.7em; min-height: 48px; background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent; border-radius: 999px;
  font-size: 1rem; font-weight: 700; letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: var(--shadow-sm); }
.btn svg { flex: none; width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { --btn-bg: var(--orange-deep); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: #8E4903; }
.btn--wa { --btn-bg: #128C7E; --btn-fg: #fff; }
.btn--wa:hover { --btn-bg: #0f7a6d; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); box-shadow: none; background: var(--surface); }
.btn--ghost:hover { border-color: var(--blue-deep); color: var(--blue-deep); }
.btn--sm { padding: .62em 1.15em; font-size: .92rem; min-height: 44px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (prefers-color-scheme: dark) {
  .btn--primary { --btn-bg: var(--orange); --btn-fg: #221305; }
  .btn--primary:hover { --btn-bg: var(--orange-deep); }
}

.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--blue-deep);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 9px) / 0 2px no-repeat; transition: background-size .3s var(--ease);
}
.link:hover, .link:focus-visible { background-size: calc(100% - 26px) 2px; }
.link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.nav__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; min-height: 44px; }
.nav__brand img { height: 62px; width: auto; margin-block: -6px; }
.nav__brand span { font-weight: 800; color: var(--ink); letter-spacing: -.02em; font-size: 1.02rem; line-height: 1.1; }
.nav__brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav__panel { display: flex; align-items: center; gap: 14px; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85em; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background-color .16s, color .16s; }
.nav__links a:hover { background: var(--bg-2); color: var(--ink); }
.nav__lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: .8rem; font-weight: 700; }
.nav__lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .8em; text-decoration: none; color: var(--muted); transition: color .16s, background-color .16s; }
.nav__lang a:hover { color: var(--ink); }
.nav__lang a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.nav__toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background-color .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1040px) {
  .nav__toggle { display: inline-flex; }
  .nav__panel {
    position: absolute; left: var(--pad); right: var(--pad); top: calc(var(--header-h) - 4px);
    display: none; flex-direction: column; align-items: stretch; gap: 6px; padding: 14px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  }
  .nav__panel.is-open { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; }
  .nav__links a { min-height: 52px; padding: 0 .9em; font-size: 1.05rem; }
  .nav__panel .btn { width: 100%; }
  .nav__panel .nav__lang { align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding-block: clamp(32px, 5vw, 64px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% -20% -10%; z-index: -1;
  background:
    radial-gradient(40% 48% at 18% 28%, rgba(127,178,204,.40), transparent 68%),
    radial-gradient(36% 44% at 86% 18%, rgba(242,135,31,.24), transparent 66%),
    radial-gradient(40% 46% at 62% 92%, rgba(163,188,60,.26), transparent 68%);
  filter: blur(10px);
}
.hero__scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__scene canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__scene.is-live canvas { opacity: 1; }
/* Sin WebGL: el logotipo, quieto */
.hero__scene::before {
  content: ""; position: absolute; width: min(40vw, 520px); aspect-ratio: 640 / 495; right: 8%; top: 50%; transform: translateY(-50%);
  background: url('logo-es-640.png') center / contain no-repeat; opacity: .95; transition: opacity 1.2s;
}
.hero__scene.is-live::before { opacity: 0; }
.hero__inner { position: relative; z-index: 1; }
.hero__copy { max-width: 640px; }
.hero h1 { margin: 22px 0 22px; }
.hero .lead { max-width: 44ch; margin-bottom: 34px; }
.trustbar { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 640px; }
.trustbar div { display: flex; flex-direction: column; }
.trustbar b { font-size: 1.35rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.trustbar span { font-size: .84rem; font-weight: 500; color: var(--muted); }
.trustbar div::before { content: ''; width: 22px; height: 3px; border-radius: 3px; margin-bottom: 8px; background: var(--sage); }
.trustbar div:nth-child(1)::before { background: var(--orange); }
.trustbar div:nth-child(2)::before { background: var(--blue); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero [data-enter] > * { animation: rise .9s var(--ease) both; }
.hero [data-enter] > *:nth-child(1) { animation-delay: .05s; }
.hero [data-enter] > *:nth-child(2) { animation-delay: .15s; }
.hero [data-enter] > *:nth-child(3) { animation-delay: .27s; }
.hero [data-enter] > *:nth-child(4) { animation-delay: .38s; }
.hero [data-enter] > *:nth-child(5) { animation-delay: .5s; }

@media (min-width: 861px) and (max-width: 1180px) {
  .hero__scene { left: 50%; }
  .hero__scene::before { right: 6%; width: 38vw; }
  .hero__copy { max-width: min(520px, 50vw); }
  .hero h1 { font-size: clamp(2.4rem, 5.6vw, 3.8rem); }
}
@media (max-width: 860px) {
  .hero { align-items: flex-start; padding-top: 300px; padding-bottom: 36px; min-height: 0; }
  .hero__scene { inset: 0 0 auto 0; height: 330px; -webkit-mask-image: linear-gradient(#000 74%, transparent); mask-image: linear-gradient(#000 74%, transparent); }
  .hero__scene::before { width: 260px; right: 50%; transform: translate(50%, -50%); top: 46%; }
  .hero h1 { font-size: clamp(2.3rem, 10.4vw, 3.2rem); margin: 14px 0 16px; }
  .hero .lead { margin-bottom: 24px; font-size: 1.02rem; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .trustbar { margin-top: 28px; padding-top: 20px; }
}

/* ---------- Franja de trayectoria ---------- */
.strip { padding: clamp(40px, 6vw, 72px) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { padding: 6px clamp(14px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__item b { display: block; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--blue-deep); }
.strip__item:nth-child(2) b { color: var(--orange-deep); }
.strip__item:nth-child(3) b { color: var(--sage-deep); }
.strip__item span { display: block; margin-top: 10px; font-size: .94rem; color: var(--ink-2); line-height: 1.45; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 30px 0 0; }
.chips li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.chips li b { color: var(--ink); font-weight: 700; }
@media (max-width: 760px) {
  .strip__grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .strip__item:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- Secciones ---------- */
.section { padding-block: clamp(64px, 9vw, 116px); position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin: 16px 0 18px; }

/* ---------- Pilares ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius-lg);
  text-decoration: none; color: var(--ink-2); isolation: isolate; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--spot), transparent 62%); }
.pillar:hover, .pillar:focus-within { transform: translateY(-3px); box-shadow: var(--shadow); }
.pillar:hover::before { opacity: 1; }
.pillar__num { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tone-deep); }
.pillar h3 { margin-top: -2px; }
.pillar p { font-size: .98rem; line-height: 1.55; }
.pillar ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.pillar li { display: flex; gap: 10px; font-size: .95rem; color: var(--ink); line-height: 1.4; }
.pillar li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .55em; border-radius: 50%; background: var(--tone); }
.pillar .link { margin-top: auto; align-self: flex-start; color: var(--tone-link); }
.pillar__visual { height: 128px; border-radius: 18px; display: grid; place-items: center; overflow: hidden; background: color-mix(in srgb, var(--tone) 16%, var(--surface)); }
.pillar__visual svg { width: 100%; height: 100%; }
.p1 { --tone: var(--orange); --tone-deep: var(--orange-deep); --tone-link: var(--orange-deep); --spot: rgba(242,135,31,.16); }
.p2 { --tone: var(--sage); --tone-deep: var(--sage-deep); --tone-link: var(--sage-deep); --spot: rgba(163,188,60,.2); }
.p3 { --tone: var(--blue); --tone-deep: var(--blue-deep); --tone-link: var(--blue-deep); --spot: rgba(127,178,204,.26); }
.p1 { border-top: 4px solid var(--orange); }
.p2 { border-top: 4px solid var(--sage); }
.p3 { border-top: 4px solid var(--blue); }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-cloud span { padding: 7px 14px; border-radius: 999px; background: color-mix(in srgb, var(--sage) 18%, var(--surface)); font-size: .88rem; font-weight: 600; color: var(--ink); border: 1px solid color-mix(in srgb, var(--sage) 35%, var(--line)); transition: transform .2s var(--ease); }
.chip-cloud span:hover { transform: translateY(-1px); }

/* Visuales en bucle (ciclos de 3-4 s) */
.arm { transform-origin: 120px 118px; animation: sweep 3.6s ease-in-out infinite alternate; }
@keyframes sweep { from { transform: rotate(-68deg); } to { transform: rotate(66deg); } }
.pillar:hover .arm { animation-duration: 1.8s; }
.breath { transform-origin: 120px 66px; animation: breathe 4s ease-in-out infinite alternate; }
.breath:nth-child(2) { animation-delay: .35s; }
.breath:nth-child(3) { animation-delay: .7s; }
@keyframes breathe { from { transform: scale(.72); opacity: .95; } to { transform: scale(1.12); opacity: .4; } }
.pulse { animation: pulse 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.pulse:nth-of-type(2) { animation-delay: .9s; }
.pulse:nth-of-type(3) { animation-delay: 1.8s; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.7); opacity: 1; } }

/* ---------- Tarjeta Ikite ---------- */
.ikite {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(28px, 4.4vw, 68px); border-radius: 36px; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #2B5D78 0%, #2F6A88 55%, #5E7519 190%);
  color: #fff; box-shadow: var(--shadow-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ikite::after { content: ""; position: absolute; inset: auto -10% -45% -10%; height: 420px; z-index: -1; background: radial-gradient(50% 60% at 50% 50%, rgba(242,135,31,.5), transparent 70%); pointer-events: none; }
.ikite::before { content: ""; position: absolute; inset: -30% 40% auto -10%; height: 420px; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(127,178,204,.35), transparent 70%); pointer-events: none; }
.ikite > * { min-width: 0; }
.ikite:hover { transform: translateY(-2px); }
.ikite .eyebrow { color: #FFD9B0; }
.ikite .eyebrow::before { background: linear-gradient(90deg, var(--orange), #CFE08A); }
.ikite__top { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.ikite__logo { flex: none; width: 118px; background: #fff; border-radius: 24px; padding: 8px 10px; box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); }
.ikite h3 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; color: #fff; margin-bottom: 14px; }
.ikite .lead { color: rgba(255,255,255,.88); font-size: 1.06rem; }
.areas { list-style: none; padding: 0; display: grid; margin: 26px 0 30px; border-top: 1px solid rgba(255,255,255,.22); }
.areas li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.areas b { font-weight: 700; color: #fff; font-size: 1.02rem; }
.areas small { grid-column: 1; font-size: .9rem; color: rgba(255,255,255,.8); line-height: 1.35; }
.areas .badge { grid-row: 1 / span 2; grid-column: 2; }
.badge { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .4em .9em; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); color: #fff; white-space: nowrap; }
.badge--ok { background: #BFD65A; border-color: #BFD65A; color: #1F2D05; }
.ikite .btn--ghost { --btn-fg: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); }
.ikite .btn--ghost:hover { background: rgba(255,255,255,.2); border-color: #fff; color: #fff; }
.ikite .btn--primary { --btn-bg: #F2871F; --btn-fg: #221305; }
.ikite .btn--primary:hover { --btn-bg: #FFA040; }
.ikite__fine { margin-top: 16px; font-size: .86rem; color: rgba(255,255,255,.82); }

/* Teléfono con la interfaz de Ikite */
.phone-wrap { display: grid; place-items: center; position: relative; }
.phone-wrap::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.28), transparent 68%); filter: blur(14px); z-index: -1; }
.phone {
  width: min(308px, 100%); padding: 10px; border-radius: 46px; background: #22262C; border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); transform: rotate(-2deg); transition: transform .5s var(--ease);
}
.ikite:hover .phone { transform: rotate(0deg) translateY(-4px); }
.phone__screen { height: 540px; border-radius: 36px; background: #FBFAF7; color: #22262C; display: flex; flex-direction: column; overflow: hidden; }
.phone__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 6px; font-size: .74rem; font-weight: 700; color: #666D77; }
.phone__bar i { font-style: normal; padding: 3px 9px; border-radius: 999px; background: rgba(242,135,31,.18); color: #8E4903; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.phone__panels { flex: 1; overflow: hidden; padding: 6px 18px 0; }
.panel { display: none; height: 100%; flex-direction: column; gap: 12px; animation: rise .45s var(--ease) both; }
.panel.is-on { display: flex; }
.panel h4 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: #22262C; margin-top: 4px; }
.panel__sub { font-size: .8rem; color: #666D77; line-height: 1.4; }
.mood { display: flex; gap: 6px; flex-wrap: wrap; }
.mood span { padding: 7px 11px; border-radius: 999px; border: 1px solid #E7E2DA; font-size: .76rem; font-weight: 600; color: #22262C; background: #fff; }
.mood span.on { background: #35708F; color: #fff; border-color: #35708F; }
.meter { background: #fff; border: 1px solid #E7E2DA; border-radius: 16px; padding: 12px 14px; display: grid; gap: 8px; }
.meter__row { display: flex; justify-content: space-between; align-items: baseline; font-size: .78rem; color: #666D77; font-weight: 500; }
.meter__row b { font-weight: 800; font-size: 1.2rem; color: #22262C; letter-spacing: -.03em; }
.meter__row b small { font-size: .68rem; font-weight: 600; color: #666D77; letter-spacing: 0; }
.meter__bar { height: 8px; border-radius: 6px; background: #F0ECE5; overflow: hidden; }
.meter__bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #7FB2CC, #A3BC3C); }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini .meter { padding: 10px 12px; gap: 4px; }
.mini .meter > b { font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; color: #22262C; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 13px; background: #fff; border: 1px solid #E7E2DA; border-radius: 14px; font-size: .82rem; color: #22262C; font-weight: 600; }
.row span { color: #666D77; font-weight: 500; font-size: .76rem; text-align: right; }
.inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.inputs span { text-align: center; padding: 12px 4px; border-radius: 14px; background: #AE5A05; color: #fff; font-size: .74rem; font-weight: 700; }
.inputs span:nth-child(2) { background: #35708F; }
.inputs span:nth-child(3) { background: #5E7519; }
.state { margin-top: auto; margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(163,188,60,.2); color: #4A5E10; font-size: .78rem; font-weight: 700; line-height: 1.35; }
.tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #E7E2DA; background: #fff; padding: 4px 2px 8px; }
.tabs button { display: grid; justify-items: center; gap: 3px; padding: 7px 0 4px; min-height: 48px; border: 0; background: none; font-size: .62rem; font-weight: 700; color: #666D77; border-radius: 10px; letter-spacing: -.01em; transition: color .2s; }
.tabs button svg { width: 20px; height: 20px; }
.tabs button:hover { color: #22262C; }
.tabs button[aria-selected="true"] { color: #AE5A05; }

@media (max-width: 400px) { .phone { padding: 6px; border-radius: 40px; } .ikite { padding: 22px 18px; } .tabs button { font-size: .56rem; } }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr; }
  .ikite { grid-template-columns: 1fr; }
  .ikite .btn-row .btn { flex: 1 1 100%; }
  .phone { transform: none; }
}

/* ---------- Método ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 26px clamp(18px, 2vw, 26px) 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.step::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
.step:nth-child(1) { --c: var(--blue); --cd: var(--blue-deep); }
.step:nth-child(2) { --c: var(--orange); --cd: var(--orange-deep); }
.step:nth-child(3) { --c: var(--sage); --cd: var(--sage-deep); }
.step:nth-child(4) { --c: var(--blue-deep); --cd: var(--blue-deep); }
.step__n { display: block; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--cd); margin-bottom: 14px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .96rem; line-height: 1.55; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Sobre Carlos ---------- */
.about { background: var(--bg-2); border-block: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about h2 { margin: 16px 0 26px; }
.about__text { display: grid; gap: 18px; max-width: 58ch; }
.about__text strong { color: var(--ink); font-weight: 700; }
.about__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 38px); box-shadow: var(--shadow-lg); }
.about__card > img { margin-inline: auto; max-height: 210px; width: auto; }
.timeline { list-style: none; padding: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 78px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline li:last-child { border-bottom: 0; padding-bottom: 0; }
.timeline b { font-size: 1.7rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--blue-deep); }
.timeline li:nth-child(2) b { color: var(--orange-deep); }
.timeline li:nth-child(3) b { color: var(--sage-deep); }
.timeline span { color: var(--ink-2); font-size: .96rem; line-height: 1.45; }
.timeline span strong { display: block; color: var(--ink); font-weight: 700; font-size: 1.02rem; }
.about__quote { margin: 30px 0 0; padding-left: 20px; border-left: 4px solid; border-image: linear-gradient(var(--orange), var(--sage)) 1; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); max-width: 30ch; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- Cierre (la banda de la marca) ---------- */
.close { padding-block: clamp(56px, 8vw, 104px); }
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 80px); background: linear-gradient(135deg, #2B5D78 0%, #2F6A88 55%, #5E7519 190%); color: #fff; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band::after { content: ''; position: absolute; inset: auto -10% -60% -10%; height: 320px; background: radial-gradient(50% 60% at 50% 50%, rgba(242,135,31,.45), transparent 70%); pointer-events: none; }
.cta-band .eyebrow { color: #FFD9B0; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; position: relative; z-index: 1; margin: 16px auto 18px; max-width: 16ch; font-size: clamp(2.2rem, 1.2rem + 4vw, 4.2rem); line-height: 1.04; }
.cta-band h2 em { background: none; -webkit-text-fill-color: #FFD9B0; color: #FFD9B0; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 54ch; margin: 0 auto; position: relative; z-index: 1; font-size: 1.1rem; }
.cta-band .btn-row { position: relative; z-index: 1; margin-top: 34px; justify-content: center; }
.cta-band .btn--primary { --btn-bg: #F2871F; --btn-fg: #221305; }
.cta-band .btn--primary:hover { --btn-bg: #FFA040; }
.cta-band .btn--ghost { --btn-fg: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.2); color: #fff; border-color: #fff; }

/* ---------- Pie ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-block: clamp(40px, 5vw, 64px) 32px; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr; }
.site-footer img { height: 62px; width: auto; }
.site-footer h3 { margin-bottom: .9em; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.footer__brand p { margin-top: 14px; max-width: 34ch; font-size: .92rem; color: var(--muted); }
.footer__col ul { list-style: none; padding: 0; }
.footer__col a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--ink-2); text-decoration: none; font-size: .96rem; transition: color .2s; }
.footer__col a:hover { color: var(--blue-deep); }
.disclaimer { margin-top: 28px; max-width: 98ch; padding-top: 24px; border-top: 1px solid var(--line); font-size: .84rem; line-height: 1.6; color: var(--muted); }
.disclaimer strong { color: var(--ink); }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); text-decoration: none; font-size: .86rem; font-weight: 600; transition: border-color .2s, color .2s, transform .2s var(--ease); }
.social-link svg { width: 16px; height: 16px; color: var(--brand); }
.social-link:hover { border-color: var(--brand); transform: translateY(-2px); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 28px; font-size: .82rem; color: var(--muted); }
@media (max-width: 780px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .hero [data-enter] > * { opacity: 1; transform: none; }
}

/* ---------- Trayectoria y formación ---------- */
.about__card .about__quote { margin-top: 28px; }
.career-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.panel-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.panel-card > h3 { margin-bottom: 18px; font-size: 1.5rem; }
.career { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.career li { display: grid; grid-template-columns: 104px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.career li:last-child { border-bottom: 0; padding-bottom: 0; }
.career b { font-weight: 800; font-size: .9rem; letter-spacing: -.01em; color: var(--blue-deep); }
.career li:nth-child(3n+2) b { color: var(--orange-deep); }
.career li:nth-child(3n) b { color: var(--sage-deep); }
.career span { font-size: .94rem; line-height: 1.5; color: var(--ink-2); }
.career strong { display: block; color: var(--ink); font-weight: 700; font-size: .98rem; }
.train__total { padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--sage) 20%, var(--surface)); border: 1px solid color-mix(in srgb, var(--sage) 40%, var(--line)); font-size: .95rem; color: var(--ink); margin-bottom: 22px; }
.train { display: grid; gap: 22px; }
.train h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 8px; font-weight: 800; }
.train ul { list-style: none; padding: 0; display: grid; gap: 7px; }
.train li { display: flex; gap: 10px; font-size: .93rem; line-height: 1.45; color: var(--ink-2); }
.train li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .55em; border-radius: 50%; background: var(--blue); }
.train section:nth-child(2) li::before { background: var(--orange); }
.train section:nth-child(3) li::before { background: var(--sage); }
.train section:nth-child(4) li::before { background: var(--blue-deep); }
@media (max-width: 960px) { .career-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .career li { grid-template-columns: 1fr; gap: 2px; } }
