/* ============================================================
   Computer Selection LLC — styles.css
   Warm business theme · sand & espresso · crimson accent (logo-derived)
   Palette: cafe-au-lait base · ivory cards · espresso bands · Sora + Inter
   ============================================================ */

:root {
  /* Surfaces — "Café au Lait": milky-coffee base, light ivory cards */
  --bg: #ddcab4;
  --bg-alt: #d0b99e;
  --surface: #f2e8da;
  --surface-2: #eaddca;
  --line: #cbb096;
  /* Lighter warm tone for controls that must read as inputs, not bands */
  --field: #f7f0e5;

  /* Text — warm espresso, never cold grey */
  --text: #2a1d18;
  --muted: #5e4632;

  /* Deep warm bands (hero + footer) — same hue family as the sand */
  --ink: #2a1d18;
  --ink-2: #3d2a22;
  --ink-text: #fbf3ec;
  --ink-muted: #cbb3a4;
  --ink-line: rgba(255, 236, 222, 0.18);

  /* Brand accent — the logo crimson */
  --accent: #d93a32;
  --accent-2: #f26b3f;
  --accent-deep: #a82a24;
  --accent-soft: rgba(217, 58, 50, 0.10);

  /* Support accent — warm ochre */
  --teal: #b3762f;
  --teal-soft: rgba(179, 118, 47, 0.12);
  --green: #a8702c;

  --radius: 16px;
  --font-head: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --shadow-sm: 0 2px 8px rgba(64, 40, 28, 0.07);
  --shadow-lg: 0 20px 44px rgba(64, 40, 28, 0.16);
  --maxw: 1180px;
  /* Motion — strong custom curves (built-in easings are too weak) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.01em; }

h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer;
  transition: transform 140ms var(--ease-out), box-shadow 220ms var(--ease-out), background 220ms var(--ease-out), border-color 220ms var(--ease-out);
  white-space: nowrap;
}
/* Press feedback — the UI must feel like it heard the click */
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(217, 58, 50, 0.28);
}
/* Ghost button sits on the warm dark hero */
.btn--ghost {
  background: rgba(255, 232, 214, 0.10); color: var(--ink-text);
  border-color: rgba(255, 226, 205, 0.30);
  backdrop-filter: blur(6px);
}
.btn--light { background: #f7f0e5; color: var(--text); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(217, 58, 50, 0.45); }
  .btn--ghost:hover { border-color: rgba(255, 226, 205, 0.58); background: rgba(255, 232, 214, 0.17); transform: translateY(-2px); }
  .btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22); }
  /* When lifted on hover, press settles back down toward the resting state */
  .btn--primary:active, .btn--ghost:active, .btn--light:active { transform: translateY(-1px) scale(0.97); }
}
.btn--lg { padding: 16px 34px; font-size: 1.02rem; }
.btn--sm { padding: 9px 20px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* ---------- Navbar (solid light bar above the hero) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(246, 238, 226, 0.95);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.35s ease, padding 0.35s ease;
  padding: 14px 0;
}
.nav.is-scrolled {
  box-shadow: 0 6px 24px rgba(64, 40, 28, 0.13);
  padding: 8px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.nav__since { flex: none; }
.heritage {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(115deg, rgba(217, 58, 50, 0.75), rgba(242, 96, 63, 0.42) 45%, rgba(217, 58, 50, 0.18) 80%) border-box;
  box-shadow: 0 2px 10px rgba(217, 58, 50, 0.10);
}
.heritage::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(217, 58, 50, 0.75);
  animation: heartbeat 2.6s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.65); opacity: 0.55; }
}
.heritage__est {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
}
.heritage__loc {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--muted);
  border-left: 1px solid var(--line); padding-left: 10px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { width: auto; height: 42px; flex: none; }
.nav__wordmark {
  font-family: var(--font-head); font-size: 1.05rem; letter-spacing: 0.02em;
  font-weight: 600; white-space: nowrap; color: var(--text);
}
.nav__cta { flex: none; }
.nav__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.nav__burger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
  position: relative; z-index: 95;
}
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 260ms var(--ease-out), opacity 200ms var(--ease-out); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Anchored dropdown panel — sits under the burger, does not cover the page */
.nav__overlay {
  position: fixed; z-index: 110;
  top: var(--menu-top, 74px); right: var(--menu-right, 24px);
  width: min(264px, calc(100vw - 32px));
  display: flex; flex-direction: column; align-items: stretch; gap: 2px;
  padding: 10px;
  background: rgba(246, 238, 226, 0.92);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 18px 48px rgba(64, 40, 28, 0.22);
  opacity: 0; pointer-events: none;
  transform: translateY(-8px) scale(0.97); transform-origin: top right;
  transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out);
}
.nav__overlay.is-open { opacity: 1; pointer-events: auto; transform: none; }
.nav__overlay > a:not(.btn) {
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; color: var(--text);
  padding: 10px 14px; border-radius: 10px;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out);
}
.nav__overlay > .btn { margin-top: 8px; justify-content: center; }
@media (hover: hover) and (pointer: fine) {
  .nav__overlay > a:not(.btn):hover { background: var(--accent-soft); color: var(--accent-deep); }
}
.nav__close { display: none; }
.nav__menu {
  display: flex; gap: 9px; padding: 12px 0 2px;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.nav__menu::-webkit-scrollbar { display: none; }
.navchip {
  flex: none;
  font-family: var(--font-head); font-size: 0.86rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 19px;
  background: var(--field);
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out), background 200ms var(--ease-out), transform 140ms var(--ease-out);
}
.navchip:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .navchip:hover {
    color: var(--accent); border-color: rgba(217, 58, 50, 0.45);
    background: var(--accent-soft); transform: translateY(-1px);
  }
}

/* ---------- Hero (warm espresso band — depth, same hue family as the sand) ---------- */
.hero {
  position: relative; min-height: auto;
  display: flex; align-items: center;
  padding: 150px 0 96px;
  overflow: hidden;
  color: var(--ink-text);
  background:
    radial-gradient(1000px 540px at 80% 0%, rgba(217, 58, 50, 0.30), transparent 62%),
    radial-gradient(900px 540px at 4% 106%, rgba(179, 118, 47, 0.22), transparent 62%),
    linear-gradient(165deg, #3f2b23 0%, var(--ink) 52%, #211611 100%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.8; }
/* Soft scrim keeps the headline dominant over the network animation */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(42, 29, 24, 0.92) 0%, rgba(42, 29, 24, 0.70) 38%, rgba(42, 29, 24, 0.10) 70%, transparent 100%);
}
.hero__glow {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 107, 63, 0.24), transparent 65%);
  top: -180px; right: -120px; filter: blur(20px);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-60px, 50px) scale(1.15); }
}
/* ---------- Floating industry icons ---------- */
.hero__icons { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__icon {
  position: absolute;
  display: grid; place-items: center;
  width: 74px; height: 74px; border-radius: 20px;
  border: 1px solid rgba(255, 226, 205, 0.20);
  background: linear-gradient(150deg, rgba(255, 232, 214, 0.14), rgba(255, 232, 214, 0.04));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 12px 32px rgba(20, 12, 8, 0.34);
  animation: float 13s var(--ease-in-out) infinite alternate;
  animation-delay: var(--d, 0s);
}
.hero__icon svg {
  width: 34px; height: 34px; fill: none;
  stroke: #ffb99a; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.hero__icon--server  { top: 12%;  right: 30%; }
.hero__icon--cloud   { top: 26%;  right: 9%;  width: 88px; height: 88px; }
.hero__icon--shield  { top: 55%;  right: 22%; }
.hero__icon--pbx     { top: 74%;  right: 38%; width: 62px; height: 62px; }
.hero__icon--network { top: 44%;  right: 42%; width: 62px; height: 62px; }
.hero__icon--db      { top: 82%;  right: 12%; }
@keyframes float {
  from { transform: translateY(0) rotate(-3deg); }
  to   { transform: translateY(-26px) rotate(3deg); }
}
/* Keep icons clear of the copy on smaller screens */
@media (max-width: 1100px) {
  .hero__icon--network, .hero__icon--pbx, .hero__icon--server { display: none; }
  .hero__icon--cloud { top: 8%; right: 6%; }
  .hero__icon--shield { top: 40%; right: 8%; }
  .hero__icon--db { top: 72%; right: 10%; }
}
@media (max-width: 760px) {
  .hero__icons { opacity: 0.5; }
  .hero__icon { width: 54px; height: 54px; border-radius: 15px; }
  .hero__icon--cloud { width: 60px; height: 60px; }
  .hero__icon svg { width: 25px; height: 25px; }
}

.hero__content { position: relative; z-index: 3; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--ink-line); color: var(--ink-muted);
  background: rgba(255, 232, 214, 0.09); backdrop-filter: blur(6px);
}
.chip img { width: 16px; height: 16px; object-fit: contain; border-radius: 3px; flex: none; }
.chip--accent {
  color: #ffc0ac; border-color: rgba(242, 107, 63, 0.55); background: rgba(242, 107, 63, 0.18);
}
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 800; letter-spacing: -0.02em; margin-bottom: 24px;
  color: #fff8f2;
}
.hero__rotator-wrap { display: inline-block; min-height: 1.15em; }
.hero__rotator {
  background: linear-gradient(100deg, #ff9060 5%, var(--accent-2) 45%, #ffc9a3);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}
.hero__rotator.is-out { animation: rotOut 0.34s var(--ease-in-out) forwards; }
.hero__rotator.is-in { animation: rotIn 0.42s var(--ease-out); }
@keyframes rotOut { to { opacity: 0; transform: translateY(-14px); filter: blur(4px); } }
@keyframes rotIn { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }
.hero__sub { max-width: 620px; color: var(--ink-muted); font-size: 1.1rem; margin-bottom: 36px; }
.hero__sub strong { color: #fff8f2; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: 18px 56px;
  width: fit-content;
  border-top: 1px solid var(--ink-line); padding-top: 30px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__num {
  font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: #fff8f2;
}
.stat__label { font-size: 0.82rem; color: var(--ink-muted); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 226, 205, 0.32); border-radius: 14px;
  z-index: 3;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--accent-2); border-radius: 2px;
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(14px); opacity: 0; } }

/* ---------- Partner marquee ---------- */
.partners { padding: 44px 0 40px; border-bottom: 1px solid var(--line); background: var(--bg); }
.partners__label {
  text-align: center; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 26px;
}
.marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 22px;
  background: var(--field); white-space: nowrap;
  transition: color 220ms var(--ease-out), border-color 220ms var(--ease-out), transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.brand img {
  width: 21px; height: 21px; object-fit: contain; border-radius: 4px; flex: none;
  filter: saturate(0.95);
  transition: filter 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .brand:hover img { filter: saturate(1.15); }
  .brand:hover { color: var(--text); border-color: rgba(217, 58, 50, 0.4); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { max-width: 680px; margin-bottom: 56px; }
.section__head p { color: var(--muted); margin-top: 16px; font-size: 1.04rem; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: #7d1e18; margin-bottom: 14px;
}

/* ---------- Service cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease-out), border-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 200px at var(--mx, 50%) var(--my, 0%), rgba(217, 58, 50, 0.07), transparent 60%);
  opacity: 0; transition: opacity 0.35s;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover::before { opacity: 1; }
  .card:hover { transform: translateY(-6px); border-color: rgba(217, 58, 50, 0.32); box-shadow: var(--shadow-lg); }
}
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); margin-bottom: 22px;
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Spotlight (3CX / Yeastar) ---------- */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.spotlight__card {
  position: relative; border-radius: 20px; padding: 42px 38px;
  border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm);
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .spotlight__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
}
.spotlight__card--3cx::after, .spotlight__card--yeastar::after {
  content: ""; position: absolute; top: -70px; right: -70px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 58, 50, 0.13), transparent 65%);
}
.spotlight__card--yeastar::after { background: radial-gradient(circle, rgba(15, 139, 124, 0.13), transparent 65%); }
.spotlight__tag {
  display: inline-block; font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(217, 58, 50, 0.28);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.spotlight__tag--green { color: var(--teal); background: var(--teal-soft); border-color: rgba(15, 139, 124, 0.3); }
.spotlight__card h3 { font-size: 1.6rem; margin-bottom: 14px; }
.spotlight__card > p { color: var(--muted); margin-bottom: 22px; }
.spotlight__card p strong { color: var(--text); }
.ticklist { list-style: none; display: grid; gap: 10px; }
.ticklist li { padding-left: 30px; position: relative; color: var(--text); font-size: 0.95rem; }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft);
}
.ticklist li::after {
  content: ""; position: absolute; left: 5px; top: 8px; width: 8px; height: 4px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.spotlight__card--yeastar .ticklist li::before { background: var(--teal-soft); }
.spotlight__card--yeastar .ticklist li::after { border-color: var(--teal); }
.spotlight__proof {
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 0.88rem;
}
.spotlight__num {
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; white-space: nowrap;
  color: var(--accent);
}
.spotlight__card--yeastar .spotlight__num { color: var(--teal); }

/* ---------- Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.tab {
  font-family: var(--font-head); font-size: 0.88rem; font-weight: 600; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 22px; cursor: pointer;
  transition: color 200ms var(--ease-out), border-color 200ms var(--ease-out), background 200ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 140ms var(--ease-out);
}
.tab:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .tab:hover { color: var(--text); border-color: #cdb6a2; }
}
.tab.is-active {
  color: #fff; border-color: transparent;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 18px rgba(217, 58, 50, 0.26);
}
.tabpanels { position: relative; }
.tabpanel {
  display: none; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm);
}
.tabpanel.is-active { display: block; animation: panelIn 260ms var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.tabpanel h3 { margin-bottom: 12px; font-size: 1.4rem; }
.tabpanel p { color: var(--muted); max-width: 720px; margin-bottom: 24px; }
.pillrow { display: flex; flex-wrap: wrap; gap: 10px; }
.pillrow span {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 600;
  border: 1px solid rgba(217, 58, 50, 0.28); color: var(--accent-deep);
  background: var(--accent-soft); padding: 8px 18px; border-radius: 999px;
}
.pillrow span img {
  width: auto; height: 18px; max-width: 46px; object-fit: contain; border-radius: 3px; flex: none;
}

/* ---------- Results ---------- */
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.result {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease-out), border-color 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .result:hover { transform: translateY(-6px); border-color: rgba(217, 58, 50, 0.32); box-shadow: var(--shadow-lg); }
}
.result__num {
  display: block; font-family: var(--font-head); font-size: 2.1rem; font-weight: 800;
  color: var(--accent);
}
.result__per { display: block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.result h3 { margin-bottom: 10px; font-size: 1.1rem; }
.result p { color: var(--muted); font-size: 0.92rem; }
.result--cta {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px;
  background: linear-gradient(150deg, rgba(217, 58, 50, 0.10), rgba(217, 58, 50, 0.02));
  border-color: rgba(217, 58, 50, 0.32);
}
.result--cta h3 { font-size: 1.3rem; }
.result--cta p { color: var(--muted); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
}
.quote__mark { width: 34px; height: 34px; fill: var(--accent); opacity: 0.9; }
.quote blockquote { color: var(--text); font-size: 0.97rem; flex: 1; }
.quote figcaption { color: var(--muted); font-size: 0.9rem; }
.quote figcaption strong { color: var(--text); font-family: var(--font-head); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color 0.3s;
}
.faq__item[open] { border-color: rgba(217, 58, 50, 0.35); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 58px 22px 26px; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  transition: color 160ms var(--ease-out);
}
.faq__item summary::-webkit-details-marker { display: none; }
@media (hover: hover) and (pointer: fine) {
  .faq__item summary:hover { color: var(--accent); }
}
.faq__item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform 260ms var(--ease-out);
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__body { padding: 0 26px 24px; color: var(--muted); font-size: 0.96rem; }

/* ---------- CTA band ---------- */
.ctaband {
  position: relative; padding: 96px 0; text-align: center; overflow: hidden;
  background:
    radial-gradient(700px 300px at 50% 120%, rgba(255, 130, 90, 0.30), transparent 65%),
    linear-gradient(120deg, var(--accent-deep), var(--accent) 48%, #8f221d);
}
.ctaband::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1.4px);
  background-size: 26px 26px; opacity: 0.35;
  mask-image: linear-gradient(180deg, transparent, #000);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
}
.ctaband__inner { position: relative; }
.ctaband h2 { color: #fff; margin-bottom: 14px; }
.ctaband p { color: rgba(255, 255, 255, 0.88); margin-bottom: 34px; font-size: 1.06rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: stretch; }
.contact__info { display: grid; gap: 26px; }
.contact__row { display: flex; gap: 18px; align-items: flex-start; }
.contact__icon {
  width: 48px; height: 48px; flex: none; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft);
}
.contact__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact__row span { display: block; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact__row a, .contact__row address { font-style: normal; font-weight: 500; font-size: 1.02rem; }
.contact__row a:hover { color: var(--accent); }
.contact__map {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.contact__map iframe {
  display: block; width: 100%; height: 190px; border: 0;
}
.contact__map-link {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; color: #fff;
  padding: 8px 15px; border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 16px rgba(217, 58, 50, 0.38);
  transition: transform 140ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.contact__map-link:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .contact__map-link:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(217, 58, 50, 0.5); }
  .contact__map-link:hover:active { transform: translateY(-1px) scale(0.97); }
}
.contact__map-link svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__hours {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.contact__hours h4 { font-size: 1.02rem; margin-bottom: 14px; }
.contact__form {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 38px;
  display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm);
}
.contact__form .field--grow { flex: 1 1 auto; grid-template-rows: auto 1fr; }
.contact__form .field--grow textarea { min-height: 96px; height: 100%; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field span { font-size: 0.82rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text);
  background: var(--field); border: 1px solid var(--line); border-radius: 11px;
  padding: 13px 16px; outline: none; transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  width: 100%; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  background: #fdf9f2;
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217, 58, 50, 0.14);
}
.field input::placeholder, .field textarea::placeholder { color: #a89184; }
.form-note { text-align: center; font-size: 0.83rem; color: var(--muted); transition: color 0.25s; }
.form-note.is-success { color: var(--teal); font-weight: 600; }
.form-note.is-error { color: var(--accent); font-weight: 600; }

/* ---------- Footer (warm espresso band, matching the hero) ---------- */
.footer { background: linear-gradient(165deg, var(--ink-2) 0%, var(--ink) 70%); color: var(--ink-text); }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 70px 24px 50px;
}
.footer .nav__wordmark { color: var(--ink-text); }
.footer__brand p { color: var(--ink-muted); font-size: 0.92rem; margin-top: 18px; }
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__col h4 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff8f2; margin-bottom: 6px; }
.footer__col a, .footer__col span { color: var(--ink-muted); font-size: 0.93rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--accent-2); }
.footer__bar { border-top: 1px solid var(--ink-line); padding: 22px 0; font-size: 0.83rem; color: var(--ink-muted); }
.footer__bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
/* Staggered cascade — short 60ms steps so it never feels slow */
.cards-grid .reveal:nth-child(2), .results-grid .reveal:nth-child(2), .quotes .reveal:nth-child(2) { transition-delay: 60ms; }
.cards-grid .reveal:nth-child(3), .results-grid .reveal:nth-child(3), .quotes .reveal:nth-child(3) { transition-delay: 120ms; }
.cards-grid .reveal:nth-child(4), .results-grid .reveal:nth-child(4) { transition-delay: 180ms; }
.cards-grid .reveal:nth-child(5), .results-grid .reveal:nth-child(5) { transition-delay: 240ms; }
.cards-grid .reveal:nth-child(6), .results-grid .reveal:nth-child(6) { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-grid, .results-grid, .quotes { grid-template-columns: repeat(2, 1fr); }
  .spotlight { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__stats { grid-template-columns: repeat(2, auto); }
}

@media (max-width: 760px) {
  .nav__since { display: none; }
  .nav__cta { display: none; }
  .section { padding: 76px 0; }
  .cards-grid, .results-grid, .quotes, .field-row { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .nav__wordmark { font-size: 0.95rem; }
  .hero { padding-top: 140px; }
  .hero__stats { gap: 18px 32px; }
  .tabpanel { padding: 28px 22px; }
  .contact__form { padding: 26px 20px; }
}
