/* Affisys Services – main stylesheet
   Design tokens follow section 3 of the developer brief. */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cyan: #0CC0DF;        /* brand cyan – decoration only, never text */
  --teal: #077A8F;        /* deep teal – buttons, links, small text */
  --teal-dark: #05606F;
  --grey: #A6A6A6;        /* borders, dividers */
  --grey-dark: #737373;   /* secondary text */
  --charcoal: #2B2F33;    /* headings and body */
  --mist: #F3F8FA;        /* alternate sections */
  --white: #FFFFFF;
  --line: #DCE5E9;

  --font-head: "Manrope", "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --max: 1200px;
  --gutter: 24px;
  --section: 48px;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(43,47,51,.06), 0 8px 24px rgba(43,47,51,.06);
  --header-h: 72px;

  /* Theme-aware roles (light theme defaults) */
  --surface: #FFFFFF;          /* page and card backgrounds */
  --text: #2B2F33;             /* headings and body text */
  --accent-text: #077A8F;      /* links, eyebrows, icons on light surfaces */
  color-scheme: light;
}

/* ---------- Dark theme ---------- */
html[data-theme="dark"] {
  --surface: #12171A;
  --mist: #182025;
  --text: #E7EDF0;
  --accent-text: #5AD2E6;      /* about 9:1 on the dark surface */
  --grey-dark: #A5B1B7;
  --line: #2A343A;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] .section--dark { background-color: #0B0F12; }
html[data-theme="dark"] .breadcrumbs { background: #151B1F; }
html[data-theme="dark"] .site-header.is-scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.5); }
html[data-theme="dark"] .boundary--firm { border-top-color: var(--grey); }
html[data-theme="dark"] .compliance { border-left-color: var(--grey); }
html[data-theme="dark"] .field input[type="text"], html[data-theme="dark"] .field input[type="email"],
html[data-theme="dark"] .field input[type="tel"], html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea, html[data-theme="dark"] .field input[type="file"] { border-color: #4A565D; }
html[data-theme="dark"] .field-error { color: #FF8A80; }
html[data-theme="dark"] .field.has-error input, html[data-theme="dark"] .field.has-error select,
html[data-theme="dark"] .field.has-error textarea { border-color: #FF8A80; }
html[data-theme="dark"] .form-status.is-error { color: #FF8A80; }
html[data-theme="dark"] .notice { background: #2E2614; border-color: #6B5A2A; color: #F3E3B5; }
html[data-theme="dark"] .booking-embed { border-color: #4A565D; }

/* Theme toggle button */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.theme-toggle:hover { color: var(--accent-text); border-color: var(--accent-text); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
@media (min-width: 1024px) { :root { --section: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
}
@media (min-width: 1024px) { body { font-size: 17px; } }
@media (min-width: 1280px) { body { font-size: 18px; } }

img, svg { max-width: 100%; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; font-weight: 650; }
h4 { font-size: 17px; font-weight: 650; }
@media (min-width: 1024px) {
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  h3 { font-size: 22px; }
}

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

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--charcoal); color: var(--white); padding: 12px 18px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--tight { padding: calc(var(--section) * .6) 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent-text); margin-bottom: 14px;
}
.lead { font-size: 1.125em; color: var(--text); max-width: 62ch; }
.muted { color: var(--grey-dark); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--grey-dark); font-size: 1.05em; }
.answer { font-size: 1.05em; color: var(--text); max-width: 70ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-dark); color: var(--white); }
.btn--secondary { background: transparent; color: var(--accent-text); border-color: var(--accent-text); }
.btn--secondary:hover { background: var(--teal); color: var(--white); }
.btn--light { background: var(--surface); color: var(--text); }
.btn--light:hover { background: var(--mist); color: var(--text); }
.btn--ghost-light { color: var(--white); border-color: rgba(255,255,255,.7); background: transparent; }
.btn--ghost-light:hover { background: var(--surface); color: var(--text); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--surface);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(43,47,51,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.logo svg { height: 44px; width: auto; }
.logo-word { font-family: var(--font-head); font-weight: 800; letter-spacing: .06em; line-height: 1; font-size: 17px; color: var(--accent-text); }
.logo-word span { display: block; font-size: 10.5px; letter-spacing: .32em; color: var(--grey-dark); font-weight: 700; margin-top: 4px; }

.primary-nav { display: none; }
.primary-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.primary-nav li { margin: 0; position: relative; }
.primary-nav a, .nav-toggle-sub {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 6px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 15.5px;
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.primary-nav a:hover, .nav-toggle-sub:hover, .primary-nav a[aria-current="page"] { color: var(--accent-text); }
.primary-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: var(--cyan); }
.nav-toggle-sub svg { width: 16px; height: 16px; transition: transform .2s; }
.nav-toggle-sub[aria-expanded="true"] svg { transform: rotate(180deg); }
.subnav {
  list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: calc(100% + 6px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
  min-width: 300px; display: none;
}
.subnav.is-open { display: block; }
.subnav a { display: block; padding: 10px 12px; font-weight: 500; }
.subnav a:hover { background: var(--mist); }
.header-cta { display: none; }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid var(--line); background: var(--surface); border-radius: 8px; cursor: pointer; color: var(--text);
}
.menu-btn svg { width: 24px; height: 24px; }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--surface); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 16px; }
.mobile-nav li { margin: 0; }
.mobile-nav a { display: block; padding: 12px 0; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--mist); }
.mobile-nav .sub a { padding-left: 18px; font-weight: 500; font-size: 15px; }
.mobile-nav .btn { width: 100%; margin-top: 16px; }

@media (min-width: 1100px) {
  .primary-nav, .header-cta { display: block; }
  .menu-btn, .mobile-nav, .mobile-nav.is-open { display: none; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 14px 0; font-size: 14px; background: var(--mist); border-bottom: 1px solid var(--line); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { margin: 0; color: var(--grey-dark); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--grey); }
.breadcrumbs a { color: var(--accent-text); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 64px; background: linear-gradient(180deg, var(--mist) 0%, var(--surface) 100%); overflow: hidden; }
.hero--inner { padding: 48px 0 56px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero p.lead { margin-top: 18px; }
.hero-visual { position: relative; max-width: 480px; margin: 0 auto; width: 100%; }
@media (min-width: 1024px) {
  .hero { padding: 88px 0 96px; }
  .hero--inner { padding: 72px 0 80px; }
  .hero-grid { grid-template-columns: 7fr 5fr; gap: 56px; }
}

/* ---------- Trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-list { list-style: none; margin: 0; padding: 24px 0; display: grid; gap: 20px; grid-template-columns: 1fr; }
.trust-list li { display: flex; align-items: center; gap: 14px; margin: 0; font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.trust-list .icon { flex-shrink: 0; }
@media (min-width: 640px) { .trust-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trust-list { grid-template-columns: repeat(4, 1fr); padding: 28px 0; } }

/* ---------- Icons ---------- */
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(12,192,223,.12); color: var(--accent-text);
}
.icon svg { width: 24px; height: 24px; }
.icon--lg { width: 56px; height: 56px; }
.icon--lg svg { width: 28px; height: 28px; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  height: 100%; display: flex; flex-direction: column;
}
.card h3 { margin-top: 18px; }
.card p:last-child { margin-bottom: 0; }
.card--plain { border: 0; padding: 0; background: transparent; }
.section--mist .card { border-color: transparent; box-shadow: var(--shadow); }

/* Whole-card clickable service card */
.service-card { position: relative; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--cyan); }
.service-card p { color: var(--grey-dark); flex-grow: 1; }
.service-card .text-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.service-card .text-link:focus-visible { outline: none; }
.service-card:focus-within { outline: 3px solid var(--teal); outline-offset: 3px; }

.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature h3 { margin: 4px 0 6px; font-size: 19px; }
.feature p { margin: 0; color: var(--grey-dark); }
@media (min-width: 1024px) { .feature h3 { font-size: 20px; } }

.strapline { font-family: var(--font-head); color: var(--accent-text); font-weight: 700; font-size: 15px; letter-spacing: .02em; margin-bottom: 8px; }

/* ---------- Mission/vision & split blocks ---------- */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--reverse .split-media { order: 2; }
}
.split-media { background: var(--mist); border-radius: 16px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.section--mist .split-media { background: var(--surface); }
.split-media svg { width: 70%; height: auto; }

.service-block + .service-block { margin-top: 72px; }
.service-block h2 { font-size: 26px; }
@media (min-width: 1024px) { .service-block h2 { font-size: 30px; } }
.service-block .tagline { font-family: var(--font-head); font-weight: 600; color: var(--accent-text); font-size: 1.05em; }
.why-list { list-style: none; padding: 0; margin: 16px 0 20px; }
.why-list li { display: flex; gap: 10px; align-items: flex-start; }
.why-list li svg { width: 22px; height: 22px; color: var(--accent-text); flex-shrink: 0; margin-top: 3px; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(12,192,223,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23077A8F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Accordions (capabilities + FAQ) ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--text); line-height: 1.35;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: rgba(12,192,223,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23077A8F' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s;
}
.accordion details[open] > summary::after { transform: rotate(45deg); }
.accordion summary:hover { color: var(--accent-text); }
.accordion summary .num { color: var(--accent-text); margin-right: 8px; }
.accordion .summary-sub { display: block; font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--grey-dark); margin-top: 4px; }
.accordion .panel { padding: 0 0 22px; }
.accordion .panel > :last-child { margin-bottom: 0; }
.accordion .note { background: var(--mist); border-left: 3px solid var(--cyan); padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: .95em; }
.section--mist .accordion .note { background: var(--surface); }

/* ---------- Boundaries ---------- */
.boundaries { display: grid; gap: 24px; }
@media (min-width: 768px) { .boundaries { grid-template-columns: 1fr 1fr; } }
.boundary { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); background: var(--surface); }
.boundary h3 { display: flex; align-items: center; gap: 12px; margin-top: 0; }
.boundary--firm { border-top: 4px solid var(--charcoal); }
.boundary--us { border-top: 4px solid var(--cyan); }

/* ---------- Systems / tags ---------- */
.tag-group + .tag-group { margin-top: 24px; }
.tag-group h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-dark); font-family: var(--font-body); font-weight: 700; margin-bottom: 12px; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { margin: 0; padding: 6px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; }
.section--mist .tags li { border-color: transparent; }
.tm-note { font-size: 13.5px; color: var(--grey-dark); margin-top: 20px; }

/* ---------- Stepper ---------- */
.stepper { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: step; }
.stepper li { position: relative; padding: 0 0 32px 64px; margin: 0; counter-increment: step; }
.stepper li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.stepper li::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: var(--line); }
.stepper li:last-child { padding-bottom: 0; }
.stepper li:last-child::after { display: none; }
.stepper h3 { font-size: 19px; margin: 8px 0 6px; }
.stepper .when { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent-text); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.stepper p { margin: 0; color: var(--grey-dark); }
@media (min-width: 900px) {
  .stepper { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 32px; }
  .stepper li { padding: 64px 0 0 0; }
  .stepper li::after { left: 52px; right: -28px; top: 21px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- Engagement models ---------- */
.model { border-top: 4px solid var(--cyan); }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--teal); color: var(--white); padding: 64px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  border: 48px solid rgba(12,192,223,.35); pointer-events: none;
}
.cta-banner h2 { color: var(--white); position: relative; }
.cta-banner p { color: rgba(255,255,255,.92); max-width: 640px; margin: 0 auto 28px; font-size: 1.05em; position: relative; }
.cta-banner .btn { position: relative; }
@media (min-width: 1024px) { .cta-banner { padding: 88px 0; } }

/* ---------- Compliance statement ---------- */
.compliance { background: var(--mist); border-left: 4px solid var(--charcoal); border-radius: 0 var(--radius) var(--radius) 0; padding: 24px 28px; font-size: .95em; }
.compliance h2 { font-size: 18px; margin-bottom: 8px; }
.compliance p { margin: 0; }

/* ---------- People ---------- */
.person { text-align: left; }
.person-photo { aspect-ratio: 1; border-radius: var(--radius); background: var(--mist); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--accent-text); font-family: var(--font-head); font-weight: 800; font-size: 40px; }
.section--mist .person-photo { background: var(--surface); }
.person h3 { margin: 0 0 2px; font-size: 19px; }
.person .role { color: var(--accent-text); font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.person p { color: var(--grey-dark); font-size: 15px; }

/* ---------- Careers ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-bar button {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; color: var(--text);
}
.filter-bar button[aria-pressed="true"] { background: var(--teal); border-color: var(--accent-text); color: var(--white); }
.job-list { display: grid; gap: 16px; }
.job { display: grid; gap: 16px; align-items: center; }
.job h3 { margin: 0 0 6px; font-size: 20px; }
.job h3 a { color: var(--text); text-decoration: none; }
.job h3 a:hover { color: var(--accent-text); text-decoration: underline; }
.job-meta { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; color: var(--grey-dark); }
.job-meta li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.job-meta svg { width: 16px; height: 16px; color: var(--accent-text); }
.job p { margin: 0; color: var(--grey-dark); }
.job[hidden] { display: none; }
@media (min-width: 900px) { .job { grid-template-columns: 1fr auto; gap: 32px; } }
.track h3 { margin-top: 16px; }
.track .roles { font-size: 15px; }
.track .ideal { color: var(--grey-dark); font-size: 15px; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .form-card { padding: 40px; } }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--text); }
.field .req { color: var(--accent-text); font-weight: 700; }
.field .opt { color: var(--grey-dark); font-weight: 400; font-size: 14px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea, .field input[type="file"] {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--grey); border-radius: 8px;
  font: inherit; font-size: 16px; color: var(--text); background: var(--surface);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-text); outline: 3px solid rgba(7,122,143,.25); outline-offset: 0; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.choice-list { display: grid; gap: 8px; }
@media (min-width: 640px) { .choice-list--2 { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; align-items: flex-start; gap: 10px; font-weight: 400 !important; font-size: 15.5px !important; cursor: pointer; margin: 0 !important; }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent-text); flex-shrink: 0; }
.field-hint { font-size: 14px; color: var(--grey-dark); margin-top: 6px; }
.field-error { display: none; color: #B42318; font-size: 14px; font-weight: 600; margin-top: 6px; }
.field-error::before { content: "⚠ "; }
.field.has-error .field-error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B42318; border-width: 2px; }
.form-privacy { font-size: 14px; color: var(--grey-dark); }
.form-status { margin-top: 16px; font-weight: 600; }
.form-status.is-error { color: #B42318; }

/* ---------- Contact ---------- */
.quick-connect { display: grid; gap: 20px; }
@media (min-width: 768px) { .quick-connect { grid-template-columns: 1fr 1fr; } }
.quick-card { display: flex; gap: 18px; align-items: flex-start; }
.quick-card h3 { margin: 0 0 4px; font-size: 19px; }
.quick-card p { color: var(--grey-dark); margin-bottom: 14px; }
.options { display: grid; gap: 32px; }
@media (min-width: 1024px) { .options { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; } }
.option-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-text); }
.booking-embed { margin-top: 24px; border: 2px dashed var(--grey); border-radius: var(--radius); min-height: 320px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; background: var(--mist); color: var(--grey-dark); }
.booking-embed iframe { width: 100%; min-height: 660px; border: 0; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.contact-list .icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-family: var(--font-head); }
.map-placeholder { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); min-height: 300px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.map-placeholder iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }

/* ---------- Prose (legal, thank-you) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 24px; }
.notice { background: #FFF8E6; border: 1px solid #F2D58A; border-radius: 10px; padding: 16px 20px; font-size: 15px; }

/* ---------- Owner review markers ([CONFIRM]) ---------- */
.tbc {
  display: inline-block; vertical-align: middle; margin-left: 6px; padding: 1px 7px; border-radius: 4px;
  background: #FFF1C2; color: #6B4E00; border: 1px solid #E8C35A;
  font: 700 10.5px/1.6 var(--font-body); letter-spacing: .06em; text-transform: uppercase; cursor: help;
}
.review-banner { background: #FFF1C2; color: #4A3600; font-size: 14px; text-align: center; padding: 8px var(--gutter); border-bottom: 1px solid #E8C35A; }
.review-banner button { font: inherit; font-weight: 700; background: none; border: 0; text-decoration: underline; cursor: pointer; color: inherit; }
html.hide-tbc .tbc { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #C9D1D6; padding: 64px 0 120px; font-size: 15px; }
@media (min-width: 1100px) { .site-footer { padding-bottom: 32px; } }
.site-footer a { color: #E6EEF1; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); text-decoration: underline; }
.footer-top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 768px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.6fr 1.2fr 1fr 1.2fr 1fr; } }
.footer-brand .logo-word { color: var(--white); }
.footer-brand .logo-word span { color: #C9D1D6; }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.site-footer h2 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; font-family: var(--font-body); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); }
.socials a:hover { background: var(--teal); }
.socials svg { width: 18px; height: 18px; }
.footer-legal { padding-top: 28px; display: grid; gap: 14px; font-size: 13.5px; color: #AEB8BE; }
.footer-legal p { margin: 0; }

/* ---------- Mobile sticky bar & WhatsApp float ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(43,47,51,.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; text-decoration: none; color: var(--text); font-size: 13px; font-weight: 600; min-height: 60px; justify-content: center; }
.mobile-bar a svg { width: 22px; height: 22px; color: var(--accent-text); }
.mobile-bar a.is-primary { background: var(--teal); color: var(--white); }
.mobile-bar a.is-primary svg { color: var(--white); }
.wa-float { display: none; }
@media (min-width: 1100px) {
  .mobile-bar { display: none; }
  .wa-float {
    display: inline-flex; position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
    align-items: center; justify-content: center; background: #1D7D3F; color: var(--white); box-shadow: 0 6px 20px rgba(0,0,0,.2);
    transition: transform .2s;
  }
  .wa-float:hover { transform: scale(1.06); color: var(--white); }
  .wa-float svg { width: 30px; height: 30px; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 76px; z-index: 200; max-width: 560px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 40px rgba(43,47,51,.2); padding: 22px;
}
@media (min-width: 1100px) { .cookie-banner { bottom: 24px; left: 24px; right: auto; } }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 18px; margin-bottom: 6px; }
.cookie-banner p { font-size: 14.5px; color: var(--grey-dark); margin-bottom: 14px; }
.cookie-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cookie-actions .btn { min-height: 44px; padding: 8px 10px; font-size: 14.5px; }
.cookie-prefs { margin: 0 0 14px; display: grid; gap: 10px; font-size: 14.5px; }
.cookie-prefs[hidden] { display: none; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }
