/* ===========================================================
   BARESTO marketing site — color theme matches RestaurantApp.Web
   (see RestaurantApp.Web/DESIGN_SYSTEM.md for the source tokens)
   =========================================================== */

:root {
  --color-bg: #f7f7f3;
  --color-surface: #ffffff;
  --color-border: #e7e8e3;
  --color-text: #1a1a1a;
  --color-text-muted: #8a8f98;

  --color-dark: #1c1c1c;
  --color-dark-hover: #000000;

  --color-accent: #6f9b51;
  --color-accent-light: #eaf3e3;

  --color-cta: #f0833a;
  --color-cta-hover: #dd6c1f;
  --color-cta-light: #fdeee1;

  --color-success: #2f9e44;
  --color-success-bg: #e6f4ea;
  --color-warning: #ee9d2b;
  --color-warning-bg: #fdf0dd;
  --color-info: #4b6bfb;
  --color-info-bg: #eaedfe;
  --color-danger: #e0524f;
  --color-danger-bg: #fbe9e8;
  --color-neutral: #6b7280;
  --color-neutral-bg: #f1f2f4;

  --radius-lg: 18px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-lift: 0 20px 40px -12px rgba(16, 24, 40, 0.18);

  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-dark);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

section[id] { scroll-margin-top: 84px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--color-cta); color: #fff; }
.btn-primary:hover { background: var(--color-cta-hover); transform: translateY(-1px); }
.btn-secondary { background: var(--color-surface); color: var(--color-text); border-color: var(--color-border); }
.btn-secondary:hover { border-color: var(--color-dark); transform: translateY(-1px); }
.btn-lg { padding: 0.85rem 1.75rem; font-size: 1rem; }

/* ---------- Status badges ---------- */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-badge--success { background: var(--color-success-bg); color: var(--color-success); }
.status-badge--warning { background: var(--color-warning-bg); color: var(--color-warning); }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--success { background: var(--color-success); }
.dot--accent { background: var(--color-cta); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 28, 28, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lift);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: clamp(1.25rem, 4vw, 1.8rem);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand img { border-radius: 8px; }
.brand-bar { color: #ffffff; }
.brand-esto { color: var(--color-cta); }
.brand-tm { font-size: 0.55em; margin-left: 0.15em; color: #ffffff; opacity: 0.9; vertical-align: super; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0 auto;
}
.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.78;
  transition: opacity 0.15s ease;
}
.main-nav a:hover { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 1.25rem; }

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #4caf6e;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}
.header-whatsapp svg { width: 17px; height: 17px; }
.header-whatsapp:hover { color: #67c988; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: #ffffff; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
  background: #000000;
}
.hero-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}
.hero-glow--orange { background: var(--color-cta); top: -180px; right: -120px; }
.hero-glow--green { background: var(--color-accent); bottom: -220px; left: -160px; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.hero-kicker span:nth-child(2) {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-cta);
  white-space: nowrap;
}
.kicker-line { flex: 1; height: 1px; background: rgba(255, 255, 255, 0.18); }

.hero-headline {
  display: flex;
  flex-direction: column;
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  font-weight: 800;
  color: #ffffff;
}
.hero-headline-accent { color: var(--color-cta); }

.hero-quote {
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 1.25rem;
}

.hero-sub {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 46ch;
  margin: 0 0 1.75rem;
}

.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

.hero-trust {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.hero-roles-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.6rem;
}
.hero-roles-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.role-pill {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.role-pill--active {
  color: #ffffff;
  background: var(--color-cta);
  border-color: var(--color-cta);
}

.hero .btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}
.hero .btn-secondary:hover { border-color: #ffffff; }

/* ---------- Hero visual ---------- */
.hero-visual { position: relative; padding: 1.5rem 1.25rem; }
.hero-monitor-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
}

.hero-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lift);
  white-space: nowrap;
}
.hero-float--top { top: 0; left: 1rem; }
.hero-float--bottom { bottom: 1.5rem; right: 0.5rem; }

/* ---------- Stat strip ---------- */
.stat-strip { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: var(--color-surface); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.25rem 2rem;
}
.stat-chip { display: flex; flex-direction: column; gap: 0.2rem; text-align: center; }
.stat-chip strong { font-size: 1.6rem; font-weight: 800; color: var(--color-cta); }
.stat-chip span { font-size: 0.82rem; color: var(--color-text-muted); font-weight: 500; }

/* ---------- Bold claim ---------- */
.claim { padding: 4.5rem 0; text-align: center; }
.claim-headline {
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.25;
  max-width: 18ch;
  margin: 0 auto 1rem;
}
.claim-accent { color: var(--color-cta); }
.claim-sub { color: var(--color-text-muted); font-size: 1rem; max-width: 46ch; margin: 0 auto; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-cta-hover);
  margin-bottom: 0.75rem;
}
.section-eyebrow--light { color: #ffb98a; }

.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 0.75rem; letter-spacing: -0.01em; }

.section-lead { color: var(--color-text-muted); font-size: 1.02rem; margin: 0; }
.section-lead--light { color: #cfcfcf; }

h2 { font-weight: 800; letter-spacing: -0.01em; }

.check-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  color: var(--color-text);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent);
}
.check-list--light li { color: #e6e6e6; }
.check-list--light li::before { background: var(--color-cta); }

/* ---------- Problem ---------- */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}
.cost-card {
  background: var(--color-surface);
  border: 1px solid var(--color-danger-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}
.cost-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-danger-bg);
  color: var(--color-danger);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.cost-card-icon svg { width: 20px; height: 20px; }
.cost-card-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.35rem; }
.cost-card p { margin: 0; font-size: 0.88rem; color: var(--color-text-muted); }

.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.problem-visual { display: grid; gap: 1.25rem; }

.compare-card { border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-card); }
.compare-card--before { background: var(--color-surface); border: 1px solid var(--color-border); }
.compare-card--after { background: var(--color-dark); color: #fff; }
.compare-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); margin-bottom: 1rem; }
.compare-card--after .compare-label { color: #9a9a9a; }

.compare-line { height: 10px; border-radius: 5px; background: var(--color-neutral-bg); margin-bottom: 0.6rem; }
.compare-line.short { width: 60%; }
.compare-foot { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.5rem; }
.compare-foot--accent { color: #ffb98a; font-weight: 600; }

.compare-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; padding: 0.3rem 0; }

/* ---------- Features ---------- */
.feature-group { margin-bottom: 3rem; }
.feature-group:last-child { margin-bottom: 0; }
.feature-group-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin: 0 0 1.1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-grid--two { grid-template-columns: repeat(2, 1fr); }
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.feature-card--highlight { border-color: var(--color-cta-light); background: linear-gradient(180deg, var(--color-cta-light) 0%, var(--color-surface) 45%); }

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-icon--cta { background: var(--color-cta-light); color: var(--color-cta-hover); }

.feature-card h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.feature-card p { font-size: 0.88rem; color: var(--color-text-muted); margin: 0; }

/* ---------- Spotlight ---------- */
.spotlight { position: relative; background: var(--color-dark); color: #fff; overflow: hidden; }
.spotlight h2 { color: #fff; }
.spotlight-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.report-mock {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: var(--color-text);
  box-shadow: var(--shadow-lift);
}
.report-mock-head { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 0.9rem; margin-bottom: 1rem; }
.report-mock-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.report-mock-table th {
  text-align: left;
  color: var(--color-text-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.3rem;
  border-bottom: 1px solid var(--color-border);
}
.report-mock-table td { padding: 0.55rem 0.3rem; border-bottom: 1px solid var(--color-border); }
.report-mock-table tr:last-child td { border-bottom: none; }
.report-mock-foot { margin-top: 1rem; font-size: 0.78rem; color: var(--color-text-muted); }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 1.5rem;
}
.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.step p { font-size: 0.88rem; color: var(--color-text-muted); margin: 0; }

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--color-accent-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.callout h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.callout p { margin: 0; color: var(--color-text); opacity: 0.75; font-size: 0.92rem; max-width: 46ch; }

/* ---------- Comparison table ---------- */
.compare-table-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
}
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.compare-table th, .compare-table td { padding: 0.9rem 1.25rem; text-align: left; white-space: nowrap; }
.compare-table thead th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}
.compare-table thead th:nth-child(3) { color: var(--color-cta-hover); }
.compare-table tbody td:first-child { font-weight: 600; }
.compare-table tbody td:nth-child(2) { color: var(--color-text-muted); }
.compare-table tbody td:nth-child(3) { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.compare-table tbody tr:not(:last-child) td { border-bottom: 1px solid var(--color-border); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  font-family: inherit;
}
.faq-chevron { width: 18px; height: 18px; flex: none; color: var(--color-text-muted); transition: transform 0.2s ease; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); color: var(--color-cta); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p { margin: 0; padding: 0 1.4rem 1.1rem; color: var(--color-text-muted); font-size: 0.88rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 560px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); border-color: var(--color-cta); }
.contact-card .feature-icon { margin-bottom: 0; flex: none; }
.contact-card-text { flex: 1; min-width: 0; }
.contact-card-text h3 { margin: 0 0 0.1rem; font-size: 0.95rem; }
.contact-card-text p { margin: 0; color: var(--color-text-muted); font-size: 0.85rem; }
.contact-card-arrow { width: 18px; height: 18px; flex: none; color: var(--color-text-muted); transition: transform 0.15s ease, color 0.15s ease; }
.contact-card:hover .contact-card-arrow { transform: translateX(3px); color: var(--color-cta); }

.contact-card-actions { display: flex; gap: 0.5rem; flex: none; }
.contact-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.contact-icon-btn svg { width: 18px; height: 18px; }
.contact-icon-btn:hover { border-color: var(--color-cta); color: var(--color-cta-hover); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { background: rgba(28, 28, 28, 0.92); border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 3rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-brand-mark { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.footer-brand-mark img { border-radius: 7px; }
.footer-brand p { margin: 0; color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; max-width: 34ch; }

.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a, .footer-contact a { color: #ffffff; text-decoration: none; font-size: 0.88rem; opacity: 0.78; }
.footer-links a:hover, .footer-contact a:hover { opacity: 1; color: var(--color-cta); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 2rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: translateY(-2px); }
.whatsapp-float svg { width: 20px; height: 20px; flex: none; }

/* ---------- Reveal-on-scroll ----------
   Gated behind .js-ready (added by main.js) so content stays fully visible
   if JavaScript fails to load or run — no permanently-invisible sections. */
.js-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Legal pages (Privacy Policy / Terms & Conditions) ---------- */
.legal-hero {
  position: relative;
  overflow: hidden;
  background: #000000;
  padding: 3.25rem 0 2.75rem;
}
.legal-hero .hero-glow { width: 360px; height: 360px; opacity: 0.18; }
.legal-hero-inner { position: relative; z-index: 1; }
.legal-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-cta);
  margin-bottom: 0.75rem;
}
.legal-hero h1 {
  color: #ffffff;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}
.legal-updated { color: rgba(255, 255, 255, 0.55); font-size: 0.88rem; margin: 0; }

.legal-body { padding: 3.5rem 0 5.5rem; }
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.legal-toc-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}
.legal-toc a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: none;
  line-height: 1.4;
}
.legal-toc a:hover { color: var(--color-cta-hover); }

.legal-content {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2.5rem clamp(1.5rem, 4vw, 3.25rem);
  max-width: 74ch;
}
.legal-content h2 {
  font-size: 1.25rem;
  margin: 2.25rem 0 0.85rem;
  scroll-margin-top: 100px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.02rem;
  margin: 1.5rem 0 0.5rem;
  font-weight: 700;
}
.legal-content p {
  font-size: 0.95rem;
  color: var(--color-text);
  opacity: 0.85;
  line-height: 1.7;
  margin: 0 0 1rem;
}
.legal-content ul, .legal-content ol {
  margin: 0 0 1.1rem;
  padding-left: 1.4rem;
  display: grid;
  gap: 0.5rem;
}
.legal-content li {
  font-size: 0.95rem;
  color: var(--color-text);
  opacity: 0.85;
  line-height: 1.6;
}
.legal-content a { color: var(--color-cta-hover); text-decoration: underline; }
.legal-content strong { font-weight: 700; }
.legal-note {
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--color-text);
  margin: 0 0 1.25rem;
}
.legal-contact-block {
  background: var(--color-neutral-bg);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  margin: 0 0 1.25rem;
}
.legal-contact-block p { margin: 0 0 0.3rem; }
.legal-contact-block p:last-child { margin-bottom: 0; }

.footer-legal { display: flex; align-items: center; gap: 0.6rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.5); text-decoration: none; font-size: 0.78rem; }
.footer-legal a:hover { color: var(--color-cta); }
.footer-legal-sep { color: rgba(255, 255, 255, 0.3); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1200px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-whatsapp { display: none; }

  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    padding: 0.5rem 2rem 1rem;
  }
  .site-header.nav-open .main-nav a { width: 100%; padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); opacity: 1; color: var(--color-text); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: 1fr; }
  .spotlight-grid { grid-template-columns: 1fr; }
  .spotlight-grid > div:first-child { order: 1; }

  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 3rem 0 3.5rem; }
  .footer-bottom { flex-direction: column; }
  .cost-grid { grid-template-columns: 1fr; }
  .compare-table th, .compare-table td { padding: 0.75rem 0.9rem; font-size: 0.85rem; }

  .whatsapp-float { padding: 0.8rem; border-radius: 50%; }
  .whatsapp-float span { display: none; }

  .legal-content { padding: 1.75rem 1.25rem; }
  .footer-bottom { text-align: center; }
}
