/* ============================================================
   KARIN SCHRODER  ·  Coach Fitness & Personal Trainer
   Sistema visual — wellness editorial, composicion asimetrica
   Display: Bricolage Grotesque · Texto: Hanken Grotesk
   ============================================================ */

:root {
  --canvas:      #F6F1E9;
  --canvas-2:    #EFE5D6;
  --ink:         #201C18;
  --ink-soft:    #59504A;
  --ink-faint:   #9A9086;
  --rose:        #C2748C;
  --rose-deep:   #9E4F6B;
  --rose-wash:   #F0DCE0;
  --gold:        #B0894F;
  --gold-soft:   #D0B584;
  --line:        rgba(32, 28, 24, 0.13);
  --line-strong: rgba(32, 28, 24, 0.24);

  --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --sans:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--rose); color: #fff; }

/* Textura de cine */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(125% 125% at 50% 38%, transparent 60%, rgba(32,28,24,0.08) 100%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Tipografia base */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.0; letter-spacing: -0.025em; }
.eyebrow { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose-deep); }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; position: relative; z-index: 2; }
.section { padding-block: clamp(4.5rem, 12vw, 10rem); position: relative; z-index: 2; }
.section--tint { background: var(--canvas-2); }
.section--ink { background: var(--ink); color: var(--canvas); }

/* Palabra "flood": el color llega (idea madre) */
.hl {
  color: var(--ink-faint);
  transition: color 1.1s var(--ease);
  background-image: linear-gradient(var(--rose-deep), var(--rose-deep));
  background-repeat: no-repeat; background-position: 0 96%; background-size: 0% 0.09em;
}
.hero.lit .hl { color: var(--rose-deep); background-size: 100% 0.09em; transition: color 1.1s var(--ease), background-size 1.2s var(--ease) .1s; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gutter);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.nav.scrolled { background: rgba(246,241,233,0.85); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); padding-block: 0.8rem; }
.nav__brand { font-family: var(--display); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
.nav__brand b { font-weight: 700; }
.nav__links { display: none; gap: 2.2rem; align-items: center; }
.nav__links a { font-size: 0.85rem; position: relative; color: var(--ink-soft); transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0; background: var(--rose-deep); transition: width .3s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.btn-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--ink); color: var(--canvas);
  padding: 0.78rem 1.5rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 500;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.btn-cta:hover { background: var(--rose-deep); transform: translateY(-2px); }
.btn-cta:active { transform: translateY(0) scale(0.98); }
.btn-cta svg { width: 15px; height: 15px; }
.serv-aside .btn-cta { background: var(--rose); }
.serv-aside .btn-cta:hover { background: #fff; color: var(--ink); }

.nav__toggle { display: flex; flex-direction: column; gap: 5px; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { position: fixed; inset: 0; z-index: 90; background: var(--canvas); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.5rem; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.nav__mobile.open { opacity: 1; pointer-events: auto; transform: none; }
.nav__mobile a { font-family: var(--display); font-size: 2rem; font-weight: 600; color: var(--ink); }
.nav__mobile a.small { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose-deep); margin-top: 1rem; }

/* ============================================================
   HERO — tipografia dominante, foto a sangre a la derecha
   ============================================================ */
.hero { position: relative; min-height: 100dvh; overflow: hidden; display: flex; align-items: flex-end; }
.hero__media {
  position: absolute; top: 0; right: 0; bottom: 0; z-index: 1;
  width: min(46vw, 640px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 26%);
          mask-image: linear-gradient(90deg, transparent, #000 26%);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__tag {
  position: absolute; left: 8%; bottom: 2rem; z-index: 2;
  font-size: 0.76rem; letter-spacing: 0.03em; color: var(--ink-soft);
  background: rgba(246,241,233,0.72); backdrop-filter: blur(4px); padding: 0.35rem 0.8rem; border-radius: 999px;
}
.hero__type {
  position: relative; z-index: 3; align-self: end;
  width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto;
  padding-top: 7rem; padding-bottom: clamp(2.5rem, 7vh, 5.5rem);
}
.hero__type .eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1.6rem; }
.hero__type .eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--rose-deep); }
.hero__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3.1rem, 12.5vw, 10.5rem);
  line-height: 0.86; letter-spacing: -0.045em;
  display: flex; flex-direction: column;
}
.hero__title span { display: block; }
.hero__foot { margin-top: clamp(1.8rem, 4vw, 3rem); display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.6rem 3rem; }
.hero__sub { max-width: 34ch; font-size: clamp(1rem, 2.2vw, 1.15rem); color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.btn-ghost { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.72rem 0.2rem; font-size: 0.9rem; font-weight: 600; border-bottom: 1px solid var(--line-strong); transition: gap .3s var(--ease), border-color .3s; }
.btn-ghost:hover { gap: 0.9rem; border-color: var(--rose-deep); }

.photo-pending {
  width: 100%; height: 100%; display: grid; place-content: center; gap: 0.6rem; text-align: center;
  background: radial-gradient(120% 90% at 65% 20%, var(--rose-wash), transparent 55%), linear-gradient(160deg, var(--canvas-2), #E2D3BE);
  color: var(--ink-faint);
}
.photo-pending .mono { font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 6vw, 5rem); color: var(--rose-deep); opacity: .5; }
.photo-pending small { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }

/* ============================================================
   SOBRE MI — asimetrico
   ============================================================ */
.about__grid { display: grid; gap: clamp(2.2rem, 5vw, 4rem) 3rem; }
.about__lead { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.025em; }
.about__lead b { color: var(--rose-deep); font-weight: 600; }
.about__body { color: var(--ink-soft); display: grid; gap: 1.1rem; max-width: 46ch; }
.about__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.stat b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--ink); line-height: 1; letter-spacing: -0.04em; }
.stat span { font-size: 0.82rem; color: var(--ink-faint); }

/* ============================================================
   METODO — filas editoriales, numerales gigantes, alternado
   ============================================================ */
.method__head { max-width: 20ch; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.method__head h2 { font-size: clamp(2rem, 5.5vw, 3.8rem); font-weight: 700; }
.method__head h2 i { font-style: normal; color: var(--gold-soft); }
.prow { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(2rem, 4vw, 3.2rem); border-top: 1px solid rgba(255,255,255,0.14); }
.prow:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.prow__n { font-family: var(--display); font-weight: 700; font-size: clamp(3.4rem, 12vw, 9rem); line-height: 0.8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.prow__body { max-width: 54ch; }
.prow__body h3 { font-size: clamp(1.6rem, 4vw, 2.7rem); font-weight: 600; color: var(--canvas); margin-bottom: 0.7rem; }
.prow__body p { color: rgba(246,241,233,0.68); font-size: 1rem; }

/* ============================================================
   STATEMENT — segundo golpe de lectura
   ============================================================ */
.statement { text-align: center; }
.statement__text { font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 6vw, 4.4rem); line-height: 1.06; letter-spacing: -0.03em; max-width: 18ch; margin-inline: auto; }
.hl2 { color: var(--rose-deep); }

/* ============================================================
   SERVICIOS — asimetrico: feature dominante + aside oscuro
   ============================================================ */
.serv__head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.serv__head h2 { font-size: clamp(2rem, 5.5vw, 3.8rem); font-weight: 700; max-width: 14ch; }
.serv__layout { display: grid; gap: 1.5rem; }
.serv__n { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--gold); }
.serv-feature { background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3.4rem); display: flex; flex-direction: column; gap: 1.4rem; }
.serv-feature__top { display: flex; flex-direction: column; gap: 0.8rem; }
.serv-feature__top .serv__n { color: var(--rose-deep); }
.serv-feature h3 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -0.03em; }
.serv-feature p { color: var(--ink-soft); flex-grow: 1; max-width: 50ch; }
.serv-feature .btn-cta { align-self: flex-start; }
.serv-aside { background: var(--ink); color: var(--canvas); border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 2.6rem); display: flex; flex-direction: column; gap: 1rem; }
.serv-aside h3 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 600; }
.serv-aside p { color: rgba(246,241,233,0.72); font-size: 0.97rem; flex-grow: 1; }
.serv-card__link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--rose); transition: gap .3s var(--ease); }
.serv-card__link:hover { gap: 0.85rem; }

/* ============================================================
   TESTIMONIOS — placeholder honesto
   ============================================================ */
.testi { text-align: center; }
.testi__pending { font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 3.6vw, 2.3rem); color: var(--ink-faint); letter-spacing: -0.02em; }
.testi__pending i { font-style: normal; color: var(--rose-deep); }
/* Plantilla real (cuando lleguen testimonios) */
.quote { display: flex; flex-direction: column; gap: 1.2rem; }
.quote blockquote { font-family: var(--display); font-weight: 500; font-size: 1.15rem; line-height: 1.45; }
.quote figcaption { font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 0.6rem; }
.quote figcaption b { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--rose-wash); color: var(--rose-deep); font-family: var(--display); }
.quote figcaption span { color: var(--ink-faint); font-weight: 400; }

/* ============================================================
   CTA
   ============================================================ */
.cta h2 { font-size: clamp(2.4rem, 8.5vw, 5.8rem); line-height: 0.94; font-weight: 700; letter-spacing: -0.04em; }
.cta h2 i { font-style: normal; color: var(--gold-soft); }
.cta__row { margin-top: clamp(1.8rem, 4vw, 3rem); display: grid; gap: 2rem; }
.cta p { max-width: 40ch; color: rgba(246,241,233,0.72); }
.cta__actions { display: flex; gap: 1rem; flex-wrap: wrap; align-content: end; }
.cta__mail { margin-top: 1.6rem; font-size: 0.92rem; color: rgba(246,241,233,0.6); }
.cta__mail a { color: var(--gold-soft); border-bottom: 1px solid rgba(208,181,132,0.35); padding-bottom: 1px; transition: color .3s, border-color .3s; }
.cta__mail a:hover { color: #fff; border-color: rgba(246,241,233,0.6); }
.btn-light { background: var(--canvas); color: var(--ink); padding: 0.9rem 1.8rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.6rem; transition: transform .3s var(--ease), background .3s; }
.btn-light:hover { background: var(--rose); color: #fff; transform: translateY(-2px); }
.btn-light:active { transform: translateY(0) scale(0.98); }
.btn-outline-light { color: var(--canvas); border: 1px solid rgba(246,241,233,0.35); padding: 0.9rem 1.8rem; border-radius: 999px; font-size: 0.95rem; font-weight: 500; transition: border-color .3s, background .3s; }
.btn-outline-light:hover { background: rgba(246,241,233,0.08); border-color: var(--canvas); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(246,241,233,0.7); padding-block: 3.5rem; position: relative; z-index: 2; }
.footer__grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1.5rem; }
.footer__brand { font-family: var(--display); font-weight: 600; font-size: 1.6rem; color: var(--canvas); }
.footer__tag { font-size: 0.85rem; color: rgba(246,241,233,0.55); margin-top: 0.3rem; }
.footer__mail { display: inline-block; margin-top: 0.7rem; font-size: 0.9rem; color: rgba(246,241,233,0.75); border-bottom: 1px solid rgba(246,241,233,0.25); padding-bottom: 1px; transition: color .3s, border-color .3s; }
.footer__mail:hover { color: var(--canvas); border-color: var(--canvas); }
.footer__social { display: flex; gap: 1rem; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(246,241,233,0.2); display: grid; place-items: center; color: var(--canvas); transition: background .3s, border-color .3s, transform .3s; }
.footer__social a:hover { background: var(--rose-deep); border-color: var(--rose-deep); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }
.footer__legal { width: 100%; border-top: 1px solid rgba(246,241,233,0.12); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.78rem; color: rgba(246,241,233,0.45); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.wa-float { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(37,211,102,0.5); transform: translateY(120px); transition: transform .5s var(--ease); }
.wa-float.show { transform: none; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hl { color: var(--rose-deep); background-size: 100% 0.09em; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__toggle, .nav__mobile { display: none; }

  .about__grid { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .about__intro { grid-column: 1 / 8; }
  .about__body { grid-column: 8 / 13; align-self: end; padding-bottom: 0.4rem; }
  .about__stats { grid-column: 1 / 13; margin-top: 1rem; }

  .prow--flip { grid-template-columns: 1fr auto; }
  .prow--flip .prow__n { order: 2; justify-self: end; }
  .prow--flip .prow__body { order: 1; text-align: right; margin-left: auto; }

  .serv__layout { grid-template-columns: 1.65fr 1fr; align-items: stretch; }

  .cta__row { grid-template-columns: 1fr auto; align-items: end; }
}

@media (max-width: 767px) {
  /* Hero mobile: foto a pantalla completa de fondo + scrim + texto encima */
  .hero { min-height: 100dvh; display: flex; align-items: flex-end; }
  .hero__media {
    position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero__media img { object-position: center 16%; }
  .hero__media::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(30,26,22,0.28) 0%, rgba(30,26,22,0) 24%, rgba(30,26,22,0.5) 54%, rgba(30,26,22,0.9) 100%);
  }
  .hero__type { position: relative; z-index: 2; align-self: end; padding-top: 0; padding-bottom: 2.6rem; }
  .hero__title { color: var(--canvas); }
  .hl { color: rgba(246,241,233,0.55); }
  .hero.lit .hl { color: #EDA9BE; }
  .hero__sub { color: rgba(246,241,233,0.88); max-width: 40ch; }
  .btn-ghost { color: var(--canvas); border-color: rgba(246,241,233,0.4); }
  .btn-ghost:hover { border-color: var(--canvas); }
  .hero__tag { z-index: 3; top: 5.2rem; left: var(--gutter); right: auto; bottom: auto; background: rgba(30,26,22,0.45); color: rgba(246,241,233,0.9); }
}
