/* ============================================================
   ZERO BURNOUT — Sistema Visual SEO Pages
   Basado en Brand Book V1.0 · 2026
   Esencia: calma · claridad · cuidado
   ============================================================ */

:root {
  /* Paleta principal */
  --teal: #1F7A7A;
  --teal-dark: #155959;
  --teal-soft: #3A9494;
  --crema: #F1ECE0;
  --crema-light: #F8F5EC;
  --carbon: #1E3535;
  --carbon-soft: #3F5454;

  /* Acentos */
  --salvia: #9DB89A;
  --coral: #D88B6E;
  --dorado: #C9A87C;
  --arena: #ECE4D2;
  --niebla: #C4BFB1;

  /* Tipografía */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Layout */
  --max-w: 1180px;
  --content-w: 720px;
  --radius: 14px;
  --shadow-soft: 0 4px 24px rgba(30, 53, 53, 0.06);
  --shadow-card: 0 8px 32px rgba(30, 53, 53, 0.08);
}

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..600&family=Manrope:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--crema);
  color: var(--carbon);
  line-height: 1.7;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* ====== TIPOGRAFÍA ====== */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--carbon); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 3rem 0 1rem; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); margin: 2rem 0 0.8rem; color: var(--teal-dark); }
h4 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
p { margin-bottom: 1.2rem; }
em { font-style: italic; color: var(--teal-dark); }
strong { font-weight: 600; color: var(--carbon); }

a { color: var(--teal); text-decoration: none; border-bottom: 1px solid rgba(31, 122, 122, 0.25); transition: all 0.2s ease; }
a:hover { color: var(--teal-dark); border-bottom-color: var(--teal-dark); }

ul, ol { margin: 1rem 0 1.5rem 1.3rem; }
li { margin-bottom: 0.5rem; }

/* ====== HEADER ====== */
.site-header {
  background: var(--crema);
  border-bottom: 1px solid rgba(30, 53, 53, 0.08);
  padding: 1.2rem 0;
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(241, 236, 224, 0.92);
}
.nav-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--teal-dark);
  border: none;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 0.6rem;
}
.brand-logo {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}
.site-header .brand-logo { height: 52px; }
.footer-brand .brand-logo {
  height: 88px;
  background: var(--crema);
  padding: 8px 14px;
  border-radius: 12px;
}
/* Legacy text-mark fallback (kept in case image fails) */
.logo-mark {
  width: 38px; height: 38px;
  background: var(--teal);
  border-radius: 50%;
  color: var(--crema);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 1rem;
  letter-spacing: -0.04em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text small { font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; color: var(--carbon-soft); letter-spacing: 0.1em; font-weight: 400; }

.main-nav { display: flex; gap: 1.8rem; align-items: center; }
.main-nav a {
  font-size: 0.92rem;
  color: var(--carbon);
  border-bottom: none;
  font-weight: 500;
}
.main-nav a:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal);
  color: var(--crema) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.88rem !important;
}
.nav-cta:hover { background: var(--teal-dark); color: var(--crema) !important; }

/* ====== HERO ====== */
.hero {
  padding: 5rem 1.5rem 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.hero-kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 1.5rem;
  display: block;
}
.hero h1 { max-width: 880px; }
.hero h1 em { color: var(--teal); }
.hero-lead {
  font-size: 1.25rem;
  color: var(--carbon-soft);
  max-width: 720px;
  margin-top: 1.5rem;
  line-height: 1.6;
}
.hero-meta {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--carbon-soft);
}
.hero-meta span::before { content: '// '; color: var(--teal); }

/* ====== ARTICLE ====== */
main.article {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
main.article p, main.article ul, main.article ol { font-size: 1.05rem; }

/* ====== STAT BLOCK ====== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2.5rem 0;
}
.stat {
  background: var(--crema-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 3px solid var(--teal);
}
.stat-num { font-family: var(--serif); font-size: 2.2rem; font-weight: 500; color: var(--teal-dark); line-height: 1; }
.stat-label { display: block; margin-top: 0.5rem; font-size: 0.85rem; color: var(--carbon-soft); line-height: 1.4; }

/* ====== CALLOUT ====== */
.callout {
  background: var(--crema-light);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  margin: 2.5rem 0;
  border-left: 4px solid var(--salvia);
}
.callout.teal { border-left-color: var(--teal); }
.callout.coral { border-left-color: var(--coral); }
.callout h3 { margin-top: 0; color: var(--carbon); }
.callout p:last-child { margin-bottom: 0; }

/* ====== TABLE ====== */
.serp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--crema-light);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.95rem;
}
.serp-table th, .serp-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(30, 53, 53, 0.08);
  vertical-align: top;
}
.serp-table th { background: var(--teal); color: var(--crema); font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.serp-table tr:last-child td { border-bottom: none; }

/* ====== FAQ ====== */
.faq-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(30, 53, 53, 0.1);
}
.faq-item {
  background: var(--crema-light);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border: 1px solid rgba(30, 53, 53, 0.06);
  overflow: hidden;
}
.faq-item summary {
  padding: 1.4rem 1.6rem;
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--carbon);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--serif); font-weight: 300;
  font-size: 1.6rem;
  color: var(--teal);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer {
  padding: 0 1.6rem 1.4rem;
  color: var(--carbon-soft);
  font-size: 1rem;
}

/* ====== CTA BAND ====== */
.cta-band {
  background: var(--teal);
  color: var(--crema);
  margin-top: 4rem;
  padding: 4rem 1.5rem;
  text-align: center;
}
.cta-band-inner { max-width: 760px; margin: 0 auto; }
.cta-band h2 { color: var(--crema); margin-top: 0; }
.cta-band p { color: rgba(241, 236, 224, 0.85); font-size: 1.15rem; }
.btn {
  display: inline-block;
  background: var(--crema);
  color: var(--teal-dark);
  padding: 1rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  border: none;
  margin-top: 1.5rem;
  font-family: var(--sans);
  font-size: 1rem;
  transition: all 0.25s ease;
}
.btn:hover { background: white; transform: translateY(-2px); color: var(--teal-dark); }
.btn.secondary { background: transparent; color: var(--crema); border: 1.5px solid var(--crema); margin-left: 0.5rem; }
.btn.secondary:hover { background: var(--crema); color: var(--teal-dark); }

/* ====== INLINE CTA ====== */
.inline-cta {
  background: linear-gradient(135deg, var(--crema-light) 0%, var(--arena) 100%);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2.5rem 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.inline-cta-text { flex: 1; min-width: 240px; }
.inline-cta h3 { margin-top: 0; }
.inline-cta a.btn {
  background: var(--teal);
  color: var(--crema);
  margin-top: 0;
}

/* ====== RELATED ====== */
.related {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(30, 53, 53, 0.1);
}
.related h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.related-card {
  background: var(--crema-light);
  border-radius: var(--radius);
  padding: 1.3rem;
  border: 1px solid rgba(30, 53, 53, 0.06);
  border-bottom: none;
  transition: all 0.25s ease;
  display: block;
  color: var(--carbon);
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); color: var(--teal-dark); }
.related-card .kicker { font-family: var(--mono); font-size: 0.72rem; color: var(--teal); text-transform: uppercase; letter-spacing: 0.1em; }
.related-card h4 { margin: 0.6rem 0 0; font-size: 1.05rem; line-height: 1.3; }

/* ====== BREADCRUMB ====== */
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--carbon-soft);
}
.breadcrumb a { border-bottom: none; color: var(--carbon-soft); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .sep { margin: 0 0.6rem; color: var(--niebla); }

/* ====== FOOTER ====== */
.site-footer {
  background: var(--carbon);
  color: var(--crema);
  padding: 4rem 1.5rem 2rem;
  margin-top: 0;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-grid h5 {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
  color: var(--salvia);
  font-weight: 500;
}
.footer-grid a {
  color: rgba(241, 236, 224, 0.75);
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.93rem;
  border-bottom: none;
}
.footer-grid a:hover { color: var(--crema); }
.footer-brand .logo { color: var(--crema); }
.footer-brand .logo small { color: rgba(241, 236, 224, 0.6); }
.footer-tag { color: rgba(241, 236, 224, 0.65); margin-top: 1rem; font-size: 0.95rem; max-width: 280px; line-height: 1.5; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(241, 236, 224, 0.12);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: rgba(241, 236, 224, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ====== WAVE PATTERN ====== */
.wave-sep {
  display: block;
  width: 100%;
  height: 48px;
  margin: 3rem 0;
  opacity: 0.4;
}

/* ============================================================
   COMPONENTES PARA HOMEPAGE / SERVICIOS / INSTITUCIONAL
   ============================================================ */

/* ====== WIDE SECTION (full width content) ====== */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.section.narrow { max-width: 860px; }
.section.tight { padding: 2.5rem 1.5rem; }
.section.bg-cream-light { background: var(--crema-light); max-width: none; }
.section.bg-cream-light > .section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0; }
.section h2.center, .section h3.center, .section p.center { text-align: center; }
.section .eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
  display: block;
  margin-bottom: 1rem;
}
.section-lead {
  font-size: 1.2rem;
  color: var(--carbon-soft);
  max-width: 720px;
  line-height: 1.6;
}
.section-lead.center { margin: 0 auto; }

/* ====== STORY BLOCK ====== */
.story-block {
  background: var(--crema-light);
  border-left: 4px solid var(--teal);
  padding: 2rem 2.5rem;
  border-radius: var(--radius);
  margin: 2.5rem 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--carbon);
  font-style: italic;
}
.story-block strong { font-style: normal; color: var(--teal-dark); }

.manifesto {
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.35;
  max-width: 760px;
  margin: 3rem auto;
  color: var(--carbon);
}
.manifesto em { color: var(--teal); }
.manifesto-attr {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--carbon-soft);
  font-style: normal;
}

/* ====== TWO COLUMNS (problem/solution) ====== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}
.two-col .col {
  background: var(--crema-light);
  padding: 2rem;
  border-radius: var(--radius);
}
.two-col .col.warm { background: rgba(216, 139, 110, 0.08); border-left: 4px solid var(--coral); }
.two-col .col.cool { background: rgba(31, 122, 122, 0.06); border-left: 4px solid var(--teal); }
.two-col h3 { margin-top: 0; }
.two-col ul { margin: 1rem 0 0 1.2rem; }

/* ====== PROCESS STEPS ====== */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
  counter-reset: step;
}
.process-step {
  background: var(--crema-light);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  position: relative;
  border-top: 3px solid var(--teal);
}
.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--teal);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.8rem;
}
.process-step h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--carbon);
}
.process-step p { font-size: 0.96rem; color: var(--carbon-soft); margin-bottom: 0; }

/* ====== TESTIMONIALS ====== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.testimonial {
  background: var(--crema-light);
  padding: 2rem;
  border-radius: var(--radius);
  position: relative;
  border-left: 3px solid var(--salvia);
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -0.2rem;
  left: 1rem;
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--teal);
  opacity: 0.18;
  line-height: 1;
}
.testimonial p {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--carbon);
  font-style: italic;
  margin-bottom: 1.2rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(30, 53, 53, 0.08);
}
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--crema);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600;
  flex-shrink: 0;
}
.testimonial-name { display: block; font-weight: 600; font-size: 0.95rem; color: var(--carbon); font-style: normal; font-family: var(--sans); }
.testimonial-role { display: block; font-size: 0.82rem; color: var(--carbon-soft); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; font-style: normal; }

/* ====== FOUNDER / TEAM CARD ====== */
.founder-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--crema-light);
  padding: 2.5rem;
  border-radius: var(--radius);
  margin: 2.5rem 0;
}
.founder-photo {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-soft) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--crema);
  font-family: var(--serif);
  font-size: 4rem;
  flex-shrink: 0;
  font-weight: 500;
}
.founder-body h3 { margin-top: 0; }
.founder-role {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 0.8rem;
}

/* ====== PRICING TIERS ====== */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.tier {
  background: var(--crema-light);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 53, 53, 0.08);
  display: flex; flex-direction: column;
}
.tier.featured {
  background: var(--teal);
  color: var(--crema);
  border-color: var(--teal-dark);
  transform: scale(1.02);
  position: relative;
}
.tier.featured::before {
  content: "Más elegido";
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--coral);
  color: var(--crema);
  padding: 4px 14px;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
}
.tier-name {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 0.8rem;
}
.tier.featured .tier-name { color: var(--salvia); }
.tier-price {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--carbon);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.tier.featured .tier-price { color: var(--crema); }
.tier-price small { font-size: 0.95rem; color: var(--carbon-soft); font-weight: 400; font-family: var(--sans); display: block; margin-top: 0.4rem; }
.tier.featured .tier-price small { color: rgba(241, 236, 224, 0.75); }
.tier ul {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  flex: 1;
}
.tier li {
  padding: 0.55rem 0 0.55rem 1.4rem;
  position: relative;
  font-size: 0.96rem;
  border-bottom: 1px solid rgba(30, 53, 53, 0.06);
}
.tier.featured li { border-bottom-color: rgba(241, 236, 224, 0.15); }
.tier li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0.55rem;
  color: var(--teal);
  font-weight: 700;
}
.tier.featured li::before { color: var(--salvia); }
.tier .btn {
  margin-top: 1.5rem;
  background: var(--teal);
  color: var(--crema);
  width: 100%;
  text-align: center;
}
.tier.featured .btn { background: var(--crema); color: var(--teal-dark); }

/* ====== STEP-BY-STEP (numbered timeline) ====== */
.timeline {
  position: relative;
  margin: 2.5rem 0;
  padding-left: 2.5rem;
  counter-reset: tl;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 14px; top: 0; bottom: 0;
  width: 2px;
  background: rgba(31, 122, 122, 0.25);
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.timeline-item::before {
  counter-increment: tl;
  content: counter(tl);
  position: absolute;
  left: -2.5rem; top: 0;
  width: 30px; height: 30px;
  background: var(--teal);
  color: var(--crema);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
}
.timeline-item h3 { margin-top: 0; }

/* ====== COMPARE TABLE ====== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--crema-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(30, 53, 53, 0.08);
}
.compare-table th { background: var(--carbon); color: var(--crema); font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.compare-table th.us, .compare-table td.us { background: rgba(31, 122, 122, 0.08); }
.compare-table th.us { background: var(--teal); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .yes { color: var(--teal-dark); font-weight: 600; }
.compare-table .no { color: var(--coral); opacity: 0.7; }

/* ====== FORM ====== */
.form-wrap {
  background: var(--crema-light);
  padding: 2.5rem;
  border-radius: var(--radius);
  margin: 2rem 0;
}
.field {
  display: block;
  margin-bottom: 1.2rem;
}
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--carbon-soft);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 1rem;
  border: 1px solid rgba(30, 53, 53, 0.15);
  border-radius: 10px;
  background: var(--crema);
  color: var(--carbon);
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 122, 122, 0.1);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  background: var(--teal);
  color: var(--crema);
  padding: 1rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1rem;
  transition: all 0.2s ease;
}
.form-submit:hover { background: var(--teal-dark); }
.form-disclaimer {
  font-size: 0.85rem;
  color: var(--carbon-soft);
  margin-top: 1rem;
  line-height: 1.5;
}

/* ====== CONTACT INFO ====== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.contact-info {
  background: var(--crema-light);
  padding: 1.8rem;
  border-radius: var(--radius);
}
.contact-info-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 0.6rem;
  display: block;
}
.contact-info-value {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--carbon);
}
.contact-info a { border-bottom: none; }

/* ====== USECASE / FEATURE GRID ====== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.feature {
  background: var(--crema-light);
  padding: 1.8rem;
  border-radius: var(--radius);
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--teal);
  color: var(--crema);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.feature h3 { margin-top: 0; font-size: 1.15rem; }
.feature p { margin-bottom: 0; color: var(--carbon-soft); }

/* ====== TRUST BADGES STRIP ====== */
.trust-strip {
  background: var(--crema-light);
  padding: 2rem 1.5rem;
  text-align: center;
}
.trust-strip-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--carbon-soft);
  display: block;
  margin-bottom: 1rem;
}
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--carbon);
  opacity: 0.55;
}

/* ====== GUARANTEE BLOCK ====== */
.guarantee {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, var(--arena) 0%, var(--crema-light) 100%);
  padding: 2.5rem;
  border-radius: var(--radius);
  margin: 3rem 0;
  border: 1px dashed var(--dorado);
}
.guarantee-seal {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--crema);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.1;
  text-align: center;
  flex-shrink: 0;
  padding: 0.5rem;
}
.guarantee h3 { margin-top: 0; }
.guarantee p:last-child { margin-bottom: 0; }

/* ====== RESPONSIVE ====== */
@media (max-width: 800px) {
  .main-nav { gap: 1rem; }
  .main-nav a:not(.nav-cta) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .serp-table { font-size: 0.85rem; }
  .serp-table th, .serp-table td { padding: 0.7rem; }
  .hero { padding-top: 3rem; }
  .hero-lead { font-size: 1.1rem; }
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 1fr; text-align: center; padding: 2rem; }
  .founder-photo { margin: 0 auto; width: 160px; height: 160px; font-size: 3rem; }
  .field-row { grid-template-columns: 1fr; }
  .guarantee { flex-direction: column; text-align: center; }
  .tier.featured { transform: none; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .serp-table thead { display: none; }
  .serp-table, .serp-table tbody, .serp-table tr, .serp-table td { display: block; width: 100%; }
  .serp-table tr { margin-bottom: 1rem; border-radius: var(--radius); border: 1px solid rgba(30,53,53,0.1); padding: 0.5rem; }
  .story-block { padding: 1.5rem; font-size: 1.1rem; }
  .section { padding: 3rem 1.2rem; }
}

/* ============================================================
   GALERÍA DE MITOS (mitos-burnout.html)
   Coherente con .stat / .related-card del brandbook
   Calma, claridad, aire generoso · sin saturación
   ============================================================ */

/* Intro del documento */
.gallery-intro {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem 1rem;
}
.gallery-intro p {
  font-size: 1.08rem;
  color: var(--carbon-soft);
  line-height: 1.7;
}

/* Filtros tipo pill, austeros */
.gallery-filters {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.gallery-filters .filter-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--carbon-soft);
  width: 100%;
  margin-bottom: 0.5rem;
}
.gallery-filters .filter-label::before {
  content: '// ';
  color: var(--teal);
}
.filter-chip {
  background: transparent;
  color: var(--carbon-soft);
  border: 1px solid rgba(30, 53, 53, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.filter-chip:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}
.filter-chip.active {
  background: var(--teal);
  color: var(--crema);
  border-color: var(--teal);
}
.filter-chip-count {
  font-family: var(--mono);
  font-size: 0.7rem;
  opacity: 0.7;
}

/* Contador discreto */
.gallery-counter {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.5rem 1.5rem 1rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--carbon-soft);
}
.gallery-counter strong {
  color: var(--teal);
  font-family: var(--mono);
  font-weight: 500;
}

/* Grid · aire generoso, no saturado */
.gallery-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Card del mito · austera, alineada con .stat */
.gallery-card {
  background: var(--crema-light);
  border-radius: var(--radius);
  padding: 1.8rem;
  border-left: 3px solid var(--teal);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  scroll-margin-top: 80px;
}
.gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.gallery-card.hidden { display: none; }

.gallery-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}
.gallery-card-num {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--teal);
  letter-spacing: 0.12em;
  font-weight: 500;
}
.gallery-card-cat {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--carbon-soft);
}

/* Cita del mito · usa serif como el resto, sin ornamentos */
.gallery-card-quote {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--carbon);
  font-style: italic;
  margin-bottom: 1rem;
}

/* Veredicto · sin flecha decorativa, usar bold como el resto */
.gallery-card-verdict {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--teal-dark);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* Cuerpo · estilo similar a párrafos del article */
.gallery-card-body {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--carbon);
  margin: 0;
}
.gallery-card-body strong { color: var(--teal-dark); }

/* Fuente · línea discreta al pie */
.gallery-card-source {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(30, 53, 53, 0.08);
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--carbon-soft);
}

/* Sin resultados */
.gallery-empty {
  max-width: 760px;
  margin: 3rem auto;
  text-align: center;
  padding: 2rem;
  display: none;
}
.gallery-empty.show { display: block; }
.gallery-empty h3 {
  font-family: var(--serif);
  color: var(--carbon);
  margin-bottom: 0.6rem;
}
.gallery-empty p { color: var(--carbon-soft); }

/* ============================================================
   HUB DE PERFILES (perfiles-vulnerables-burnout.html)
   .perfil-card = evolución de .related-card con descripción
   ============================================================ */

.perfiles-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.perfil-card {
  background: var(--crema-light);
  border-radius: var(--radius);
  padding: 2rem;
  border-left: 3px solid var(--teal);
  display: block;
  color: var(--carbon);
  border-bottom: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  scroll-margin-top: 80px;
}
.perfil-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  color: var(--carbon);
}

.perfil-card-rank {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
  letter-spacing: -0.02em;
}

.perfil-card-rate {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-dark);
  margin: 0.8rem 0 0.4rem;
  display: block;
}

.perfil-card-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 0.2rem 0 1rem;
  color: var(--carbon);
  line-height: 1.2;
}

.perfil-card-desc {
  font-size: 0.96rem;
  color: var(--carbon-soft);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.perfil-card-cta {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-weight: 500;
}
.perfil-card-cta::after { content: " →"; }

/* Responsive */
@media (max-width: 600px) {
  .gallery-grid, .perfiles-grid { grid-template-columns: 1fr; }
  .gallery-card, .perfil-card { padding: 1.4rem; }
  .gallery-card-quote { font-size: 1.05rem; }
  .perfil-card-rank { font-size: 2.4rem; }
}

/* ============================================================
   WHATSAPP FAB (Floating Action Button)
   ============================================================ */

.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0;
  background: #25D366;
  color: #fff;
  border-radius: 100px;
  padding: 14px 16px 14px 18px;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35), 0 4px 12px rgba(30, 53, 53, 0.15);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 60px;
  overflow: hidden;
  white-space: nowrap;
}

.wa-fab svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: #fff;
}

.wa-fab-label {
  margin-left: 0;
  max-width: 0;
  overflow: hidden;
  transition: max-width 0.3s ease, margin-left 0.3s ease;
  font-family: var(--sans);
}

.wa-fab:hover,
.wa-fab:focus {
  max-width: 320px;
  background: #1FA855;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.45), 0 6px 16px rgba(30, 53, 53, 0.2);
}

.wa-fab:hover .wa-fab-label,
.wa-fab:focus .wa-fab-label {
  max-width: 240px;
  margin-left: 10px;
}

/* Pulso sutil cada 6s para llamar atención sin ser invasivo */
.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: wa-pulse 6s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%, 80%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
  85% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0.25); }
  90% { box-shadow: 0 0 0 22px rgba(37, 211, 102, 0); }
}

/* Versión inline para usar en CTAs específicos */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #25D366;
  color: #fff;
  padding: 0.95rem 1.6rem;
  border-radius: 100px;
  font-weight: 600;
  font-family: var(--sans);
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  transition: all 0.2s ease;
}
.btn-whatsapp:hover {
  background: #1FA855;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }

/* En móvil: el FAB solo muestra icono (más compacto) */
@media (max-width: 600px) {
  .wa-fab {
    bottom: 18px;
    right: 18px;
    padding: 14px;
    max-width: 56px;
  }
  .wa-fab:hover, .wa-fab:focus {
    max-width: 56px;
  }
  .wa-fab:hover .wa-fab-label,
  .wa-fab:focus .wa-fab-label {
    max-width: 0;
    margin-left: 0;
  }
}

/* No mostrar FAB cuando se imprime */
@media print {
  .wa-fab { display: none; }
}
