/* ═══════════════════════════════════════════════════════════════════
   THRIVE WELLNESS CENTER — Shared Design System
   thrive-styles.css  |  v1.1

   Usage: <link rel="stylesheet" href="thrive-styles.css">
   Also load Google Fonts before this file:
     Noto Sans Thai (all text — headings, body, UI, accents)
       Weights used: 300, 400, 500, 600, 700, 800
       https://fonts.google.com/noto/specimen/Noto+Sans+Thai

   Table of Contents:
     1.  Design Tokens (CSS Custom Properties)
     2.  Reset & Base
     3.  Typography
     4.  Layout Utilities
     5.  Buttons
     6.  Cards
     7.  Badges & Tags
     8.  Forms
     9.  Navigation (Topbar + Navbar)
    10.  Hero Sections
    11.  Section Wrappers
    12.  Dividers & Decorators
    13.  Footer
    14.  Mobile Sticky Bar
    15.  Animations & Scroll Reveal
    16.  Responsive Overrides
═══════════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────
   1. DESIGN TOKENS
───────────────────────────────────────── */
:root {
  /* Brand colours */
  --navy:       #2d358c;
  --navy-d:     #1f2568;
  --navy-m:     #3d4aaa;
  --navy-l:     #eef0fb;
  --navy-xl:    #f6f7fd;

  --teal:       #00ab9e;
  --teal-d:     #008a7f;
  --teal-m:     #00c4b5;
  --teal-l:     #e6f7f6;
  --teal-xl:    #f0fbfa;

  --cream:      #FEF4E8;
  --cream-d:    #f5e6cc;
  --cream-xl:   #fffcf7;

  --white:      #ffffff;
  --dark:       #0f1328;
  --dark-2:     #1a2040;

  /* Text shades */
  --text:       #1e2460;
  --text-2:     #5a6080;
  --text-3:     #9ca5c8;
  --text-inv:   rgba(255,255,255,0.92);
  --text-inv-2: rgba(255,255,255,0.65);

  /* Borders */
  --border:     #dde0f0;
  --border-l:   #eef0fb;

  /* Semantic */
  --success:    #1aaa6a;
  --warning:    #e8a020;
  --error:      #d63a3a;

  /* Typography — Noto Sans Thai for all text (weights 300–800) */
  --font-en:    'Noto Sans Thai', sans-serif;
  --font-th:    'Noto Sans Thai', sans-serif;
  --font-serif: 'Noto Sans Thai', sans-serif;

  /* Type scale (rem) */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1rem;       /* 16px */
  --text-md:    1.125rem;   /* 18px */
  --text-lg:    1.25rem;    /* 20px */
  --text-xl:    1.5rem;     /* 24px */
  --text-2xl:   1.875rem;   /* 30px */
  --text-3xl:   2.25rem;    /* 36px */
  --text-4xl:   3rem;       /* 48px */
  --text-5xl:   3.75rem;    /* 60px */

  /* Spacing scale */
  --sp-1:   0.25rem;
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-5:   1.25rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-16:  4rem;
  --sp-20:  5rem;
  --sp-24:  6rem;

  /* Border radius */
  --r-xs:   3px;
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   26px;
  --r-2xl:  36px;
  --r-pill: 100px;

  /* Shadows */
  --sh-xs:  0 1px 4px rgba(45,53,140,.06);
  --sh-sm:  0 2px 8px rgba(45,53,140,.08);
  --sh-md:  0 6px 24px rgba(45,53,140,.10);
  --sh-lg:  0 16px 48px rgba(45,53,140,.13);
  --sh-xl:  0 28px 80px rgba(45,53,140,.18);
  --sh-teal: 0 8px 32px rgba(0,171,158,.25);

  /* Transitions */
  --ease:      cubic-bezier(.4,0,.2,1);
  --ease-out:  cubic-bezier(0,.5,.3,1);
  --dur-fast:  150ms;
  --dur-base:  260ms;
  --dur-slow:  400ms;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --nav-height: 68px;
  --topbar-height: 40px;

  /* Gradients */
  --grad-hero:    linear-gradient(135deg, var(--navy-d) 0%, var(--navy) 55%, var(--navy-m) 100%);
  --grad-teal:    linear-gradient(135deg, var(--teal-d) 0%, var(--teal) 100%);
  --grad-warm:    linear-gradient(135deg, var(--navy) 0%, #1a3a6a 100%);
  --grad-card:    linear-gradient(160deg, var(--navy-xl) 0%, var(--teal-xl) 100%);
  --grad-overlay: linear-gradient(to bottom, rgba(15,19,40,.55) 0%, rgba(15,19,40,.85) 100%);
}


/* ─────────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-th);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-base) var(--ease);
}

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button { cursor: pointer; }

::selection {
  background: var(--teal-l);
  color: var(--navy-d);
}


/* ─────────────────────────────────────────
   3. TYPOGRAPHY
───────────────────────────────────────── */

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-en);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

/* Thai-flagged headings keep Noto Sans Thai (all fonts now share the same family) */
.th h1, .th h2, .th h3,
h1.th, h2.th, h3.th {
  font-family: var(--font-th);
  font-weight: 600;
  letter-spacing: 0;
}

/* Headings inside dark/hero sections are always white */
.page-hero h1, .page-hero h2, .page-hero h3,
.hero h1, .hero h2, .hero h3,
.section--dark h1, .section--dark h2, .section--dark h3,
.cta-banner h1, .cta-banner h2, .cta-banner h3 {
  color: #ffffff;
}

/* Semantic helpers */
.section-label {
  font-family: var(--font-en);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: var(--sp-3);
}

.section-title {
  font-size: var(--text-3xl);
  color: var(--navy);
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: var(--text-md);
  color: var(--text-2);
  max-width: 600px;
  line-height: 1.8;
}

.section-title-center {
  text-align: center;
}
.section-title-center .section-subtitle {
  margin-inline: auto;
}

/* Accent serif heading */
.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* Body text helpers */
.text-sm   { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-md   { font-size: var(--text-md); }
.text-lg   { font-size: var(--text-lg); }

.text-navy   { color: var(--navy); }
.text-teal   { color: var(--teal); }
.text-muted  { color: var(--text-2); }
.text-light  { color: var(--text-3); }
.text-white  { color: var(--white); }
.text-inv    { color: var(--text-inv); }

.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }


/* ─────────────────────────────────────────
   4. LAYOUT UTILITIES
───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding-block: var(--sp-20);
}

.section--sm   { padding-block: var(--sp-12); }
.section--lg   { padding-block: var(--sp-24); }
.section--white{ background: var(--white); }
.section--dark { background: var(--dark); color: var(--text-inv); }
.section--navy { background: var(--navy); color: var(--text-inv); }
.section--teal { background: var(--teal); color: var(--white); }
.section--cream{ background: var(--cream); }
.section--light{ background: var(--navy-xl); }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sp-6); }

/* Flex helpers */
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-col    { display: flex; flex-direction: column; }
.gap-2  { gap: var(--sp-2); }
.gap-3  { gap: var(--sp-3); }
.gap-4  { gap: var(--sp-4); }
.gap-6  { gap: var(--sp-6); }
.gap-8  { gap: var(--sp-8); }

/* Spacing */
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* ─────────────────────────────────────────
   5. BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 13px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-en);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

/* Primary — teal */
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-d);
  border-color: var(--teal-d);
  transform: translateY(-1px);
  box-shadow: var(--sh-teal);
}

/* Secondary — navy outline */
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

/* Ghost — white outline (on dark bg) */
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-1px);
}

/* Navy solid */
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-d);
  border-color: var(--navy-d);
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}

/* LINE button */
.btn-line {
  background: #06C755;
  color: var(--white);
  border-color: #06C755;
}
.btn-line:hover {
  background: #05a548;
  border-color: #05a548;
  transform: translateY(-1px);
}

/* Sizes */
.btn-sm { padding: 9px 20px; font-size: var(--text-xs); }
.btn-lg { padding: 16px 36px; font-size: var(--text-base); }
.btn-xl { padding: 18px 44px; font-size: var(--text-md); }

/* Icon inside button */
.btn svg, .btn .btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}


/* ─────────────────────────────────────────
   6. CARDS
───────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-l);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease),
              transform var(--dur-base) var(--ease);
}

.card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-3px);
}

.card-body {
  padding: var(--sp-6);
}

.card-header {
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--border-l);
}

.card-footer {
  padding: var(--sp-4) var(--sp-6);
  border-top: 1px solid var(--border-l);
  background: var(--navy-xl);
}

/* Service card */
.service-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-l);
  box-shadow: var(--sh-sm);
  padding: var(--sp-6);
  transition: all var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease);
}

.service-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
  border-color: var(--teal-l);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--teal-l);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--sp-4);
  flex-shrink: 0;
}

.service-card__title {
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: var(--sp-2);
}

.service-card__sub {
  font-size: var(--text-sm);
  color: var(--teal);
  font-family: var(--font-en);
  font-weight: 500;
  margin-bottom: var(--sp-3);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: var(--sp-5);
}

.service-card__benefits {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.service-card__benefit {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: var(--text-2);
}

.service-card__benefit::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Blog / article card */
.article-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-l);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: all var(--dur-base) var(--ease);
}

.article-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-3px);
}

.article-card__thumb {
  aspect-ratio: 16/9;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,.4);
}

.article-card__body {
  padding: var(--sp-5);
}

.article-card__category {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--sp-2);
  font-family: var(--font-en);
}

.article-card__title {
  font-size: var(--text-base);
  color: var(--navy);
  font-weight: 600;
  margin-bottom: var(--sp-2);
  line-height: 1.4;
}

.article-card__excerpt {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__meta {
  font-size: var(--text-xs);
  color: var(--text-3);
  font-family: var(--font-en);
}


/* ─────────────────────────────────────────
   7. BADGES & TAGS
───────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: var(--font-en);
}

.badge-teal     { background: var(--teal-l);  color: var(--teal-d); }
.badge-navy     { background: var(--navy-l);  color: var(--navy-d); }
.badge-cream    { background: var(--cream-d); color: #8a6020; }
.badge-hot      { background: #fef2f2; color: #c03030; }
.badge-new      { background: var(--teal);    color: var(--white); }

/* Filter / category tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.filter-tab {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-2);
  font-size: var(--text-sm);
  font-family: var(--font-en);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}


/* ─────────────────────────────────────────
   8. FORMS
───────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
}

.form-label .required {
  color: var(--teal);
  margin-left: 3px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-th);
  font-size: var(--text-base);
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,171,158,.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-3);
  font-size: var(--text-sm);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--error);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--text-3);
}


/* ─────────────────────────────────────────
   9. NAVIGATION
───────────────────────────────────────── */

/* Topbar */
.topbar {
  background: var(--navy-d);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.topbar__info {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.75);
  font-family: var(--font-en);
}

.topbar__info a {
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  transition: color var(--dur-fast);
}
.topbar__info a:hover { color: var(--teal-m); }

.topbar__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.topbar__social a {
  color: rgba(255,255,255,.6);
  transition: color var(--dur-fast);
  display: flex;
  align-items: center;
}
.topbar__social a:hover { color: var(--teal-m); }

/* Main navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-l);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--dur-base) var(--ease);
}

.navbar.scrolled { box-shadow: var(--sh-md); }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-6);
  gap: var(--sp-8);
}

/* Logo */
.navbar__logo {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}
.navbar__logo span {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--teal);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Nav links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
}

.nav-link {
  font-family: var(--font-en);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  position: relative;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
  background: var(--navy-xl);
}

/* Dropdown */
.nav-item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border-l);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  min-width: 240px;
  padding: var(--sp-2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--dur-base) var(--ease),
              transform var(--dur-base) var(--ease);
  z-index: 1000;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  color: var(--text-2);
  transition: all var(--dur-fast) var(--ease);
}

.nav-dropdown a:hover {
  background: var(--navy-xl);
  color: var(--navy);
}

.nav-dropdown__icon {
  width: 32px;
  height: 32px;
  background: var(--teal-l);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Navbar CTA */
.navbar__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

/* Hamburger (mobile) */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
}

.navbar__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--dur-base) var(--ease);
  display: block;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 320px;
  height: 100vh;
  background: var(--white);
  box-shadow: var(--sh-xl);
  z-index: 1100;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease);
  padding: var(--sp-6);
}

.mobile-drawer.open { transform: translateX(0); }

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,19,40,.5);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease);
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}


/* ─────────────────────────────────────────
   10. HERO SECTIONS
───────────────────────────────────────── */
.hero {
  background: var(--grad-hero);
  color: var(--white);
  padding-block: var(--sp-24) var(--sp-20);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,171,158,.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--sp-12);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__label {
  font-family: var(--font-en);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-m);
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.hero__title {
  font-size: var(--text-4xl);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--sp-5);
}

.hero__title em {
  font-style: normal;
  color: var(--teal-m);
}

.hero__subtitle {
  font-size: var(--text-md);
  color: rgba(255,255,255,.8);
  line-height: 1.8;
  margin-bottom: var(--sp-8);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.hero__stats {
  display: flex;
  gap: var(--sp-8);
  margin-top: var(--sp-10);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,.15);
}

.hero__stat-number {
  font-family: var(--font-en);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.65);
  margin-top: var(--sp-1);
  font-family: var(--font-en);
}

/* Page hero (interior pages — shorter) */
.page-hero {
  background: var(--grad-hero);
  color: var(--white);
  padding-block: var(--sp-16) var(--sp-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(0,171,158,.18) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero__inner { position: relative; z-index: 1; }

.page-hero__label {
  font-family: var(--font-en);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-m);
  margin-bottom: var(--sp-4);
  display: block;
}

.page-hero__title {
  font-size: var(--text-4xl);
  color: var(--white);
  margin-bottom: var(--sp-4);
}

.page-hero__subtitle {
  font-size: var(--text-md);
  color: rgba(255,255,255,.8);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.8;
}

.page-hero__hint {
  margin-top: var(--sp-5);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  font-family: var(--font-en);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
  margin-bottom: var(--sp-5);
  justify-content: center;
  font-family: var(--font-en);
}

.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--teal-m); }
.breadcrumb__sep { color: rgba(255,255,255,.35); }
/* Auto-separator between breadcrumb items via CSS */
.breadcrumb > * + *::before {
  content: '›';
  margin-right: var(--sp-2);
  color: rgba(255,255,255,.35);
  font-size: .85em;
}


/* ─────────────────────────────────────────
   11. SECTION WRAPPERS
───────────────────────────────────────── */

/* Trust / stats bar */
.trust-bar {
  background: var(--navy);
  padding-block: var(--sp-6);
  overflow: hidden;
}

.trust-bar__items,
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
  flex-wrap: wrap;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

/* Trust bar items — .trust-item and .trust-bar__item are aliases */
.trust-item,
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: rgba(255,255,255,.85);
  font-size: var(--text-sm);
  font-family: var(--font-en);
}

.trust-item__icon,
.trust-bar__icon {
  width: 36px;
  height: 36px;
  background: rgba(0,171,158,.2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Step / process section */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
  counter-increment: step;
}

.step::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 2px;
  background: var(--border);
}
.step:last-child::after { display: none; }

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-l);
  color: var(--teal-d);
  font-family: var(--font-en);
  font-size: var(--text-lg);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
}

.step__title {
  font-size: var(--text-base);
  color: var(--navy);
  margin-bottom: var(--sp-2);
}

.step__desc {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.7;
}

/* Testimonial */
.testimonial-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-l);
  box-shadow: var(--sh-sm);
  padding: var(--sp-6);
}

.testimonial-card__stars {
  color: #f5a623;
  letter-spacing: 2px;
  margin-bottom: var(--sp-3);
  font-size: var(--text-base);
}

.testimonial-card__text {
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: var(--sp-5);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-l);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--text-3);
  font-family: var(--font-en);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border-l);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: var(--text-base);
  transition: color var(--dur-fast);
}

.faq-question:hover { color: var(--teal); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-l);
  color: var(--teal-d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding-bottom: var(--sp-5);
  font-size: var(--text-sm);
  color: var(--text-2);
  line-height: 1.8;
}

.faq-item.open .faq-answer { display: block; }

/* CTA Banner */
.cta-banner {
  background: var(--grad-hero);
  border-radius: var(--r-2xl);
  padding: var(--sp-12);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,171,158,.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner { position: relative; z-index: 1; }

.cta-banner__title {
  font-size: var(--text-3xl);
  color: var(--white);
  margin-bottom: var(--sp-4);
}

.cta-banner__subtitle {
  font-size: var(--text-md);
  color: rgba(255,255,255,.8);
  margin-bottom: var(--sp-8);
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}


/* ─────────────────────────────────────────
   12. DIVIDERS & DECORATORS
───────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border-l);
  margin-block: var(--sp-8);
}

.section-wave {
  height: 60px;
  background: inherit;
}

/* Pill decorators */
.pill-deco {
  display: inline-block;
  width: 40px;
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--teal);
  margin-bottom: var(--sp-4);
}

/* Price display */
.price-tag {
  font-family: var(--font-en);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--navy);
}

.price-tag .currency {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-2);
  margin-right: 2px;
}

.price-tag .unit {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-3);
}


/* ─────────────────────────────────────────
   13. FOOTER
───────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding-block: var(--sp-16) var(--sp-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-10);
}

.footer__brand-name {
  font-family: var(--font-en);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-2);
}

.footer__brand-tagline {
  font-size: var(--text-sm);
  color: var(--teal-m);
  margin-bottom: var(--sp-4);
  font-family: var(--font-en);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-bottom: var(--sp-5);
  color: rgba(255,255,255,.6);
}

.footer__social {
  display: flex;
  gap: var(--sp-3);
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease);
  font-size: 1rem;
}

.footer__social-link:hover {
  background: var(--teal);
  color: var(--white);
}

.footer__col-title {
  font-family: var(--font-en);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
  transition: color var(--dur-fast);
}
.footer__links a:hover { color: var(--teal-m); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  font-size: var(--text-sm);
}

.footer__contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(0,171,158,.15);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
  font-family: var(--font-en);
}

.footer__legal-links {
  display: flex;
  gap: var(--sp-5);
}

.footer__legal-links a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
  font-family: var(--font-en);
  transition: color var(--dur-fast);
}
.footer__legal-links a:hover { color: rgba(255,255,255,.7); }


/* ─────────────────────────────────────────
   14. MOBILE STICKY BAR
───────────────────────────────────────── */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(45,53,140,.12);
  padding: var(--sp-3) var(--sp-4);
}

.sticky-bar__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  max-width: 480px;
  margin-inline: auto;
}

.sticky-bar .btn {
  justify-content: center;
  padding: 12px;
  font-size: var(--text-sm);
}


/* ─────────────────────────────────────────
   15. ANIMATIONS & SCROLL REVEAL
───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Reveal classes — controlled by IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

/* Pulse dot (live / open indicator) */
@keyframes pulse-ring {
  0%   { transform: scale(.9); box-shadow: 0 0 0 0 rgba(0,171,158,.6); }
  70%  { transform: scale(1);  box-shadow: 0 0 0 8px rgba(0,171,158,0); }
  100% { transform: scale(.9); box-shadow: 0 0 0 0 rgba(0,171,158,0); }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-m);
  animation: pulse-ring 2s ease infinite;
  display: inline-block;
}

/* Scroll reveal JS snippet — paste into each page's <script> tag:
  document.querySelectorAll('.reveal').forEach(el => {
    new IntersectionObserver(([e]) => {
      if(e.isIntersecting) { el.classList.add('visible'); }
    }, { threshold: 0.12 }).observe(el);
  });
*/


/* ─────────────────────────────────────────
   16. RESPONSIVE OVERRIDES
───────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__form { display: none; }   /* hide side form on tablet */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step::after { display: none; }
}

/* Responsive 2-col grid utility — use class="grid-2col" on content sections */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}
.grid-2col--wide { grid-template-columns: 1.2fr 1fr; }

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
    --text-4xl: 2.25rem;
    --text-3xl: 1.75rem;
    --text-2xl: 1.5rem;
  }

  .topbar { display: none; }

  .navbar__links,
  .navbar__cta { display: none; }

  .navbar__hamburger { display: flex; }

  .grid-2,
  .grid-3,
  .grid-2col { grid-template-columns: 1fr; }

  .hero { padding-block: var(--sp-16) var(--sp-12); }
  .hero__stats { gap: var(--sp-6); }

  .section { padding-block: var(--sp-12); }

  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-8); }

  .cta-banner { padding: var(--sp-8); }
  .cta-banner__title { font-size: var(--text-2xl); }

  .form-grid { grid-template-columns: 1fr; }

  .filter-tabs { gap: var(--sp-2); }

  .sticky-bar { display: block; }

  .trust-bar__items,
  .trust-bar__inner { gap: var(--sp-5); }

  body { padding-bottom: 80px; } /* space for sticky bar */
}

/* Small mobile */
@media (max-width: 480px) {
  :root {
    --text-4xl: 1.875rem;
    --text-3xl: 1.5rem;
  }

  .container { padding-inline: var(--sp-4); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .cta-banner__actions { flex-direction: column; align-items: stretch; }
  .cta-banner__actions .btn { justify-content: center; }
}
