@font-face {
  font-family: Manrope;
  src: url("assets/manrope-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ivory: #f7f3ec;
  --paper: #fdfaf5;
  --linen: #eee5d7;
  --olive: #374332;
  --olive-deep: #303b2d;
  --olive-muted: #52614b;
  --ink: #283125;
  --body: #464941;
  --rust: #88472f;
  --clay: #ba805f;
  --line: #d5c9ba;
  --sans: Manrope, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 1rem/1.65 var(--sans);
}

a { color: inherit; }
img { display: block; max-width: 100%; }

button, input { font: inherit; }
button { cursor: pointer; }

h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-weight: 600; }
h1, h2, h3 { text-wrap: balance; }
h1 em, h2 em { color: var(--rust); font-style: normal; }

h2 {
  font-size: clamp(2.45rem, 4.65vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

[id] { scroll-margin-top: 1.4rem; }

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 4px;
}

h2[tabindex="-1"]:focus, h3[tabindex="-1"]:focus { outline-offset: 5px; }

.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 0.55rem 0.8rem;
  background: var(--paper);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  min-height: 96px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.signature {
  align-self: center;
  display: inline-grid;
  justify-items: center;
  width: max-content;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.05;
}

.signature img {
  width: 66px;
  height: auto;
  margin-bottom: 4px;
}

.signature-name {
  font: 500 1.48rem/1.12 var(--sans);
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.signature-role {
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--olive-muted);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 3vw, 2.85rem);
  font-size: 0.9375rem;
  font-weight: 600;
}

.site-header nav a { text-decoration: none; white-space: nowrap; }
.site-header nav a:hover { color: var(--rust); text-decoration: underline; text-underline-offset: 5px; }
.site-header nav .header-contact {
  border: 1px solid var(--olive-muted);
  border-radius: 4px;
  padding: 0.58rem 1.15rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 6.5vw, 6rem);
  padding-block: 62px 76px;
}

.hero-copy { padding-block: 14px; }

.kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.28rem;
  color: var(--rust);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.115em;
  text-transform: uppercase;
  line-height: 1.45;
}

.rule::before {
  width: 1.8rem;
  height: 1px;
  background: var(--clay);
  flex: 0 0 auto;
  content: "";
}

h1 {
  font-size: clamp(3rem, 5.4vw, 4.8rem);
  letter-spacing: -0.055em;
  line-height: 1.07;
  text-wrap: wrap;
}

.hero-intro {
  max-width: 31rem;
  margin-top: 1.45rem;
  color: var(--body);
  font-size: clamp(1.025rem, 1.45vw, 1.16rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem 1.45rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: 0.67rem 1.03rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.primary { background: var(--olive); color: var(--paper); }
.primary:hover { background: #263325; }

.text-link, .quiet-button {
  color: var(--olive-deep);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.text-link:hover, .quiet-button:hover { color: var(--rust); }

.hero-formats {
  margin-top: 1.35rem;
  color: var(--body);
  font-size: 0.9rem;
}

.hero-figure { position: relative; padding: 0 11px 11px 0; }
.hero-figure::before {
  content: "";
  position: absolute;
  inset: 12px 0 0 12px;
  border: 1px solid var(--clay);
  border-radius: 4px 112px 4px 4px;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px 106px 4px 4px;
  background: var(--linen);
  aspect-ratio: 0.89;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.guide { background: var(--olive); color: var(--paper); }

.guide-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.4rem, 8vw, 7.1rem);
  align-items: start;
  padding-block: 68px;
}

.guide-copy { padding-top: 1rem; }
.guide-copy h2 { font-size: clamp(2.65rem, 5vw, 4.32rem); }
.guide-copy h2:focus-visible { outline-color: var(--paper); }
.guide-copy p { max-width: 24rem; margin-top: 1.2rem; color: #f4eee5; font-size: 1.0625rem; }
.guide-copy .privacy-note { color: #e2dacd; font-size: 0.875rem; }

.guide-panel {
  min-width: 0;
  min-height: 340px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 7px;
  padding: clamp(1.25rem, 3.3vw, 2.2rem);
}

.guide-panel h3 {
  font: 600 clamp(1.45rem, 2.15vw, 2rem)/1.2 var(--sans);
  letter-spacing: -0.026em;
  text-wrap: wrap;
}

.progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.95rem;
}
.progress-label { font-size: 0.875rem; font-weight: 600; color: var(--rust); }

.progress-marks { display: grid; width: 65px; grid-template-columns: 1fr 1fr; gap: 4px; }
.progress-marks i { height: 3px; border-radius: 3px; background: #d6c9b9; }
.progress-marks i:first-child, [data-step="2"] .progress-marks i { background: var(--rust); }

.choices { display: grid; gap: 0.5rem; margin-top: 0.9rem; }
.choices label {
  display: flex;
  align-items: center;
  gap: 0.68rem;
  min-height: 45px;
  padding: 0.48rem 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9375rem;
  line-height: 1.4;
}
.choices label:hover, .choices label:has(:checked) {
  background: #eeeae0;
  border-color: var(--olive-muted);
}
.choices label:has(:focus-visible) { outline: 2px solid var(--rust); outline-offset: 2px; }
.choices input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--olive);
}

.choice-error { color: var(--rust); font-size: 0.875rem; }
.choice-error:not(:empty) { margin-top: 0.45rem; }

.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem 1.1rem; margin-top: 1rem; }
.quiet-button { background: none; border: 0; padding: 0.55rem 0.35rem; min-height: 44px; }
.result-actions { margin-top: 1.45rem; }
#resultado p { max-width: 27rem; margin-top: 0.85rem; color: var(--body); }
#resultado { padding-top: 1.4rem; }
.shortcut-list { margin-bottom: 0; padding-left: 1.15rem; }
.shortcut-list li + li { margin-top: 0.55rem; }

.content-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 8vw, 7.1rem);
  align-items: start;
  padding-block: clamp(67px, 8vw, 113px);
}

.body-copy { color: var(--body); font-size: 1.07rem; line-height: 1.78; }
.body-copy > p + p { margin-top: 0.95rem; }
.about .body-copy { padding-top: 1.55rem; }

.listening { background: var(--linen); }
.listening .body-copy { padding-top: 1.8rem; }
.listening-note {
  border-inline-start: 2px solid var(--clay);
  padding-inline-start: 1rem;
}
.listening-note strong { color: var(--ink); }
.disclosures { margin-top: 1.45rem; }

details { border-block-end: 1px solid #c6b8a7; }
details:first-of-type { border-block-start: 1px solid #c6b8a7; }
summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 50px;
  padding-block: 0.55rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 5px;
  border-right: 1.5px solid var(--rust);
  border-bottom: 1.5px solid var(--rust);
  transform: rotate(45deg);
  transform-origin: center;
}
details[open] summary::after { transform: rotate(225deg); }
details p { color: var(--body); font-size: 1rem; margin: 0 1.75rem 0.9rem 0; }
details .text-link { display: inline-block; }

.services { padding-block: clamp(67px, 8vw, 113px); }
.format-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin-top: 2.3rem; }
.format {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--olive-muted);
  padding: clamp(1.3rem, 3.4vw, 2.45rem);
  border-radius: 0 0 5px 5px;
}
.format:target { border-top-color: var(--rust); }
.format h3 { font: 600 1.9rem/1.15 var(--sans); }
.format p { margin-top: 0.6rem; max-width: 27rem; color: var(--body); }
.service-questions { max-width: 46rem; margin-top: 2rem; }

.contact { background: #e8e9df; }
.contact-inner { padding-block: clamp(60px, 7.4vw, 94px); align-items: center; }
.contact-inner p:not(.kicker) { margin-top: 0.95rem; max-width: 32rem; color: var(--body); }
.contact-links { display: grid; }
.contact-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.2rem;
  border-top: 1px solid #aeb6a6;
  padding: 1rem 0.2rem;
  text-decoration: none;
  color: var(--olive-deep);
}
.contact-links a:last-child { border-bottom: 1px solid #aeb6a6; }
.contact-links a span:first-child { font-weight: 600; }
.contact-links a:hover { color: var(--rust); }
.contact-links a:hover span:first-child { text-decoration: underline; text-underline-offset: 5px; }

.footer-inner {
  min-height: 115px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
  padding-block: 1.15rem;
}
.footer-inner p { color: var(--olive-muted); font: 500 1.1rem/1.45 var(--sans); }

@media (max-width: 1040px) {
  .wrap { width: min(1160px, calc(100% - 64px)); }
  .hero { gap: 3.2rem; }
  .wide-break { display: none; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { min-height: auto; padding-block: 0.9rem 0.5rem; flex-direction: column; gap: 0.7rem; }
  .site-header nav { justify-content: center; flex-wrap: wrap; gap: 0.15rem 1rem; font-size: 0.875rem; }
  .site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-header nav .header-contact { padding: 0; border: 0; }
  .hero { grid-template-columns: 1fr; gap: 1.7rem; padding-block: 2.4rem 2.65rem; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(2.65rem, 8.7vw, 4.5rem); max-width: 15ch; }
  h1 em { white-space: nowrap; }
  .hero-intro { margin-top: 1rem; }
  .hero-actions { margin-top: 1.35rem; }
  .hero-formats { margin-top: 1rem; }
  .hero-figure { max-width: 520px; }
  .hero-figure::before { border-top-right-radius: 82px; }
  .portrait-frame { border-top-right-radius: 76px; aspect-ratio: 0.98; }
  .portrait-frame img { object-position: center 22%; }
  .guide-inner, .content-section { grid-template-columns: 1fr; gap: 1.6rem; }
  .guide-inner { padding-block: 2.7rem; }
  .guide-copy { padding: 0; }
  .guide-copy h2 br { display: none; }
  .guide-copy p { margin-top: 0.75rem; }
  .guide-panel { min-height: 0; }
  .about .body-copy, .listening .body-copy { padding-top: 0; }
  .format-grid { gap: 0.7rem; }
}

@media (max-width: 460px) {
  .format-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner .signature { align-self: flex-start; }
}

@media (max-width: 365px) {
  .wrap { width: calc(100% - 32px); }
  .site-header nav { column-gap: 0.65rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
}

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