/* =========================================================
   Nutritious Health Guide — shared stylesheet
   Pages: index, about, services, contact, terms,
          privacy-policy, newsletter, unsubscribe
   Pure CSS. No frameworks, no build step.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
    /* Colour */
    --ink: #0a2e2a;
    --ink-soft: #2c4c47;
    --muted: #647975;
    --faint: #8b9c98;

    --primary: #0f6f62;
    --primary-dark: #0a5148;
    --primary-deep: #063832;
    --primary-tint: #e4f1ee;
    --primary-tint-2: #f1f8f6;

    --accent: #e2703a;
    --accent-dark: #c2561f;
    --accent-tint: #fdefe6;

    --gold: #d9a441;
    --plum: #6b4a7a;
    --plum-tint: #f2ecf6;

    --paper: #f6f9f8;
    --surface: #ffffff;
    --line: #e2ede9;
    --line-strong: #cfe0db;

    --success: #1c8a68;
    --success-tint: #e6f5ef;
    --danger: #c2453b;
    --danger-tint: #fbeceb;
    --info: #14607a;
    --info-tint: #e6f2f7;

    /* Type */
    --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Shape */
    --radius-xs: 10px;
    --radius-sm: 14px;
    --radius: 20px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    /* Elevation */
    --shadow-xs: 0 1px 2px rgba(10, 46, 42, .06);
    --shadow-sm: 0 6px 18px rgba(10, 46, 42, .07);
    --shadow-md: 0 16px 38px rgba(10, 46, 42, .10);
    --shadow-lg: 0 28px 60px rgba(10, 46, 42, .16);

    /* Layout */
    --container: 1180px;
    --header-h: 78px;
    --section-y: 96px;
    --ease: cubic-bezier(.22, .68, .35, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--ink-soft);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul,
ol {
    padding: 0;
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: 0;
    background: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.14;
    letter-spacing: -.015em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.35rem, 5.4vw, 3.9rem);
}

h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.6rem);
}

p {
    text-wrap: pretty;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.container-narrow {
    max-width: 880px;
}

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

.section-tight {
    padding-block: 64px;
}

.section-surface {
    background: var(--surface);
}

.section-tint {
    background: var(--primary-tint-2);
}

.section-deep {
    background: var(--primary-deep);
    color: #eaf4f2;
    position: relative;
    overflow: hidden;
}

.section-deep h2,
.section-deep h3,
.section-deep h4 {
    color: #fff;
}

.section-deep .eyebrow {
    color: var(--gold);
}

.divider-top {
    border-top: 1px solid var(--line);
}

.grid {
    display: grid;
    gap: 28px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

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

.lead {
    font-size: 1.09rem;
    color: var(--muted);
    max-width: 62ch;
}

.lead.centered {
    margin-inline: auto;
}

.small {
    font-size: .9rem;
}

.muted {
    color: var(--muted);
}

/* ---------- Skip link ---------- */
.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 200;
    background: var(--ink);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: .9rem;
    transition: top .2s var(--ease);
}

.skip-link:focus {
    top: 14px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .01em;
    line-height: 1;
    transition: transform .2s var(--ease), background-color .2s var(--ease),
        box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
    will-change: transform;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 26px rgba(15, 111, 98, .28);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 12px 26px rgba(226, 112, 58, .30);
}

.btn-accent:hover {
    background: var(--accent-dark);
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 2px solid var(--line-strong);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-tint);
}

.btn-light {
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    background: var(--primary-tint);
}

.btn-ghost-light {
    background: rgba(255, 255, 255, .10);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, .2);
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid transparent;
    transition: border-color .2s var(--ease), color .2s var(--ease), gap .2s var(--ease);
}

.text-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    gap: 12px;
}

.text-link svg {
    width: 17px;
    height: 17px;
}

.link-quiet {
    color: var(--muted);
    font-weight: 700;
    font-size: .9rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.link-quiet:hover {
    color: var(--accent);
}

.link-inline {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.link-inline:hover {
    color: var(--accent);
}

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.eyebrow.centered::before {
    width: 22px;
}

.eyebrow.centered::after {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.section-head {
    margin-bottom: 52px;
}

.section-head.centered {
    text-align: center;
}

.section-head .eyebrow {
    margin-bottom: 16px;
}

.section-head p {
    margin-top: 18px;
    font-size: 1.06rem;
    color: var(--muted);
    max-width: 60ch;
}

.section-head.centered p {
    margin-inline: auto;
}

/* ---------- Site header (identical markup on every page) ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s var(--ease), height .25s var(--ease), background-color .25s var(--ease);
}

.site-header.is-stuck {
    height: 68px;
    box-shadow: 0 10px 30px rgba(10, 46, 42, .08);
    background: rgba(255, 255, 255, .97);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.32rem;
    color: var(--ink);
    letter-spacing: -.01em;
}

.brand-mark {
    width: 40px;
    height: 40px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(145deg, var(--primary), var(--primary-deep));
    color: #fff;
    box-shadow: 0 8px 18px rgba(15, 111, 98, .30);
}

.brand-mark svg {
    width: 22px;
    height: 22px;
}

.brand-text {
    white-space: nowrap;
}

.brand-light {
    color: #fff;
}

.brand-light .brand-mark {
    background: rgba(255, 255, 255, .14);
    box-shadow: none;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    position: relative;
    display: block;
    padding: 10px 15px;
    border-radius: var(--radius-pill);
    font-size: .93rem;
    font-weight: 700;
    color: var(--ink-soft);
    transition: color .2s var(--ease), background-color .2s var(--ease);
}

.nav-link:hover {
    color: var(--primary-dark);
    background: var(--primary-tint);
}

.nav-link.is-active {
    color: var(--primary-dark);
    background: var(--primary-tint);
}

.nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 16px;
    height: 3px;
    border-radius: 3px;
    background: var(--accent);
}

.nav-cta {
    margin-left: 12px;
    padding: 13px 24px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: var(--primary-tint);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav-toggle-bar {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Page offset for fixed header */
.page-body {
    padding-top: var(--header-h);
}

/* ---------- Hero (home) ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1000px 520px at 88% -10%, #d9ece7 0%, rgba(217, 236, 231, 0) 62%),
        radial-gradient(760px 460px at -8% 108%, #fbe7d9 0%, rgba(251, 231, 217, 0) 60%),
        linear-gradient(180deg, #fdfefe 0%, var(--paper) 100%);
    padding-block: clamp(56px, 9vw, 104px);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 111, 98, .16) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: .38;
    mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 78%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px 9px 14px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 26px;
}

.pulse-dot {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    flex: none;
}

.pulse-dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    opacity: .55;
    animation: pulseRing 2.4s ease-out infinite;
}

.hero h1 {
    margin-bottom: 22px;
}

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

.hero-lead {
    font-size: 1.1rem;
    color: var(--ink-soft);
    max-width: 54ch;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--muted);
}

.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.hero-points svg {
    width: 17px;
    height: 17px;
    color: var(--primary);
    flex: none;
}

/* Hero visual */
.hero-visual {
    position: relative;
    min-height: 440px;
    display: grid;
    place-items: center;
}

.hero-orbit {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 2px dashed rgba(15, 111, 98, .28);
    animation: spin 46s linear infinite;
}

.hero-orbit.small {
    width: 250px;
    height: 250px;
    border-style: solid;
    border-color: rgba(15, 111, 98, .18);
    animation: spin 32s linear infinite reverse;
}

.hero-card {
    position: relative;
    z-index: 2;
    width: 236px;
    padding: 34px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

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

.hero-card .icon-chip {
    margin: 0 auto 16px;
}

.hero-card h3 {
    font-size: 1.4rem;
}

.hero-card span {
    display: block;
    margin-top: 8px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--faint);
}

.hero-chip {
    position: absolute;
    z-index: 3;
    width: 132px;
    height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, .8);
    text-align: center;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink);
}

.hero-chip svg {
    width: 26px;
    height: 26px;
}

.hero-chip.chip-a {
    top: 8%;
    left: -2%;
    background: var(--accent-tint);
    color: var(--accent-dark);
    transform: rotate(-6deg);
    animation: floaty 6s ease-in-out infinite;
}

.hero-chip.chip-b {
    bottom: 8%;
    right: -2%;
    background: var(--primary-tint);
    color: var(--primary-dark);
    transform: rotate(5deg);
    animation: floaty 7.5s ease-in-out infinite reverse;
}

.hero-chip.chip-c {
    bottom: 30%;
    left: 2%;
    width: 96px;
    height: 96px;
    background: #fff;
    color: var(--plum);
    animation: floaty 8.5s ease-in-out infinite;
}

/* ---------- Inner page hero ---------- */
.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(760px 380px at 100% 0%, rgba(217, 236, 231, .85) 0%, rgba(217, 236, 231, 0) 60%),
        radial-gradient(600px 340px at 0% 100%, rgba(251, 231, 217, .8) 0%, rgba(251, 231, 217, 0) 62%),
        #fff;
    border-bottom: 1px solid var(--line);
    padding-block: clamp(48px, 7vw, 82px);
}

.page-hero .container {
    position: relative;
}

.page-hero h1 {
    margin-bottom: 18px;
    max-width: 20ch;
}

.page-hero .lead {
    max-width: 66ch;
}

.crumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--faint);
}

.crumbs a {
    color: var(--muted);
}

.crumbs a:hover {
    color: var(--accent);
}

.crumbs svg {
    width: 13px;
    height: 13px;
}

/* ---------- Pillar strip ---------- */
.pillar-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    background: var(--primary-deep);
    color: #fff;
}

.pillar {
    padding: 34px 28px;
    border-right: 1px solid rgba(255, 255, 255, .12);
    transition: background-color .25s var(--ease);
}

.pillar:last-child {
    border-right: 0;
}

.pillar:hover {
    background: rgba(255, 255, 255, .06);
}

.pillar svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
    margin-bottom: 14px;
}

.pillar h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
}

.pillar p {
    font-size: .9rem;
    color: rgba(255, 255, 255, .72);
    line-height: 1.55;
}

/* ---------- Cards ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
}

.card-tint {
    background: var(--primary-tint);
    border-color: transparent;
}

.card-accent {
    background: var(--accent-tint);
    border-color: transparent;
}

.card-plum {
    background: var(--plum-tint);
    border-color: transparent;
}

.card h3 {
    margin-bottom: 12px;
}

.card p {
    font-size: .97rem;
    color: var(--muted);
}

.card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.card-head h3 {
    margin: 0;
}

.icon-chip {
    width: 56px;
    height: 56px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: var(--primary-tint);
    color: var(--primary-dark);
}

.icon-chip svg {
    width: 26px;
    height: 26px;
}

.icon-chip.accent {
    background: var(--accent-tint);
    color: var(--accent-dark);
}

.icon-chip.plum {
    background: var(--plum-tint);
    color: var(--plum);
}

.icon-chip.gold {
    background: #fbf1dc;
    color: #a9761c;
}

.icon-chip.on-white {
    background: #fff;
    box-shadow: var(--shadow-xs);
}

.icon-sm {
    width: 44px;
    height: 44px;
    border-radius: 13px;
}

.icon-sm svg {
    width: 21px;
    height: 21px;
}

/* ---------- Check / bullet lists ---------- */
.tick-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tick-list li {
    position: relative;
    display: flex;
    gap: 12px;
    font-size: .96rem;
    color: var(--ink-soft);
}

.tick-list svg {
    width: 19px;
    height: 19px;
    flex: none;
    margin-top: 3px;
    color: var(--primary);
}

.dot-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: .95rem;
    color: var(--muted);
}

.dot-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.tag {
    display: inline-block;
    padding: 6px 13px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1px solid var(--line);
    font-size: .78rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* ---------- Accordion (medical services) ---------- */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.acc-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.acc-item:hover {
    border-color: var(--line-strong);
}

.acc-item.is-open {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.acc-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 26px;
    text-align: left;
}

.acc-trigger h3 {
    font-size: 1.18rem;
    flex: 1 1 auto;
}

.acc-icon {
    margin-left: auto;
    width: 34px;
    height: 34px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-tint);
    color: var(--primary-dark);
    transition: transform .3s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}

.acc-icon svg {
    width: 16px;
    height: 16px;
}

.acc-item.is-open .acc-icon {
    transform: rotate(180deg);
    background: var(--accent);
    color: #fff;
}

.acc-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s var(--ease);
}

.acc-item.is-open .acc-panel {
    grid-template-rows: 1fr;
}

.acc-panel-inner {
    overflow: hidden;
}

.acc-body {
    padding: 0 26px 26px 100px;
}

.acc-body p {
    font-size: .97rem;
    color: var(--muted);
}

.acc-body .tick-list {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--line-strong);
}

/* ---------- Journey timeline (wellness) ---------- */
.journey {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.journey::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    bottom: 8px;
    width: 2px;
    transform: translateX(-50%);
    background: repeating-linear-gradient(180deg, var(--line-strong) 0 10px, transparent 10px 20px);
}

.journey-row {
    position: relative;
    display: flex;
}

.journey-row.end {
    justify-content: flex-end;
}

.journey-card {
    position: relative;
    z-index: 2;
    width: calc(50% - 40px);
    padding: 28px 30px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.journey-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.journey-card h3 {
    font-size: 1.22rem;
    margin-bottom: 10px;
}

.journey-card p {
    font-size: .95rem;
    color: var(--muted);
}

.journey-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    width: 22px;
    height: 22px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--accent);
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--primary-tint);
}

/* ---------- Steps ---------- */
.steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.step {
    position: relative;
    padding: 30px 26px 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: inline-block;
    margin-bottom: 14px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
}

.step h3 {
    font-size: 1.12rem;
    margin-bottom: 10px;
}

.step p {
    font-size: .93rem;
    color: var(--muted);
}

/* ---------- Quotes / testimonials ---------- */
.quote-card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
    transition: transform .3s var(--ease), background-color .3s var(--ease);
}

.quote-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, .11);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
    color: var(--gold);
}

.stars svg {
    width: 16px;
    height: 16px;
}

.quote-card blockquote {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .88);
    margin-bottom: 22px;
}

.quote-card cite {
    font-family: var(--font-display);
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
}

.quote-mark {
    display: block;
    width: 30px;
    height: 30px;
    margin-bottom: 16px;
    color: var(--accent);
    opacity: .8;
}

.quote-card.light {
    background: var(--surface);
    border-color: var(--line);
}

.quote-card.light:hover {
    background: var(--primary-tint-2);
    box-shadow: var(--shadow-md);
}

.quote-card.light blockquote {
    color: var(--ink-soft);
}

.quote-card.light cite {
    color: var(--ink);
}

/* ---------- FAQ ---------- */
.faq-item {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius-sm);
    padding: 0;
    margin-bottom: 14px;
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.08rem;
    color: #fff;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary .chev {
    flex: none;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    transition: transform .3s var(--ease), background-color .25s var(--ease);
}

.faq-item summary .chev svg {
    width: 14px;
    height: 14px;
}

.faq-item[open] summary .chev {
    transform: rotate(180deg);
    background: var(--accent);
}

.faq-item .faq-body {
    padding: 0 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    margin-top: -2px;
    padding-top: 18px;
    font-size: .96rem;
    color: rgba(255, 255, 255, .78);
}

/* Light FAQ variant (used on services page) */
.faq-light .faq-item {
    background: var(--surface);
    border-color: var(--line);
}

.faq-light .faq-item summary {
    color: var(--ink);
}

.faq-light .faq-item summary .chev {
    background: var(--primary-tint);
    color: var(--primary-dark);
}

.faq-light .faq-item .faq-body {
    border-top-color: var(--line);
    color: var(--muted);
}

/* ---------- Contact cards ---------- */
.info-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.info-card h3 {
    font-size: 1.08rem;
    margin-bottom: 4px;
}

.info-card p {
    font-size: .95rem;
    color: var(--muted);
    line-height: 1.5;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
    font-size: .94rem;
}

.hours-row:last-child {
    border-bottom: 0;
}

.hours-row span:last-child {
    font-weight: 700;
    color: var(--ink);
}

/* ---------- Forms ---------- */
.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 4vw, 46px);
    box-shadow: var(--shadow-sm);
}

.form-card h2,
.form-card h3 {
    margin-bottom: 8px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-size: .85rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: .01em;
}

.field label .req {
    color: var(--accent);
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-xs);
    background: var(--primary-tint-2);
    color: var(--ink);
    font-size: .97rem;
    transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field textarea {
    resize: vertical;
    min-height: 128px;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--faint);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 111, 98, .12);
}

.field.has-error input,
.field.has-error textarea {
    border-color: var(--danger);
    background: var(--danger-tint);
}

.field-error {
    display: none;
    align-items: center;
    gap: 7px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--danger);
}

.field-error svg {
    width: 15px;
    height: 15px;
    flex: none;
}

.field.has-error .field-error {
    display: flex;
}

.form-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    background: var(--primary-tint);
    border: 1px solid transparent;
    font-size: .9rem;
    color: var(--ink-soft);
}

.form-note svg {
    width: 19px;
    height: 19px;
    flex: none;
    margin-top: 2px;
    color: var(--primary);
}

.checkbox-row {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    padding: 18px 20px;
    background: var(--accent-tint);
    border-radius: var(--radius-sm);
    font-size: .9rem;
    color: var(--ink-soft);
}

.checkbox-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex: none;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
}

.checkbox-row label {
    cursor: pointer;
}

.checkbox-row.has-error {
    outline: 2px solid var(--danger);
    outline-offset: 2px;
}

.form-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    margin-top: 8px;
    border-top: 1px solid var(--line);
}

.form-hint {
    font-size: .82rem;
    color: var(--faint);
}

/* ---------- Toast notifications ---------- */
.toast-stack {
    position: fixed;
    right: 22px;
    bottom: 90px;
    z-index: 400;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(370px, calc(100vw - 32px));
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    display: flex;
    gap: 14px;
    padding: 16px 16px 16px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 5px solid var(--primary);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    animation: toastIn .35s var(--ease);
    position: relative;
    overflow: hidden;
}

.toast.is-leaving {
    animation: toastOut .3s var(--ease) forwards;
}

.toast-icon {
    width: 34px;
    height: 34px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-tint);
    color: var(--primary-dark);
}

.toast-icon svg {
    width: 18px;
    height: 18px;
}

.toast-body {
    flex: 1 1 auto;
    min-width: 0;
}

.toast-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--ink);
    margin-bottom: 3px;
}

.toast-msg {
    font-size: .87rem;
    color: var(--muted);
    line-height: 1.5;
}

.toast-close {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--faint);
    transition: background-color .2s var(--ease), color .2s var(--ease);
}

.toast-close:hover {
    background: var(--paper);
    color: var(--ink);
}

.toast-close svg {
    width: 14px;
    height: 14px;
}

.toast-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: currentColor;
    opacity: .3;
    transform-origin: left center;
    animation: toastBar 5s linear forwards;
}

.toast-success {
    border-left-color: var(--success);
    color: var(--success);
}

.toast-success .toast-icon {
    background: var(--success-tint);
    color: var(--success);
}

.toast-error {
    border-left-color: var(--danger);
    color: var(--danger);
}

.toast-error .toast-icon {
    background: var(--danger-tint);
    color: var(--danger);
}

.toast-info {
    border-left-color: var(--info);
    color: var(--info);
}

.toast-info .toast-icon {
    background: var(--info-tint);
    color: var(--info);
}

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--primary-deep), var(--primary) 70%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: clamp(36px, 6vw, 62px);
    text-align: center;
}

.cta-band::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -90px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.cta-band::before {
    content: "";
    position: absolute;
    left: -70px;
    bottom: -110px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.cta-band > * {
    position: relative;
    z-index: 2;
}

.cta-band h2 {
    color: #fff;
    margin-bottom: 16px;
}

.cta-band p {
    max-width: 58ch;
    margin-inline: auto;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, .85);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ---------- Legal documents ---------- */
.legal-layout {
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.legal-toc h2 {
    font-size: 1.05rem;
    margin-bottom: 14px;
}

.legal-toc ol {
    counter-reset: toc;
    max-height: min(56vh, 520px);
    overflow-y: auto;
    padding-right: 6px;
}

.legal-toc li {
    counter-increment: toc;
    margin-bottom: 4px;
}

.legal-toc a {
    display: flex;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 9px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--muted);
    transition: background-color .2s var(--ease), color .2s var(--ease);
}

.legal-toc a::before {
    content: counter(toc);
    flex: none;
    width: 20px;
    text-align: right;
    color: var(--accent);
    font-weight: 800;
}

.legal-toc a:hover {
    background: var(--primary-tint);
    color: var(--primary-dark);
}

.legal-doc {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4.5vw, 54px);
}

.legal-intro {
    padding-bottom: 28px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
    font-size: 1.03rem;
    color: var(--ink-soft);
}

.clause {
    padding-block: 26px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: calc(var(--header-h) + 24px);
}

.clause:last-of-type {
    border-bottom: 0;
}

.clause h2 {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-size: 1.22rem;
    margin-bottom: 12px;
}

.clause-num {
    flex: none;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    color: #fff;
    background: var(--primary);
    border-radius: var(--radius-pill);
    padding: 5px 11px;
    transform: translateY(-2px);
}

.clause p {
    color: var(--muted);
    font-size: .99rem;
}

.legal-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 30px;
    margin-top: 12px;
    border-top: 1px solid var(--line);
}

/* ---------- Footer (identical markup on every page) ---------- */
.site-footer {
    background: var(--primary-deep);
    color: rgba(255, 255, 255, .72);
    padding-block: 68px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 44px;
}

.footer-brand p {
    margin-block: 18px 22px;
    font-size: .94rem;
    max-width: 34ch;
}

.social-row {
    display: flex;
    gap: 10px;
}

.social-row a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    transition: background-color .25s var(--ease), transform .25s var(--ease);
}

.social-row a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.social-row svg {
    width: 17px;
    height: 17px;
}

.footer-col h3 {
    color: #fff;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-col li {
    margin-bottom: 11px;
    font-size: .93rem;
}

.footer-col a {
    transition: color .2s var(--ease), padding-left .2s var(--ease);
}

.footer-col a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    padding-block: 24px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    text-align: center;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
}

/* ---------- Back to top ---------- */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background-color .25s var(--ease);
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover {
    background: var(--accent);
}

.to-top svg {
    width: 19px;
    height: 19px;
}

/* The toast stack sits above the back-to-top button, so both stay reachable */

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Animations ---------- */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0) rotate(var(--rot, 0deg));
    }

    50% {
        transform: translateY(-12px) rotate(var(--rot, 0deg));
    }
}

.hero-chip.chip-a {
    --rot: -6deg;
}

.hero-chip.chip-b {
    --rot: 5deg;
}

@keyframes pulseRing {
    0% {
        transform: scale(.7);
        opacity: .8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.97);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateX(24px) scale(.97);
    }
}

@keyframes toastBar {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    :root {
        --section-y: 76px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pillar-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pillar:nth-child(2n) {
        border-right: 0;
    }

    .pillar:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-visual {
        min-height: 400px;
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .legal-toc {
        position: static;
    }

    .legal-toc ol {
        max-height: none;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 14px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px;
    }

    .main-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 18px 24px 26px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    }

    .site-header.is-stuck .main-nav {
        top: 68px;
    }

    body.nav-open .main-nav {
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav-link {
        padding: 14px 16px;
        border-radius: var(--radius-sm);
        font-size: 1rem;
        text-align: left;
    }

    .nav-link.is-active::after {
        left: 16px;
        bottom: 8px;
        transform: none;
    }

    .nav-cta {
        margin: 10px 0 0;
        width: 100%;
        padding: 16px 24px;
    }

    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

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

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

    .hero {
        padding-block: 44px;
    }

    .hero-visual {
        min-height: 380px;
        transform: scale(.86);
    }

    .hero-actions .btn {
        width: 100%;
    }

    .journey::before {
        left: 12px;
    }

    .journey-row,
    .journey-row.end {
        justify-content: flex-start;
        padding-left: 38px;
    }

    .journey-card {
        width: 100%;
    }

    .journey-dot {
        left: 12px;
        top: 34px;
        transform: translate(-50%, 0);
    }

    .acc-body {
        padding: 0 22px 24px;
    }

    .acc-trigger {
        padding: 18px 20px;
        gap: 14px;
    }

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

    .pillar-strip {
        grid-template-columns: 1fr;
    }

    .pillar {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .pillar:last-child {
        border-bottom: 0;
    }

    .legal-toc ol {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .toast-stack {
        right: 14px;
        left: 14px;
        bottom: 78px;
        width: auto;
    }

    .to-top {
        right: 14px;
        bottom: 14px;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Print ---------- */
@media print {

    .site-header,
    .site-footer,
    .to-top,
    .toast-stack,
    .legal-toc {
        display: none !important;
    }

    .page-body {
        padding-top: 0;
    }

    body {
        background: #fff;
        color: #000;
    }
}
