/* ============================================================
   SEA&MEW ACCOUNTING LTD — Design System
   Maritime Precision (Stitch) — Deep Slate Blue + Ocean Blue
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors — Deep Slate Blue (trust) + Ocean Blue (action) */
  --navy-900: #1c3144;        /* primary — deep slate blue */
  --navy-800: #33475b;        /* Deep Slate Blue (primary-container) */
  --navy-700: #4c6075;        /* surface-tint */
  --navy-600: #0496d1;        /* Ocean Blue — primary action */
  --navy-100: #e1f2f9;        /* ocean-muted */
  --navy-050: #f1f1f1;        /* Soft Grey */

  --gold-500: #0496d1;        /* Ocean Blue — action accent */
  --gold-400: #38b3e8;        /* Ocean Blue (light) */
  --gold-100: #e1f2f9;        /* ocean-muted */

  --ink-900: #1a2b3d;         /* text-main */
  --ink-700: #2d3e50;         /* slate-dark */
  --ink-500: #43474c;         /* on-surface-variant */

  --white: #ffffff;
  --surface: #f9f9f9;         /* design-system surface background */
  --line: #dce1e5;            /* border-subtle */
  --success: #1e7f4f;
  --error: #ba1a1a;           /* design-system error */
  --purple: #a10ccd;          /* Regal Purple — premium accents */

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #1c3144 0%, #33475b 55%, #4c6075 100%);
  --grad-accent: linear-gradient(135deg, #0496d1 0%, #38b3e8 100%);
  --grad-gold: var(--grad-accent);
  --grad-cta: linear-gradient(120deg, #1c3144 0%, #33475b 60%, #4c6075 100%);

  /* Shadows — single soft ambient shadow per design system */
  --shadow-sm: 0 1px 3px rgba(51, 71, 91, 0.08);
  --shadow-md: 0 4px 20px rgba(51, 71, 91, 0.08);
  --shadow-lg: 0 4px 20px rgba(51, 71, 91, 0.12);
  --shadow-gold: 0 4px 20px rgba(4, 150, 209, 0.24);

  /* Radii — Soft 0.25rem base, 0.5rem large containers */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;

  /* Type — Rubik headlines + Hanken Grotesk body */
  --font-body: "Hanken Grotesk", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Rubik", "Hanken Grotesk", sans-serif;

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-900);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- Layout Utilities ---------- */
.container {
  width: min(1280px, 92%);
  margin-inline: auto;
}

.section {
  padding-block: var(--space-12);
}

.section--tint {
  background: var(--navy-050);
}

.section-head {
  max-width: 680px;
  margin-bottom: var(--space-6);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-2);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.section-head--center .eyebrow::before {
  display: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display); /* Rubik headlines */
  line-height: 1.25;
  font-weight: 600;
  color: var(--navy-900);
}

h3, h4 { font-weight: 500; }

h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); letter-spacing: -0.01em; }
h3 { font-size: 1.22rem; }

.section-head p {
  color: var(--ink-500);
  font-size: 1.06rem;
}

.lead {
  color: var(--ink-500);
  font-size: 1.1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm); /* Soft 0.25rem */
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy-600); /* Ocean Blue fill, white text */
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  background: #0385c4; /* subtle darkening of the fill */
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(4, 150, 209, 0.32);
}

.btn--navy {
  background: var(--navy-800); /* Deep Slate Blue */
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn--outline {
  border-color: var(--navy-800);
  color: var(--navy-800);
  background: transparent;
}

.btn--outline:hover {
  background: var(--navy-800);
  color: var(--white);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.28s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  padding-block: 8px;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar__item svg {
  width: 14px;
  height: 14px;
  color: var(--gold-400);
}

@media (max-width: 720px) {
  .topbar__item--hide-sm { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy-900);
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad-hero);
  display: grid;
  place-items: center;
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 1.02rem;
}

.brand__sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  position: relative;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-700);
  border-radius: 999px;
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--navy-600);
  background: var(--navy-050);
}

.nav__link.is-active {
  color: var(--navy-800);
}

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 3px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold-500);
}

.nav__cta {
  margin-left: 10px;
  padding: 11px 22px;
  font-size: 0.9rem;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
}

.nav__toggle span {
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy-800);
  transition: var(--transition);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav__toggle { display: flex; }

  /* Hide header CTA on mobile — Contact link lives in the menu */
  .nav__cta { display: none; }

  .nav__menu {
    position: fixed;
    inset: 0;
    top: 76px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: var(--space-6);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav__links {
    flex-direction: column;
    align-items: center;
  }

  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link { font-size: 1.1rem; padding: 14px 24px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 82% 18%, rgba(4, 150, 209, 0.16), transparent 60%),
    radial-gradient(520px 380px at 8% 90%, rgba(76, 96, 117, 0.35), transparent 60%);
  pointer-events: none;
}

.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, black 30%, transparent 75%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);
  align-items: center;
  padding-block: var(--space-12) calc(var(--space-12) + 24px);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(4, 150, 209, 0.14);
  border: 1px solid rgba(4, 150, 209, 0.4);
  color: var(--gold-400);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: var(--space-3);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-3);
}

.hero h1 .accent {
  color: var(--gold-400);
  font-family: var(--font-display);
  font-style: normal;
}

.hero__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  max-width: 540px;
  margin-bottom: var(--space-4);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__point {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.hero__point svg {
  width: 18px;
  height: 18px;
  color: var(--gold-400);
  flex-shrink: 0;
}

/* Hero visual card */
.hero__visual {
  position: relative;
}

.vat-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
}

.vat-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.vat-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

.vat-card__badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7ee2a8;
  background: rgba(30, 127, 79, 0.22);
  border: 1px solid rgba(126, 226, 168, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
}

.vat-card__rows {
  display: grid;
  gap: 12px;
}

.vat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.88rem;
}

.vat-row__label {
  color: rgba(255, 255, 255, 0.7);
}

.vat-row__value {
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.vat-row__value--gold { color: var(--gold-400); }

.vat-card__bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 90px;
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
}

.vat-card__bars span {
  flex: 1;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, rgba(56, 179, 232, 0.9), rgba(4, 150, 209, 0.45));
  animation: barGrow 1.1s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.vat-card__bars span:nth-child(1) { height: 42%; animation-delay: 0.1s; }
.vat-card__bars span:nth-child(2) { height: 58%; animation-delay: 0.2s; }
.vat-card__bars span:nth-child(3) { height: 50%; animation-delay: 0.3s; }
.vat-card__bars span:nth-child(4) { height: 74%; animation-delay: 0.4s; }
.vat-card__bars span:nth-child(5) { height: 66%; animation-delay: 0.5s; }
.vat-card__bars span:nth-child(6) { height: 88%; animation-delay: 0.6s; }

@keyframes barGrow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); transform-origin: bottom; }
}

.hero__float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--navy-900);
  border-radius: var(--radius-md);
  padding: 13px 18px;
  box-shadow: var(--shadow-lg);
  font-size: 0.86rem;
  font-weight: 600;
  animation: floatY 5s ease-in-out infinite;
}

.hero__float-chip svg {
  width: 20px;
  height: 20px;
  color: var(--success);
}

.hero__float-chip--top { top: -22px; right: -10px; }
.hero__float-chip--bottom { bottom: -22px; left: -14px; animation-delay: 1.6s; }
.hero__float-chip--bottom svg { color: var(--gold-500); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero__visual { max-width: 480px; }
}

@media (max-width: 560px) {
  .hero__float-chip--top { right: 0; }
  .hero__float-chip--bottom { left: 0; }
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--grad-hero);
  color: var(--white);
  padding-block: var(--space-8) var(--space-8);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 320px at 85% 20%, rgba(4, 150, 209, 0.14), transparent 60%);
}

.page-hero__inner {
  position: relative;
  max-width: 760px;
}

.page-hero .eyebrow { color: var(--gold-400); }

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-2);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-3);
}

.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb span:last-child { color: var(--gold-400); font-weight: 600; }

/* ---------- Stats Band ---------- */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  padding-block: var(--space-6);
}

.stat {
  text-align: center;
  padding: var(--space-2);
}

.stat__value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.1;
}

.stat__value sup {
  color: var(--gold-500);
  font-size: 1.3rem;
}

.stat__label {
  color: var(--ink-500);
  font-size: 0.9rem;
  margin-top: 4px;
}

@media (max-width: 820px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Service Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 960px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .cards-grid,
  .cards-grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy-600); /* Service Highlight: 4px Ocean Blue top border */
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-md); /* Stitch: ambient shadow 0 4px 20px rgba(51,71,91,0.08) */
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(4, 150, 209, 0.45);
}

.card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--navy-100);
  color: var(--navy-700);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-2);
  transition: var(--transition);
}

.card:hover .card__icon {
  background: var(--grad-gold);
  color: var(--navy-900);
}

.card__icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 10px; }

.card p {
  color: var(--ink-500);
  font-size: 0.95rem;
  flex-grow: 1;
}

.card__link {
  margin-top: var(--space-2);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-700);
}

.card__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s ease;
}

.card:hover .card__link svg { transform: translateX(5px); }
.card:hover .card__link { color: var(--gold-500); }

/* ---------- Why Us / Split Sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.split--reverse .split__media { order: 2; }

@media (max-width: 900px) {
  .split,
  .split--reverse .split__media { grid-template-columns: 1fr; order: initial; gap: var(--space-4); }
}

.feature-list {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-item__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gold-100);
  color: var(--gold-500);
  display: grid;
  place-items: center;
}

.feature-item__icon svg { width: 22px; height: 22px; }

.feature-item h4 {
  font-size: 1.04rem;
  margin-bottom: 4px;
}

.feature-item p {
  color: var(--ink-500);
  font-size: 0.93rem;
}

/* Visual panel (CSS-only illustration) */
.visual-panel {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--grad-hero);
  padding: var(--space-6);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 380px;
  display: grid;
  place-items: center;
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 260px at 80% 15%, rgba(4, 150, 209, 0.2), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}

.visual-panel__stamp {
  position: relative;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 3px solid var(--gold-400);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  animation: spinSlow 40s linear infinite;
}

.visual-panel__stamp::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px dashed rgba(56, 179, 232, 0.6);
}

.visual-panel__stamp-core {
  animation: spinSlow 40s linear infinite reverse;
  padding: 20px;
}

.visual-panel__stamp-core strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-400);
}

.visual-panel__stamp-core span {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

/* ---------- Steps / Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3);
  box-shadow: var(--shadow-md); /* Stitch: ambient shadow */
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-500);
  display: block;
  margin-bottom: 10px;
}

.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--ink-500); font-size: 0.92rem; }

@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md); /* Stitch: ambient shadow */
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.price-card--featured {
  background: var(--grad-hero);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.price-card__tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold-100);
  color: var(--gold-500);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: var(--space-2);
}

.price-card--featured .price-card__tag {
  background: rgba(4, 150, 209, 0.22);
  color: var(--gold-400);
}

.price-card h3 { margin-bottom: 6px; }
.price-card--featured h3 { color: var(--white); }

.price-card__desc {
  font-size: 0.9rem;
  color: var(--ink-500);
  margin-bottom: var(--space-2);
}

.price-card--featured .price-card__desc { color: rgba(255, 255, 255, 0.72); }

.price-card__value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--navy-800);
}

.price-card--featured .price-card__value { color: var(--gold-400); }

.price-card__value small {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-500);
}

.price-card--featured .price-card__value small { color: rgba(255, 255, 255, 0.6); }

.price-card ul {
  margin-block: var(--space-3);
  display: grid;
  gap: 11px;
  flex-grow: 1;
}

.price-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-700);
}

.price-card--featured li { color: rgba(255, 255, 255, 0.88); }

.price-card li svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--success);
}

.price-card--featured li svg { color: var(--gold-400); }

@media (max-width: 900px) {
  .price-cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  box-shadow: var(--shadow-md); /* Stitch: ambient shadow */
}

.quote__stars {
  display: flex;
  gap: 3px;
  color: var(--gold-500);
}

.quote__stars svg { width: 16px; height: 16px; }

.quote p {
  color: var(--ink-700);
  font-size: 0.96rem;
  flex-grow: 1;
}

.quote__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  background: var(--navy-700);
}

.quote__avatar--gold { background: var(--gold-500); color: var(--navy-900); }
.quote__avatar--slate { background: var(--ink-700); }

.quote__name { font-weight: 700; font-size: 0.92rem; }
.quote__role { font-size: 0.8rem; color: var(--ink-500); }

@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.is-open {
  border-color: rgba(4, 150, 209, 0.5);
  box-shadow: var(--shadow-md);
}

.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.faq-item__q svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold-500);
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-item__q svg { transform: rotate(45deg); }

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item__a p {
  padding: 0 24px 22px;
  color: var(--ink-500);
  font-size: 0.95rem;
}

/* ---------- CTA Band ---------- */
.cta-band {
  position: relative;
  background: var(--grad-cta);
  color: var(--white);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 300px at 90% 20%, rgba(4, 150, 209, 0.18), transparent 65%);
}

.cta-band__inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-8);
}

.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.75); max-width: 520px; }

@media (max-width: 820px) {
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-3);
}

.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-900);
}

.form-field label em {
  color: var(--error);
  font-style: normal;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink-900);
  background: var(--white);
  border: 1px solid var(--line); /* 1px #DCE1E5 per design system */
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  width: 100%; /* prevent default input size from breaking grid min-width */
  transition: var(--transition);
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--navy-600);
  box-shadow: 0 0 0 4px rgba(4, 150, 209, 0.12);
}

.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: var(--error);
}

.form-field .field-error {
  display: none;
  font-size: 0.8rem;
  color: var(--error);
  font-weight: 600;
}

.form-field.has-error .field-error { display: block; }

.form-field textarea { resize: vertical; min-height: 140px; }

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}

.form-success {
  display: none;
  background: #eaf7ef;
  border: 1px solid #b9e2c9;
  color: var(--success);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: var(--space-3);
}

.form-success.is-visible { display: flex; gap: 10px; align-items: center; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Contact Info ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-6);
  align-items: start;
}

.contact-grid > * {
  min-width: 0; /* allow grid items to shrink below content min-width */
}

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-md); /* Stitch: ambient shadow */
  transition: var(--transition);
}

.info-card:hover {
  border-color: rgba(4, 150, 209, 0.5);
  box-shadow: var(--shadow-md);
}

.info-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy-100);
  color: var(--navy-700);
  display: grid;
  place-items: center;
}

.info-card__icon svg { width: 22px; height: 22px; }

.info-card h4 { font-size: 1rem; margin-bottom: 3px; }
.info-card p { color: var(--ink-500); font-size: 0.92rem; }
.info-card p strong { color: var(--ink-900); }

.map-placeholder {
  margin-top: var(--space-3);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy-100);
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: center;
  background-image:
    linear-gradient(rgba(23, 67, 126, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 67, 126, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
}

.map-placeholder__pin {
  text-align: center;
  color: var(--navy-800);
}

.map-placeholder__pin svg {
  width: 44px;
  height: 44px;
  margin-inline: auto;
  color: var(--gold-500);
  animation: floatY 3.2s ease-in-out infinite;
}

.map-placeholder__pin strong { display: block; margin-top: 8px; }
.map-placeholder__pin span { font-size: 0.86rem; color: var(--ink-500); }

/* ---------- Timeline (About) ---------- */
.timeline {
  position: relative;
  max-width: 720px;
  padding-left: 34px;
  display: grid;
  gap: var(--space-4);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-500), var(--navy-100));
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gold-500);
}

.timeline__year {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-500);
  font-size: 1.1rem;
}

.timeline__item h4 { margin-block: 2px 4px; }
.timeline__item p { color: var(--ink-500); font-size: 0.95rem; }

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.value-card {
  text-align: center;
  padding: var(--space-4) var(--space-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); /* Stitch: ambient shadow */
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(4, 150, 209, 0.5);
}

.value-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-2);
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-500);
  display: grid;
  place-items: center;
}

.value-card__icon svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.value-card p { color: var(--ink-500); font-size: 0.9rem; }

@media (max-width: 960px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .values-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: #2f3131; /* Stitch: inverse-surface */
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-6);
  padding-block: var(--space-8);
}

.footer-brand .brand__name { color: var(--white); }
.footer-brand .brand { margin-bottom: var(--space-2); }
.footer-brand p { font-size: 0.9rem; max-width: 300px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.footer-col ul { display: grid; gap: 10px; }

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  transition: var(--transition);
}

.footer-col a:hover { color: var(--gold-400); }

.footer-col address {
  font-style: normal;
  display: grid;
  gap: 10px;
}

.footer-col address span {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-col address svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--gold-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: var(--space-3);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.62);
  transition: var(--transition);
}

.footer-bottom a:hover { color: var(--gold-400); }

.footer-bottom__legal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom__legal span { color: rgba(255, 255, 255, 0.25); }

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 820px;
}

.legal-content > * + * { margin-top: var(--space-3); }

.legal-content h2 {
  font-size: 1.45rem;
  margin-top: var(--space-6);
}

.legal-content h3 { font-size: 1.08rem; }

.legal-content p,
.legal-content li {
  color: var(--ink-700);
  font-size: 0.98rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.legal-content ol {
  list-style: decimal;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.legal-content strong { color: var(--ink-900); }

.legal-content a {
  color: var(--navy-700);
  font-weight: 600;
  text-decoration: underline;
}

.legal-content a:hover { color: var(--gold-500); }

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

/* Striped rows + horizontal separators only (design system) */
.legal-content th,
.legal-content td {
  border: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  text-align: left;
  color: var(--ink-700);
}

.legal-content tbody tr:nth-child(even) {
  background: var(--navy-050); /* #F1F1F1 striped rows */
}

.legal-content th {
  background: transparent;
  color: var(--navy-900);
  font-weight: 700;
}

.legal-updated {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-500);
  background: var(--navy-050);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
