/* Órale Taxes — design tokens from the Claude Design handoff (v4) */
:root {
  --white: #FFFFFF;
  --bg: #FAF7F2;        /* warm cream page background */
  --bg-deep: #F3EEE5;   /* deeper cream for alternating sections */
  --chat-bg: #EFEAE2;   /* WhatsApp chat wallpaper beige */
  --ink: #111B21;
  --ink-deep: #0B141A;
  --muted: #3B4A54;
  --subtle: #54656F;
  --wa: #25D366;
  --wa-hover: #1EBE5A;
  --green: #0B6B4B;
  --bubble: #D9FDD3;
  --featured: #F4FEF2;
  --red: #CE1126;
  --red-hover: #B00E20;
  --error: #A30E1E;
  --surface: #F6F7F6;
  --surface-2: #F0F2F5;
  --border: #E9EDEF;
  --border-2: #E1E5E8;
  --input: #D1D7DB;
  --section-pad: clamp(56px, 9vw, 112px) 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); }
a:hover { color: var(--red); }
input:focus-visible, select:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}
.container { max-width: 1180px; margin: 0 auto; }
.section { padding: var(--section-pad); }
[id] { scroll-margin-top: 72px; }

h2.h2 {
  font-weight: 800;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0 0 44px;
  text-wrap: balance;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-family: inherit;
}
.btn-wa { background: var(--wa); color: var(--ink-deep); }
.btn-wa:hover { background: var(--wa-hover); color: var(--ink-deep); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ink { background: var(--ink-deep); color: #fff; }
.btn-ink:hover { background: #fff; color: var(--ink-deep); }

/* Logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: 0.24em;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.logo-o { position: relative; display: block; padding-top: 8px; }
.logo-o::after {
  content: "";
  position: absolute;
  top: 5px; left: 9px;
  width: 10px; height: 4px;
  border-radius: 99px;
  background: var(--red);
  transform: rotate(-24deg);
}
.logo-taxes { color: var(--green); }

/* Announcement bar */
.announce {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
  padding: 10px 16px;
  min-height: 44px;
  text-align: center;
}
.announce-cta {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  padding: 4px 2px;
}
.announce-cta:hover { color: #fff; text-decoration-thickness: 2px; }
.announce-cta:focus-visible { outline-color: #fff; }
.nowrap { white-space: nowrap; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 242, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { padding: 10px 20px; display: flex; align-items: center; gap: 16px; }
.logo-link { text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav .btn-wa { font-size: 16px; padding: 0 18px; min-height: 44px; margin-left: 8px; }

/* Hero */
.hero {
  padding: clamp(40px, 7vw, 88px) 20px clamp(48px, 8vw, 96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero h1 {
  font-weight: 800;
  font-size: clamp(46px, 8.4vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0;
  text-wrap: balance;
}
.highlight {
  white-space: nowrap;
  background: linear-gradient(transparent 62%, var(--wa) 62%, var(--wa) 92%, transparent 92%);
  padding: 0 3px;
}
.hero-sub {
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.5;
  margin: 0;
  color: var(--muted);
  max-width: 520px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; width: 100%; }
.hero-ctas .btn-wa { font-size: 18px; padding: 0 26px; min-height: 58px; }
.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  font-weight: 700;
  font-size: 18px;
  padding: 0 12px;
  min-height: 58px;
  display: flex;
  align-items: center;
}
.text-link:hover { color: var(--green); }

/* Chat panel */
.chat {
  background: var(--chat-bg);
  border-radius: 28px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 500px;
  width: 100%;
  justify-self: center;
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 0 4px 12px; border-bottom: 1px solid var(--border-2); }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--wa);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.avatar-o { position: relative; display: block; font-weight: 800; font-size: 24px; line-height: 1; color: var(--ink-deep); padding-top: 6px; }
.avatar-o::after {
  content: "";
  position: absolute;
  top: 4px; left: 7px;
  width: 9px; height: 4px;
  border-radius: 99px;
  background: var(--red);
  box-shadow: 0 0 0 1.5px var(--wa);
  transform: rotate(-24deg);
}
.chat-name { display: flex; flex-direction: column; }
.chat-name b { font-size: 16px; }
.chat-name span { font-size: 13px; color: var(--green); }
.chip {
  margin: 4px 0 0;
  align-self: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--subtle);
  background: #fff;
  padding: 4px 10px;
  border-radius: 8px;
}
.bubble {
  max-width: 85%;
  padding: 10px 13px;
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
}
.bubble-in { align-self: flex-start; background: #fff; border-radius: 4px 16px 16px 16px; }
.bubble-out { align-self: flex-end; background: var(--bubble); border-radius: 16px 4px 16px 16px; }
.chat-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; color: var(--muted); padding-right: 6px; }
.meta {
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 8px 0 -4px 10px;
  font-size: 11px;
  line-height: 1;
  color: var(--subtle);
  white-space: nowrap;
}
.ticks { color: #53BDEB; flex: none; }

/* Trades band */
.trades { background: var(--green); color: #fff; }
.trades-inner { padding: 22px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.trades-label { font-weight: 700; font-size: 17px; margin-right: 8px; }
.pill { background: #fff; color: var(--ink-deep); font-weight: 600; font-size: 16px; padding: 8px 14px; border-radius: 999px; }

/* Services */
#servicios h2.h2 { margin-bottom: 40px; max-width: 720px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.service { background: #fff; border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.service h3 { font-weight: 700; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.service p, .step p, .price p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.fit-note { margin: 28px 0 0; font-size: 18px; line-height: 1.5; max-width: 760px; }
.fit-note span { color: var(--muted); }

/* How it works */
.alt { background: var(--bg-deep); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 32px 28px;
}
.step { display: flex; flex-direction: column; gap: 12px; }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--ink-deep);
  font-weight: 800;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-weight: 700; font-size: 23px; line-height: 1.15; letter-spacing: -0.02em; margin: 4px 0 0; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; align-items: stretch; }
.price {
  border: 1px solid var(--border-2);
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  background: #fff;
}
.price-featured { border: 2px solid var(--wa); background: var(--featured); }
.price-badge {
  position: absolute;
  top: -13px; left: 20px;
  background: var(--wa);
  color: var(--ink-deep);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.price h3 { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin: 0; }
.amount { font-weight: 800; font-size: 48px; line-height: 1; letter-spacing: -0.04em; }
.amount small { font-weight: 500; font-size: 17px; letter-spacing: 0; color: var(--muted); }
.price p { flex: 1; }
.price .btn { font-size: 16px; min-height: 52px; }

/* Lead form */
.narrow { max-width: 780px; margin: 0 auto; }
#contacto h2.h2 { margin-bottom: 28px; }
.form-intro { margin: 0 0 36px; font-size: 18px; line-height: 1.5; color: var(--muted); }
.lead-form {
  background: #fff;
  border-radius: 28px;
  padding: clamp(20px, 4vw, 36px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 16px; }
.field input, .field select {
  font: 400 18px "Bricolage Grotesque", system-ui, sans-serif;
  height: 56px;
  padding: 0 16px;
  border: 1.5px solid var(--input);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.field select { padding: 0 14px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 600; font-size: 16px; padding: 0; margin-bottom: 8px; }
.choices { display: grid; gap: 8px; }
.choices-3 { grid-template-columns: 1fr 1fr 1fr; }
.choices-2 { grid-template-columns: 1fr 1fr; }
.choice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 12px;
  border: 1.5px solid var(--input);
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
}
.choice input { width: 20px; height: 20px; accent-color: var(--green); margin: 0; }
.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  cursor: pointer;
  padding: 18px;
  background: var(--bg);
  border-radius: 16px;
}
.consent input { width: 24px; height: 24px; flex: none; margin: 0; accent-color: var(--green); }
.consent-text { display: flex; flex-direction: column; gap: 6px; }
.consent-text span:first-child { font-size: 16px; line-height: 1.5; }
.consent-text span:last-child { font-size: 14px; line-height: 1.5; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 16px; background: #FDECEE; }
.form-error p { margin: 0; color: var(--error); font-weight: 600; line-height: 1.45; }
.form-error .btn { min-height: 52px; padding: 0 22px; font-size: 17px; }
.submit {
  grid-column: 1 / -1;
  font: 700 18px "Bricolage Grotesque", system-ui, sans-serif;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  min-height: 58px;
  cursor: pointer;
}
.submit:hover { background: var(--green); }
.submit:disabled { opacity: 0.7; cursor: wait; }
.form-success { background: var(--bubble); border-radius: 24px; padding: 28px; }
.form-success h3 { font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 10px; }
.form-success p { margin: 0; font-size: 18px; line-height: 1.5; }
[hidden] { display: none !important; }

/* FAQ */
.faq-wrap { max-width: 860px; margin: 0 auto; }
#preguntas h2.h2 { margin-bottom: 32px; }
.faq { border-top: 1px solid var(--border-2); }
.faq details { border-bottom: 1px solid var(--border-2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  min-height: 68px;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.plus {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-deep);
  color: var(--green);
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 0.2s;
}
.faq details[open] .plus { transform: rotate(45deg); }
.faq p { margin: 0 0 24px; font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 680px; }

/* Closing band */
.closing-wrap { padding: 0 20px clamp(56px, 8vw, 96px); }
.closing {
  max-width: 1140px;
  margin: 0 auto;
  background: var(--wa);
  color: var(--ink-deep);
  border-radius: 32px;
  padding: clamp(40px, 7vw, 80px) clamp(24px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.closing h2 {
  font-weight: 800;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  margin: 0;
  max-width: 680px;
  text-wrap: balance;
}
.closing .btn { font-size: 18px; padding: 0 28px; min-height: 58px; }

/* Footer */
.site-footer { background: var(--bg-deep); color: var(--muted); }
.footer-inner { padding: 48px 20px; display: flex; flex-direction: column; gap: 20px; font-size: 16px; line-height: 1.6; }
.footer-row { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal { margin: 0; max-width: 760px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { color: var(--ink); min-height: 44px; display: flex; align-items: center; }

/* Mobile sticky bar */
.mbar, .mbar-spacer { display: none; }
.mbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  background: rgba(250, 247, 242, 0.97);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border-2);
}
.mbar .btn { display: flex; font-size: 18px; min-height: 56px; }
.mbar-spacer { height: calc(78px + env(safe-area-inset-bottom)); }

@media (max-width: 767px) {
  .mbar, .mbar-spacer { display: block; }
}

/* Legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: 40px 20px 80px; font-size: 17px; line-height: 1.6; }
.legal .back { font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; }
.legal h1 { font-weight: 800; font-size: clamp(40px, 7vw, 56px); line-height: 1.04; letter-spacing: -0.04em; margin: 16px 0 12px; }
.legal .draft { margin: 0 0 32px; font-weight: 600; background: var(--bubble); padding: 10px 14px; border-radius: 12px; }
.legal h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin: 28px 0 8px; }
.legal p { margin: 0; color: var(--muted); }

/* Service card icons — one accent (brand green) on white */
.svc-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

/* ===== Header nav link (real pages only) ===== */
.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 0 18px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  transition: background-color .15s, color .15s;
}
.nav-link:hover { background: var(--ink); color: #fff; }
.nav-link[aria-current="page"] { background: var(--ink); color: #fff; }
.nav { gap: 8px; }
/* Phones: the sticky bottom bar already has WhatsApp, so the header keeps just the page links */
@media (max-width: 767px) {
  .nav .btn-wa { display: none; }
}
@media (max-width: 430px) {
  .header-inner { gap: 8px; }
  .logo-link .logo { font-size: 25px; }
  .nav { gap: 6px; }
  .nav-link { padding: 0 14px; font-size: 15px; }
}

/* ===== Response promise under hero CTA ===== */
.promise { margin: -8px 0 0; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--green); }
.promise-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.2); flex: none; }

/* ===== Penalty band ===== */
.penalty { padding: 0 20px clamp(40px, 6vw, 64px); }
.penalty-inner {
  background: #fff;
  border-left: 6px solid var(--red);
  border-radius: 22px;
  padding: clamp(24px, 4vw, 40px);
}
.penalty-title { font-weight: 800; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 12px; text-wrap: balance; }
.red { color: var(--red); }
.penalty-math { margin: 0 0 14px; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.45; }
.penalty-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--subtle); max-width: 760px; }

/* ===== Tools: calculator + quiz ===== */
.tools { padding: 0 20px clamp(40px, 6vw, 64px); }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; align-items: start; }
.tool-card { background: #fff; border-radius: 24px; padding: clamp(22px, 4vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.tool-title { font-weight: 800; font-size: clamp(26px, 3.6vw, 32px); line-height: 1.1; letter-spacing: -0.03em; margin: 0; }
.tool-title label { cursor: pointer; }
.stepper { display: flex; align-items: stretch; gap: 8px; }
.step-btn {
  width: 56px; min-height: 56px; flex: none;
  border: 1.5px solid var(--input);
  background: var(--bg);
  border-radius: 14px;
  font: 700 26px/1 "Bricolage Grotesque", system-ui, sans-serif;
  color: var(--ink);
  cursor: pointer;
}
.step-btn:hover { background: var(--bg-deep); }
.stepper input {
  flex: 1; min-width: 0;
  font: 800 28px "Bricolage Grotesque", system-ui, sans-serif;
  text-align: center;
  border: 1.5px solid var(--input);
  border-radius: 14px;
  min-height: 56px;
  color: var(--ink);
  background: #fff;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-out { display: flex; flex-direction: column; gap: 6px; }
.calc-out p { margin: 0; font-size: 18px; line-height: 1.45; }
.calc-ours b { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--green); }
.calc-risk { color: var(--muted); }
.calc-risk b { color: var(--red); }
.tool-btn { min-height: 56px; font-size: 18px; padding: 0 24px; align-self: flex-start; }

.quiz { display: flex; flex-direction: column; gap: 14px; }
.q { border: 0; margin: 0; padding: 0; min-width: 0; }
.q legend { font-weight: 600; font-size: 17px; line-height: 1.35; margin-bottom: 8px; padding: 0; }
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.yn label { position: relative; }
.yn input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.yn span {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px;
  border: 1.5px solid var(--input);
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  background: #fff;
}
.yn input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.yn input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.quiz-result { display: flex; flex-direction: column; gap: 14px; }
.quiz-pending { margin: 0; color: var(--subtle); font-size: 16px; }
.quiz-answer { margin: 0 0 12px; font-size: 18px; line-height: 1.45; background: var(--bubble); padding: 14px 16px; border-radius: 16px; }
.fine-print { margin: 0; font-size: 13px; color: var(--subtle); }

/* ===== Free W-9 offer ===== */
.offer-wrap { padding: 0 20px clamp(56px, 8vw, 96px); }
.offer {
  border: 2px solid var(--wa);
  background: var(--featured);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.offer-badge { display: inline-block; background: var(--wa); color: var(--ink-deep); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.offer-title { font-weight: 800; font-size: clamp(26px, 3.6vw, 34px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 6px; }
.offer-text { margin: 0; font-size: 18px; line-height: 1.5; color: var(--muted); }
.offer-btn { min-height: 56px; font-size: 18px; padding: 0 26px; }

/* ===== Outcome line ===== */
.outcome { margin: 28px 0 0; font-size: clamp(20px, 2.6vw, 24px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }

/* ===== Testimonials (WhatsApp-style) ===== */
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.t-card { background: var(--chat-bg); border-radius: 22px; padding: 18px 16px; display: flex; flex-direction: column; gap: 8px; margin: 0; }
.t-card .bubble { max-width: 92%; }
.t-who { display: flex; align-items: center; gap: 10px; padding: 0 4px 6px; }
.t-avatar { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--green); font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; flex: none; }
.t-name { display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; }
.t-name b { font-size: 15px; }
.t-name span { color: var(--subtle); }
.t-sample { align-self: center; font-size: 12px; font-weight: 700; color: var(--red); background: #fff; padding: 3px 10px; border-radius: 8px; }

/* ===== Inner pages (Nosotros, Guías) ===== */
.page-hero { padding: clamp(40px, 7vw, 80px) 20px clamp(24px, 4vw, 40px); }
.page-hero h1 { font-weight: 800; font-size: clamp(40px, 7vw, 72px); line-height: 1.03; letter-spacing: -0.045em; margin: 0 0 18px; text-wrap: balance; max-width: 900px; }
.page-hero .lead { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; color: var(--muted); margin: 0; max-width: 680px; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.member { background: #fff; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.photo { width: 88px; height: 88px; border-radius: 50%; background: var(--bg-deep); border: 2px dashed var(--input); display: flex; align-items: center; justify-content: center; color: var(--subtle); font-size: 12px; font-weight: 600; text-align: center; line-height: 1.2; margin-bottom: 6px; }
.member h3 { font-weight: 700; font-size: 23px; letter-spacing: -0.02em; margin: 0; }
.role { margin: 0; font-weight: 600; color: var(--green); font-size: 16px; line-height: 1.4; }
.member p:not(.role) { margin: 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.ph { background: #FFF3C4; color: var(--ink); border-radius: 4px; padding: 0 4px; font-weight: 600; }
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.points li { background: #fff; border-radius: 22px; padding: 24px; font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; display: flex; gap: 12px; align-items: flex-start; }
.points .step-num { width: 40px; height: 40px; font-size: 19px; flex: none; }
.legal-line { margin: 32px 0 0; font-size: 15px; color: var(--subtle); max-width: 760px; line-height: 1.6; }

.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.guide-list a { display: block; background: #fff; border-radius: 22px; padding: 24px 26px; text-decoration: none; color: var(--ink); }
.guide-list a:hover { color: var(--ink); outline: 2px solid var(--wa); }
.guide-list h2 { font-weight: 700; font-size: clamp(21px, 2.6vw, 25px); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 6px; }
.guide-list p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.5; }
.guide-list .more { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--green); }

.article { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 64px) 20px clamp(56px, 8vw, 96px); font-size: 18px; line-height: 1.65; }
.article .crumb { font-weight: 600; font-size: 15px; display: inline-flex; min-height: 44px; align-items: center; }
.article h1 { font-weight: 800; font-size: clamp(36px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.04em; margin: 8px 0 16px; text-wrap: balance; }
.article .dek { font-size: 20px; color: var(--muted); margin: 0 0 28px; }
.article h2 { font-weight: 800; font-size: clamp(24px, 3.4vw, 30px); line-height: 1.15; letter-spacing: -0.03em; margin: 40px 0 12px; }
.article p, .article li { color: var(--ink); }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; font-size: 17px; }
.article th, .article td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border-2); vertical-align: top; }
.article th { background: var(--bg-deep); font-weight: 700; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.article .cta-box { margin: 44px 0 0; background: var(--wa); color: var(--ink-deep); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.article .cta-box p { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink-deep); }
.article .cta-box .btn { min-height: 56px; padding: 0 26px; font-size: 18px; }
.article .sources { font-size: 15px; color: var(--muted); }
.article .sources a { word-break: break-word; }
.article .note { margin-top: 28px; font-size: 14px; color: var(--subtle); }
.photo-initials { border: 0; background: var(--wa); color: var(--ink-deep); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }

/* ===== Libreta de subs (free tool) ===== */
.libreta-wrap { padding: 0 20px clamp(28px, 4vw, 40px); }
.libreta {
  background: #fff;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}
@media (min-width: 900px) { .libreta { grid-template-columns: 1.05fr 1fr; } }
.libreta .offer-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; font-size: 18px; line-height: 1.45; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--wa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B141A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.libreta-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.libreta-ctas .btn { min-height: 56px; font-size: 18px; padding: 0 24px; }
.libreta-xlsx { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 600; font-size: 16px; color: var(--green); }
.sheet { margin: 0; background: var(--surface); border: 1px solid var(--border-2); border-radius: 20px; overflow: hidden; }
.sheet-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: 14px; font-weight: 700; background: #fff; border-bottom: 1px solid var(--border-2); }
.sheet-dot { width: 12px; height: 12px; border-radius: 3px; background: var(--green); }
.sheet table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sheet th, .sheet td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border-2); white-space: nowrap; }
.sheet th { font-size: 13px; font-weight: 700; color: var(--subtle); background: var(--surface-2); }
.sheet td:first-child { white-space: normal; font-weight: 600; }
.sheet td:nth-child(2) { font-variant-numeric: tabular-nums; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.tag.ok { background: var(--bubble); color: var(--green); }
.tag.need { background: var(--wa); color: var(--ink-deep); }
.tag.miss { background: #FDECEE; color: var(--error); }
.tag.no { background: var(--surface-2); color: var(--subtle); }
.sheet figcaption { padding: 10px 16px; font-size: 13px; color: var(--subtle); }
@media (max-width: 430px) { .sheet th, .sheet td { padding: 10px 8px; } .sheet table { font-size: 14px; } .libreta-ctas .btn { width: 100%; } }
.libreta-page { padding-top: clamp(32px, 6vw, 64px); padding-bottom: clamp(56px, 8vw, 96px); }
.libreta-page h1.offer-title { font-size: clamp(36px, 6vw, 56px); line-height: 1.04; letter-spacing: -0.04em; }

/* Inline "Órale" wordmark (same red-pill accent as the logo) */
.wm-inline { display: inline-block; font-weight: 800; font-size: 1.3em; letter-spacing: -0.04em; color: var(--ink); line-height: 1; vertical-align: -0.04em; margin-right: 0.08em; }
.wm-o { position: relative; display: inline-block; padding-top: 0.27em; }
.wm-o::after { content: ""; position: absolute; top: 0.17em; left: 0.3em; width: 0.34em; height: 0.14em; border-radius: 99px; background: var(--red); transform: rotate(-24deg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.q-hint { display: block; font-weight: 400; font-size: 14px; color: var(--subtle); margin-top: 2px; }
