:root {
  --ink: #1F2130;
  --text: #44475B;
  --muted: #5F6272;
  --green: #00B386;
  --green-dark: #00875F;
  --green-darker: #006B4B;
  --mint: #3DEBB5;
  --blue: #4B65FF;
  --line: #E9E9EB;
  --soft: #F2FBF8;
  --band: #E8F7F1;
  --chip: #F3F3F5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green-dark); }
a:hover { color: var(--green-darker); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* Cabecera */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: Outfit, sans-serif; font-weight: 700; font-size: 22px; }
.brand:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--text); text-decoration: none; }
.nav-links a:hover { color: var(--green-dark); }
.nav-links a[aria-current="page"] { color: var(--green-dark); font-weight: 600; }

/* Botones */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  background: var(--green-dark); color: #FFFFFF;
  padding: 16px 30px; border-radius: 999px; font-size: 18px;
}
.btn:hover { background: var(--green-darker); color: #FFFFFF; }
.btn-sm { padding: 11px 18px; border-radius: 8px; font-size: 14px; }
.link-more { font-weight: 600; font-size: 16px; text-decoration: none; }

/* Tipografía */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green-dark); }
h1 { font-family: Outfit, sans-serif; font-weight: 700; font-size: 80px; line-height: 1.04; letter-spacing: -0.025em; }
h1.h1-page { font-size: clamp(40px, 4vw, 58px); line-height: 1.08; }
h2 { font-family: Outfit, sans-serif; font-weight: 700; font-size: 48px; line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-family: Outfit, sans-serif; font-weight: 600; font-size: 24px; line-height: 1.25; }
.lead { font-size: 20px; line-height: 1.6; color: var(--muted); }
.body-lg { font-size: 19px; line-height: 1.6; color: var(--muted); }
.body { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Secciones */
.section { padding: 112px 0; }
.bg-soft { background: var(--soft); }
.bg-band { background: var(--band); }
.hero { padding-top: 80px; padding-bottom: 48px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.hero .eyebrow { color: var(--muted); }
.hero h1 { max-width: 1100px; }
.hero .lead { max-width: 820px; }
.hero h1.h1-page { max-width: none; }
.hero-img { margin-top: 16px; width: 100%; mix-blend-mode: multiply; }
.head-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; max-width: 960px; margin: 0 auto 56px; }

/* Rejillas */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card-img { width: 100%; height: 240px; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 4px; }
.card .step { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green-dark); }
.card-icon { width: 32px; height: 32px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split-text { display: flex; flex-direction: column; gap: 24px; max-width: 540px; }
.split-media { display: flex; justify-content: center; }
.split-media img { width: 100%; mix-blend-mode: multiply; }
.feature-list { display: flex; flex-direction: column; gap: 22px; }
.feature-list div { display: flex; flex-direction: column; gap: 6px; }
.feature-list h3 { font-size: 22px; }
.note { font-size: 16px; line-height: 1.6; color: var(--muted); text-align: center; max-width: 660px; margin: 40px auto 0; }

/* Maquetas de producto */
.mock { width: 100%; max-width: 480px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 16px 40px rgba(31, 33, 48, 0.06); }
.mock-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mock-title { font-weight: 600; font-size: 17px; color: var(--ink); }
.mock-tag { font-size: 13px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 10px; }
.label { font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.chip { background: var(--chip); padding: 6px 12px; border-radius: 999px; }
.chip-green { background: #E3F7F0; color: var(--green-darker); }
.seg { display: grid; background: var(--chip); border-radius: 10px; padding: 4px; font-size: 13px; text-align: center; }
.seg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 14px; }
.seg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg span { padding: 10px 6px; color: var(--muted); }
.seg button { font: inherit; border: 0; background: transparent; padding: 10px 6px; color: var(--muted); border-radius: 8px; cursor: pointer; }
.seg button:hover { color: var(--ink); }
.seg button:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.seg .on { background: #FFFFFF; border-radius: 8px; font-weight: 600; color: var(--ink); box-shadow: 0 1px 3px rgba(31, 33, 48, 0.1); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; }
.row strong { color: var(--ink); }
.toggle { width: 44px; height: 26px; border-radius: 999px; background: var(--green); display: flex; justify-content: flex-end; align-items: center; padding: 3px; flex-shrink: 0; }
.toggle::after { content: ""; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; }
.input { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #FFFFFF; padding: 12px 14px; border: 1px solid #D5D7DD; border-radius: 10px; }
.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 179, 134, 0.18); }
.input::placeholder { color: #8A8FA0; }
.tutor-preview { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #F4F1EC; border-radius: 12px; }
.tutor-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--blue) 50%, var(--mint) 50%); color: #FFFFFF; font-family: Outfit, sans-serif; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tutor-preview strong { display: block; font-size: 15px; color: var(--ink); }
.tutor-preview small { font-size: 12px; color: var(--muted); }
.chip-btn { font: inherit; font-size: 14px; border: 1px solid transparent; cursor: pointer; }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.chip-btn[aria-pressed="false"] { background: #FFFFFF; color: var(--muted); border-color: #D5D7DD; }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn:focus-visible, .chip-x button:focus-visible, .toggle:focus-visible, .stepper button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.chip-x { display: inline-flex; align-items: center; gap: 4px; padding-right: 4px; }
.chip-x button { font: inherit; font-size: 16px; border: 0; background: transparent; color: var(--green-darker); cursor: pointer; width: 22px; height: 22px; border-radius: 50%; line-height: 1; padding: 0; }
.chip-x button:hover { background: rgba(0, 107, 75, 0.12); }
.input-sm { font-size: 14px; padding: 9px 12px; }
.seg-3 button { padding: 10px 4px; line-height: 1.25; }
button.toggle { border: 0; cursor: pointer; transition: background 0.15s; }
.toggle[aria-checked="false"] { background: #D5D7DD; justify-content: flex-start; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper strong { min-width: 64px; text-align: center; color: var(--ink); }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #D5D7DD; background: #FFFFFF; font: inherit; font-size: 18px; line-height: 1; color: var(--ink); cursor: pointer; }
.stepper button:hover { border-color: var(--green); color: var(--green-dark); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat-n { font-family: Outfit, sans-serif; font-weight: 700; font-size: 30px; color: var(--ink); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; border-bottom: 1px solid var(--line); }
.bars span { flex: 1; background: #CDEFE3; border-radius: 6px 6px 0 0; }
.bars span:last-child { background: var(--green); }
.week-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.week-row span:first-child { color: var(--ink); }
.level { justify-self: end; background: var(--chip); padding: 2px 10px; border-radius: 999px; font-weight: 600; color: var(--ink); }
.level-up { background: #E3F7F0; color: var(--green-darker); }

/* Móvil con chat */
.phone { width: 320px; height: 640px; border-radius: 44px; background: var(--ink); padding: 12px; box-shadow: 0 30px 60px rgba(31, 33, 48, 0.16); flex-shrink: 0; }
.phone-screen { height: 100%; border-radius: 34px; background: #F4F1EC; display: flex; flex-direction: column; overflow: hidden; }
.chat-head { background: #FFFFFF; padding: 26px 16px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.chat-head strong { display: block; font-size: 15px; color: var(--ink); }
.chat-head small { font-size: 12px; color: var(--muted); }
.chat { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--ink); }
.pill { align-self: center; background: #FFFFFF; color: var(--muted); font-size: 12px; padding: 6px 12px; border-radius: 999px; }
.msg { align-self: flex-start; background: #FFFFFF; padding: 10px 12px; border-radius: 4px 14px 14px 14px; max-width: 86%; }
.msg-out { align-self: flex-end; background: #DDF6EE; border-radius: 14px 4px 14px 14px; }
.msg s { color: var(--muted); }
.voice { display: flex; align-items: center; gap: 8px; }
.play { width: 26px; height: 26px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.msg-out .play { background: var(--ink); }
.wave { display: flex; align-items: center; gap: 2px; height: 24px; }
.wave i { display: block; width: 3px; border-radius: 2px; background: #B9BDC9; }
.msg-out .wave i { background: #7FCDB3; }
.voice small { font-size: 11px; color: var(--muted); }


/* Detalles de chat tipo WhatsApp */
.chat-head { padding: 26px 12px 10px 6px; gap: 8px; }
.head-back { display: flex; color: var(--ink); }
.head-icons { margin-left: auto; display: flex; gap: 16px; color: var(--ink); padding-right: 4px; }
.chat { justify-content: flex-start; }
.msg .time { display: flex; justify-content: flex-end; align-items: center; gap: 3px; font-size: 10px; color: #8A8FA0; margin-top: 2px; }
.voice .time { margin: 0 0 0 4px; align-self: flex-end; }
.composer { display: flex; align-items: center; gap: 6px; padding: 8px 8px 14px; }
.composer-field { flex: 1; display: flex; align-items: center; gap: 8px; background: #FFFFFF; border-radius: 999px; padding: 9px 12px; color: #8A8FA0; font-size: 13px; }
.composer-field span { flex: 1; }
.composer-mic { width: 38px; height: 38px; border-radius: 50%; background: var(--green-dark); color: #FFFFFF; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Llamada de ejemplo */
.call { width: 100%; max-width: 1080px; margin: 0 auto; background: var(--ink); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 24px; box-shadow: 0 30px 60px rgba(31, 33, 48, 0.16); }
.call-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.call-live { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--mint); letter-spacing: 0.06em; text-transform: uppercase; }
.call-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.call-plan { font-size: 13px; color: #A3A8B8; }
.call-desc { font-size: 16px; line-height: 1.6; color: #E4E6EC; }
.tracks { display: flex; flex-direction: column; gap: 14px; }
.track { display: flex; align-items: center; gap: 20px; }
.who { width: 96px; flex-shrink: 0; }
.who small { display: block; font-size: 11px; font-weight: 600; color: #A3A8B8; letter-spacing: 0.06em; text-transform: uppercase; }
.who strong { font-size: 16px; color: #FFFFFF; }
.wavebox { position: relative; flex: 1; min-width: 0; height: 64px; display: flex; align-items: center; }
.wavebox i { flex: 1; display: flex; justify-content: center; }
.wavebox i b { display: block; width: 60%; max-width: 3px; border-radius: 2px; }
.playhead { position: absolute; top: -6px; bottom: -6px; width: 2px; background: #FFFFFF; border-radius: 1px; }
.markers { position: relative; flex: 1; min-width: 0; height: 64px; }
.marker { position: absolute; top: 0; display: flex; flex-direction: column; }
.marker span { width: 1px; background: #5A5F73; }
.marker p { font-size: 12px; color: #C9CCD6; white-space: nowrap; padding-top: 4px; }
.player { display: flex; align-items: center; gap: 16px; }
.player-btn { width: 44px; height: 44px; border-radius: 50%; background: #FFFFFF; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.progress { flex: 1; height: 4px; border-radius: 2px; background: #3A3F55; }
.progress span { display: block; height: 4px; border-radius: 2px; background: var(--mint); }
.player small { font-size: 13px; color: #C9CCD6; }
.call-foot { font-size: 13px; color: #A3A8B8; }
.wavebox { cursor: pointer; }
.wavebox i b { transition: opacity .15s linear; }
button.marker { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: inherit; }
button.marker:hover p { color: #FFFFFF; }
button.marker:hover span { background: var(--mint); }
button.player-btn { border: 0; padding: 0; cursor: pointer; }
.player-btn .i-pause { display: none; }
.call.is-playing .player-btn .i-play { display: none; }
.call.is-playing .player-btn .i-pause { display: block; }
.progress { cursor: pointer; }
.call-caption { display: flex; gap: 16px; align-items: baseline; min-height: 64px; font-family: Outfit, sans-serif; font-size: 22px; font-weight: 500; line-height: 1.4; color: #5A5F73; }
.cap-who { flex-shrink: 0; width: 96px; font-family: Inter, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #A3A8B8; }
.cap-who.robin { color: var(--mint); }
.cap-who.laura { color: #8E9BFF; }
.cap-text span { transition: color .12s linear; }
.cap-text span.said { color: #FFFFFF; }
.call:not(.is-playing) .cap-text:not(:has(span)) { color: #A3A8B8; }


/* Cierre */
.cta { padding-top: 128px; padding-bottom: 128px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.cta h2 { font-size: 60px; line-height: 1.05; letter-spacing: -0.025em; max-width: 800px; }
.cta .lead { max-width: 760px; }

/* Pie de página */
.site-footer { border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding: 64px 0 48px; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.foot-brand .brand { font-size: 20px; }
.foot-brand p { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 300px; }
.foot-cta { font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; padding-bottom: 4px; border-bottom: 3px solid var(--green); }
.foot-cta:hover { color: var(--green-dark); }
.foot-col { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.foot-col p { font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: 0.08em; text-transform: uppercase; }
.foot-col a { color: var(--text); text-decoration: none; }
.foot-col a:hover { color: var(--green-dark); }
.foot-bottom { border-top: 1px solid var(--line); padding: 28px 0 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot-made { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.foot-made a { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.foot-made p { font-size: 14px; color: var(--muted); }
.follow { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }

/* Tablet */
@media (max-width: 1100px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { gap: 48px; }
}

/* Móvil */
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  h1 { font-size: 46px; }
  h1.h1-page { font-size: 40px; }
  h2 { font-size: 34px; }
  .cta h2 { font-size: 40px; }
  .lead { font-size: 18px; }
  .section { padding: 72px 0; }
  .hero { padding-top: 56px; padding-bottom: 32px; }
  .cta { padding-top: 88px; padding-bottom: 88px; }
  .grid3, .grid4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-media { order: 2; }
  .head-center { margin-bottom: 40px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .call { padding: 24px 20px; }
  .who { width: 64px; }
  .markers-row { display: none !important; }
  .call-caption { font-size: 17px; flex-direction: column; gap: 6px; min-height: 96px; }
  .cap-who { width: auto; }
  .mock { padding: 24px; }
  .stat-n { font-size: 22px; }
}

.split-gap { margin-bottom: 96px; }
@media (max-width: 860px) { .split-gap { margin-bottom: 64px; } }
@media (max-width: 860px) { .nav-right { gap: 12px; } }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: var(--text); padding: 7px 10px; border: 1px solid #E3E5EC; border-radius: 8px; user-select: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { border-color: var(--green); color: var(--green-dark); }
.lang-menu .chev { transition: transform 0.15s; }
.lang-menu[open] .chev { transform: rotate(180deg); }
.flag { width: 21px; height: 14px; flex-shrink: 0; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(31, 33, 48, 0.12); }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 160px; display: flex; flex-direction: column; gap: 2px; padding: 6px; background: #FFFFFF; border: 1px solid #E3E5EC; border-radius: 12px; box-shadow: 0 12px 32px rgba(31, 33, 48, 0.14); }
.lang-list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.lang-list a:hover { background: var(--soft); color: var(--ink); }
.lang-list a[aria-current] { color: var(--green-dark); font-weight: 600; }
@media (max-width: 860px) { .lang-menu summary > span { display: none; } .lang-menu summary { padding: 7px 8px; gap: 6px; } .nav-right .btn-sm { white-space: nowrap; } }
