/* TecnoSOS — Abogados · "abogado que sí contesta"
   Ink + cool paper + deep green / burgundy. Copy IS the design.
   Signature: áreas de práctica as editorial index (not chips).
   WA green only on WhatsApp CTAs. */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Cool/neutral paper — deliberately not warm cream #F4F1EA */
  --paper: #EEF0F1;
  --paper-deep: #E2E5E7;
  --card: #FFFFFF;
  --ink: #141816;
  --ink-2: #4A524E;
  --ink-3: #8A918C;
  --line: rgba(20, 24, 22, 0.12);
  --green: #1F3F32;
  --green-mid: #2A5242;
  --green-wash: rgba(31, 63, 50, 0.1);
  --burgundy: #6B2E3A;
  --burgundy-wash: rgba(107, 46, 58, 0.1);
  --amber: #F0A500;
  --amber-text: #6B3A2A;
  --amber-wash: rgba(107, 58, 42, 0.1);
  --ok: #1D7A46;
  --ok-wash: rgba(29, 122, 70, 0.12);
  --wa: #25D366;
  --wa-ink: #0B3D22;
  --ivory: #EEF0F1;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --display: "Space Grotesk", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;
}

/* ---------- Reset-lite ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { padding: 0; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

body {
  background:
    radial-gradient(ellipse 65% 42% at 100% 0%, rgba(31, 63, 50, 0.09), transparent 55%),
    radial-gradient(ellipse 48% 38% at 0% 55%, rgba(107, 46, 58, 0.055), transparent 52%),
    var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.115rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 3px solid var(--green-mid); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, 68rem); margin-inline: auto; }
section { scroll-margin-top: 5rem; }

/* ---------- Type ---------- */
h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.8rem, 4.4vw, 2.75rem); max-width: 26ch; }
h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
p { text-wrap: pretty; }

.kicker {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.section-sub { color: var(--ink-2); max-width: 56ch; margin-top: 0.9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  min-height: 3.4rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 8px 22px -10px rgba(37, 211, 102, 0.6); }
.btn-ghost { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn-ink { background: var(--ink); color: var(--ivory); }
@media (hover: hover) {
  .btn-wa:hover { filter: brightness(1.04); transform: translateY(-2px); }
  .btn-ghost:hover, .btn-ink:hover { transform: translateY(-2px); }
}

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238, 240, 241, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }

.beacon {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--amber);
  margin-left: 2px;
  animation: sos 3.8s infinite;
}
@keyframes sos {
  0%, 100% { opacity: 0.25; }
  3%, 7% { opacity: 1; }
  5%, 10% { opacity: 0.25; }
  13%, 17% { opacity: 1; }
  15%, 20% { opacity: 0.25; }
  26%, 44% { opacity: 1; }
  52% { opacity: 0.25; }
}

.head-nav { display: none; gap: 1.4rem; }
.head-nav a { text-decoration: none; font-weight: 600; font-size: 0.94rem; color: var(--ink-2); }
.head-nav a:hover { color: var(--ink); }
@media (min-width: 920px) { .head-nav { display: flex; } }
.btn-head { padding: 0.5rem 1.05rem; min-height: 2.6rem; font-size: 0.92rem; box-shadow: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero::before {
  content: "";
  position: absolute;
  inset: -25% auto auto -15%;
  width: 30rem; height: 30rem; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31, 63, 50, 0.11), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 2.5rem; } }

.hero h1 { font-size: clamp(2.5rem, 7.5vw, 4.4rem); max-width: 14ch; }
.hero h1 em { font-style: italic; color: var(--burgundy); }
.hero-sub { margin-top: 1.3rem; font-size: clamp(1.08rem, 2.4vw, 1.22rem); color: var(--ink-2); max-width: 50ch; }
.hero-sub strong { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-proof {
  margin-top: 1.9rem;
  font-size: 0.95rem;
  color: var(--ink-2);
  max-width: 44ch;
  border-left: 3px solid var(--burgundy);
  padding-left: 0.9rem;
}

/* ---------- Phone mockup (WhatsApp) ---------- */
.hero-phone { margin: 0 auto; max-width: 21rem; }
.phone {
  position: relative;
  background: var(--ink);
  border-radius: 42px;
  padding: 12px 10px 14px;
  box-shadow: 0 30px 60px -30px rgba(20, 24, 22, 0.5), 0 0 0 1px rgba(20, 24, 22, 0.08);
}
.phone-notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 5.2rem; height: 1.05rem;
  background: #0a0c0b;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  background: #E8EBE8;
  border-radius: 33px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chat-head {
  display: flex; align-items: center; gap: 0.65rem;
  background: #075E54;
  color: #fff;
  padding: 1.35rem 1rem 0.8rem;
}
.chat-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8rem;
  flex: none;
}
.chat-name { display: flex; flex-direction: column; font-weight: 600; font-size: 0.93rem; line-height: 1.25; }
.chat-name small { font-weight: 400; font-size: 0.72rem; opacity: 0.85; }
.chat-body { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.9rem 0.8rem 1.1rem; }
.msg {
  position: relative;
  max-width: 85%;
  font-size: 0.86rem;
  line-height: 1.45;
  padding: 0.5rem 0.7rem 0.95rem;
  border-radius: 12px;
  box-shadow: 0 1px 1px rgba(20, 24, 22, 0.08);
}
.msg time {
  position: absolute; right: 0.6rem; bottom: 0.28rem;
  font-size: 0.6rem; color: rgba(20, 24, 22, 0.45);
}
.msg-in { background: #FFFFFF; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg-out { background: #D9FDD3; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg-cita {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(29, 122, 70, 0.3);
}
.msg-cita svg { flex: none; }
.msg-cita span { display: flex; flex-direction: column; font-size: 0.82rem; }
.msg-cita strong { font-size: 0.86rem; }
.hero-phone figcaption, .evidence-grid figcaption {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  color: var(--ink-2);
  text-align: center;
}
.demo-note { font-size: 0.8rem; color: var(--ink-3); }
p.demo-note { margin-top: 2rem; text-align: center; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.8rem, 9vw, 6.2rem) 0; }
.strip { background: var(--paper-deep); border-block: 1px solid var(--line); }
.strip.section + .section { border-top: 0; }
.packs-sec { background: var(--paper); }

/* ---------- Pains (editorial, not card-heavy) ---------- */
.pain-grid { display: grid; gap: 0; margin-top: 2.6rem; border-top: 1px solid var(--line); }
@media (min-width: 760px) {
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
  .pain + .pain { border-left: 1px solid var(--line); }
}
.pain {
  padding: 1.6rem 1.35rem 1.7rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) { .pain { border-bottom: 0; } }
.pain-n {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--burgundy);
  margin-bottom: 0.7rem;
}
.pain h3 { font-size: 1.12rem; color: var(--green); margin-bottom: 0.45rem; }
.pain p { font-size: 0.99rem; color: var(--ink-2); }

/* ---------- Sistema ---------- */
.sys-grid { display: grid; gap: 1.9rem 2.2rem; margin-top: 2.4rem; }
@media (min-width: 680px) { .sys-grid { grid-template-columns: repeat(2, 1fr); } }
.sys > svg { width: 30px; height: 30px; color: var(--green); margin-bottom: 0.75rem; }
.sys h3 { font-size: 1.18rem; margin-bottom: 0.4rem; }
.sys p { color: var(--ink-2); font-size: 1rem; max-width: 46ch; }

/* ---------- Áreas: editorial index (signature) ---------- */
.areas-sec { background: var(--ink); color: var(--ivory); border-block: 0; }
.areas-sec .kicker { color: rgba(242, 243, 242, 0.55); }
.areas-sec h2 { color: var(--ivory); }
.areas-sec .section-sub { color: rgba(242, 243, 242, 0.68); }
.areas-sec .demo-note { color: rgba(242, 243, 242, 0.42); }

.areas-index {
  list-style: none;
  margin-top: 2.6rem;
  border-top: 1px solid rgba(242, 243, 242, 0.14);
}
.areas-index li {
  display: grid;
  grid-template-columns: 3.2rem 1fr auto;
  gap: 1rem 1.25rem;
  align-items: baseline;
  padding: 1.35rem 0.15rem;
  border-bottom: 1px solid rgba(242, 243, 242, 0.12);
  transition: background 0.25s ease, padding-left 0.25s ease;
}
@media (hover: hover) {
  .areas-index li:hover {
    background: rgba(242, 243, 242, 0.04);
    padding-left: 0.45rem;
  }
}
.ai-n {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(242, 243, 242, 0.4);
}
.ai-body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: -0.01em;
  color: var(--ivory);
}
.ai-body p {
  margin-top: 0.3rem;
  font-size: 0.98rem;
  color: rgba(242, 243, 242, 0.62);
  max-width: 42ch;
}
.ai-mark {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--burgundy);
  opacity: 0.85;
  align-self: center;
}

/* ---------- Evidencia ---------- */
.evidence-grid { display: grid; gap: 2rem; margin-top: 2.6rem; }
@media (min-width: 940px) {
  .evidence-grid { grid-template-columns: 7fr 5fr; align-items: start; }
  .browser-mock { grid-row: span 2; }
}
.evidence-grid figure { margin: 0; }

/* Browser — richer chrome */
.browser {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 28px 56px -32px rgba(20, 24, 22, 0.42);
}
.browser-bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ECEEEC, #E2E5E2);
}
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; }
.browser-bar span:nth-child(1) { background: #E36D6D; }
.browser-bar span:nth-child(2) { background: #E3C06D; }
.browser-bar span:nth-child(3) { background: #6DBE82; }
.browser-bar i {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-2);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.85rem;
  margin-left: 0.55rem;
  flex: 1;
  max-width: 18rem;
}
.browser-bar i svg { color: var(--ink-3); flex: none; }
.browser-body.browser-site {
  padding: 0;
  background: #141816;
}

.mini-nav {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 0.95rem 1.15rem;
  background: rgba(20, 24, 22, 0.98);
  border-bottom: 1px solid rgba(242, 243, 242, 0.08);
}
.mini-nav b { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; color: #F2F3F2; }
.mini-nav span { font-size: 0.7rem; color: rgba(242, 243, 242, 0.48); letter-spacing: 0.02em; }

.mini-hero {
  position: relative;
  isolation: isolate;
  min-height: 14.5rem;
  overflow: hidden;
}
.mini-hero > img {
  width: 100%;
  height: 100%;
  min-height: 14.5rem;
  object-fit: cover;
  object-position: center 40%;
}
.mini-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20, 24, 22, 0.9) 0%, rgba(20, 24, 22, 0.55) 48%, rgba(20, 24, 22, 0.2) 100%),
    linear-gradient(to top, rgba(20, 24, 22, 0.55), transparent 45%);
  pointer-events: none;
}
.mini-hero-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 1.25rem 1.2rem 1.4rem;
  max-width: 34rem;
}
.mini-kicker {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C4A08A;
  margin-bottom: 0.45rem;
}
.mini-h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  line-height: 1.12;
  color: #FFFCFA;
  text-wrap: balance;
}
.mini-sub {
  font-size: 0.86rem;
  color: rgba(242, 243, 242, 0.78);
  margin-top: 0.45rem;
  max-width: 34ch;
  line-height: 1.45;
}
.mini-cta {
  display: inline-block;
  margin-top: 0.9rem;
  background: #25D366;
  color: #0B3D22;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  box-shadow: 0 8px 20px -10px rgba(37, 211, 102, 0.55);
}

/* Mini editorial index inside browser (replaces photo chips) */
.mini-index {
  background: #F2F3F2;
  padding: 0.85rem 1rem 1rem;
}
.mini-index-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(20, 24, 22, 0.12);
}
.mini-index-head span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mini-index-head em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.mini-index ol { list-style: none; display: grid; gap: 0; }
.mini-index li {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  gap: 0.55rem;
  align-items: baseline;
  padding: 0.48rem 0;
  border-bottom: 1px solid rgba(20, 24, 22, 0.08);
  font-size: 0.78rem;
}
.mini-index li:last-child { border-bottom: 0; }
.mini-index b {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.mini-index span {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--green);
}
.mini-index i {
  font-style: normal;
  color: var(--ink-2);
  font-size: 0.72rem;
  text-align: right;
}

/* Agenda */
.agenda {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.2rem 0.6rem;
  box-shadow: 0 18px 40px -28px rgba(20, 24, 22, 0.35);
}
.agenda-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}
.agenda-head strong { font-family: var(--display); font-size: 1.02rem; display: block; }
.agenda-sub { font-size: 0.78rem; color: var(--ink-3); }
.agenda-badge {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-wash);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  white-space: nowrap;
}
.agenda-row {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.7rem 0.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.agenda-row time { font-family: var(--display); font-weight: 700; font-size: 0.9rem; min-width: 3.4rem; }
.agenda-row span { flex: 1; color: var(--ink-2); }
.agenda-row em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  white-space: nowrap;
}
.agenda-row .ok { background: var(--ok-wash); color: var(--ok); }
.agenda-row .wait { background: var(--amber-wash); color: var(--amber-text); }

/* Notificación */
.notif {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.2rem 1.2rem;
  box-shadow: 0 18px 40px -28px rgba(20, 24, 22, 0.35);
}
.notif-top { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.65rem; }
.notif-top div { display: flex; flex-direction: column; line-height: 1.25; }
.notif-top strong { font-size: 0.92rem; }
.notif-top span { font-size: 0.74rem; color: var(--ink-3); }
.notif p { font-size: 0.92rem; color: var(--ink-2); }
.notif-actions { display: flex; gap: 0.6rem; margin-top: 0.9rem; }
.notif-actions span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 0.45rem 1rem;
}
.notif-actions .yes { background: var(--ok-wash); color: var(--ok); }
.notif-actions .re { background: var(--paper-deep); color: var(--ink-2); }

/* ---------- Fotos ---------- */
.photo { margin: 0; }
.photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 18px 40px -26px rgba(20, 24, 22, 0.45);
}
.photo figcaption {
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.photo-strip { display: grid; gap: 1rem; margin-top: 2.2rem; }
@media (min-width: 680px) { .photo-strip { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Paquetes ---------- */
.pack-grid { display: grid; gap: 1.1rem; margin-top: 2.4rem; }
@media (min-width: 900px) { .pack-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pack {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.7rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.pack h3 { font-size: 1.25rem; }
.pack-for { font-size: 0.9rem; color: var(--ink-2); margin-top: 0.25rem; }
.pack-price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.15rem;
  letter-spacing: -0.02em;
  margin: 0.9rem 0 1rem;
}
.pack-price span { font-size: 0.95rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.pack ul { list-style: none; display: grid; gap: 0.5rem; margin-bottom: 1.4rem; }
.pack li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.96rem;
  color: var(--ink-2);
}
.pack li::before {
  content: "";
  position: absolute; left: 0; top: 0.42em;
  width: 0.85rem; height: 0.45rem;
  border-left: 2.2px solid var(--green);
  border-bottom: 2.2px solid var(--green);
  transform: rotate(-45deg);
}
.pack .btn-card { margin-top: auto; padding: 0.8rem 1rem; min-height: 3.1rem; font-size: 0.98rem; box-shadow: none; }

.pack-featured { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.pack-featured h3 { color: var(--ivory); }
.pack-featured .pack-for, .pack-featured li { color: rgba(242, 243, 242, 0.75); }
.pack-featured .pack-price { color: var(--ivory); }
.pack-featured .pack-price span { color: rgba(242, 243, 242, 0.65); }
.pack-featured li::before { border-color: #C4A08A; }
.pack-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C4A08A;
  margin-bottom: 0.6rem;
}

.starter {
  margin-top: 1.6rem;
  background: var(--burgundy-wash);
  border: 1px solid rgba(107, 46, 58, 0.22);
  border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.starter h3 { font-size: 1.3rem; }
.starter p { margin-top: 0.5rem; color: var(--ink-2); max-width: 52ch; }
.starter p strong { color: var(--ink); font-family: var(--display); }

.honesty {
  margin-top: 1.6rem;
  font-size: 0.95rem;
  color: var(--ink-2);
  max-width: 58ch;
  border-left: 3px solid var(--burgundy);
  padding-left: 0.9rem;
}

.pay-terms { list-style: none; display: grid; gap: 1rem; margin-top: 2.2rem; }
@media (min-width: 820px) { .pay-terms { grid-template-columns: repeat(3, 1fr); } }
.pay-terms li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.93rem; color: var(--ink-2);
}
.pay-terms svg { width: 24px; height: 24px; flex: none; color: var(--green); margin-top: 0.1rem; }
.pay-terms strong { color: var(--ink); }

/* ---------- Extras ---------- */
.extras-grid { list-style: none; display: grid; gap: 0.9rem; margin-top: 2.2rem; }
@media (min-width: 680px) { .extras-grid { grid-template-columns: repeat(3, 1fr); } }
.extras-grid li {
  display: flex; align-items: flex-start; gap: 0.85rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
}
.extras-grid svg { width: 26px; height: 26px; flex: none; color: var(--green); margin-top: 0.15rem; }
.extras-grid span { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.96rem; }
.extras-grid b { font-family: var(--display); font-size: 0.92rem; color: var(--burgundy); }

/* ---------- FAQ ---------- */
.faq { margin-top: 2.2rem; display: grid; gap: 0.7rem; max-width: 46rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.faq summary {
  position: relative;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.03rem;
  line-height: 1.35;
  padding: 1.05rem 3.2rem 1.05rem 1.25rem;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem; top: 50%;
  transform: translateY(-52%);
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--green);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.25rem 1.2rem; color: var(--ink-2); max-width: 60ch; }
.faq details p strong { color: var(--ink); }

/* ---------- Final ---------- */
.final { background: var(--ink); color: var(--ivory); text-align: center; padding: clamp(4.5rem, 10vw, 7rem) 0 2.2rem; }
.final-mark { margin: 0 auto 1.6rem; }
.final h2 { color: var(--ivory); margin-inline: auto; max-width: 22ch; }
.final > .wrap > p { color: rgba(242, 243, 242, 0.72); max-width: 46ch; margin: 1rem auto 2rem; }
.btn-big { padding: 1.15rem 2.1rem; font-size: 1.1rem; }

.foot {
  margin-top: 4.5rem;
  border-top: 1px solid rgba(242, 243, 242, 0.14);
  padding-top: 1.6rem;
  font-size: 0.85rem;
  color: rgba(242, 243, 242, 0.6);
}
.foot .legal { font-size: 0.78rem; margin-top: 0.5rem; }
.foot a { color: rgba(242, 243, 242, 0.75); }

/* ---------- Sticky WhatsApp (móvil) ---------- */
.sticky-wa {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, rgba(20, 24, 22, 0.06) 30%, rgba(20, 24, 22, 0.12));
  transform: translateY(120%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s 0.35s;
  pointer-events: none;
}
.sticky-wa.show {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s 0s;
  pointer-events: auto;
}
.btn-sticky { width: 100%; font-size: 1rem; }
@media (min-width: 768px) { .sticky-wa { display: none; } }

/* ---------- Reveals ---------- */
html.js .reveal { opacity: 0; transform: translateY(16px); }
html.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.55s ease, transform 0.55s ease; }
html.js .areas-index .reveal.in { transition-delay: calc(var(--i, 0) * 40ms); }
.areas-index li:nth-child(1) { --i: 0; }
.areas-index li:nth-child(2) { --i: 1; }
.areas-index li:nth-child(3) { --i: 2; }
.areas-index li:nth-child(4) { --i: 3; }
.areas-index li:nth-child(5) { --i: 4; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beacon { animation: none; opacity: 1; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
  .sticky-wa { transition: none; }
  .areas-index li { transition: none; }
}
