/* ════════════════════════════════════════════════════════════
   TuMenuHoy Theme · main.css
   Geist 300 body · Geist 800 titles
   Verde #DD9057 · Beige #FBF1E5 · Negro #3D3614 · Amarillo #FEDBB1
════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;800&display=swap');

/* ── tokens ── */
:root {
  /* MesaComal — cálida, colorida, amigable */
  --green:      #DD9057;  /* Clay - acento principal (terracota barro) */
  --green-d:    #C47A42;  /* Clay oscuro (hover) */
  --green-faint:#FEDBB1;  /* Peach - fondos sutiles */
  --clay:       #DD9057;
  --clay-d:     #C47A42;
  --peach:      #FEDBB1;  /* durazno */
  --springtime: #CED8B2;  /* verde primavera (plantas) */
  --dusk:       #CCD7D9;  /* azul niebla */
  --olive:      #5B5120;  /* oliva */
  --terracota:  #DD9057;
  --oliva:      #CED8B2;
  --ink:        #3D3614;  /* texto (oliva muy oscuro) */
  --ink-2:      #5B5120;
  --beige:      #FBF1E5;  /* Sweet Cream - fondo */
  --beige-d:    #F5E9D6;
  --surface:    #FFFFFF;
  --muted:      #8C8463;
  --line:       #EFE4D2;
  --yellow:     #FEDBB1;
  --footer-bg:  #3D3614;
  --radius:     14px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --font:       'Geist', system-ui, -apple-system, sans-serif;
  --max:        1160px;
  --ease:       .22s cubic-bezier(.2,.8,.2,1);
  --shadow-sm:  0 1px 3px rgba(61,54,20,.05);
  --shadow-md:  0 6px 28px rgba(61,54,20,.08);
  --shadow-lg:  0 20px 60px rgba(42,36,32,.12);
}

/* ── reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  font-weight: 300;
  color: var(--ink);
  background: var(--beige);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.4em; }
input, select, textarea, button { font-family: var(--font); }

/* ── contenedores ── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .wrap { padding: 0 20px; } }

/* ════════════════════════════════════════════════════════════
   TIPOGRAFÍA
════════════════════════════════════════════════════════════ */
.t-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green);
}
h1, .h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--ink);
}
h2, .h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--ink);
}
h3, .h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.lead {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════
   BOTONES
════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  padding: 14px 28px; border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform var(--ease), background var(--ease), box-shadow var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--green); color: var(--ink);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--green) 40%, transparent);
}
.btn-primary:hover { background: var(--green-d); color: var(--ink); }
.btn-dark {
  background: var(--ink); color: var(--beige);
}
.btn-dark:hover { background: #000; color: var(--beige); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 18px 36px; font-size: 17px; border-radius: 12px; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
/* Header buttons */
.btn-primary-sm {
  display: inline-flex; align-items: center;
  background: var(--green); color: var(--ink);
  padding: 9px 18px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  text-decoration: none; transition: background var(--ease);
}
.btn-primary-sm:hover { background: var(--green-d); color: var(--ink); }
.btn-ghost-sm {
  display: inline-flex; align-items: center;
  color: var(--muted); font-size: 14px; font-weight: 400;
  text-decoration: none; padding: 9px 14px;
  transition: color var(--ease);
}
.btn-ghost-sm:hover { color: var(--ink); }

/* ════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--beige) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 40px;
  display: flex; align-items: center; gap: 32px;
  height: 68px;
}
.header-logo-text {
  font-size: 17px; font-weight: 700;
  color: var(--ink); text-decoration: none;
  letter-spacing: -.02em;
}
.header-logo-text:hover { color: var(--green); }
.header-logo img { height: 36px; width: auto; }
.header-nav { flex: 1; }
.nav-list {
  display: flex; gap: 4px; list-style: none;
  margin: 0; padding: 0;
}
.nav-list a {
  color: var(--muted); font-size: 14.5px; font-weight: 400;
  padding: 8px 14px; border-radius: 8px;
  text-decoration: none; transition: color var(--ease), background var(--ease);
}
.nav-list a:hover { color: var(--ink); background: var(--beige-d); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 8px;
}
.header-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: var(--ease);
}
/* Mobile nav */
.mobile-nav {
  display: none; flex-direction: column;
  padding: 16px 20px 24px;
  border-top: 1px solid var(--line);
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-list a { display: block; padding: 12px 16px; color: var(--ink); font-size: 16px; font-weight: 400; border-radius: 10px; }
.mobile-nav-list a:hover { background: var(--beige-d); text-decoration: none; }
.mobile-cta {
  display: block; margin-top: 12px;
  background: var(--green); color: #fff;
  text-align: center; padding: 14px;
  border-radius: var(--radius); font-weight: 600;
  text-decoration: none;
}

@media (max-width: 860px) {
  .header-inner { padding: 0 20px; }
  .header-nav, .header-actions { display: none; }
  .header-burger { display: flex; }
}

/* ════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
.hero {
  min-height: 92vh;
  display: grid; place-items: center;
  padding: 80px 40px 100px;
  background: var(--beige);
  position: relative; overflow: hidden;
}
/* Gradiente de fondo sutil */
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--green) 12%, transparent) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--yellow) 10%, transparent) 0%, transparent 70%);
  bottom: -150px; left: -150px;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 80px; align-items: center;
  max-width: var(--max); width: 100%;
}
.hero-content { display: flex; flex-direction: column; gap: 24px; }
.hero-title { max-width: 560px; }
.hero-title mark {
  background: none;
  color: var(--green);
}
.hero-sub { font-size: 18px; color: var(--muted); max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.hero-proof {
  display: flex; gap: 28px; align-items: center;
  flex-wrap: wrap; margin-top: 16px;
}
.hero-proof-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 300; color: var(--muted);
}
.hero-proof-item svg { color: var(--green); flex: 0 0 auto; }
/* Phone mockup */
.hero-phone {
  position: relative; justify-self: center;
}
.phone-shell {
  width: 300px; height: 600px;
  background: var(--ink);
  border-radius: 44px; padding: 12px;
  box-shadow: 0 40px 80px rgba(42,36,32,.25);
  border: 1px solid rgba(255,255,255,.06);
  position: relative;
}
.phone-notch {
  position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 20px;
  background: var(--ink); border-radius: 0 0 12px 12px; z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--beige); border-radius: 34px; overflow: hidden;
}
.phone-screen iframe {
  width: 100%; height: 100%;
  border: none; display: block;
  pointer-events: none;
}
/* Sin iframe: placeholder animado */
.phone-demo {
  padding: 40px 20px 20px; height: 100%;
  background: var(--beige);
  display: flex; flex-direction: column; gap: 14px;
}
.pd-logo { width: 48px; height: 48px; border-radius: 14px; background: var(--green); margin: 0 auto 4px; }
.pd-title { height: 18px; background: var(--ink); border-radius: 5px; width: 65%; margin: 0 auto; }
.pd-sub { height: 10px; background: var(--line); border-radius: 4px; width: 45%; margin: 0 auto; }
.pd-pills { display: flex; gap: 6px; justify-content: center; margin-top: 4px; }
.pd-pill { height: 22px; width: 56px; border-radius: 11px; background: var(--line); }
.pd-pill:first-child { background: var(--green); }
.pd-items { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.pd-item { display: flex; gap: 10px; align-items: center; padding: 10px; background: var(--surface); border-radius: 10px; box-shadow: var(--shadow-sm); }
.pd-item-img { width: 44px; height: 44px; border-radius: 8px; background: var(--green-faint); flex: 0 0 auto; }
.pd-item-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.pd-item-lines span { height: 9px; background: var(--line); border-radius: 4px; }
.pd-item-lines span:first-child { background: var(--ink); width: 70%; }
.pd-item-lines span:last-child { width: 35%; background: var(--green); }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-title, .hero-sub { max-width: none; }
  .hero-ctas, .hero-proof { justify-content: center; }
  .hero-phone { display: none; }
  .hero { min-height: auto; padding: 80px 20px; }
}

/* ════════════════════════════════════════════════════════════
   SECCIÓN LOGOS / SOCIAL PROOF
════════════════════════════════════════════════════════════ */
.logos-strip {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 40px;
}
.logos-strip-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 40px;
  flex-wrap: wrap; justify-content: center;
}
.logos-strip-label {
  font-size: 12px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.logos-strip-stats {
  display: flex; gap: 40px; align-items: center;
  flex-wrap: wrap; justify-content: center;
}
.stat-block { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.stat-lbl { display: block; font-size: 12px; font-weight: 300; color: var(--muted); margin-top: 2px; }

/* ════════════════════════════════════════════════════════════
   SECCIÓN: CÓMO FUNCIONA
════════════════════════════════════════════════════════════ */
.section { padding: 100px 40px; }
.section-center { text-align: center; }
.section-head { margin-bottom: 64px; }
.section-head .t-eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { max-width: 560px; margin: 0 auto; color: var(--muted); font-size: 17px; }

.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; max-width: var(--max); margin: 0 auto;
  background: var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.step {
  background: var(--surface); padding: 40px 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.step-num {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--green-faint); color: var(--green);
  font-size: 14px; font-weight: 700;
  display: grid; place-items: center;
}
.step h3 { font-size: 20px; font-weight: 600; }
.step p { font-size: 15px; color: var(--muted); font-weight: 300; line-height: 1.6; }

@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } .section { padding: 64px 20px; } }

/* ════════════════════════════════════════════════════════════
   SECCIÓN: FEATURES
════════════════════════════════════════════════════════════ */
.features-list { display: flex; flex-direction: column; gap: 100px; max-width: var(--max); margin: 0 auto; }
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-content { display: flex; flex-direction: column; gap: 20px; }
.feature-content .t-eyebrow { margin-bottom: 6px; }
.feature-content h3 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; }
.feature-content p { font-size: 16px; color: var(--muted); font-weight: 300; line-height: 1.7; }
.feature-checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feature-checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; font-weight: 300; color: var(--ink-2);
}
.feature-checklist li::before {
  content: '✓'; flex: 0 0 20px; height: 20px;
  background: var(--green-faint); color: var(--green);
  border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; margin-top: 1px;
}
.feature-visual {
  background: var(--beige-d); border-radius: var(--radius-lg);
  aspect-ratio: 4/3; overflow: hidden; position: relative;
  border: 1px solid var(--line);
}
.feature-visual img { width: 100%; height: 100%; object-fit: cover; }
/* Placeholder si no hay imagen */
.feature-mock {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
}
.fmock-card {
  background: var(--surface); border-radius: var(--radius-lg);
  padding: 28px 24px; width: 100%; max-width: 340px;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 14px;
}
.fmock-row { display: flex; gap: 12px; align-items: center; }
.fmock-img { width: 56px; height: 56px; border-radius: 10px; background: var(--green-faint); flex: 0 0 auto; }
.fmock-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.fmock-line { height: 10px; background: var(--line); border-radius: 4px; }
.fmock-line.dark { background: var(--ink); width: 75%; }
.fmock-line.accent { background: var(--green); width: 35%; }

@media (max-width: 860px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; direction: ltr; gap: 36px; }
  .feature-visual { max-width: 100%; }
}

/* ════════════════════════════════════════════════════════════
   SECCIÓN: PLANTILLAS
════════════════════════════════════════════════════════════ */
.templates-section { background: var(--surface); }
.templates-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: var(--max); margin: 0 auto;
}
.tpl-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform var(--ease), box-shadow var(--ease);
  background: var(--beige);
}
.tpl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tpl-preview {
  height: 220px; overflow: hidden; position: relative;
  background: var(--beige-d);
}
.tpl-preview-inner {
  transform: scale(.7) translateY(-14%);
  transform-origin: top center;
  pointer-events: none;
}
.tpl-meta { padding: 20px 22px 24px; }
.tpl-name { font-size: 17px; font-weight: 600; margin-bottom: 6px; letter-spacing: -.01em; }
.tpl-desc { font-size: 13.5px; color: var(--muted); font-weight: 300; line-height: 1.55; }

@media (max-width: 860px) { .templates-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════
   SECCIÓN: TESTIMONIOS
════════════════════════════════════════════════════════════ */
.testimonials-section { background: var(--beige); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: var(--max); margin: 0 auto;
}
.testimonial {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.testimonial-stars { color: var(--yellow); font-size: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 15.5px; font-weight: 300; color: var(--ink-2); line-height: 1.65; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--green-faint); display: grid; place-items: center;
  font-size: 18px; flex: 0 0 auto;
}
.testimonial-info b { display: block; font-size: 14px; font-weight: 600; }
.testimonial-info span { font-size: 12.5px; color: var(--muted); font-weight: 300; }

@media (max-width: 860px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════
   SECCIÓN: PRECIOS
════════════════════════════════════════════════════════════ */
.pricing-section { background: var(--surface); }
.pricing-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 780px; margin: 0 auto;
}
.price-card {
  border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px; display: flex; flex-direction: column; gap: 20px;
  position: relative;
}
.price-card.featured {
  border-color: var(--green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 12%, transparent);
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.price-plan { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.price-amount {
  font-size: 48px; font-weight: 800;
  letter-spacing: -.03em; line-height: 1;
  color: var(--ink);
}
.price-amount sup { font-size: 22px; vertical-align: super; margin-right: 2px; }
.price-amount sub { font-size: 14px; font-weight: 300; color: var(--muted); vertical-align: baseline; margin-left: 4px; }
.price-desc { font-size: 14px; color: var(--muted); font-weight: 300; }
.price-features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; font-weight: 300; color: var(--ink-2);
}
.price-features li::before {
  content: '✓'; flex: 0 0 18px; height: 18px;
  background: var(--green-faint); color: var(--green);
  border-radius: 50%; display: grid; place-items: center;
  font-size: 10px; font-weight: 700; margin-top: 2px;
}
.price-note { font-size: 12.5px; color: var(--muted); text-align: center; font-weight: 300; }

@media (max-width: 640px) { .pricing-cards { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════
   SECCIÓN: FAQ
════════════════════════════════════════════════════════════ */
.faq-section { background: var(--beige); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 16px; font-weight: 500; color: var(--ink); cursor: pointer;
  font-family: var(--font);
  transition: color var(--ease);
}
.faq-q:hover { color: var(--green); }
.faq-icon {
  flex: 0 0 24px; height: 24px; border-radius: 50%;
  background: var(--beige-d); display: grid; place-items: center;
  font-size: 16px; color: var(--muted); transition: transform var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--green); }
.faq-a {
  display: none; padding: 0 24px 22px;
  font-size: 15px; color: var(--muted); font-weight: 300; line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ════════════════════════════════════════════════════════════
   SECCIÓN: CTA FINAL
════════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--ink);
  padding: 100px 40px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--green) 18%, transparent), transparent 65%);
  top: -200px; left: -150px; pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--yellow) 12%, transparent), transparent 60%);
  bottom: -150px; right: -100px; pointer-events: none;
}
.cta-section .h2 { color: var(--beige); position: relative; z-index: 1; margin-bottom: 16px; }
.cta-section .lead { color: color-mix(in srgb, var(--beige) 65%, transparent); position: relative; z-index: 1; margin-bottom: 36px; }
.cta-section .cta-inner { position: relative; z-index: 1; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-primary { font-size: 17px; padding: 18px 36px; }

@media (max-width: 640px) { .cta-section { padding: 64px 20px; } }

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.site-footer { background: var(--footer-bg); color: var(--beige); }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 72px 40px 56px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.footer-logo-text { font-size: 18px; font-weight: 700; color: var(--yellow); text-decoration: none; letter-spacing: -.02em; }
.footer-tagline { font-size: 14px; color: rgba(248,246,241,.5); font-weight: 300; margin-top: 10px; }
.footer-wa {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px; color: #25D366;
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: opacity var(--ease);
}
.footer-wa:hover { opacity: .8; color: #25D366; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(248,246,241,.45); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(248,246,241,.7); font-size: 14px; font-weight: 300; text-decoration: none; transition: color var(--ease); }
.footer-col a:hover { color: var(--beige); }
.footer-bottom {
  border-top: 1px solid rgba(248,246,241,.08);
  padding: 20px 40px;
}
.footer-bottom-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: rgba(248,246,241,.4); font-weight: 300; }
.legal-nav { display: flex; gap: 20px; list-style: none; padding: 0; }
.legal-nav a { font-size: 13px; color: rgba(248,246,241,.4); text-decoration: none; transition: color var(--ease); }
.legal-nav a:hover { color: var(--beige); }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 20px 40px; }
  .footer-bottom { padding: 16px 20px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ════════════════════════════════════════════════════════════
   PÁGINAS INTERIORES (blog, páginas normales)
════════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--surface); padding: 80px 40px 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; }
.page-hero h1 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 12px; }
.page-content { max-width: 800px; margin: 0 auto; padding: 56px 40px; }
.page-content h2 { font-size: 26px; margin: 40px 0 12px; }
.page-content h3 { font-size: 20px; margin: 28px 0 10px; }
.page-content p { margin-bottom: 18px; font-weight: 300; line-height: 1.75; color: var(--ink-2); }
.page-content ul, .page-content ol { margin-bottom: 18px; padding-left: 24px; }
.page-content li { margin-bottom: 8px; font-weight: 300; color: var(--ink-2); }

@media (max-width: 640px) { .page-hero { padding: 48px 20px 40px; } .page-content { padding: 40px 20px; } }

/* ════════════════════════════════════════════════════════════
   404
════════════════════════════════════════════════════════════ */
.error-404 {
  min-height: 80vh; display: grid; place-items: center;
  text-align: center; padding: 80px 40px;
}
.error-code { font-size: 120px; font-weight: 800; letter-spacing: -.05em; color: var(--green-faint); line-height: 1; }
.error-title { font-size: 28px; font-weight: 800; margin-bottom: 14px; }
.error-sub { color: var(--muted); font-size: 16px; margin-bottom: 32px; }

/* ════════════════════════════════════════════════════════════
   WOOCOMMERCE — Checkout & Cart
════════════════════════════════════════════════════════════ */
.woocommerce-page .site-main {
  max-width: var(--max); margin: 0 auto;
  padding: 60px 40px 80px;
}
.tmh-checkout-title {
  font-size: clamp(26px, 4vw, 38px); font-weight: 800;
  letter-spacing: -.025em; margin-bottom: 6px;
}
.tmh-checkout-sub { color: var(--muted); font-size: 15px; font-weight: 300; margin-bottom: 36px; }

/* Trust bar debajo del botón de checkout */
.wc-proceed-to-checkout, .woocommerce #payment {
  margin-top: 28px;
}
.woocommerce-page #payment { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.woocommerce-page #payment .place-order { padding: 24px; }

@media (max-width: 640px) { .woocommerce-page .site-main { padding: 40px 20px 60px; } }

/* ════════════════════════════════════════════════════════════
   UTILIDADES
════════════════════════════════════════════════════════════ */
.bg-surface { background: var(--surface); }
.bg-beige { background: var(--beige); }
.bg-ink { background: var(--ink); }
.text-center { text-align: center; }
.mt-sm { margin-top: 24px; }
.mt-md { margin-top: 48px; }
.mt-lg { margin-top: 80px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE GLOBAL
════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  h1, .h1 { font-size: 34px; }
  h2, .h2 { font-size: 26px; }
  .btn-lg { padding: 15px 24px; font-size: 15px; }
  .logos-strip { padding: 24px 20px; }
  .logos-strip-stats { gap: 24px; }
  .stat-num { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
