/* ═══════════════════════════════════════════
   ServiceIQ — Shared Design System
   ═══════════════════════════════════════════ */

:root {
  --ink: #1a1612;
  --cream: #f5f0e8;
  --amber: #c8872e;
  --amber-light: #e8a94d;
  --porter: #2d1f14;
  --sage: #6b7c5e;
  --sage-light: #8fa37a;
  --chalk: #faf8f4;
  --copper: #b4703a;
  --slate: #5a5550;
  --red-flag: #c44b3f;
  --green-good: #5a8a52;
  --gold-star: #d4a843;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── NOISE TEXTURE ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes barGrow {
  from { width: 0; }
}
@keyframes numberCount {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes typing {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.fade-up { animation: fadeUp 0.8s ease-out both; }
.fade-in { animation: fadeIn 0.8s ease-out both; }
.slide-right { animation: slideRight 0.7s ease-out both; }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(45, 31, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav.light {
  background: rgba(250, 248, 244, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav.light .nav-brand { color: var(--ink); }

.nav-brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: block;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(200, 135, 46, 0.22);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-brand:hover .nav-brand-icon {
  transform: rotate(-3deg) scale(1.05);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: rgba(245, 240, 232, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}

.site-nav.light .nav-links a { color: var(--slate); }

.nav-links a:hover { color: var(--amber); }

.nav-links a.nav-cta {
  background: var(--amber);
  color: white;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-links a.nav-cta:hover {
  background: var(--amber-light);
  color: white;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--porter);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(200,135,46,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(107,124,94,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,135,46,0.15);
  border: 1px solid rgba(200,135,46,0.3);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 40px;
  animation: fadeUp 0.6s ease-out both;
  width: fit-content;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 900px;
  animation: fadeUp 0.8s ease-out 0.15s both;
  position: relative;
  z-index: 1;
}

.hero h1 em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  font-weight: 300;
  max-width: 480px;
  margin-top: 28px;
  opacity: 0.7;
  line-height: 1.7;
  animation: fadeUp 0.8s ease-out 0.3s both;
  position: relative;
  z-index: 1;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease-out 0.4s both;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  gap: 50px;
  margin-top: 60px;
  animation: fadeUp 0.8s ease-out 0.45s both;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--amber);
}

.hero-stat-label {
  font-size: 0.8rem;
  opacity: 0.5;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 40px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.3;
  animation: fadeIn 1s ease-out 1s both;
  display: flex;
  align-items: center;
  gap: 10px;
}

.scroll-hint::after {
  content: '';
  width: 40px;
  height: 1px;
  background: currentColor;
}

/* ── SECTION STYLING ── */
section {
  padding: 100px 40px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  max-width: 700px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 50px;
}

/* ── SOLUTIONS GRID ── */
.solutions-section { background: var(--chalk); }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  max-width: 1200px;
}

.solutions-grid-trio {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 1100px;
}

.solutions-more {
  max-width: 1100px;
  margin-top: 50px;
  text-align: center;
}

.btn-tools-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--porter);
  color: var(--cream);
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s;
  font-family: inherit;
}

.btn-tools-link:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(45, 31, 20, 0.2);
}

.btn-tools-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.btn-tools-link:hover svg { transform: translateX(4px); }

.solutions-more-hint {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--slate);
  opacity: 0.7;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.solution-card {
  background: white;
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--sage));
  opacity: 0;
  transition: opacity 0.3s;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border-color: transparent;
}

.solution-card:hover::before { opacity: 1; }

.solution-card.has-demo::after {
  content: 'Try the demo →';
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateX(-6px);
}

.solution-card.has-demo:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.card-tier {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.tier-quick { background: rgba(107,124,94,0.12); color: var(--sage); }
.tier-medium { background: rgba(200,135,46,0.12); color: var(--amber); }
.tier-advanced { background: rgba(45,31,20,0.1); color: var(--porter); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(200, 135, 46, 0.10) 0%, rgba(200, 135, 46, 0.03) 100%);
  border: 1px solid rgba(200, 135, 46, 0.20);
  color: var(--amber);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.solution-card:hover .card-icon {
  transform: scale(1.06) rotate(-2deg);
  border-color: var(--amber);
  background: linear-gradient(135deg, rgba(200, 135, 46, 0.18) 0%, rgba(200, 135, 46, 0.06) 100%);
}

.card-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.5;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.8rem;
}

.card-time {
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-savings {
  font-weight: 700;
  color: var(--sage);
}

/* ── REVIEW INTELLIGENCE ── */
.review-section {
  background: var(--porter);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.review-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,135,46,0.08) 0%, transparent 70%);
}

.review-section .section-label { color: var(--amber-light); }
.review-section .section-desc { color: rgba(245,240,232,0.6); }

.review-demo {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.review-input-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
}

.review-input-panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sample-review {
  font-size: 0.88rem;
  line-height: 1.75;
  opacity: 0.7;
  padding: 20px;
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
  border-left: 3px solid var(--amber);
  margin-bottom: 16px;
}

.review-stars {
  color: var(--gold-star);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.review-source {
  font-size: 0.75rem;
  opacity: 0.4;
  margin-top: 8px;
}

.review-output-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.insight-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px;
  transition: background 0.3s;
}

.insight-card:hover { background: rgba(255,255,255,0.08); }

.insight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.insight-title { font-weight: 600; font-size: 0.95rem; }

.insight-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.badge-positive { background: rgba(90,138,82,0.2); color: var(--sage-light); }
.badge-warning { background: rgba(196,75,63,0.2); color: #e67a70; }
.badge-neutral { background: rgba(200,135,46,0.2); color: var(--amber-light); }

.insight-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.insight-bar-fill {
  height: 100%;
  border-radius: 10px;
  animation: barGrow 1.2s ease-out both;
}

.bar-positive { background: linear-gradient(90deg, var(--sage), var(--sage-light)); }
.bar-warning { background: linear-gradient(90deg, var(--red-flag), #d4695f); }
.bar-neutral { background: linear-gradient(90deg, var(--amber), var(--amber-light)); }

.insight-detail {
  font-size: 0.82rem;
  opacity: 0.55;
  line-height: 1.6;
}

.score-overview {
  max-width: 1100px;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.score-tile {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}

.score-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  animation: numberCount 0.6s ease-out both;
}

.score-num.positive { color: var(--sage-light); }
.score-num.warning { color: #e67a70; }
.score-num.amber { color: var(--amber-light); }

.score-label {
  font-size: 0.78rem;
  opacity: 0.45;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ai-response-box {
  max-width: 1100px;
  margin-top: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  z-index: 1;
}

.ai-response-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-response-box .subtitle {
  font-size: 0.82rem;
  opacity: 0.4;
  margin-bottom: 20px;
}

.ai-draft {
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
  padding: 24px;
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.85;
  border-left: 3px solid var(--sage);
}

.ai-draft .greeting { color: var(--amber-light); font-weight: 500; }

/* ── PRICING ── */
.pricing-section { background: var(--chalk); }

.guarantee-banner {
  max-width: 1100px;
  margin: 0 0 36px;
  background: linear-gradient(135deg, rgba(90,138,82,0.08) 0%, rgba(90,138,82,0.02) 100%);
  border: 1px solid rgba(90,138,82,0.25);
  border-radius: 16px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.guarantee-shield {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(90,138,82,0.12);
  border: 1px solid rgba(90,138,82,0.2);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.guarantee-shield svg { width: 28px; height: 28px; stroke-width: 1.5; }
.guarantee-text { flex: 1; min-width: 240px; }
.guarantee-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.guarantee-desc {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.55;
}
.guarantee-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sage);
  background: rgba(90,138,82,0.12);
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1100px;
}

.guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sage);
  background: rgba(90,138,82,0.10);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.guarantee-pill svg { width: 14px; height: 14px; stroke-width: 2; }
.price-card.featured .guarantee-pill {
  color: var(--sage-light);
  background: rgba(143,163,122,0.18);
}

.price-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  transition: all 0.4s ease;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.07);
}

.price-card.featured {
  background: var(--porter);
  color: var(--cream);
  border-color: transparent;
}

.price-card.featured .price-features li { border-color: rgba(255,255,255,0.08); }
.price-card.featured .price-features li::before { color: var(--amber-light); }

.price-tier-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}

.price-card.featured .price-tier-label { color: var(--amber-light); }

.price-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.price-desc {
  font-size: 0.88rem;
  opacity: 0.6;
  margin-bottom: 28px;
  line-height: 1.6;
}

.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
}

.price-period {
  font-size: 0.85rem;
  opacity: 0.5;
  margin-bottom: 8px;
}

.price-note {
  font-size: 0.78rem;
  font-family: 'JetBrains Mono', monospace;
  opacity: 0.45;
  margin-bottom: 30px;
}

.price-features {
  list-style: none;
  margin-bottom: 30px;
}

.price-features li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.price-features li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.price-cta {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-family: inherit;
}

.cta-primary { background: var(--amber); color: white; }
.cta-primary:hover { background: var(--copper); }

.cta-outline {
  background: transparent;
  border: 2px solid rgba(0,0,0,0.12);
  color: var(--ink);
}
.cta-outline:hover { border-color: var(--amber); color: var(--amber); }

.cta-featured { background: var(--amber); color: white; }
.cta-featured:hover { background: var(--amber-light); }

/* ── ROI ── */
.roi-section { background: var(--cream); }

.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1000px;
  align-items: center;
}

.roi-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 10px;
}

.roi-stat-label {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 30px;
}

.roi-list { list-style: none; }

.roi-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}

.roi-list li span:last-child {
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--sage);
}

/* ── HOW ── */
.how-section { background: white; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin-top: 20px;
}

.step-item { position: relative; }

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(200,135,46,0.12);
  line-height: 1;
  margin-bottom: 10px;
}

.step-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ── CTA FOOTER ── */
.cta-section {
  background: var(--porter);
  color: var(--cream);
  text-align: center;
  padding: 100px 40px;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-section p {
  opacity: 0.6;
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 36px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-family: inherit;
  display: inline-block;
}

.btn-amber { background: var(--amber); color: white; }
.btn-amber:hover { background: var(--amber-light); }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-outline-dark {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-outline-dark:hover { background: var(--ink); color: white; }

/* ── FOOTER ── */
footer {
  background: var(--ink);
  color: rgba(245,240,232,0.4);
  padding: 40px;
  text-align: center;
  font-size: 0.82rem;
}

footer a {
  color: var(--amber);
  text-decoration: none;
}

/* ═══════════════════════════════════════════
   DEMO PAGES
   ═══════════════════════════════════════════ */

.demo-hero {
  background: var(--porter);
  color: var(--cream);
  padding: 140px 40px 60px;
  position: relative;
  overflow: hidden;
}

.demo-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,135,46,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.demo-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(245,240,232,0.5);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s;
}

.demo-back:hover { color: var(--amber); }

.demo-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.demo-hero h1 em {
  color: var(--amber);
  font-style: italic;
}

.demo-hero p {
  margin-top: 18px;
  max-width: 560px;
  opacity: 0.7;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.demo-tabs-wrap {
  background: var(--chalk);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 68px;
  z-index: 50;
  padding: 0 40px;
}

.demo-tabs {
  display: flex;
  gap: 4px;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.demo-tabs::-webkit-scrollbar { display: none; }

.demo-tab {
  padding: 18px 22px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-tab:hover { color: var(--ink); }

.demo-tab.active {
  color: var(--amber);
  border-bottom-color: var(--amber);
  font-weight: 600;
}

.demo-stage {
  background: var(--cream);
  padding: 60px 40px;
  min-height: 60vh;
}

.demo-panel { display: none; max-width: 1200px; margin: 0 auto; }
.demo-panel.active { display: block; animation: fadeIn 0.4s ease-out; }

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.demo-column {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.demo-column-header {
  padding: 22px 28px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: var(--chalk);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-column-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-column-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(200,135,46,0.12);
  color: var(--amber);
}

.demo-column-body { padding: 28px; flex: 1; }

.demo-form-group { margin-bottom: 20px; }

.demo-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--slate);
  letter-spacing: 0.3px;
}

.demo-form-group .hint {
  font-size: 0.78rem;
  color: var(--slate);
  opacity: 0.6;
  margin-top: 6px;
}

.demo-input,
.demo-textarea,
.demo-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  background: white;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.demo-input:focus,
.demo-textarea:focus,
.demo-select:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(200, 135, 46, 0.15);
}

.demo-textarea { resize: vertical; min-height: 110px; line-height: 1.55; }

.demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.demo-stars-input {
  display: flex;
  gap: 4px;
  font-size: 1.5rem;
  cursor: pointer;
}

.demo-stars-input span {
  color: rgba(0,0,0,0.15);
  transition: color 0.15s;
  user-select: none;
}

.demo-stars-input span.filled,
.demo-stars-input.preview span:nth-child(-n+5).preview-on { color: var(--gold-star); }

.demo-button {
  background: var(--amber);
  color: white;
  border: none;
  padding: 14px 22px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.demo-button:hover:not(:disabled) { background: var(--copper); }
.demo-button:active { transform: translateY(1px); }
.demo-button:disabled { opacity: 0.5; cursor: not-allowed; }

.demo-button-secondary {
  background: transparent;
  color: var(--slate);
  border: 1px solid rgba(0,0,0,0.12);
  padding: 12px 18px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.demo-button-secondary:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.demo-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* AI output styling */
.ai-empty-state {
  text-align: center;
  padding: 50px 30px;
  color: var(--slate);
  opacity: 0.55;
}

.ai-empty-state .icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  opacity: 0.5;
}

.ai-empty-state .title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.ai-empty-state .hint {
  font-size: 0.85rem;
  opacity: 0.7;
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.6;
}

.ai-loading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: rgba(200,135,46,0.06);
  border: 1px solid rgba(200,135,46,0.18);
  border-radius: 12px;
  font-size: 0.88rem;
  color: var(--slate);
}

.ai-loading .dots {
  display: inline-flex;
  gap: 4px;
}

.ai-loading .dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  animation: typing 1.2s infinite;
}

.ai-loading .dots span:nth-child(2) { animation-delay: 0.2s; }
.ai-loading .dots span:nth-child(3) { animation-delay: 0.4s; }

.ai-output-block {
  background: var(--chalk);
  border: 1px solid rgba(0,0,0,0.05);
  border-left: 3px solid var(--sage);
  border-radius: 12px;
  padding: 22px 24px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 16px;
  white-space: pre-wrap;
  animation: fadeUp 0.4s ease-out both;
}

.ai-output-block.tone-warm { border-left-color: var(--amber); }
.ai-output-block.tone-flag { border-left-color: var(--red-flag); }

.ai-output-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--slate);
  margin-bottom: 14px;
  align-items: center;
}

.ai-output-pill {
  background: rgba(200,135,46,0.1);
  color: var(--amber);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.ai-output-pill.sage { background: rgba(107,124,94,0.12); color: var(--sage); }
.ai-output-pill.flag { background: rgba(196,75,63,0.12); color: var(--red-flag); }

.ai-variants-grid {
  display: grid;
  gap: 14px;
}

.ai-variant {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 18px 20px;
  transition: all 0.2s;
  animation: fadeUp 0.4s ease-out both;
}

.ai-variant:hover {
  border-color: var(--amber);
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.ai-variant-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.78rem;
}

.ai-variant-platform {
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-variant-meta { color: var(--slate); opacity: 0.65; }

.ai-variant-body {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink);
  white-space: pre-wrap;
}

.ai-variant-tags {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--sage);
  font-weight: 500;
}

.copy-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--cream);
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 1000;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Menu board preview styling */
.menu-board-preview {
  background: linear-gradient(135deg, #fdfaf3 0%, #f7f0e1 100%);
  border: 8px double var(--porter);
  border-radius: 6px;
  padding: 32px 28px;
  font-family: 'Playfair Display', serif;
  color: var(--porter);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.menu-board-preview::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(45,31,20,0.2);
  border-radius: 3px;
  pointer-events: none;
}

.menu-board-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--porter);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.menu-board-date {
  text-align: center;
  font-style: italic;
  font-size: 0.88rem;
  margin-bottom: 18px;
  opacity: 0.7;
  font-family: 'DM Sans', sans-serif;
}

.menu-board-section {
  margin-bottom: 16px;
}

.menu-board-section-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
  border-bottom: 1px dotted rgba(45,31,20,0.3);
  padding-bottom: 4px;
}

.menu-board-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  font-size: 0.92rem;
  font-family: 'DM Sans', sans-serif;
}

.menu-board-item-name { font-weight: 600; }

.menu-board-item-desc {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--slate);
  margin-top: 2px;
}

.menu-board-item-price {
  font-weight: 700;
  color: var(--amber);
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem;
}

.menu-board-footer {
  text-align: center;
  font-size: 0.78rem;
  font-family: 'DM Sans', sans-serif;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dotted rgba(45,31,20,0.3);
  opacity: 0.65;
}

/* Calendar demo specific */
.cal-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.cal-stat {
  background: var(--chalk);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
}
.cal-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.cal-stat-num.warn { color: var(--red-flag); }
.cal-stat-num.good { color: var(--sage); }
.cal-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate);
  opacity: 0.7;
}
.cal-day {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
  animation: fadeUp 0.4s ease-out both;
}
.cal-day-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(0,0,0,0.08);
}
.cal-day-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
}
.cal-day-fill {
  font-size: 0.78rem;
  color: var(--slate);
  font-weight: 500;
}
.cal-day-fill.high { color: var(--red-flag); font-weight: 700; }
.cal-day-fill.med { color: var(--amber); font-weight: 600; }
.cal-day-fill.low { color: var(--sage); }
.cal-booking {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.85rem;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.cal-booking:last-child { border-bottom: none; }
.cal-booking-time {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--amber);
  font-size: 0.82rem;
}
.cal-booking-name {
  font-weight: 600;
}
.cal-booking-occ {
  color: var(--slate);
  font-size: 0.78rem;
  opacity: 0.7;
  margin-top: 2px;
}
.cal-booking-pax {
  background: rgba(200,135,46,0.1);
  color: var(--amber);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.cal-conflict {
  background: rgba(196,75,63,0.06);
  border: 1px solid rgba(196,75,63,0.2);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--red-flag);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.cal-conflict-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
}
.cal-confirm-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.cal-confirm-msg {
  background: var(--chalk);
  border: 1px solid rgba(0,0,0,0.05);
  border-left: 3px solid var(--sage);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.86rem;
  line-height: 1.55;
  white-space: pre-wrap;
}
.cal-confirm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.75rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

/* Review intelligence visualization (in-demo) */
.review-intel-grid {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  margin-bottom: 18px;
}
.review-intel-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  padding: 14px 16px;
  animation: fadeUp 0.4s ease-out both;
}
.review-intel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.review-intel-title {
  font-weight: 600;
  font-size: 0.88rem;
}
.review-intel-track {
  height: 6px;
  background: rgba(0,0,0,0.06);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 6px;
}
.review-intel-fill {
  height: 100%;
  border-radius: 100px;
  animation: barGrow 1s ease-out both;
}
.review-intel-fill.pos { background: linear-gradient(90deg, var(--sage), var(--sage-light)); }
.review-intel-fill.neg { background: linear-gradient(90deg, var(--red-flag), #d4695f); }
.review-intel-fill.neu { background: linear-gradient(90deg, var(--amber), var(--amber-light)); }
.review-intel-detail {
  font-size: 0.78rem;
  color: var(--slate);
  opacity: 0.75;
  line-height: 1.55;
}

/* Booking reply specific */
.enquiry-summary {
  background: rgba(107,124,94,0.06);
  border: 1px solid rgba(107,124,94,0.18);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.enquiry-summary-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.enquiry-summary-item {
  flex: 1;
  min-width: 130px;
}

.enquiry-summary-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate);
  opacity: 0.7;
  margin-bottom: 4px;
}

.enquiry-summary-value {
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   Mobile-first refinements at three breakpoints:
   ≤1024px (tablet), ≤768px (phone), ≤480px (small phone)
   ═══════════════════════════════════════════ */

/* ── TABLET (≤1024px) ── */
@media (max-width: 1024px) {
  section { padding: 80px 32px; }

  .solutions-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .solutions-grid-trio { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

  .review-demo { gap: 28px; }
  .roi-grid { gap: 40px; }

  .site-nav { padding: 16px 28px; }
  .nav-links { gap: 22px; }

  .pricing-grid { gap: 22px; }
  .price-card { padding: 36px 30px; }
}

/* ── PHONE (≤768px) ── */
@media (max-width: 768px) {
  section { padding: 64px 22px; }

  /* Nav — keep brand + CTA visible, hide secondary links */
  .site-nav { padding: 12px 18px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-brand { font-size: 1.05rem; }
  .nav-brand-icon { width: 28px !important; height: 28px !important; }
  .nav-links a.nav-cta {
    padding: 10px 16px;
    font-size: 0.82rem;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  /* Hero */
  .hero { padding: 96px 22px 56px; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 4.2rem); }
  .hero-sub { margin-top: 22px; max-width: none; }
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    margin-top: 32px;
    width: 100%;
  }
  .hero-cta-row .btn {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
  }
  .hero-stats {
    gap: 28px;
    margin-top: 44px;
    flex-wrap: wrap;
  }
  .hero-stat-num { font-size: 2rem; }
  .scroll-hint { display: none; }

  /* Section headings */
  .section-title { font-size: clamp(1.8rem, 6.5vw, 2.6rem); }
  .section-desc { margin-bottom: 36px; }

  /* Solutions */
  .solutions-grid,
  .solutions-grid-trio {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .solution-card { padding: 28px 22px; }
  .card-title { font-size: 1.18rem; }

  /* "See all tools" CTA */
  .btn-tools-link {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
  .solutions-more { margin-top: 32px; }

  /* How it works steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .step-num { font-size: 3rem; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; gap: 18px; }
  .price-card { padding: 30px 24px; }
  .price-amount { font-size: 2.5rem; }
  .price-name { font-size: 1.35rem; }
  .price-features li { font-size: 0.88rem; }
  .price-cta {
    padding: 14px;
    min-height: 48px;
  }

  /* Guarantee banner */
  .guarantee-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
  }
  .guarantee-tag { align-self: flex-end; }

  /* ROI */
  .roi-grid { grid-template-columns: 1fr; gap: 36px; }
  .roi-number { font-size: 3rem; }

  /* Review intelligence (legacy section if still present) */
  .review-demo { grid-template-columns: 1fr; gap: 20px; }
  .score-overview { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Footer CTA */
  .cta-section { padding: 64px 22px; }
  .cta-section h2 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .cta-buttons { flex-direction: column; gap: 12px; }
  .cta-buttons .btn { width: 100%; }

  /* Footer */
  footer { padding: 28px 22px; font-size: 0.78rem; }

  /* ─── Demos ─── */
  .demo-hero { padding: 100px 22px 48px; }
  .demo-hero h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .demo-stage { padding: 36px 16px; }
  .demo-tabs-wrap {
    padding: 0 16px;
    top: 60px; /* matches mobile nav height */
  }
  .demo-tab {
    padding: 14px 16px;
    font-size: 0.82rem;
    min-height: 44px;
  }
  .demo-grid { grid-template-columns: 1fr; gap: 20px; }
  .demo-column-body { padding: 22px; }
  .demo-column-header { padding: 18px 22px; }
  .demo-row { grid-template-columns: 1fr; gap: 12px; }
  .demo-button,
  .demo-button-secondary {
    min-height: 44px;
    padding: 12px 18px;
  }
  .demo-input,
  .demo-textarea,
  .demo-select { font-size: 16px; /* prevents iOS zoom on focus */ padding: 12px; }
  .ai-variant { padding: 16px; }

  /* Calendar visualization on small screens */
  .cal-overview { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cal-stat { padding: 12px 10px; }
  .cal-stat-num { font-size: 1.4rem; }
  .cal-booking {
    grid-template-columns: 60px 1fr auto;
    gap: 10px;
    font-size: 0.82rem;
  }
}

/* ── SMALL PHONE (≤480px) ── */
@media (max-width: 480px) {
  section { padding: 52px 16px; }

  .site-nav { padding: 10px 14px; }
  .nav-brand { font-size: 0.98rem; gap: 6px; }
  .nav-links a.nav-cta { padding: 9px 14px; font-size: 0.78rem; }

  .hero { padding: 84px 16px 44px; }
  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
    line-height: 1.02;
  }
  .hero-sub { font-size: 0.92rem; }
  .hero-stats { gap: 22px; margin-top: 36px; }
  .hero-stat-num { font-size: 1.75rem; }
  .hero-stat-label { font-size: 0.72rem; }

  .section-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .section-label { font-size: 10px; letter-spacing: 2px; }

  .solution-card { padding: 24px 20px; }
  .card-icon { width: 44px; height: 44px; margin-bottom: 16px; }
  .card-icon svg { width: 22px; height: 22px; }
  .card-meta { font-size: 0.74rem; }

  .price-card { padding: 26px 20px; }
  .price-amount { font-size: 2.25rem; }
  .price-features li { padding: 10px 0; font-size: 0.85rem; }

  .step-num { font-size: 2.6rem; }

  .roi-number { font-size: 2.6rem; }
  .roi-list li { font-size: 0.85rem; padding: 12px 0; }

  .cta-section { padding: 52px 18px; }

  footer { padding: 22px 16px; font-size: 0.74rem; line-height: 1.6; }

  /* Score tiles wrap to 2-up */
  .score-overview { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .score-tile { padding: 18px 14px; }
  .score-num { font-size: 1.8rem; }

  /* Demos */
  .demo-stage { padding: 28px 12px; }
  .demo-column-body { padding: 18px; }
  .demo-column-header { padding: 14px 18px; }
  .demo-tab { padding: 12px 14px; font-size: 0.78rem; }
}

/* ═══════════════════════════════════════════
   COOKIE / PRIVACY BANNER
   ═══════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--porter);
  color: var(--cream);
  padding: 18px 22px;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(45, 31, 20, 0.25);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.85rem;
  line-height: 1.55;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
  border: 1px solid rgba(200, 135, 46, 0.2);
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner-text {
  flex: 1;
  opacity: 0.85;
}

.cookie-banner-text a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-text a:hover { color: var(--amber-light); }

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}

.cookie-btn-primary {
  background: var(--amber);
  color: white;
}
.cookie-btn-primary:hover { background: var(--amber-light); }

.cookie-btn-ghost {
  background: transparent;
  border: 1px solid rgba(245, 240, 232, 0.25);
  color: var(--cream);
}
.cookie-btn-ghost:hover {
  border-color: var(--cream);
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 18px;
    bottom: 10px;
    left: 10px;
    right: 10px;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-btn { flex: 1; min-height: 44px; }
}

/* ═══════════════════════════════════════════
   PRIVACY PAGE
   ═══════════════════════════════════════════ */
.privacy-page {
  background: var(--cream);
  padding: 130px 24px 80px;
}
.privacy-inner {
  max-width: 720px;
  margin: 0 auto;
}
.privacy-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
}
.privacy-page .updated {
  font-size: 0.82rem;
  color: var(--slate);
  opacity: 0.7;
  margin-bottom: 40px;
}
.privacy-page h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
}
.privacy-page p, .privacy-page li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 14px;
}
.privacy-page ul {
  padding-left: 22px;
  margin-bottom: 18px;
}
.privacy-page li { margin-bottom: 8px; }
.privacy-page a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Touch device tweaks ─── */
@media (hover: none) and (pointer: coarse) {
  /* On touch devices, force "hover" reveals to be visible */
  .solution-card.has-demo::after { opacity: 1; transform: translateX(0); }
  /* Bigger tap targets */
  button, .btn, a.btn, .price-cta, .demo-button {
    min-height: 44px;
  }
}
