@font-face { font-family: Montserrat; src: url("assets/montserrat.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Dancing Script"; src: url("assets/dancing.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Playfair; src: url("assets/playfair.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Playfair; src: url("assets/playfair-italic.woff2") format("woff2"); font-style: italic; font-weight: 500; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #fffbf3;
  --cream: #fff5e7;
  --wine: #74132b;
  --ink: #48242a;
  --muted: #664149;
  --fuchsia: #a71545;
  --deep-pink: #861139;
  --gold: #9b641e;
  --line: #ead2c4;
  --serif: Playfair, Georgia, serif;
  --script: "Dancing Script", "Brush Script MT", cursive;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, figure, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 1.3rem; }
:focus-visible { outline: 3px solid var(--fuchsia); outline-offset: 4px; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(100% - 4.75rem, 71rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 2; top: .8rem; left: .8rem; padding: .6rem 1rem; border-radius: .4rem; color: #fff; background: var(--wine); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.header { background: var(--cream); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: .7rem 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; width: fit-content; min-height: 44px; text-decoration: none; color: var(--wine); font: 700 clamp(1.55rem, 3.3vw, 2.18rem)/1 var(--script); }
.brand .icon { width: 37px; height: 37px; flex: none; color: var(--gold); stroke-width: 1.8; }
nav { display: flex; gap: clamp(.75rem, 2.4vw, 2rem); }
.header nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .895rem; font-weight: 650; }
.header nav a:hover { color: var(--fuchsia); text-decoration: underline; text-underline-offset: .26em; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; width: fit-content; padding: .7rem 1.3rem; border: 1px solid transparent; border-radius: .5rem; font-size: .9rem; line-height: 1.35; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s; }
.button-primary { background: var(--wine); color: #fffaf4; }
.button-primary:hover { background: var(--fuchsia); }
.quiet-link, .bare-button { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; color: var(--deep-pink); font-weight: 700; font-size: .875rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.quiet-link:hover, .bare-button:hover { color: var(--wine); text-decoration-thickness: 2px; }
.bare-button { padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.eyebrow { display: block; color: var(--deep-pink); font-size: .875rem; font-weight: 700; line-height: 1.45; letter-spacing: .07em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--wine); }
h2 { font-size: clamp(2.25rem, 4.25vw, 3.73rem); line-height: 1.09; letter-spacing: -.038em; }
h2 em { color: var(--fuchsia); }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 1.15rem;
  padding: .7rem;
  margin-top: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: radial-gradient(ellipse at 0% 0%, #fce3cc, transparent 64%), var(--cream);
}
.hero-copy { align-self: center; padding: clamp(1.9rem, 5vw, 4.5rem) clamp(1rem, 5vw, 4.2rem); }
.hero h1 { font-size: clamp(3.4rem, 6.55vw, 6.05rem); line-height: .93; letter-spacing: -.068em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { margin-top: .09em; color: var(--fuchsia); font: 700 1.18em/.87 var(--script); letter-spacing: -.068em; }
.hero-profile { display: flex; align-items: center; gap: .66rem; margin-top: 1.15rem; }
.hero-profile img { width: 54px; height: 54px; flex: none; object-fit: cover; border-radius: 50%; border: 2px solid var(--cream); outline: 1px solid #b77f48; }
.hero-role { color: var(--wine); font-size: .88rem; font-weight: 700; line-height: 1.5; }
.hero-intro { margin-top: .9rem; max-width: 28rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.72; }
.hero .hero-actions { margin-top: 1.25rem; gap: .15rem 1rem; }
.download-action { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .65rem; }
.download-status { color: var(--muted); font-size: .875rem; font-weight: 650; }
.button:disabled { background: #f2dedf; border-color: var(--line); color: var(--muted); cursor: default; }
.diary-resources { margin-top: .25rem; }
.hero-art { position: relative; align-self: center; aspect-ratio: 10 / 11; border-radius: .88rem; overflow: hidden; background: #e6b478; }
.hero-art img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 35%; }

.resources { padding-block: 3.6rem 3.5rem; }
.section-heading { text-align: center; max-width: 44rem; margin-inline: auto; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.7rem; }
.path { display: flex; align-items: center; min-height: 88px; gap: .85rem; background: #fff9f0; border: 1px solid var(--line); border-radius: .7rem; padding: .7rem 1rem; text-decoration: none; transition: background-color .18s, border-color .18s; }
.path:hover { border-color: #b47786; background: #ffede9; }
.path span:last-child { min-width: 0; }
.path strong, .path small { display: block; }
.path strong { color: var(--wine); font: 500 clamp(1.21rem, 2.2vw, 1.53rem)/1.18 var(--serif); letter-spacing: -.02em; }
.path small { margin-top: .24rem; font-size: .845rem; color: var(--muted); line-height: 1.45; }
.path-icon { display: grid; place-items: center; width: 43px; height: 43px; flex: none; color: var(--wine); background: #f4dfcf; border-radius: 50%; }
.path-diary { background: #fbe6e9; border-color: #eac8cc; }
.path-diary .path-icon, .path-individual .path-icon { background: #f6d6dd; }
.resources-help { margin-top: .9rem; text-align: center; font-size: .925rem; color: var(--muted); }
.resources-help a { margin-inline-start: .3em; }

.detail-sections { margin-bottom: 3.6rem; }
.about { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(1.1rem, 4vw, 3rem); padding: clamp(1.1rem, 4vw, 2.5rem); border-radius: 1rem; margin-bottom: 3.6rem; background: #f9e9e3; }
.about h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.about p { max-width: 35rem; margin-top: .6rem; color: var(--muted); }

.guide-wrap { background: radial-gradient(ellipse at 4% 0%, #8d2f45, transparent 64%), #65172d; }
.guide { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr); align-items: center; gap: clamp(1.4rem, 6vw, 6.3rem); padding-block: 3.55rem; }
.guide h2 { color: var(--cream); }
.guide h2 em { color: #ffd496; }
.guide-copy p { max-width: 22rem; margin-top: .9rem; color: #fff0eb; font-size: 1.05rem; }
.guide-copy .icon { width: 48px; height: 48px; color: #ffd496; margin-bottom: .55rem; }
.guide-panel { border-radius: .9rem; background: var(--paper); min-height: 19rem; padding: clamp(1.1rem, 3vw, 1.9rem); }
.quiz-progress { display: flex; gap: .4rem; margin-bottom: .85rem; }
.quiz-progress span { height: 4px; width: 36px; border-radius: 100px; background: #ecd1d9; }
.quiz-progress span:first-child, .guide-panel[data-step="2"] .quiz-progress span:last-child, .guide-panel[data-step="done"] .quiz-progress span:last-child { background: var(--fuchsia); }
.step-label { margin-bottom: .35rem; color: var(--deep-pink); font-size: .875rem; font-weight: 700; }
.guide-panel h3 { font-size: clamp(1.55rem, 2.6vw, 2.12rem); line-height: 1.2; margin-bottom: .85rem; letter-spacing: -.025em; }
.guide-panel h3:focus { outline: none; }
.choices { display: grid; gap: .48rem; }
.choice { position: relative; min-height: 48px; text-align: left; padding: .6rem 2rem .6rem .82rem; border: 1px solid #e6cbd0; border-radius: .45rem; background: #fffdf9; color: var(--wine); cursor: pointer; font-weight: 650; line-height: 1.4; }
.choice::after { content: ""; position: absolute; border: 1.5px solid #ac6276; width: .8rem; height: .8rem; border-radius: 50%; top: 50%; right: .85rem; transform: translateY(-50%); }
.choice:hover { background: #fae9ed; border-color: #c88096; }
#resultado-texto { color: var(--muted); }
#volver { margin-top: .2rem; }

.feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.45rem, 7vw, 6rem); align-items: center; padding-block: 4.2rem; border-bottom: 1px solid var(--line); }
.diary-feature { grid-template-columns: .9fr 1.1fr; }
.feature h2 { margin-top: .53rem; font-size: clamp(2.1rem, 4.45vw, 3.6rem); }
.feature-copy > p, .speaking p { margin-top: .88rem; max-width: 33rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.1rem; margin-top: 1rem; }
.podcast-art, .diary-art { position: relative; display: grid; place-items: center; overflow: hidden; min-height: 15rem; border: 1px solid var(--line); border-radius: .95rem; background: radial-gradient(ellipse at 90% 0%, #f9d4b6, transparent 79%), #faeae4; }
.podcast-art { min-height: clamp(16rem, 30vw, 23rem); }
.listening-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.podcast-cover { position: relative; justify-self: end; align-self: end; width: clamp(6rem, 31%, 9rem); height: auto; margin: 1rem; border: 2px solid #fff5e7; border-radius: .55rem; box-shadow: 0 7px 20px #49242a4d; }
.diary-art img { width: 100%; height: auto; }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ""; display: block; flex: 0 0 .8rem; height: .8rem; background: linear-gradient(var(--deep-pink), var(--deep-pink)) center / 100% 1.5px no-repeat, linear-gradient(var(--deep-pink), var(--deep-pink)) center / 1.5px 100% no-repeat; }
details[open] summary::after { background-size: 100% 1.5px, 0 0; }
.preview-note { color: var(--wine); margin-top: .85rem; border-block: 1px solid var(--line); }
.preview-note summary { min-height: 48px; display: flex; gap: .7rem; align-items: center; justify-content: space-between; padding-block: .45rem; font-size: .875rem; font-weight: 700; }
.preview-note > div { padding: .32rem 0 .95rem; color: var(--muted); }
.preview-note p + p, .preview-note li + li { margin-top: .4rem; }
.preview-note ol { margin-block: 0; padding-left: 1.35rem; }

.mentoring { padding-block: 3.75rem 2.8rem; }
.mentoring-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-top: 1.55rem; }
.mentor-option { padding: 1.25rem 1.3rem .74rem; border-radius: .8rem; border: 1px solid var(--line); background: #fae9e8; }
.mentor-option:nth-child(2) { background: #fcf0e0; }
.mentor-option h3 { font-size: clamp(1.55rem, 3vw, 2rem); line-height: 1.15; }
.mentor-option p { margin: .62rem 0 .2rem; color: var(--muted); }
.mentoring-whatsapp { margin-block: .75rem .4rem; }
.speaking { display: flex; justify-content: space-between; align-items: center; gap: 1.15rem 2.25rem; padding: clamp(1.15rem, 4vw, 2.2rem); margin-top: 3.2rem; background: #fbecd9; border: 1px solid var(--line); border-radius: .85rem; }
.speaking h2 { font-size: clamp(1.85rem, 3.5vw, 2.6rem); }
.speaking .button { flex-shrink: 0; }
.footer { background: var(--cream); border-top: 1px solid var(--line); }

@media (max-width: 850px) {
  .shell { width: calc(100% - 3rem); }
  .hero { gap: .7rem; }
  .hero-copy { padding: 2.25rem 1.15rem; }
  .feature { gap: 1.65rem; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 0; flex-wrap: wrap; justify-content: center; gap: 0; padding-top: .38rem; }
  .header nav { width: 100%; justify-content: space-around; border-top: 1px solid var(--line); }
  .header nav a { font-size: .84rem; }
  .hero { grid-template-columns: 1fr; gap: .6rem; margin-top: .75rem; padding: .42rem; }
  .hero-copy { padding: 1.35rem .9rem .3rem; }
  .hero h1 { font-size: clamp(3rem, 13.3vw, 4.6rem); }
  .hero h1 em { font-size: 1.08em; }
  .hero-profile { margin-top: .95rem; }
  .hero-profile img { width: 46px; height: 46px; }
  .hero-intro { margin-top: .65rem; line-height: 1.56; }
  .hero .hero-actions { margin-top: .85rem; }
  .hero .button { min-height: 46px; }
  .hero-art { aspect-ratio: 7 / 8; }
  .resources { padding-block: 2.15rem 2.35rem; }
  .resources h2 { font-size: clamp(1.9rem, 7.25vw, 2.55rem); }
  .path-grid { grid-template-columns: 1fr; margin-top: 1.15rem; gap: .55rem; }
  .path { min-height: 72px; padding-inline: .75rem; }
  .path small { font-size: .82rem; }
  .about { grid-template-columns: 1fr; gap: .5rem; margin-bottom: 2.55rem; }
  .guide { grid-template-columns: 1fr; padding-block: 2.4rem; gap: 1.1rem; }
  .guide-panel { min-height: 0; }
  .feature, .diary-feature { grid-template-columns: 1fr; gap: 1.15rem; padding-block: 2.55rem; }
  .diary-feature .feature-copy { grid-row: 1; }
  .mentoring { padding-block: 2.45rem 1.8rem; }
  .mentoring-grid { grid-template-columns: 1fr; margin-top: 1.05rem; }
  .detail-sections { margin-bottom: 2rem; }
  .speaking { align-items: flex-start; flex-direction: column; margin-top: 2rem; }
  .footer-inner { flex-wrap: wrap; padding-block: .55rem; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
