/* ============================================================
   JADE GARCÍA PRAXIS — styles.css
   v=20260624
   ============================================================ */

/* ── 1. CUSTOM PROPERTIES ──────────────────────────────────── */
:root {
  --bg:          #f8f7f4;
  --bg-2:        #f0eeea;
  --bg-3:        #e8e6e1;
  --bg-card:     #f0eeea;
  --text:        #54545e;
  --text-soft:   #54545e;
  --text-mute:   #54545e;
  --accent:      #000000;
  --accent-lt:   #2a2a2c;
  --accent-dk:   #000000;
  --line:        rgba(42,42,44,.12);
  --line-strong: rgba(42,42,44,.28);
  --nav-h:       76px;
  --ease-out:    cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.76,0,.24,1);
}

/* ── 2. RESET / BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: clip;
  cursor: auto;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; }

/* ── 3. TYPOGRAPHY ───────────────────────────────────────── */
.t-display {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.t-display-i {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
}
.t-method {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  letter-spacing: .45em;
  text-transform: uppercase;
  font-size: .7rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before,
.eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: .6;
}

/* ── 4. CUSTOM CURSOR — disabled ─────────────────────────── */
.cursor { display: none; }

/* ── 5. NAV ──────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(248,247,244,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--line);
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: .2rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo .logo-name {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .01em;
  color: #000000;
}
.nav-logo .logo-method {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: .62rem;
  letter-spacing: .52em;
  text-transform: uppercase;
  color: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin-left: auto;
  list-style: none;
}
.nav-links a {
  font-size: .78rem;
  font-weight: 300;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 2.5rem;
}
.nav-socials a {
  display: flex;
  align-items: center;
  color: var(--text-mute);
  transition: color .25s;
}
.nav-socials a:hover { color: var(--accent); }
.nav-socials svg { width: 18px; height: 18px; fill: currentColor; }
/* Hamburger */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 95;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .4rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1px;
  background: var(--text);
  transition: transform .3s, opacity .3s;
}
@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); right: 0; left: 0;
    height: calc(100vh - var(--nav-h));
    height: calc(100svh - var(--nav-h));
    z-index: 90;
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem 2.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a { font-size: 1rem; }
  .nav-socials { margin-left: 0; margin-top: .5rem; }
  body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  body.menu-open { overflow: hidden; height: 100%; }
}

/* ── 6. GRAIN ────────────────────────────────────────────── */
.grain {
  position: relative;
  isolation: isolate;
}
.grain::after {
  content: '';
  position: absolute;
  inset: -100%;
  width: 300%; height: 300%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .05;
  animation: grain-anim 7s steps(10) infinite;
  z-index: 1;
  mix-blend-mode: overlay;
}
@keyframes grain-anim {
  0%,100% { transform: translate(0,0); }
  10%      { transform: translate(-2%,-3%); }
  20%      { transform: translate(3%,1%); }
  30%      { transform: translate(-1%,4%); }
  40%      { transform: translate(2%,-2%); }
  50%      { transform: translate(-3%,3%); }
  60%      { transform: translate(1%,-1%); }
  70%      { transform: translate(-2%,2%); }
  80%      { transform: translate(3%,-3%); }
  90%      { transform: translate(-1%,1%); }
}

/* ── 7. HERO ─────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 42% 1fr;
  padding-top: var(--nav-h);
  align-items: stretch;
}

/* Photo column — contenida, no a sangre */
.hero-photo-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: clamp(2.5rem, 4vw, 4rem) clamp(2rem, 3.5vw, 3.5rem);
  /* Thin golden divider on the right */
  border-right: 1px solid var(--line);
}
.hero-photo-col::after {
  content: '';
  position: absolute;
  top: 15%; bottom: 15%;
  right: -1px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent-dk) 40%, var(--accent-dk) 60%, transparent);
  opacity: .5;
}
.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
}
.hero-photo-frame::before {
  /* Decorative thin gold border offset */
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid var(--line);
  pointer-events: none;
  z-index: 1;
}
.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(.92) contrast(1.04);
  will-change: transform;
}
.hero-photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-photo-placeholder .placeholder-icon {
  width: 64px; height: 64px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mute);
}
.hero-photo-placeholder .placeholder-icon svg { width: 28px; height: 28px; }

/* Content column */
.hero-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 4vw, 4.5rem);
  position: relative;
}
.hero-line-deco {
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--line) 30%, var(--line) 70%, transparent);
}
.hero-eyebrow { margin-bottom: 1.75rem; }
.hero-quote {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  max-width: 32ch;
}
.hero-quote em {
  font-style: italic;
  color: #000000;
}
.hero-cta-wrap {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.75rem;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .3s, color .3s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.btn-primary span { position: relative; z-index: 1; }
.btn-primary svg { position: relative; z-index: 1; width: 14px; height: 14px; stroke: currentColor; fill: none; transition: transform .3s; }
.btn-primary:hover { color: var(--bg); }
.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-secondary {
  font-size: .78rem;
  font-weight: 300;
  letter-spacing: .1em;
  color: var(--text-soft);
  text-transform: uppercase;
  text-decoration: none;
  transition: color .25s;
}
.btn-secondary:hover { color: var(--accent); }
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: clamp(2rem, 4vw, 4.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: .35;
}
.hero-scroll-hint span {
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--text-soft);
  writing-mode: vertical-rl;
}
.hero-scroll-hint::after {
  content: '';
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(1) translateY(0); opacity: .35; }
  50%       { transform: scaleY(.4) translateY(0); opacity: .1; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 38% 1fr;
  }
  .hero-photo-frame { max-width: 280px; }
}
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-photo-col {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 2.5rem 2rem;
  }
  .hero-photo-col::after { display: none; }
  .hero-photo-frame { max-width: 260px; }
  .hero-line-deco { display: none; }
  .hero-content-col { padding: 2.5rem 1.5rem 3rem; }
  .hero-quote { font-size: 1.25rem; }
  .hero-scroll-hint { display: none; }
}

/* ── 8. PHILOSOPHY SECTION ───────────────────────────────── */
.philosophy {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 8vw, 9rem);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
  border-top: 1px solid var(--line);
}
.philosophy-label {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.philosophy-label .eyebrow { flex-direction: column; align-items: flex-start; gap: .5rem; }
.philosophy-label .eyebrow::before { display: none; }
.philosophy-label .eyebrow::after { width: 48px; }
.philosophy-label-text {
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 1rem;
  line-height: 1.8;
}
.philosophy-content {}
.philosophy-quote {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 2.5rem;
}
.philosophy-quote em {
  font-style: italic;
  color: #000000;
}
.philosophy-body {
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
  color: var(--text-soft);
  line-height: 1.85;
  max-width: 58ch;
}
.philosophy-body p + p { margin-top: 1.25rem; }
.gold-line {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--accent);
  margin: 2.5rem 0;
  opacity: .5;
}
@media (max-width: 900px) {
  .philosophy { grid-template-columns: 1fr; gap: 2.5rem; }
  .philosophy-label { position: static; }
}

/* ── 9. CTA CARDS ────────────────────────────────────────── */
.cta-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.cta-section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.cta-section-header h2 {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  margin-top: 1rem;
}
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  max-width: 1200px;
  margin: 0 auto;
}
.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: clamp(2rem, 3.5vw, 3rem) clamp(1.5rem, 2.5vw, 2.5rem);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  transform-style: preserve-3d;
  transition: border-color .3s, background .3s;
  will-change: transform;
}
.cta-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform .4s var(--ease-out);
}
.cta-card:hover { border-color: var(--accent-dk); background: var(--bg-3); }
.cta-card:hover::before { transform: scaleX(1); }
.cta-card-num {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--line);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color .3s;
}
.cta-card:hover .cta-card-num { color: var(--line); }
.cta-card-title {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cta-card-desc {
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.7;
  flex: 1;
}
.cta-card-action {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .73rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap .3s;
}
.cta-card-action svg { width: 14px; height: 14px; stroke: currentColor; fill: none; transition: transform .3s; }
.cta-card:hover .cta-card-action { gap: .75rem; }
.cta-card:hover .cta-card-action svg { transform: translateX(4px); }
.cta-card .badge {
  display: inline-block;
  padding: .3rem .75rem;
  border: 1px solid var(--line-strong);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: auto;
  align-self: flex-start;
}
@media (max-width: 768px) {
  .cta-grid { grid-template-columns: 1fr; }
  .cta-card { min-height: 260px; }
}

/* ── 10. FOOTER ──────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem) 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.footer-brand .logo-name {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 1.1rem;
  color: var(--text);
  display: block;
  margin-bottom: .25rem;
}
.footer-brand .logo-method {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: .62rem;
  letter-spacing: .52em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
}
.footer-tagline {
  margin-top: 1rem;
  font-size: .8rem;
  color: var(--text-mute);
  max-width: 28ch;
  line-height: 1.6;
}
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.footer-nav a {
  font-size: .78rem;
  color: var(--text-soft);
  letter-spacing: .08em;
  transition: color .25s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-socials {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}
.footer-socials-links {
  display: flex;
  gap: 1.25rem;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  color: var(--text-mute);
  transition: color .25s, border-color .25s;
}
.footer-socials a:hover { color: var(--accent); border-color: var(--accent-dk); }
.footer-socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.footer-copy {
  font-size: .72rem;
  color: var(--text-mute);
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: .72rem;
  color: var(--text-mute);
  letter-spacing: .06em;
  transition: color .25s;
}
.footer-legal a:hover { color: var(--accent); }
@media (max-width: 640px) {
  .footer-top { flex-direction: column; }
  .footer-socials { align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── 11. REVEAL ANIMATIONS ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-split] { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .55s; }

/* ── 12. COOKIE BANNER ───────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 640px;
  background: rgba(240,238,234,.97);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  padding: 1.25rem 1.5rem;
  z-index: 200;
  transform: translateY(200%);
  transition: transform .5s var(--ease-out);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner.hide { transform: translateY(200%); }
.cookie-text {
  font-size: .8rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.cookie-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie-btns {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: .5rem 1.1rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid;
  background: transparent;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.cookie-btn-accept {
  border-color: var(--accent);
  color: var(--accent);
}
.cookie-btn-accept:hover { background: var(--accent); color: var(--bg); }
.cookie-btn-reject {
  border-color: var(--line-strong);
  color: var(--text-mute);
}
.cookie-btn-reject:hover { background: var(--bg-3); color: var(--text); }

/* ── 13. PAGE: CONSULTORÍA ───────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + clamp(3rem, 6vw, 5rem)) clamp(1.5rem, 8vw, 9rem) clamp(3rem, 6vw, 5rem);
  max-width: 900px;
}
.page-hero-eyebrow { margin-bottom: 1.5rem; }
.page-hero h1 {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  max-width: 22ch;
}
.page-hero h1 em { font-style: italic; color: var(--accent-lt); }
.consultoria-body {
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 8vw, 9rem);
  border-top: 1px solid var(--line);
}
.consultoria-body p {
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
  color: var(--text-soft);
  line-height: 1.85;
  max-width: 66ch;
}
.consultoria-body p + p { margin-top: 1.3rem; }
.consultoria-section-title {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.consultoria-block {
  padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 8vw, 9rem);
  border-top: 1px solid var(--line);
}
/* Form */
.contact-form {
  max-width: 640px;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: .6rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 300;
  padding: .8rem 1rem;
  outline: none;
  transition: border-color .25s;
  resize: vertical;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent-dk); }
.form-group textarea { min-height: 140px; }
.form-note {
  font-size: .76rem;
  color: var(--text-mute);
  margin-top: .5rem;
}
.btn-form {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 2rem;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--bg);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: background .3s, color .3s;
  cursor: pointer;
}
.btn-form:hover { background: transparent; color: var(--accent); }
.btn-form svg { width: 14px; height: 14px; stroke: currentColor; fill: none; }

/* ── 14. PAGE: LIBROS ────────────────────────────────────── */
.libros-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-h) clamp(1.5rem, 6vw, 6rem) 4rem;
  position: relative;
}
.libros-hero .coming-soon {
  font-family: 'Syne', system-ui, sans-serif;
  font-style: italic;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  opacity: .12;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.libros-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}
.libros-content h1 {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  margin: 1.25rem 0;
}
.libros-content p {
  color: var(--text-soft);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* ── 15. PAGE: NEWSLETTER ────────────────────────────────── */
.newsletter-page {
  padding: calc(var(--nav-h) + 3rem) clamp(1.5rem, 6vw, 6rem) 4rem;
  min-height: 100vh;
  min-height: 100svh;
}
.newsletter-header {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}
.newsletter-header h1 {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin: 1rem 0;
}
.newsletter-header p {
  font-size: .95rem;
  color: var(--text-soft);
  line-height: 1.75;
}
.newsletter-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}
/* Override ConvertKit defaults for dark theme */
.formkit-form[data-uid="39d3c45bb5"] {
  background-color: var(--bg-card) !important;
  border-color: var(--line-strong) !important;
  border-radius: 0 !important;
}
.formkit-form[data-uid="39d3c45bb5"] .formkit-header h2 {
  color: var(--text) !important;
  font-family: 'Syne', system-ui, sans-serif !important;
  font-weight: 700 !important;
}
.formkit-form[data-uid="39d3c45bb5"] .formkit-subheader p {
  color: var(--text-soft) !important;
}
.formkit-form[data-uid="39d3c45bb5"] .formkit-input {
  background: var(--bg-2) !important;
  color: var(--text) !important;
  border-color: var(--line-strong) !important;
  border-radius: 0 !important;
}
.formkit-form[data-uid="39d3c45bb5"] .formkit-submit {
  background-color: var(--accent) !important;
  border-radius: 0 !important;
}
.formkit-form[data-uid="39d3c45bb5"] .formkit-guarantee {
  color: var(--text-mute) !important;
}

/* ── 16. LEGAL PAGES ─────────────────────────────────────── */
.legal-page {
  padding: calc(var(--nav-h) + 3rem) clamp(1.5rem, 8vw, 9rem) 5rem;
  max-width: 900px;
}
.legal-page h1 {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}
.legal-date {
  font-size: .75rem;
  color: var(--text-mute);
  letter-spacing: .1em;
  margin-bottom: 3rem;
  display: block;
}
.legal-page h2 {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin: 2.5rem 0 .75rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.legal-page h2:first-of-type { border-top: none; padding-top: 0; }
.legal-page p {
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.legal-page ul {
  list-style: none;
  padding-left: 1rem;
  margin-bottom: 1rem;
}
.legal-page ul li {
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.85;
  padding-left: 1rem;
  position: relative;
}
.legal-page ul li::before {
  content: '—';
  position: absolute;
  left: -1rem;
  color: var(--accent);
  opacity: .6;
}
.legal-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: .82rem;
}
.legal-page th {
  text-align: left;
  padding: .6rem .75rem;
  background: var(--bg-3);
  color: var(--text-soft);
  font-weight: 400;
  letter-spacing: .05em;
  border: 1px solid var(--line);
}
.legal-page td {
  padding: .6rem .75rem;
  color: var(--text-mute);
  border: 1px solid var(--line);
  vertical-align: top;
}

/* ── 17. UTILITIES ───────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
}
.text-accent { color: var(--accent); }
.text-mute { color: var(--text-mute); }
