/* HR Global Ventures | main.css
   1. Tokens  2. Base  3. Layout  4. Buttons  5. Header  6. Hero and page hero
   7. Sections and content components  8. Forms  9. Footer  10. Overlays (popup, WhatsApp, cookie)
   11. Utilities and motion */

/* ---------- 1. Tokens ---------- */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

:root {
  --navy-900: #0B2545;
  --navy-700: #13315C;
  --blue-600: #1F5FA8;
  --gold-500: #C9A24B;
  --ink: #1B2430;
  --muted: #5B6675;
  --surface: #FFFFFF;
  --surface-alt: #F5F7FA;
  --border: #E1E6ED;
  --border-strong: #7C8797;
  --danger: #B42318;
  --on-dark-muted: rgba(255, 255, 255, .8);
  --on-dark-line: rgba(255, 255, 255, .22);

  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem);
  --fs-h2: clamp(1.625rem, 1.3rem + 1.3vw, 2.375rem);
  --fs-h1: clamp(2.125rem, 1.55rem + 2.5vw, 3.5rem);

  --radius: 4px;
  --radius-lg: 6px;
  --shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 6px 20px rgba(11, 37, 69, .1);
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --space-section: clamp(3.5rem, 7vw, 6rem);
  --header-h: 4.5rem;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}
[hidden] { display: none !important; }
[id] { scroll-margin-top: 5.5rem; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--navy-900);
  margin: 0 0 .75rem;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1rem; max-width: 70ch; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--blue-600); text-underline-offset: .18em; }
a:hover { color: var(--navy-700); }
address { font-style: normal; }
dl, dd, dt { margin: 0; }
strong { font-weight: 600; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: #fff; }

.on-dark { color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark a { color: #fff; }
.on-dark a:hover { color: var(--gold-500); }
.on-dark .btn--gold, .on-dark .btn--gold:hover { color: var(--navy-900); }
.on-dark .btn--light, .on-dark .btn--light:hover { color: var(--navy-900); }

.icon { width: 1.5rem; height: 1.5rem; flex: none; }

/* Marks a value that still has to be filled in src/site.config.json */
.ph {
  background: #FFF6DC;
  color: #5A4300;
  outline: 1px dashed #B58A1B;
  outline-offset: 1px;
  border-radius: 2px;
  padding: 0 .2em;
}
.on-dark .ph { background: rgba(255, 255, 255, .12); color: #fff; outline-color: var(--gold-500); }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.section--tight { padding-block: 2rem; }
.section--alt { background: var(--surface-alt); }
.section:not(.section--alt):not(.section--tight) + .section:not(.section--alt):not(.section--tight) { padding-top: 0; }

.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head::before,
.split__body > h2:first-child::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--gold-500);
  margin-bottom: 1rem;
}
.section__head > :last-child { margin-bottom: 0; }
.section__head p { color: var(--muted); font-size: 1.0625rem; }
.split .section__head, .faq-layout .section__head { margin-bottom: 0; }

.split { display: grid; gap: 2rem; align-items: center; }
.split + .split { margin-top: clamp(3rem, 6vw, 5rem); }
.split__media img { width: 100%; border-radius: var(--radius); background: var(--surface-alt); }
.split__body > :last-child { margin-bottom: 0; }
.split--text, .split--form { align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; }
  .split__media { grid-column: 1 / span 6; }
  .split__body { grid-column: 8 / span 5; }
  .split--reverse .split__media { grid-column: 7 / span 6; grid-row: 1; }
  .split--reverse .split__body { grid-column: 1 / span 5; grid-row: 1; }
  .split--portrait .split__media { grid-column: 1 / span 5; }
  .split--portrait .split__body { grid-column: 7 / span 6; }
  .split--text > :first-child { grid-column: 1 / span 5; }
  .split--text > :last-child { grid-column: 7 / span 6; }
  .split--form > :first-child { grid-column: 1 / span 5; }
  .split--form > :last-child { grid-column: 6 / span 7; }
}

.prose p { font-size: 1.0625rem; }
.prose > :last-child { margin-bottom: 0; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .65rem 1.375rem;
  font: 600 .9375rem/1.25 var(--font-sans);
  text-align: center;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn .icon { width: 1.25rem; height: 1.25rem; }
.btn--lg { min-height: 3.25rem; padding-inline: 1.75rem; font-size: 1rem; }
.btn--sm { min-height: 2.75rem; padding-inline: 1.125rem; }
.btn--block { display: flex; width: 100%; }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: #D8B65F; color: var(--navy-900); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: #E9EEF5; color: var(--navy-900); }
.btn--outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- 5. Header ---------- */
.skip-link {
  position: absolute;
  left: .75rem;
  top: -4rem;
  z-index: 300;
  padding: .75rem 1rem;
  background: var(--gold-500);
  color: var(--navy-900);
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus { top: .75rem; color: var(--navy-900); }

.topbar { display: none; background: var(--navy-900); font-size: .8125rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 2.5rem; }
.topbar ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; }
.topbar a, .topbar__hours { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--on-dark-muted); min-height: 2.25rem; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .icon { width: 1rem; height: 1rem; color: var(--gold-500); }
.topbar__social a { justify-content: center; min-width: 2.25rem; }
@media (min-width: 900px) { .topbar { display: block; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: 0 2px 14px rgba(11, 37, 69, .1); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; min-height: 2.75rem; }
.brand__logo { height: 2rem; width: auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle .icon:last-child { display: none; }
.nav-toggle[aria-expanded="true"] .icon:nth-of-type(1) { display: none; }
.nav-toggle[aria-expanded="true"] .icon:last-child { display: block; }

.site-nav { display: none; }
.nav-toggle[aria-expanded="true"] ~ .site-nav {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: .25rem var(--gutter) 1.5rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(11, 37, 69, .12);
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.site-nav__list { list-style: none; }
.site-nav__link {
  display: flex;
  align-items: center;
  min-height: 3rem;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.site-nav__link:hover { color: var(--blue-600); }
.site-nav__link[aria-current="page"] { color: var(--navy-900); font-weight: 600; box-shadow: inset 3px 0 0 var(--gold-500); padding-left: .75rem; }
.site-nav__cta { width: 100%; margin-top: 1.25rem; }
.site-nav__contact { list-style: none; margin-top: 1rem; }
.site-nav__contact a { display: flex; align-items: center; gap: .75rem; min-height: 2.75rem; color: var(--ink); text-decoration: none; }
.site-nav__contact .icon { width: 1.25rem; height: 1.25rem; color: var(--blue-600); }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav, .nav-toggle[aria-expanded="true"] ~ .site-nav {
    display: flex;
    position: static;
    align-items: center;
    gap: 1rem;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }
  .brand__logo { height: 2.25rem; }
  .site-nav__list { display: flex; gap: .125rem; }
  .site-nav__link { min-height: 2.75rem; padding: .5rem .7rem; font-size: .9375rem; border-bottom: 0; position: relative; }
  .site-nav__link::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .3rem; height: 2px; background: transparent; }
  .site-nav__link:hover::after { background: var(--border-strong); }
  .site-nav__link[aria-current="page"] { box-shadow: none; padding-left: .7rem; }
  .site-nav__link[aria-current="page"]::after { background: var(--gold-500); }
  .site-nav__cta { width: auto; margin: 0; }
  .site-nav__contact { display: none; }
}

/* ---------- 6. Hero and page hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(30rem, 80vh, 44rem);
  background: var(--navy-900);
  overflow: hidden;
}
.hero__media, .page-hero__media, .cta-band__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img, .page-hero__media img, .cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after, .page-hero__media::after, .cta-band__media::after { content: ""; position: absolute; inset: 0; background: rgba(11, 37, 69, .76); }
.hero__inner { width: 100%; padding-block: clamp(3.5rem, 8vw, 6rem); }
.hero__content { max-width: 44rem; }
.hero__content::before { content: ""; display: block; width: 3rem; height: 3px; background: var(--gold-500); margin-bottom: 1.5rem; }
.hero__title { font-size: var(--fs-h1); margin-bottom: 1.25rem; }
.hero__lede { font-size: var(--fs-lead); color: #fff; max-width: 38rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1.25rem 1.5rem; }
.hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.hero__cta .btn { min-width: 12rem; }
.hero__note { font-size: var(--fs-small); color: var(--on-dark-muted); }
@media (max-width: 479px) {
  .hero__actions, .hero__cta { width: 100%; }
  .hero__cta .btn { width: 100%; }
}

.page-hero { position: relative; isolation: isolate; background: var(--navy-900); overflow: hidden; }
.page-hero__inner { padding-block: clamp(2.5rem, 6vw, 4.75rem); }
.page-hero--image .page-hero__inner { padding-block: clamp(3rem, 8vw, 6rem); }
.page-hero__title { font-size: var(--fs-h1); margin-bottom: 1rem; max-width: 22ch; }
.page-hero__lede { font-size: var(--fs-lead); color: #fff; max-width: 42rem; margin-bottom: 0; }
.page-hero__actions { margin: 1.75rem 0 0; }

.breadcrumb { margin-bottom: 1.25rem; font-size: var(--fs-small); }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; gap: .25rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .25rem; color: var(--on-dark-muted); }
.breadcrumb a { color: var(--on-dark-muted); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- 7. Sections and content components ---------- */
/* Trust strip */
.trust { border-bottom: 1px solid var(--border); background: #fff; }
.trust__list { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 3rem; padding-block: 1.5rem; }
.trust__item { display: flex; flex-direction: column; }
.trust__value { font-family: var(--font-serif); font-size: 1.375rem; font-weight: 600; color: var(--navy-900); line-height: 1.2; }
.trust__label { font-size: var(--fs-small); color: var(--muted); }

.clients { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 3rem; }
.clients img { max-height: 2.5rem; width: auto; opacity: .85; }

/* Services */
.service-list { list-style: none; display: grid; gap: 0 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.service { position: relative; padding: 1.5rem 0 2rem; border-top: 1px solid var(--border-strong); }
.service__icon .icon { width: 2rem; height: 2rem; color: var(--blue-600); margin-bottom: 1rem; }
.service__title { margin-bottom: .5rem; }
.service__title a { color: var(--navy-900); text-decoration: none; }
.service__title a::after { content: ""; position: absolute; inset: 0; }
.service__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.service__title a:focus-visible { outline: none; }
.service__title a:focus-visible::after { outline: 3px solid var(--blue-600); outline-offset: 4px; }
.service__text { color: var(--muted); margin-bottom: 0; }

/* Steps */
.steps { list-style: none; display: grid; gap: 2rem; }
.step__num { display: block; width: 2.5rem; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--gold-500); font-family: var(--font-serif); font-size: 2rem; line-height: 1; color: var(--navy-700); }
.step__title { margin-bottom: .5rem; }
.step__text { color: var(--muted); margin-bottom: 0; }
.steps--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr)); gap: 2rem 2.5rem; }
@media (min-width: 1100px) { .steps--five { grid-template-columns: repeat(5, 1fr); gap: 2rem 1.5rem; } }
.steps--list { gap: 0; margin-top: 1.5rem; }
.steps--list .step { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.125rem 0; border-top: 1px solid var(--border-strong); }
.steps--list .step__num { width: auto; margin: 0; padding: 0; border: 0; font-size: 1.75rem; }
.steps--list .step__title { font-size: 1.125rem; margin-bottom: .25rem; }
.steps--list .step__text { font-size: .9375rem; }

/* Industries */
.industry-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0 2.5rem; }
.industry { display: flex; align-items: center; gap: .875rem; min-height: 3.5rem; padding: .75rem 0; border-bottom: 1px solid var(--border-strong); font-weight: 500; }
.industry .icon { color: var(--blue-600); }

/* Reasons, values, offers */
.reasons { display: grid; gap: 2rem 3rem; }
@media (min-width: 768px) { .reasons { grid-template-columns: 1fr 1fr; } }
.reason { padding-left: 1.25rem; border-left: 2px solid var(--gold-500); }
.reason p { color: var(--muted); margin-bottom: 0; }

.values { list-style: none; display: grid; gap: 2rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.value { padding-top: 1.25rem; border-top: 1px solid var(--border-strong); }
.value .icon { width: 2rem; height: 2rem; color: var(--blue-600); margin-bottom: 1rem; }
.value p { color: var(--muted); margin-bottom: 0; }
@media (min-width: 900px) { .values--three { grid-template-columns: repeat(3, 1fr); } }

.offers { border-bottom: 1px solid var(--border-strong); }
.offer { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1.25rem; padding: 2rem 0; border-top: 1px solid var(--border-strong); }
.offer__icon .icon { width: 2.25rem; height: 2.25rem; color: var(--blue-600); }
.offer__title { margin-bottom: .5rem; }
.offer__body p { margin-bottom: .75rem; }
.offer__body .offer__suited { color: var(--muted); font-size: .9375rem; margin-bottom: 0; }
@media (min-width: 768px) { .offer { grid-template-columns: 4rem 1fr; gap: 2rem; } .offer__body { max-width: 46rem; } }

.duo { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .duo { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.panel { background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--navy-900); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.panel p { font-size: 1.0625rem; margin-bottom: 0; }

.checklist { list-style: none; margin-bottom: 1.5rem; }
.checklist li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .75rem; padding: .35rem 0; }
.checklist .icon { width: 1.25rem; height: 1.25rem; margin-top: .2rem; color: var(--blue-600); }
.checklist--spaced li { padding: .875rem 0; border-bottom: 1px solid var(--border); }
.checklist--spaced li:first-child { border-top: 1px solid var(--border); }

.feature-list { list-style: none; display: grid; gap: 1.5rem; }
.feature-list li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; }
.feature-list .icon { width: 1.75rem; height: 1.75rem; color: var(--blue-600); }
.feature-list h3 { font-size: 1.125rem; margin-bottom: .25rem; }
.feature-list p { color: var(--muted); margin-bottom: 0; }

.notice { background: var(--surface-alt); border-left: 3px solid var(--gold-500); padding: 1.5rem 1.75rem; }
.notice p:last-child { margin-bottom: 0; }
.notice__lead { font-size: 1.125rem; font-weight: 500; }

.detail-list > div { display: grid; gap: .25rem 1.5rem; padding: .9rem 0; border-bottom: 1px solid var(--border-strong); }
.detail-list > div:first-child { border-top: 1px solid var(--border-strong); }
.detail-list dt { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
@media (min-width: 640px) { .detail-list > div { grid-template-columns: minmax(9rem, 12rem) 1fr; } }
.detail-list--compact { margin-top: 1.5rem; }
@media (min-width: 640px) { .detail-list--compact > div { grid-template-columns: 1fr; } }

/* Team */
.team-grid { list-style: none; display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.team-card__frame { margin-bottom: 1rem; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--surface-alt); }
.team-card__frame img { width: 100%; height: 100%; object-fit: cover; }
.team-card__name { font-size: 1.25rem; margin-bottom: .125rem; }
.team-card__role { color: var(--blue-600); font-weight: 600; font-size: .9375rem; margin-bottom: .5rem; }
.team-card__bio { color: var(--muted); font-size: .9375rem; margin-bottom: .75rem; }
.team-card__link { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-size: .9375rem; }
.team-card__link .icon { width: 1.25rem; height: 1.25rem; }

/* Testimonials */
.quotes { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.quote { margin: 0; padding-top: 1.25rem; border-top: 2px solid var(--gold-500); }
.quote blockquote { margin: 0 0 1rem; }
.quote blockquote p { font-family: var(--font-serif); font-size: 1.1875rem; line-height: 1.5; color: var(--navy-900); }
.quote figcaption { color: var(--muted); font-size: .9375rem; }
.quote__name { font-weight: 600; color: var(--ink); }

/* FAQ and accordion */
.faq-layout { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .faq-layout { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; }
  .faq-layout > :first-child { grid-column: 1 / span 4; }
  .faq-layout > :last-child { grid-column: 5 / span 8; }
}
.accordion { border-top: 1px solid var(--border-strong); }
.accordion__item { border-bottom: 1px solid var(--border-strong); }
.accordion__heading { margin: 0; font-family: var(--font-sans); letter-spacing: 0; }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 3.5rem;
  padding: 1rem 0;
  font: 600 1.0625rem/1.4 var(--font-sans);
  text-align: left;
  color: var(--navy-900);
  background: none;
  border: 0;
  cursor: pointer;
}
.accordion__trigger:hover { color: var(--blue-600); }
.accordion__trigger .icon { transition: transform .2s ease; }
.accordion__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.accordion__panel { padding: 0 0 1.25rem; color: var(--ink); }
.accordion__panel p { margin-bottom: 0; }

/* Closing CTA band */
.cta-band { position: relative; isolation: isolate; background: var(--navy-900); padding-block: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.cta-band__inner { display: grid; gap: 2rem; align-items: center; }
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { color: #fff; margin-bottom: 0; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.cta-band__links { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.cta-band__links a { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; }
.cta-band__links .icon { width: 1.25rem; height: 1.25rem; color: var(--gold-500); }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.3fr 1fr; gap: 3rem; } }

/* Contact page */
.contact-layout { display: grid; gap: 3rem; }
.contact-layout__intro { color: var(--muted); }
.contact-layout__details { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2rem); align-self: start; }
.contact-layout__details h2 { font-size: 1.5rem; }
.contact-layout__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; max-width: none; }
.contact-layout__photo img { width: 100%; border-radius: var(--radius); }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 7fr 5fr; gap: 3.5rem; } }

.contact-list { list-style: none; display: grid; gap: 1rem; }
.contact-list li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .875rem; align-items: start; }
.contact-list .icon { width: 1.25rem; height: 1.25rem; margin-top: .25rem; color: var(--blue-600); }
.on-dark .contact-list .icon { color: var(--gold-500); }
.contact-list__label { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.4; }
.on-dark .contact-list__label { color: var(--on-dark-muted); }
.contact-list a { overflow-wrap: anywhere; }

.map { width: 100%; height: clamp(20rem, 38vw, 28rem); border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; background: #fff; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__empty { display: grid; place-items: center; height: 100%; padding: 1.5rem; text-align: center; margin: 0; max-width: none; }

/* Legal pages */
.legal { max-width: 48rem; }
.legal__meta { color: var(--muted); font-size: var(--fs-small); }
.legal__toc { margin: 1.5rem 0 2.5rem; padding: 1.25rem 1.5rem; background: var(--surface-alt); border-radius: var(--radius); }
.legal__toc ol { padding-left: 1.25rem; columns: 1; }
.legal__toc li { padding: .15rem 0; }
@media (min-width: 640px) { .legal__toc ol { columns: 2; column-gap: 2rem; } }
.legal h2 { font-size: 1.5rem; margin: 2.5rem 0 .75rem; }
.legal h3 { font-size: 1.125rem; margin: 1.5rem 0 .5rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.25rem; max-width: 70ch; }
.legal li { padding: .15rem 0; }

/* 404 */
.not-found__body { max-width: 40rem; padding-block: clamp(1rem, 4vw, 3rem); }
.not-found__code { font-family: var(--font-serif); font-size: clamp(4rem, 12vw, 7rem); line-height: 1; color: var(--navy-700); margin-bottom: 1rem; }
.not-found__links { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- 8. Forms ---------- */
.form-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.section--alt .form-panel { box-shadow: var(--shadow); }
.form__fields { display: grid; gap: 1.125rem; }
.field { display: flex; flex-direction: column; gap: .375rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.field__label { display: block; padding: 0; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--muted); }
.field__help { margin: 0; font-size: .8125rem; color: var(--muted); }
.field__error { margin: 0; font-size: .875rem; font-weight: 500; color: var(--danger); }
.field__error:empty { display: none; }
.input {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: .65rem .875rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:hover { border-color: var(--navy-700); }
.input:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(31, 95, 168, .25); outline: 0; }
textarea.input { min-height: 7rem; resize: vertical; line-height: 1.5; }
select.input {
  appearance: none;
  padding-right: 2.5rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231B2430' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .75rem center;
}
input[type="file"].input { padding: .55rem .75rem; }
input[type="file"].input::file-selector-button { margin-right: .75rem; padding: .4rem .8rem; font: 600 .875rem var(--font-sans); color: var(--navy-900); background: var(--surface-alt); border: 1px solid var(--border-strong); border-radius: var(--radius); cursor: pointer; }
.field.has-error .input { border-color: var(--danger); }
.field.has-error .input:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .2); }

.field--check { display: grid; grid-template-columns: 1.5rem 1fr; column-gap: .75rem; align-items: start; }
.field--check .field__error { grid-column: 1 / -1; margin-top: .375rem; }
.check { width: 1.5rem; height: 1.5rem; margin: .1rem 0 0; accent-color: var(--navy-900); cursor: pointer; }
.check__label { font-size: .875rem; line-height: 1.5; color: var(--ink); cursor: pointer; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; }
.segmented__item { position: relative; display: block; }
.segmented__item + .segmented__item { border-left: 1px solid var(--border-strong); }
.segmented__input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segmented__label { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .5rem .75rem; font-size: .9375rem; font-weight: 600; color: var(--navy-900); background: #fff; text-align: center; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.segmented__input:checked + .segmented__label { background: var(--navy-900); color: #fff; }
.segmented__input:focus-visible + .segmented__label { outline: 3px solid var(--blue-600); outline-offset: -3px; }
.segmented__input:checked:focus-visible + .segmented__label { outline-color: var(--gold-500); }

.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__actions { margin-top: 1.5rem; }
.form__actions .btn { min-width: 12rem; }
.form__status { margin: 1rem 0 0; font-size: .9375rem; font-weight: 500; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--danger); }
.form__success { padding: 1.5rem; background: var(--surface-alt); border-left: 3px solid var(--gold-500); border-radius: var(--radius); }
.form__success:focus { outline: none; }
.form__success p { margin-bottom: 0; }
.form__success .form__success-title { font-family: var(--font-serif); font-size: 1.375rem; font-weight: 600; color: var(--navy-900); margin-bottom: .5rem; }
.form.is-sent .form__fields, .form.is-sent .form__actions, .form.is-sent .form__status { display: none; }

@media (max-width: 719px) { .field--desktop { display: none; } }
.form--popup .form__fields { gap: .875rem; }
.form--popup textarea.input { min-height: 5rem; }
@media (min-width: 720px) {
  .form:not(.form--popup) .form__fields { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; }
  .form:not(.form--popup) .field--wide { grid-column: 1 / -1; }
}
@media (min-width: 720px) {
  .form--popup .form__fields { grid-template-columns: 1fr 1fr; }
  .form--popup .field { grid-column: 1 / -1; }
  .form--popup .field:nth-child(-n+2) { grid-column: auto; }
}
.form--popup .form__actions { margin-top: 1.125rem; }
.form--popup .form__actions .btn { width: 100%; }

/* ---------- 9. Footer ---------- */
.site-footer { background: var(--navy-900); padding-top: clamp(3rem, 6vw, 4.5rem); color: var(--on-dark-muted); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.25fr .9fr 1.1fr 1.5fr; gap: 3rem; } }
.site-footer__brand p { margin: 1.25rem 0; max-width: 24rem; }
.site-footer__title { font-family: var(--font-sans); font-size: .9375rem; font-weight: 600; letter-spacing: 0; color: #fff; margin: 0 0 1rem; }
.site-footer ul { list-style: none; }
.site-footer__col li a { display: inline-block; padding: .3rem 0; color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__sub { display: block; margin-top: 2rem; }
.site-footer__contact a { color: #fff; }
.site-footer__contact .contact-list li { grid-template-columns: 1.25rem 1fr; }
.site-footer__directions { margin: 1.25rem 0 0; }
.site-footer__directions a { color: #fff; font-weight: 600; }
.social { display: flex; flex-wrap: wrap; gap: .5rem; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--on-dark-line); border-radius: var(--radius); color: #fff; }
.social a:hover { border-color: var(--gold-500); text-decoration: none; }
.social .icon { width: 1.25rem; height: 1.25rem; }
.site-footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.5rem; border-top: 1px solid var(--on-dark-line); font-size: .875rem; }
.site-footer__bar p { margin: 0; max-width: none; }
.site-footer__bar ul { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.site-footer__bar a { display: inline-block; padding: .5rem 0; color: var(--on-dark-muted); }

/* ---------- 10. Overlays: popup, WhatsApp, cookie ---------- */
.popup { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.popup__overlay { position: absolute; inset: 0; background: rgba(11, 37, 69, .55); opacity: 0; transition: opacity .25s ease; }
.popup__dialog {
  position: relative;
  width: 100%;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  color: var(--ink);
  border-radius: 8px 8px 0 0;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .25s ease, transform .25s ease;
}
.popup__dialog:focus { outline: none; }
.popup.is-open .popup__overlay { opacity: 1; }
.popup.is-open .popup__dialog { opacity: 1; transform: none; }
.popup__side { display: none; }
.popup__body { padding: 1.25rem 1.25rem 1.5rem; }
.popup__title { font-size: 1.375rem; padding-right: 2.75rem; margin-bottom: .375rem; }
.popup__subtitle { font-size: .9375rem; color: var(--muted); margin-bottom: 1.125rem; }
.popup__close { position: absolute; top: .375rem; right: .375rem; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; color: var(--navy-900); background: transparent; border: 0; border-radius: var(--radius); cursor: pointer; }
.popup__close:hover { background: var(--surface-alt); }
@media (min-width: 720px) {
  .popup { align-items: center; padding: 1.5rem; }
  .popup__dialog { max-width: 54rem; max-height: calc(100vh - 3rem); max-height: calc(100dvh - 3rem); display: grid; grid-template-columns: 17rem 1fr; border-radius: var(--radius-lg); transform: translateY(16px); }
  .popup__side { display: block; position: relative; background: var(--surface-alt); }
  .popup__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .popup__body { padding: 2rem 2.25rem; }
  .popup__title { font-size: 1.625rem; }
  .popup__close { top: .625rem; right: .625rem; }
}

.wa { position: fixed; bottom: 1rem; z-index: 60; display: flex; flex-direction: column; gap: .75rem; }
.wa--right { right: 1rem; align-items: flex-end; }
.wa--left { left: 1rem; align-items: flex-start; }
.wa__fab { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .625rem; min-width: 3.5rem; height: 3.5rem; padding: 0 1.125rem; font: 600 .9375rem var(--font-sans); color: #fff; background: var(--navy-900); border: 1px solid var(--gold-500); border-radius: 2rem; box-shadow: var(--shadow); cursor: pointer; transition: background-color .15s ease; }
.wa__fab:hover { background: var(--navy-700); }
.wa__fab .icon { color: var(--gold-500); }
@media (max-width: 639px) {
  .wa__fab { width: 3.5rem; padding: 0; }
  .wa__fab-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.wa__card { width: min(22rem, calc(100vw - 2rem)); background: #fff; color: var(--ink); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.wa__card.is-open { opacity: 1; transform: none; }
.wa__head { position: relative; display: flex; align-items: center; gap: .875rem; padding: 1rem 3.5rem 1rem 1rem; color: #fff; background: var(--navy-900); }
.wa__avatar { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold-500); background: var(--navy-700); }
.wa__name { margin: 0; font-weight: 600; line-height: 1.3; }
.wa__status { margin: .125rem 0 0; font-size: .8125rem; color: var(--on-dark-muted); }
.wa__close { position: absolute; top: .5rem; right: .5rem; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; color: #fff; background: transparent; border: 0; border-radius: var(--radius); cursor: pointer; }
.wa__close:hover { background: rgba(255, 255, 255, .12); }
.wa__close:focus-visible { outline-color: #fff; }
.wa__body { padding: 1rem; }
.wa__greeting { margin: 0 0 1rem; padding: .75rem .875rem; background: var(--surface-alt); border-radius: var(--radius); font-size: .9375rem; }
.wa__options { list-style: none; display: grid; gap: .5rem; margin-bottom: 1rem; }
.wa__option { display: flex; align-items: center; min-height: 2.75rem; padding: .5rem .875rem; font-weight: 500; font-size: .9375rem; color: var(--navy-900); text-decoration: none; border: 1px solid var(--border-strong); border-radius: var(--radius); }
.wa__option:hover { background: var(--surface-alt); color: var(--navy-900); }
@media (max-width: 639px) { .cookie-open .wa { display: none; } }

.cookie { position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 70; max-width: 27rem; padding: 1.25rem; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--navy-900); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.cookie__title { margin: 0 0 .25rem; font-family: var(--font-serif); font-size: 1.125rem; font-weight: 600; color: var(--navy-900); }
.cookie__text { margin: 0 0 1rem; font-size: .9375rem; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 640px) { .cookie { right: auto; left: 1rem; bottom: 1rem; } }

/* ---------- 11. Utilities and motion ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.reveal { transition: opacity .5s ease, transform .5s ease; }
.reveal.is-hidden { opacity: 0; transform: translateY(14px); }

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