/* ========================================
   Chus Hansen Poker — Design System
   Compartido en todas las páginas
   ======================================== */

:root {
  --black: #090c0a;
  --off-black: #0e120f;
  --card: #111510;
  --border: #1c2520;
  --border-soft: #15201a;
  --green: #4a6c50;
  --green-light: #6d9173;
  --green-rgb: 74, 108, 80;
  --green-dim: rgba(74,108,80,0.10);
  --text: #dde8de;
  --text-soft: #c4d0c5;
  --muted: #707f72;
  --muted-soft: #5e6b60;
  --white: #f0f5f0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--black);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
}

/* Tabular numerals para datos / stakes / stats */
.auth-val, .fact-val, .hero-auth-val,
.trust-strip-items span, .footer-ecosystem-items span {
  font-feature-settings: 'tnum' 1, 'lnum' 1, 'kern' 1;
}

a { color: inherit; text-decoration: none; }

/* ========== NAV (universal) ========== */
.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem clamp(1.5rem,5vw,4rem);
  border-bottom: 1px solid var(--border);
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 1.5rem;
}

.topnav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  text-decoration: none;
  padding: .15rem 0;
}
.topnav-brand img { height: 62px; width: auto; display: block; }
.topnav-brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  color: var(--white);
  letter-spacing: .03em;
  line-height: 1.1;
}
.topnav-brand-text em {
  font-style: italic;
  color: var(--green-light);
  display: block;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: .25rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.topnav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.topnav-menu a {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
  position: relative;
  padding: .4rem 0;
}
.topnav-menu a:hover { color: var(--green-light); }
.topnav-menu a.active { color: var(--white); }
.topnav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--green);
}

.topnav-actions {
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-shrink: 0;
}

#langToggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'Montserrat', sans-serif;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  padding: .5rem .85rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  transition: border-color .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
#langToggle:hover { border-color: var(--green); }
#langToggle span { display: inline-flex; align-items: center; gap: .35rem; opacity: .5; }
#langToggle span.lang-active { opacity: 1; color: var(--white); }
#langToggle svg { display: block; }

.topnav-cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: transparent;
  color: var(--green-light);
  border: 1px solid rgba(74,108,80,.45);
  font-family: 'Montserrat', sans-serif;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .7rem 1.3rem;
  transition: border-color .25s, color .25s, background .25s;
}
.topnav-cta:hover {
  border-color: var(--green-light);
  background: rgba(74,108,80,.07);
  color: var(--white);
}

.topnav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: .55rem .7rem;
  cursor: pointer;
}
.topnav-burger svg { display: block; }

@media (max-width: 960px) {
  .topnav {
    padding: .9rem clamp(1rem, 4vw, 2rem);
    gap: 1rem;
  }
  .topnav-menu {
    position: fixed;
    inset: 58px 0 0 0;
    background: var(--black);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2.5rem 2rem;
    gap: 1.4rem;
    transform: translateX(100%);
    transition: transform .3s ease;
    border-top: 1px solid var(--border);
  }
  .topnav-menu.open { transform: translateX(0); }
  .topnav-menu a {
    font-size: 1.1rem;
    letter-spacing: .18em;
    color: var(--text);
  }
  .topnav-burger { display: block; }
  .topnav-cta { display: none; }
  .topnav-brand img { height: 50px; }
  .topnav-brand-text { font-size: 1rem; }
  .topnav-brand-text em { font-size: .68rem; margin-top: .18rem; letter-spacing: .2em; }
  #langToggle { padding: .42rem .7rem; font-size: .55rem; }
}
@media (max-width: 540px) {
  .topnav { padding: .8rem 1rem; }
  .topnav-brand { gap: .7rem; }
  .topnav-brand img { height: 46px; }
  .topnav-brand-text { display: none; }
}

/* Section mobile spacing — más fino */
@media (max-width: 768px) {
  .section { padding: clamp(2.5rem, 9vw, 4rem) 1.2rem; }
  .container, .container-narrow { padding: 0 .2rem; }
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--green-light); }

.eyebrow {
  font-size: .65rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.5rem;
}
.eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--green); }

.section-label {
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 2rem;
}
.section-label::after { content: ''; flex: 1; max-width: 80px; height: 1px; background: var(--border); }

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  background: var(--green);
  color: var(--black);
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 1.1rem 2.5rem;
  transition: background .2s, transform .2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--green-light); transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border: 1px solid var(--green);
  color: var(--green-light);
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  transition: background .2s, color .2s, transform .2s;
  cursor: pointer;
  background: transparent;
}
.btn-secondary:hover { background: var(--green); color: var(--black); transform: translateY(-2px); }

/* ========== LAYOUT ========== */
.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem,6vw,5rem);
  position: relative;
}
.section + .section:not(.section-alt) {
  border-top: 1px solid var(--border);
}
.section-alt {
  background: var(--off-black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
/* Marca decorativa muy sutil — palo pequeño en la esquina superior de cada section-alt */
.section-alt::before {
  content: '♠';
  position: absolute;
  top: 1.4rem; left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: .75rem;
  color: var(--border);
  opacity: .6;
}
.section-quiet { padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem,6vw,5rem); }
.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 800px; margin: 0 auto; }

/* ========== CARDS ========== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  transition: border-color .25s, transform .25s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.card:hover { border-color: rgba(74,108,80,.45); transform: translateY(-3px); }
.card-icon {
  font-size: 1.8rem;
  color: var(--green);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
}
.card h3 {
  font-size: 1.7rem;
  font-weight: 600;
}
.card-text { font-size: .9rem; color: var(--muted); line-height: 1.75; flex: 1; }
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--green-light);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
  transition: gap .25s, color .25s;
}
.card-cta:hover { gap: .9rem; color: var(--green); }

/* ========== FOOTER — editorial ========== */
.site-footer {
  padding: clamp(4rem, 7vw, 6rem) clamp(1.5rem,6vw,5rem) 2.2rem;
  border-top: 1px solid var(--border);
  background: var(--black);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  max-width: 1200px;
}
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .58rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
  font-weight: 500;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--border);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .8rem; }
.footer-col a {
  font-family: 'Montserrat', sans-serif;
  font-size: .78rem;
  font-weight: 300;
  color: var(--text);
  letter-spacing: .01em;
  transition: color .25s, padding .25s;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  opacity: .75;
}
.footer-col a:hover { color: var(--green-light); opacity: 1; padding-left: .2rem; }
.footer-brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -.005em;
  line-height: 1.1;
}
.footer-brand-text em { font-style: italic; color: var(--green-light); font-weight: 400; }
.footer-brand-desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 340px;
  font-weight: 300;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.footer-copy {
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--border);
  font-weight: 500;
}
.footer-affil {
  font-size: .72rem;
  color: var(--muted);
  max-width: 580px;
  font-style: italic;
  line-height: 1.6;
  font-weight: 300;
  opacity: .8;
}

@media(max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
  .footer-brand-text { font-size: 1.4rem; }
}
@media(max-width: 540px) {
  .site-footer { padding: clamp(2.5rem, 6vw, 4rem) clamp(1.2rem,4vw,2rem) 1.4rem; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem 1.4rem;
    margin-bottom: 2rem;
  }
  .footer-col:first-child { grid-column: 1 / -1; margin-bottom: .2rem; }
  .footer-col h4 { font-size: .52rem; margin-bottom: .9rem; padding-bottom: .65rem; letter-spacing: .3em; }
  .footer-col ul { gap: .55rem; }
  .footer-col a { font-size: .74rem; }
  .footer-brand-text { font-size: 1.25rem; margin-bottom: .55rem; }
  .footer-brand-desc { max-width: none; font-size: .76rem; line-height: 1.7; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .7rem; padding-top: 1.4rem; }
  .footer-copy { font-size: .52rem; }
  .footer-affil { font-size: .68rem; }
}

/* ========== PHOTO GRADING (subtle cinematic) ========== */
/* Para fotos de setup / documental — mantiene autenticidad, sólo afina */
.photo-graded {
  position: relative;
  overflow: hidden;
  background: var(--off-black);
}
.photo-graded img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88) contrast(1.08) saturate(0.86);
  transition: filter .5s ease;
}
/* Viñeteado focal — lleva la mirada al sujeto sin distorsionar */
.photo-graded::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 38% 42%, transparent 35%, rgba(0,0,0,0.28) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(8,10,9,0.18) 100%);
  pointer-events: none;
  mix-blend-mode: multiply;
}
/* Ligera capa fría — sensación nocturna sin teñir */
.photo-graded::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(40, 55, 65, 0.05);
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

/* ========== HERO AUTHORITY ROW (coaching) ========== */
.hero-auth {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 2rem 0 2.2rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 460px;
}
.hero-auth-item {
  text-align: left;
  padding: 0 .8rem 0 0;
  position: relative;
}
.hero-auth-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
.hero-auth-item:not(:first-child) { padding-left: .8rem; }
.hero-auth-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(.92rem, 1.3vw, 1.1rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.005em;
}
.hero-auth-lab {
  font-size: .48rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .3rem;
  font-weight: 500;
}
@media(max-width: 600px) {
  .hero-auth { grid-template-columns: 1fr 1fr; gap: 1rem 0; padding: 1.1rem 0; max-width: 100%; }
  .hero-auth-item:nth-child(2)::after { display: none; }
  .hero-auth-item { padding: 0 .6rem; }
  .hero-auth-item:first-child, .hero-auth-item:nth-child(3) { padding-left: 0; }
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .75s cubic-bezier(.22,.61,.36,1), transform .75s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

/* ========================================
   MOTION POLISH — premium microinteractions
   Subtle, editorial, Apple-like.
   Only transform / opacity / color → 60fps.
   ======================================== */

/* ---------- Easing tokens ---------- */
:root {
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
  --motion-fast: .25s;
  --motion-base: .38s;
  --motion-slow: .55s;
}

/* ---------- Hover cards (subtle lift + border + soft glow) ---------- */
.card,
.reel, .reel-card,
.formato, .formato-card,
.recurso, .recurso-card,
.yt-card, .video-card,
.metodo-item {
  transition:
    transform var(--motion-base) var(--ease-out),
    border-color var(--motion-base) var(--ease-out),
    box-shadow var(--motion-base) var(--ease-out),
    background-color var(--motion-base) var(--ease-out);
  will-change: transform;
}
.card:hover,
.reel:hover, .reel-card:hover,
.formato:hover, .formato-card:hover,
.recurso:hover, .recurso-card:hover,
.yt-card:hover, .video-card:hover,
.metodo-item:hover {
  transform: translateY(-4px);
  border-color: rgba(74,108,80,.55);
  box-shadow:
    0 14px 40px -22px rgba(74,108,80,.32),
    0 2px 18px -10px rgba(74,108,80,.18);
}

/* ---------- Image hover zoom (very subtle, cinematic) ---------- */
.card img,
.reel img, .reel-card img,
.formato img, .formato-card img,
.recurso img, .recurso-card img,
.yt-card img, .video-card img,
.photo-graded img,
.about-photo img {
  transition: transform var(--motion-slow) var(--ease-out), filter var(--motion-slow) var(--ease-out);
  will-change: transform;
}
.card:hover img,
.reel:hover img, .reel-card:hover img,
.formato:hover img, .formato-card:hover img,
.recurso:hover img, .recurso-card:hover img,
.yt-card:hover img, .video-card:hover img,
.photo-graded:hover img,
.about-photo:hover img {
  transform: scale(1.02);
}
/* Lift grading just slightly on hover */
.photo-graded:hover img { filter: brightness(0.94) contrast(1.06) saturate(0.92); }

/* Ensure card image containers clip the zoom */
.card, .reel, .reel-card, .formato, .formato-card,
.recurso, .recurso-card, .yt-card, .video-card,
.photo-graded, .about-photo { overflow: hidden; }

/* ---------- Buttons — refined transitions ---------- */
.btn-primary {
  transition:
    background-color var(--motion-base) var(--ease-out),
    color var(--motion-base) var(--ease-out),
    transform var(--motion-base) var(--ease-out),
    box-shadow var(--motion-base) var(--ease-out);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -14px rgba(109,145,115,.5);
}
.btn-primary:active { transform: translateY(0); transition-duration: .12s; }

.btn-secondary {
  transition:
    background-color var(--motion-base) var(--ease-out),
    color var(--motion-base) var(--ease-out),
    border-color var(--motion-base) var(--ease-out),
    transform var(--motion-base) var(--ease-out),
    box-shadow var(--motion-base) var(--ease-out);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -16px rgba(74,108,80,.45);
}
.btn-secondary:active { transform: translateY(0); transition-duration: .12s; }

/* ---------- Navbar — refined link hover ---------- */
.topnav-menu a {
  transition: color var(--motion-base) var(--ease-out);
}
.topnav-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--green-light);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--motion-base) var(--ease-out);
  opacity: .8;
}
.topnav-menu a:hover::before { transform: scaleX(1); }
.topnav-menu a.active::before { display: none; }

.topnav-brand,
.topnav-cta,
#langToggle {
  transition:
    border-color var(--motion-base) var(--ease-out),
    color var(--motion-base) var(--ease-out),
    background-color var(--motion-base) var(--ease-out),
    transform var(--motion-base) var(--ease-out);
}
.topnav-cta:hover { transform: translateY(-1px); }

/* ---------- Footer links — gentler ---------- */
.footer-col a { transition: color var(--motion-base) var(--ease-out), padding-left var(--motion-base) var(--ease-out), opacity var(--motion-base) var(--ease-out); }

/* ---------- Card CTA arrow ---------- */
.card-cta { transition: gap var(--motion-base) var(--ease-out), color var(--motion-base) var(--ease-out); }

/* ---------- Mobile — reduce motion magnitude ---------- */
@media (max-width: 768px) {
  .reveal { transform: translateY(8px); transition-duration: .55s; }
  .card:hover, .reel:hover, .reel-card:hover,
  .formato:hover, .formato-card:hover,
  .recurso:hover, .recurso-card:hover,
  .yt-card:hover, .video-card:hover,
  .metodo-item:hover { transform: translateY(-2px); box-shadow: none; }
  .btn-primary:hover, .btn-secondary:hover { transform: none; box-shadow: none; }
}

/* ---------- Accessibility — reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .card:hover, .reel:hover, .reel-card:hover,
  .formato:hover, .formato-card:hover,
  .recurso:hover, .recurso-card:hover,
  .yt-card:hover, .video-card:hover,
  .metodo-item:hover,
  .btn-primary:hover, .btn-secondary:hover { transform: none !important; box-shadow: none !important; }
  .card:hover img, .reel:hover img, .photo-graded:hover img, .about-photo:hover img,
  .formato:hover img, .recurso:hover img, .yt-card:hover img, .video-card:hover img { transform: none !important; }
}

/* ========================================
   MOBILE-FIRST FINAL PASS
   Spacing, tap targets, crops, legibilidad
   Sin tocar layout ni diseño general.
   ======================================== */

/* No overflow horizontal en ninguna página */
html, body { max-width: 100%; overflow-x: hidden; }
img, video, svg { max-width: 100%; }

/* ---------- Tablet (≤768px) ---------- */
@media (max-width: 768px) {
  /* Topnav — tap targets */
  .topnav-burger { padding: .65rem .8rem; min-height: 42px; min-width: 42px; }
  #langToggle { min-height: 38px; }
  .topnav-menu a { padding: .55rem 0; }

  /* Footer links — tap targets */
  .footer-col a { padding: .25rem 0; min-height: 32px; }
  .footer-col ul { gap: .55rem; }

  /* Buttons — ensure minimum tap height */
  .btn-primary, .btn-secondary { min-height: 44px; }
}

/* ---------- Mobile estándar (≤640px) ---------- */
@media (max-width: 640px) {
  /* Coaching hero — foto más contenida y debajo del texto */
  .coach-hero-photo {
    order: 0 !important;
    max-width: 360px !important;
    aspect-ratio: 4/3;
  }
  .coach-hero-inner { gap: 1.8rem !important; }
  .coach-hero h1 { letter-spacing: -.005em; }

  /* Coaching hero-auth — mejor padding */
  .hero-auth { padding: 1rem 0; margin: 1.6rem 0 1.8rem; }
  .hero-auth-val { font-size: .98rem !important; }
  .hero-auth-lab { font-size: .46rem !important; }

  /* Comunidad — screenshot Discord más contenido */
  .discord-frame { max-height: 460px; }
  .discord-frame img { max-height: 460px; object-fit: cover; object-position: top left; }
  .spread-info { margin-top: 1.4rem; }
  /* CTA Discord más visible — micro-refuerzo */
  .spread-cta { width: auto; min-width: 220px; justify-content: center; }

  /* Contenido — reels en 2 columnas (no 1) para mejor tamaño */
  .reels-grid {
    grid-template-columns: 1fr 1fr !important;
    max-width: 100% !important;
    gap: .7rem !important;
  }
  .reel-card .reel-title { font-size: .82rem; }
  .reel-card .reel-desc { font-size: .7rem; line-height: 1.5; }
  .reel-body { padding: .8rem .8rem 1rem !important; }

  /* Contenido — featured side cards padding más fino */
  .feat-card:not(.lead) .feat-body { padding: 1.1rem 1.1rem 1.3rem; }

  /* Recursos — H2N banner aspect más cómodo */
  .res-featured-banner { aspect-ratio: 2.6/1 !important; padding: 1rem !important; }
  .res-featured-banner img { max-width: 95%; max-height: 92%; }

  /* Home — about teaser image no demasiado grande */
  .about-img-frame { width: min(360px, 100%) !important; }

  /* Sobre-mí — facts grid mejor en 2 columnas */
  .facts-grid { grid-template-columns: 1fr 1fr !important; gap: .7rem !important; }
  .fact-row { padding: .65rem .9rem; }
  .fact-val { font-size: .92rem; }
  .fact-key { font-size: .5rem; }

  /* Section divisores — mantener aire pero sin exceso */
  .section + .section { border-top: 1px solid var(--border); }
}

/* ---------- iPhone estándar (≤430px) ---------- */
@media (max-width: 430px) {
  /* Topnav más compacto */
  .topnav { padding: .7rem .9rem; gap: .6rem; }
  .topnav-brand { gap: .55rem; }
  .topnav-brand img { height: 42px; }
  #langToggle { padding: .38rem .55rem; font-size: .52rem; letter-spacing: .12em; }
  #langToggle span { gap: .25rem; }
  #langToggle svg { width: 15px; height: 11px; }

  /* Coaching hero más fino */
  .coach-hero-photo { max-width: 320px !important; }

  /* Comunidad screenshot — un pelín más bajo */
  .discord-frame { max-height: 380px; }
  .discord-frame img { max-height: 380px; }

  /* Footer mejor empaquetado */
  .site-footer { padding-left: 1rem; padding-right: 1rem; }
  .footer-grid { gap: 1.2rem 1.1rem; margin-bottom: 1.6rem; }
  .footer-col h4 { margin-bottom: .75rem; }

  /* Section padding lateral más ajustado */
  .section { padding-left: 1rem; padding-right: 1rem; }
}

/* ---------- iPhone SE / muy pequeño (≤380px) ---------- */
@media (max-width: 380px) {
  .topnav-brand img { height: 38px; }
  .topnav { padding: .6rem .8rem; gap: .5rem; }
  #langToggle { padding: .32rem .48rem; font-size: .5rem; }

  /* Reels vuelven a 1 columna si es muy pequeño */
  .reels-grid { grid-template-columns: 1fr !important; max-width: 320px !important; margin: 0 auto !important; }

  /* Coaching hero-auth — más fino */
  .hero-auth { gap: .8rem 0 !important; padding: .85rem 0 !important; }
}

/* ---------- Form inputs — mejor en mobile (iOS no zoom) ---------- */
@media (max-width: 768px) {
  input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
  input[type="number"], select, textarea {
    font-size: 16px !important; /* evita zoom automático en iOS */
  }
}

/* ========================================
   TRUST STRIP — social proof editorial
   Sin logos, solo tipografía. Sobrio.
   ======================================== */
.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--off-black);
  padding: clamp(1rem, 2vw, 1.4rem) clamp(1.5rem,6vw,5rem);
}
/* Evitar doble borde con secciones siguientes */
.trust-strip + section,
.trust-strip + .coach-section,
.authority-bar + .trust-strip { border-top: none; }
.trust-strip + .section.section-alt { border-top: none; }
.trust-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 1.3rem;
}
.trust-strip-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(.85rem, 1.1vw, .95rem);
  color: var(--green-light);
  opacity: .85;
  letter-spacing: .015em;
  padding-right: 1rem;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.trust-strip-items {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem .95rem;
}
.trust-strip-items span:not(.dot) {
  font-family: 'Montserrat', sans-serif;
  font-size: .58rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.trust-strip-items .dot {
  color: var(--border);
  font-size: .65rem;
  user-select: none;
}
@media (max-width: 640px) {
  .trust-strip { padding: 1rem 1rem; }
  .trust-strip-inner { flex-direction: column; gap: .55rem; }
  .trust-strip-label {
    border-right: none;
    padding-right: 0;
    font-size: .82rem;
  }
  .trust-strip-items { justify-content: center; gap: .35rem .75rem; }
  .trust-strip-items span:not(.dot) { font-size: .54rem; letter-spacing: .22em; }
}

/* ========================================
   FOOTER ECOSYSTEM — línea sutil
   ======================================== */
.footer-ecosystem {
  max-width: 1200px;
  margin: 0 auto clamp(1.4rem, 2.5vw, 1.8rem);
  padding-bottom: clamp(1.2rem, 2vw, 1.6rem);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .4rem 1rem;
}
.footer-ecosystem-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: .015em;
  opacity: .85;
  padding-right: .7rem;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.footer-ecosystem-items {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .85rem;
}
.footer-ecosystem-items span:not(.dot) {
  font-family: 'Montserrat', sans-serif;
  font-size: .54rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  opacity: .82;
  white-space: nowrap;
}
.footer-ecosystem-items .dot {
  color: var(--border);
  font-size: .58rem;
}
@media (max-width: 640px) {
  .footer-ecosystem {
    flex-direction: column;
    gap: .5rem;
    margin-bottom: 1.3rem;
    padding-bottom: 1.2rem;
  }
  .footer-ecosystem-label {
    border-right: none;
    padding-right: 0;
    font-size: .78rem;
  }
  .footer-ecosystem-items { justify-content: center; gap: .3rem .7rem; }
  .footer-ecosystem-items span:not(.dot) { font-size: .5rem; letter-spacing: .22em; }
}

/* ========================================
   FINAL POLISH — micro-consistency global
   Detalle editorial premium. Nada de layout.
   ======================================== */

/* ---------- Selección de texto ---------- */
::selection {
  background: rgba(74,108,80,.32);
  color: var(--white);
}
::-moz-selection {
  background: rgba(74,108,80,.32);
  color: var(--white);
}

/* ---------- Focus visible sobrio (accesible) ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 1px solid var(--green-light);
  outline-offset: 3px;
  border-radius: 1px;
}
a:focus-visible, button:focus-visible {
  outline-color: var(--green-light);
}
.topnav-brand:focus-visible { outline-offset: 6px; }

/* ---------- Scrollbar premium (WebKit) ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border: 2px solid var(--black);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(74,108,80,.4); }
html { scrollbar-color: var(--border) var(--black); scrollbar-width: thin; }

/* ---------- Typography polish — micro ajustes ---------- */
/* Cormorant headings: tracking sutil para mayúsculas pequeñas */
h1, h2, h3, h4 {
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'dlig' 1;
}
/* Italic em verde-claro: subir muy ligeramente para que respire */
h1 em, h2 em, h3 em { letter-spacing: -.002em; }

/* Párrafos muted: line-height ligeramente más generoso para descripciones */
p { font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1; }

/* Labels uppercase muy pequeños — kerning siempre activo */
.eyebrow, .section-label,
.auth-lab, .hero-auth-lab, .fact-key,
.topnav-menu a, .topnav-cta,
.footer-col h4, .footer-copy,
.trust-strip-items span:not(.dot),
.footer-ecosystem-items span:not(.dot) {
  font-feature-settings: 'kern' 1, 'ss01' 1;
  text-rendering: geometricPrecision;
}

/* ---------- Strong en párrafos muted: contraste medido ---------- */
p strong { color: var(--text); font-weight: 400; }

/* ---------- Hover timings unificados (residuales) ---------- */
.eco-item-cta, .feat-bottom-cta,
.coach-cta-sec, .coach-cta-primary,
.hero-cta-main, .hero-cta-links a,
.spread-cta, .streams-cta,
.reels-bottom a, .discord-bridge a,
.sect-link, .res-card-cta, .res-featured-cta,
.formato-card .formato-cta,
.card-cta, .closer-links a {
  transition-duration: .38s;
  transition-timing-function: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Image renderizado en hover (anti-bloqueo) ---------- */
img { backface-visibility: hidden; }

/* ---------- Ultra-wide screens (≥1600px) ---------- */
@media (min-width: 1600px) {
  /* Cap absoluto para contenedores muy abiertos — mantener proporciones editoriales */
  .hero-inner, .authority-rows, .eco-grid,
  .feat-grid, .reels-grid,
  .coach-hero-inner, .coach-section-inner,
  .footer-grid { max-width: 1280px; }

  /* Texto centrado/lead nunca demasiado ancho */
  .hero-sub, .page-hero .lead, .eco-header p,
  .coach-section-header p, .philosophy-header p,
  .timeline-section-header p { max-width: 620px; }

  /* Padding lateral más generoso en ultra-wide */
  .section, .coach-section, .form-section,
  .timeline-section, .philosophy, .closer,
  .cat-section, .feat-section, .reels-section,
  .streams-block, .discord-bridge,
  .page-hero, .about-hero, .facts, .bio-section,
  .authority-bar, .trust-strip, .site-footer {
    padding-left: clamp(2.5rem, 6vw, 6rem);
    padding-right: clamp(2.5rem, 6vw, 6rem);
  }
}

/* ---------- Tablet (768–960px) — refinamientos ---------- */
@media (min-width: 641px) and (max-width: 960px) {
  /* Coaching hero — foto más contenida en tablet */
  .coach-hero-photo { max-width: 380px; }

  /* Reveal magnitud media — menos dramático que mobile pero menos que desktop */
  .reveal { transform: translateY(10px); }

  /* Discord screenshot — un poco más controlado en tablet */
  .discord-frame { max-height: 540px; }
  .discord-frame img { max-height: 540px; object-fit: cover; object-position: top center; }

  /* Reels: 3 columnas se mantienen, gap un pelín mayor para respirar */
  .reels-grid { gap: 1rem; }

  /* Coaching formato-grid: en tablet ir a 1 columna también sería abrumador, mantener 3 */
  /* (no override necesario, default ya lo hace bien) */
}

/* ---------- Empty states / placeholders refinement ---------- */
.res-placeholder {
  position: relative;
  background:
    radial-gradient(ellipse 60% 100% at 20% 50%, rgba(74,108,80,.04), transparent 70%),
    var(--card);
}
.res-placeholder::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 1px;
  background: var(--green-light);
  opacity: .5;
}
.res-placeholder-label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.res-placeholder-label::after {
  content: '·';
  color: var(--green);
  opacity: .6;
  font-size: 1.2rem;
  line-height: 1;
  margin-left: .25rem;
}

/* ---------- Cards & frames: vertical rhythm consistency ---------- */
/* Asegurar transition base coherente en todos los hover-cards */
.eco-item, .metodo-item { transition-duration: .38s; transition-timing-function: cubic-bezier(.22,.61,.36,1); }

/* ---------- Form inputs: refinamiento sutil ---------- */
.form-row input, .form-row select, .form-row textarea {
  transition: border-color .38s cubic-bezier(.22,.61,.36,1), background .38s cubic-bezier(.22,.61,.36,1);
}
.form-row input:hover, .form-row select:hover, .form-row textarea:hover {
  border-color: rgba(74,108,80,.35);
}
/* Placeholder color refinement */
::placeholder { color: var(--muted-soft); opacity: 1; font-weight: 300; }

/* ---------- Selectores específicos: bordes consistentes ---------- */
/* Todo lo que es "card editorial" comparte border-color */
.card, .reel-card, .feat-card,
.formato-card, .res-card, .res-featured,
.metodo-item, .timeline-block,
.discord-frame {
  border-color: var(--border);
}

/* ---------- Imagen lazy: prevenir flash blanco ---------- */
img[loading="lazy"] {
  background: var(--off-black);
}

/* ---------- Print: sobrio fallback ---------- */
@media print {
  body { background: white; color: black; }
  .topnav, .site-footer, .trust-strip, .footer-ecosystem,
  .coach-hero-photo, .about-photo, .photo-graded { display: none; }
}
