/* ============================================================
   HAZZLO — Design System
   Psicología positiva · Coaching · Desarrollo profesional
   ============================================================ */

:root {
  /* Marca */
  --ink: #1a1a1a;
  --paper: #ffffff;
  --paper-2: #f5f5f7;
  --text: #2b2b2b;
  --text-soft: #656565;
  --text-soft-2: #8a8a8a;
  --line: rgba(0, 0, 0, 0.1);

  /* Marca Hazzlo (naranja) */
  --coral: #e9883c;
  --coral-2: #f2a75f;
  --amber: #f2a75f;
  --grad-accion: linear-gradient(100deg, #e9883c 0%, #f2a75f 100%);

  --radius: 22px;
  --radius-s: 14px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.18);
  --shadow-s: 0 10px 30px -18px rgba(0, 0, 0, 0.16);

  --font-head: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Helvetica Neue", system-ui, sans-serif;
  --font-mark: "Anton", "Archivo Black", var(--font-head);

  --w: min(1160px, 92vw);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }

p { margin: 0 0 1em; }
a { color: inherit; }

.container { width: var(--w); margin-inline: auto; }

section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--grad-accion);
  border-radius: 2px;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text-soft);
  max-width: 46ch;
}

.grad-text {
  background: var(--grad-accion);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1.2), box-shadow 0.25s ease, background-color 0.25s ease;
  will-change: transform;
}
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.btn-primary {
  color: #fff;
  background: var(--grad-accion);
  box-shadow: 0 14px 34px -12px rgba(233, 136, 60, 0.45);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 44px -12px rgba(233, 136, 60, 0.5); }
.btn-ghost {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn-ghost:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost--light { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.4); }
.btn-ghost--light:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 40px -28px rgba(0,0,0,0.2);
}

.nav {
  width: var(--w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.logo {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-soft);
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--grad-accion);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 0.65rem 1.35rem; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2.5px;
  border-radius: 3px;
  background: var(--ink);
  margin: 5.5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transform: translateY(-102%);
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
  }
  .nav-links a { font-size: 1.4rem; }
  body.nav-open .nav-links { transform: translateY(0); }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
  .nav > .btn { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(255, 176, 46, 0.14), transparent 60%),
    radial-gradient(760px 500px at -10% 110%, rgba(233, 136, 60, 0.09), transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.hero h1 .line { display: block; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-note { margin-top: 1.4rem; font-size: 0.9rem; color: var(--text-soft); }
.hero-note strong { color: var(--ink); }

.hero-visual { position: relative; }
.hero-photo {
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.hero-badge {
  position: absolute;
  z-index: 3;
  left: -1.4rem;
  bottom: -1.2rem;
  background: #fff;
  border-radius: var(--radius-s);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-badge b { font-family: var(--font-head); display: block; color: var(--ink); font-size: 1rem; }
.hero-badge span { font-size: 0.85rem; color: var(--text-soft); }
.hero-blob {
  position: absolute;
  inset: -12% -18%;
  z-index: 1;
  background: var(--grad-accion);
  opacity: 0.1;
  border-radius: 46% 54% 60% 40% / 45% 42% 58% 55%;
  animation: blob 14s ease-in-out infinite alternate;
}
@keyframes blob {
  to { border-radius: 55% 45% 42% 58% / 55% 60% 40% 45%; transform: rotate(8deg) scale(1.05); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 7.5rem; }
  .hero-photo { max-width: 380px; margin-inline: auto; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -1.6rem; white-space: nowrap; }
}

/* ---------- Marquee ---------- */
.marquee {
  padding: 1.15rem 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 26s linear infinite;
}
.marquee span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.marquee span em { font-style: normal; color: var(--coral); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Trayectoria / empresas ---------- */
.trustbar { background: var(--paper); padding: 2.6rem 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.trustbar-label {
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 1.4rem;
}
.trustbar-marquee { overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trustbar-track { display: inline-flex; gap: 1.1rem; align-items: center; animation: marquee 62s linear infinite; }
.logo-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1.6rem;
  height: 74px;
  flex: 0 0 auto;
}
.logo-tile img { height: 42px; width: auto; max-width: 170px; display: block; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3.5rem;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 1.5rem 1.6rem;
}
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stat b .plus { color: var(--coral); }
.stat span { font-size: 0.88rem; color: var(--text-soft); }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Pilares ---------- */
.section-head { max-width: 620px; margin-bottom: 3.2rem; }
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.pillar {
  position: relative;
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2.4rem 2.2rem;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1.1), box-shadow 0.35s ease;
}
.pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--grad-accion);
}
.pillar .tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--text-soft);
  margin-bottom: 1.3rem;
}
.pillar h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin-bottom: 0.6rem;
}
.pillar h3 .accion { background: var(--grad-accion); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pillar p { color: var(--text-soft); font-size: 0.97rem; margin-bottom: 1.4rem; }
.pillar .more {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.pillar .more .arrow { transition: transform 0.3s ease; }
.pillar:hover .more .arrow { transform: translateX(5px); }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Un método, tres momentos (TRACE) ---------- */
.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.8rem;
}
.module-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 2.1rem 2.3rem;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1.1), box-shadow 0.3s ease;
}
.module-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.module-card .tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad-accion);
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.module-card h3 { font-size: 1.3rem; margin-bottom: 1.3rem; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.45;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--coral);
}
.module-card .more {
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}
.module-card .more .arrow { transition: transform 0.3s ease; }
.module-card:hover .more .arrow { transform: translateX(5px); }
@media (max-width: 900px) {
  .modules { grid-template-columns: 1fr; }
}

/* ---------- Split para ti / empresa ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.split-card {
  border-radius: var(--radius);
  padding: 2.6rem;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.split-card--warm { background: #fff5f2; border-color: #ffd9cc; }
.split-card h3 { color: var(--ink); font-size: 1.6rem; }
.split-card p { color: var(--text-soft); }
.split-card ul { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.split-card li {
  padding: 0.55rem 0 0.55rem 1.9rem;
  position: relative;
  color: var(--text);
  font-size: 0.97rem;
}
.split-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--coral);
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- Charlas y formación en empresa ---------- */
.speaking {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grad-accion);
  box-shadow: var(--shadow);
}
.speaking-media { min-height: 380px; position: relative; }
.speaking-media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.speaking-inset {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 46%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 4px solid #fff;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: block;
}
.speaking-inset img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 560px) { .speaking-inset { width: 52%; right: 12px; bottom: 12px; } }
.speaking-body { padding: 3rem 3.2rem; display: flex; flex-direction: column; justify-content: center; }
.speaking-body .eyebrow { color: rgba(255, 255, 255, 0.85); }
.speaking-body .eyebrow::before { background: #fff; }
.speaking-body h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0.9rem; }
.speaking-body p { color: rgba(255, 255, 255, 0.94); margin-bottom: 1.7rem; max-width: 46ch; }
.speaking-body .btn { background: #1a1a1a; color: #fff; box-shadow: none; }
.speaking-body .btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 44px -14px rgba(0, 0, 0, 0.45); }
@media (max-width: 820px) {
  .speaking { grid-template-columns: 1fr; }
  .speaking-media { min-height: 300px; }
  .speaking-body { padding: 2.2rem 1.6rem; }
}

/* ---------- Sobre / Ana ---------- */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-portrait {
  position: relative;
  border-radius: var(--radius);
  aspect-ratio: 4 / 4.6;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 176, 46, 0.35), transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(233, 136, 60, 0.3), transparent 55%),
    var(--paper-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.about-portrait .initial {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(6rem, 14vw, 10rem);
  color: rgba(26, 26, 26, 0.18);
  letter-spacing: -0.05em;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-portrait .caption {
  position: absolute;
  left: 1.2rem; right: 1.2rem; bottom: 1.2rem;
  background: rgba(255,255,255,0.94);
  border-radius: var(--radius-s);
  padding: 0.9rem 1.2rem;
  font-size: 0.88rem;
  box-shadow: var(--shadow-s);
}
.about-portrait .caption b { font-family: var(--font-head); display: block; color: var(--ink); }
.about blockquote {
  margin: 1.6rem 0;
  padding-left: 1.4rem;
  border-left: 4px solid;
  border-image: var(--grad-accion) 1;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.badges { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.badge {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text-soft);
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ---------- Banner fotográfico ---------- */
.quote-banner {
  padding: 0;
  height: clamp(280px, 42vw, 460px);
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.quote-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10, 8, 6, 0.82) 0%, rgba(10, 8, 6, 0.15) 55%, rgba(10, 8, 6, 0.35) 100%);
}
.quote-banner-inner {
  position: relative;
  width: 100%;
  padding: 0 clamp(1.2rem, 6vw, 4rem) clamp(1.6rem, 4vw, 2.6rem);
}
.quote-banner-inner p {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.6rem, 4.4vw, 2.7rem);
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.01em;
}
.quote-banner-inner p span {
  background: var(--grad-accion);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Manifiesto ---------- */
.manifesto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3.4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}
.manifesto-item h4 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.3rem;
}
.manifesto-item h4::before {
  content: "";
  position: absolute; left: 0; top: 0.35em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad-accion);
}
.manifesto-item p { color: var(--text-soft); font-size: 0.94rem; }
@media (max-width: 820px) { .manifesto { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- Trayectoria (timeline) ---------- */
.timeline {
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.timeline li {
  border-top: 3px solid var(--coral);
  padding-top: 0.9rem;
}
.timeline .t-year {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--coral);
  margin-bottom: 0.35rem;
}
.timeline .t-what { display: block; font-size: 0.86rem; color: var(--text-soft); line-height: 1.4; }
@media (max-width: 820px) {
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .timeline { grid-template-columns: 1fr; }
}

/* ---------- Testimonios ---------- */
.section--tint { background: var(--paper-2); }
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.testimonial .stars { color: var(--amber); letter-spacing: 0.2em; font-size: 0.9rem; }
.testimonial p { color: var(--text); font-size: 0.98rem; margin: 0; flex: 1; }
.testimonial footer { display: flex; align-items: center; gap: 0.85rem; }
.testimonial .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  background: var(--grad-accion);
}
.testimonial b { color: var(--ink); font-family: var(--font-head); font-size: 0.92rem; display: block; }
.testimonial small { color: var(--text-soft-2); font-size: 0.8rem; }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--coral);
  transition: transform 0.3s ease;
  flex: 0 0 auto;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.6rem 1.4rem; color: var(--text-soft); font-size: 0.97rem; }

/* ---------- CTA final ---------- */
.cta-final {
  background: var(--grad-accion);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2.6rem, 6vw, 4.5rem);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 50% -40%, rgba(255,255,255,0.3), transparent 70%);
}
.cta-final h2 { color: #fff; position: relative; }
.cta-final p { color: rgba(255,255,255,0.92); max-width: 52ch; margin: 0 auto 2rem; position: relative; }
.cta-final .btn { background: #fff; color: var(--ink); position: relative; box-shadow: 0 18px 40px -14px rgba(0,0,0,0.3); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0 0; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 0.8rem 0; }
.contact-list .ico {
  flex: 0 0 44px; width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--paper-2);
  display: grid; place-items: center;
  font-size: 1.1rem;
}
.contact-list b { font-family: var(--font-head); display: block; color: var(--ink); font-size: 0.95rem; }
.contact-list span, .contact-list a { color: var(--text-soft); font-size: 0.93rem; text-decoration: none; }
.contact-list a:hover { color: var(--coral); }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow);
}
.contact-card h3 { margin-bottom: 0.4rem; }
.contact-card > p { color: var(--text-soft); font-size: 0.95rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(233, 136, 60, 0.12);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--grad-accion);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}
.site-footer .logo { color: #fff; font-size: 1.7rem; }
.site-footer p { font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.6rem; }
.site-footer ul a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.92rem; transition: color 0.2s ease; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 0 0 12px 0;
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- Toolkits y recursos ---------- */
.toolkits-hero { text-align: center; padding-bottom: 1rem; }
.toolkits-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); max-width: 22ch; margin-inline: auto; }
.toolkits-hero .lead { margin-inline: auto; }

.tk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.6rem;
}
@media (max-width: 860px) { .tk-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tk-grid { grid-template-columns: 1fr; } }

.tk-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1.1), box-shadow 0.3s ease;
}
.tk-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-s); }
.tk-card .tk-top {
  height: 84px;
  background: var(--ink);
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 1.2rem;
  overflow: hidden;
}
.tk-card .tk-top::before {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.16;
  background: repeating-linear-gradient(115deg, var(--coral) 0 2px, transparent 2px 18px);
}
.tk-card .tk-badge {
  position: relative; z-index: 2;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral-2);
  background: rgba(233, 136, 60, 0.16);
  border: 1px solid rgba(233, 136, 60, 0.4);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.tk-card .tk-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.tk-card h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; color: var(--ink); line-height: 1.25; }
.tk-card p { color: var(--text-soft); font-size: 0.9rem; line-height: 1.5; margin: 0.5rem 0 1rem; flex: 1; }
.tk-card .tk-row { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; }
.tk-card .tk-price { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.tk-card .tk-price.free { color: var(--coral); }
.tk-card .btn { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.4); }

.tk-news {
  background: var(--ink);
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  padding: 3rem clamp(1.4rem, 5vw, 3rem);
}
.tk-news .eyebrow { color: var(--coral-2); justify-content: center; }
.tk-news h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0.5rem 0 0.8rem; }
.tk-news p { color: rgba(255, 255, 255, 0.72); max-width: 46ch; margin: 0 auto 1.4rem; }
.tk-news form { display: flex; gap: 0.7rem; max-width: 440px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.tk-news input {
  flex: 1; min-width: 220px;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-s);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.92rem;
  font-family: inherit;
}
.tk-news input::placeholder { color: rgba(255, 255, 255, 0.5); }
.tk-news .fine { margin-top: 0.9rem; font-size: 0.78rem; color: rgba(255, 255, 255, 0.5); }

.tk-bundle {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  background: #fff;
  border: 2px solid var(--coral);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.tk-bundle h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.tk-bundle p { color: var(--text-soft); margin: 0.8rem 0 1.3rem; font-size: 0.96rem; }
.tk-bundle-price { text-align: center; }
.tk-bundle-pill {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-s);
}
.tk-bundle-old { color: var(--text-soft-2); text-decoration: line-through; font-weight: 700; margin-left: 0.6rem; font-size: 0.94rem; }
.tk-bundle-note { margin-top: 0.7rem; font-size: 0.78rem; color: var(--text-soft-2); }
@media (max-width: 720px) { .tk-bundle { grid-template-columns: 1fr; text-align: center; } }

.tk-fineprint { max-width: 64ch; margin: 1.6rem auto 0; color: var(--text-soft-2); font-size: 0.8rem; text-align: center; line-height: 1.6; }

/* ---------- Modal de captura de email (recursos gratuitos) ---------- */
.lead-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.lead-modal.is-open { display: block; }
.lead-modal-overlay { position: absolute; inset: 0; background: rgba(20, 16, 12, 0.55); backdrop-filter: blur(2px); }
.lead-modal-box {
  position: relative;
  z-index: 2;
  max-width: 420px;
  margin: 12vh auto 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem 2rem 2rem;
  text-align: center;
}
.lead-modal-box h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.lead-modal-resource { font-family: var(--font-head); font-weight: 700; color: var(--coral); margin-bottom: 1.2rem; }
.lead-modal-box form { display: flex; flex-direction: column; gap: 0.7rem; }
.lead-modal-box input[type="email"] {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  font-size: 0.95rem;
  font-family: inherit;
}
.lead-modal-box .btn { justify-content: center; }
.lead-modal-box .fine { margin-top: 1rem; font-size: 0.78rem; color: var(--text-soft-2); }
.lead-modal-close {
  position: absolute; top: 0.9rem; right: 1rem;
  background: none; border: none; font-size: 1.6rem; line-height: 1;
  color: var(--text-soft-2); cursor: pointer; padding: 0.2rem 0.5rem;
}
.lead-modal-close:hover { color: var(--ink); }
@media (max-width: 520px) { .lead-modal-box { margin: 18vh 1rem 0; max-width: none; } }

/* ---------- Test TRACE (quiz) ---------- */
.quiz-hero { padding-bottom: 1rem; text-align: center; }
.quiz-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); max-width: 20ch; margin-inline: auto; }
.quiz-wrap { padding-top: 1rem; }
.quiz-card {
  max-width: 680px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.quiz-progress {
  height: 6px;
  background: var(--paper-2);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.quiz-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--grad-accion);
  transition: width 0.35s ease;
}
.quiz-step {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft-2);
  margin-bottom: 1.6rem;
}
.quiz-question h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 1.6rem; }
.quiz-options { display: grid; gap: 0.8rem; }
.quiz-opt {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 1rem 1.3rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.quiz-opt:hover { border-color: var(--coral); background: #fff5ec; transform: translateX(4px); }
.quiz-result h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 0.4rem 0 1rem; }
.quiz-result p#quiz-result-body { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 1.8rem; max-width: 52ch; }
.quiz-result-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 560px) { .quiz-opt { padding: 0.9rem 1.1rem; font-size: 0.95rem; } }
