/* =========================================================
   DoveHills Continental Limited — Glass UI stylesheet (light theme)
   Brand colours sampled from the logo: wine, forest green, gold, cream.

   Colours are set with tokens. The page is light by default; areas that sit
   on photos or deep green (hero, page heroes, photo bands, service photo cards,
   footer) switch to the dark token set further down ("Dark zones").
   ========================================================= */

:root {
  /* Brand */
  --wine: #8e1426;
  --wine-deep: #750f1c;
  --green: #2f6b3c;
  --green-deep: #12351a;
  --green-night: #08180e;
  --gold: #d4a94f;
  --gold-light: #ecd08f;
  --gold-dark: #95680f;
  --cream: #fdfcf3;
  --cream-2: #f6f1e1;

  /* Text (light zones) */
  --text: #2a332c;
  --text-dim: #586257;
  --heading: #0f2e17;
  --accent: #8e1426;          /* italic highlights, links, numbers */
  --eyebrow: #2f6b3c;
  --eyebrow-bg: rgba(212, 169, 79, .16);
  --eyebrow-border: rgba(212, 169, 79, .45);
  --line: #e4e8e2;

  /* Glass (light zones) */
  --glass-bg: rgba(255, 255, 255, .86);
  --glass-bg-strong: rgba(255, 255, 255, .94);
  --glass-bg-hover: #fff;
  --glass-border: #e4e8e2;
  --glass-border-strong: #d6ddd4;
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, .9);
  --glass-blur: blur(16px) saturate(140%);
  --glass-shadow: 0 1px 2px rgba(15, 46, 23, .04), 0 8px 24px rgba(15, 46, 23, .06);
  --glass-shadow-hover: 0 2px 4px rgba(15, 46, 23, .05), 0 18px 40px rgba(15, 46, 23, .1);
  --btn-glass-bg: #fff;
  --btn-glass-bg-hover: #f4f7f3;
  --field-bg: #fafbf9;
  --field-bg-focus: #fff;

  /* Icon chips (light zones) */
  --ci-gold-bg: rgba(212, 169, 79, .2);   --ci-gold-fg: #95680f;  --ci-gold-border: rgba(212, 169, 79, .4);
  --ci-wine-bg: rgba(142, 20, 38, .09);   --ci-wine-fg: #8e1426;  --ci-wine-border: rgba(142, 20, 38, .2);
  --ci-green-bg: rgba(47, 107, 60, .12);  --ci-green-fg: #2f6b3c; --ci-green-border: rgba(47, 107, 60, .25);

  --success: #2f7a43;
  --error: #b3233a;

  /* Type */
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1240px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 18px;
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Dark zones (on photos / deep green) ---------- */
.hero, .page-hero, .band, .svc, .footer__card {
  --text: rgba(253, 252, 243, .82);
  --text-dim: rgba(253, 252, 243, .62);
  --heading: #fdfcf3;
  --accent: #ecd08f;
  --eyebrow: #ecd08f;
  --eyebrow-bg: rgba(212, 169, 79, .12);
  --eyebrow-border: rgba(212, 169, 79, .32);
  --line: rgba(255, 255, 255, .14);

  --glass-bg: rgba(10, 30, 17, .28);
  --glass-bg-strong: rgba(10, 30, 17, .42);
  --glass-bg-hover: rgba(10, 30, 17, .5);
  --glass-border: rgba(255, 255, 255, .18);
  --glass-border-strong: rgba(255, 255, 255, .26);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, .16);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  --btn-glass-bg: rgba(255, 255, 255, .1);
  --btn-glass-bg-hover: rgba(255, 255, 255, .2);
  --field-bg: rgba(255, 255, 255, .06);
  --field-bg-focus: rgba(255, 255, 255, .1);

  --ci-gold-bg: rgba(212, 169, 79, .25);  --ci-gold-fg: #ecd08f;  --ci-gold-border: rgba(212, 169, 79, .4);
  --ci-wine-bg: rgba(169, 27, 48, .45);   --ci-wine-fg: #f6c4cb;  --ci-wine-border: rgba(214, 70, 92, .4);
  --ci-green-bg: rgba(76, 160, 98, .35);  --ci-green-fg: #b9e8c4; --ci-green-border: rgba(120, 200, 140, .35);

  --success: #9fe0b0;
  --error: #f4a3ae;
  color: var(--text);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.15; font-weight: 600; font-family: var(--font-display); letter-spacing: -.01em; }
h1, h2 { font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
h3 { font-size: 1.15rem; letter-spacing: -.005em; }
p a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--gold); color: var(--green-night); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.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;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--gold); color: var(--green-night); padding: 10px 16px; border-radius: 8px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Ambient background (soft colour glows behind the glass) ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #fff; }
.ambient__orb, .ambient::after { display: none; }
.ambient__orb { position: absolute; border-radius: 50%; filter: blur(100px); animation: drift 26s ease-in-out infinite alternate; }
.ambient__orb--wine { width: 520px; height: 520px; background: #e8a3ad; top: 35%; left: -200px; opacity: .35; }
.ambient__orb--gold { width: 480px; height: 480px; background: #f1d38c; top: -140px; right: -120px; opacity: .55; animation-delay: -8s; }
.ambient__orb--green { width: 620px; height: 620px; background: #a9d6b2; bottom: -240px; right: 8%; opacity: .5; animation-delay: -16s; }
.ambient::after {
  content: ""; position: absolute; inset: 0; opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(80px, -60px) scale(1.15); } }

/* ---------- Glass primitive ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}
.glass--strong { background: var(--glass-bg-strong); border-color: var(--glass-border-strong); }
.glass--hover { transition: transform .4s var(--ease), background-color .4s, border-color .4s, box-shadow .4s; }
.glass--hover:hover { transform: translateY(-6px); background: var(--glass-bg-hover); border-color: var(--glass-border-strong); box-shadow: var(--glass-highlight), var(--glass-shadow-hover, 0 30px 60px rgba(0, 0, 0, .4)); }

/* Light sheen that follows the mouse (set by JS via --mx / --my) */
.sheen { position: relative; overflow: hidden; }
.sheen::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .55), transparent 45%);
}
.sheen:hover::before { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 10px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--green-deep); color: #fff; box-shadow: 0 1px 2px rgba(15, 46, 23, .1), 0 6px 16px rgba(15, 46, 23, .18); }
.btn--primary:hover { background: #1b4a26; }
:is(.hero, .page-hero, .band, .svc, .footer__card) .btn--primary { background: var(--gold); color: var(--green-night); box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
:is(.hero, .page-hero, .band, .svc, .footer__card) .btn--primary:hover { background: var(--gold-light); }
.btn--glass {
  background: var(--btn-glass-bg); color: var(--heading); border-color: var(--glass-border-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px rgba(15, 46, 23, .06);
}
.btn--glass:hover { background: var(--btn-glass-bg-hover); }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--accent); }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 0; border-radius: 0; margin-bottom: 1rem;
  font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--eyebrow);
  background: var(--eyebrow-bg); border: 1px solid var(--eyebrow-border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.eyebrow { background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; font-size: .78rem; font-weight: 700; letter-spacing: .14em; }
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 0; background: var(--gold); box-shadow: none; }

.section { position: relative; padding-block: clamp(2.5rem, 4.5vw, 4rem); }
.section--tight { padding-block: clamp(1.75rem, 3.5vw, 2.75rem); }
.section__head { max-width: 720px; margin: 0 auto clamp(1.75rem, 3.5vw, 2.75rem); text-align: center; }
.section__head--left { text-align: left; margin-inline: 0; }
.section__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; text-align: left; }
.section__head--split > div { max-width: 640px; }
.section__title { font-size: clamp(1.85rem, 3.4vw, 2.7rem); margin-bottom: 1rem; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
.section__lead { font-size: 1.08rem; color: var(--text-dim); }

/* ---------- Header (light glass pill) ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding-top: 14px; transition: padding .35s var(--ease); }
.header.is-scrolled { padding-top: 8px; }
.header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: 68px; padding: 0 .6rem 0 .8rem; border-radius: 14px;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(15, 46, 23, .08);
  backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 30px rgba(18, 53, 26, .12);
  transition: background-color .35s;
}
.header.is-scrolled .header__bar { background: rgba(255, 255, 255, .92); }

.brand { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand__mark { width: 48px; height: 48px; border-radius: 50%; background: #fff; padding: 3px; object-fit: contain; box-shadow: 0 4px 14px rgba(18, 53, 26, .15); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: 1.35rem; color: var(--green-deep); }
.brand__name span { color: var(--wine); }
.brand__sub { font-size: .58rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--green); margin-top: 5px; }
.footer__card .brand__name { color: var(--cream); }
.footer__card .brand__name span { color: var(--gold-light); }
.footer__card .brand__sub { color: var(--text-dim); }

.nav { display: flex; align-items: center; gap: 1rem; }
.nav__list { display: flex; gap: .15rem; }
.nav__link {
  display: block; padding: .55rem .95rem; border-radius: 8px;
  font-weight: 600; font-size: .93rem; color: #3f4a40;
  transition: color .25s, background-color .25s;
}
.nav__link:hover { color: var(--green-deep); background: rgba(18, 53, 26, .06); }
.nav__link.is-active { color: var(--cream); background: var(--green-deep); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(18, 53, 26, .1);
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--green-deep); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: center;
  padding-block: calc(var(--header-h) + 3rem) 6rem; overflow: hidden; isolation: isolate;
  border-radius: 0 0 clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: slowZoom 24s ease-out forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 24, 14, .78) 0%, rgba(8, 24, 14, .45) 50%, rgba(8, 24, 14, .1) 100%);
}
@keyframes slowZoom { to { transform: scale(1); } }

.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; width: 100%; }
.hero__panel { padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius-lg); }
.hero__title { font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.06; margin-bottom: 1.4rem; }
.hero__lead { font-size: 1.12rem; max-width: 560px; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__side { display: grid; gap: 1rem; justify-items: end; }
.hero__chip { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; border-radius: var(--radius); width: min(100%, 300px); }
.hero__chip:nth-child(2) { animation-delay: -2.3s; margin-right: 2.5rem; }
.hero__chip:nth-child(3) { animation-delay: -4.6s; }
.hero__chip strong { display: block; color: var(--heading); font-size: .98rem; line-height: 1.25; }
.hero__chip span { display: block; font-size: .82rem; color: var(--text-dim); line-height: 1.35; }

.chip-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  background: var(--ci-gold-bg); color: var(--ci-gold-fg); border: 1px solid var(--ci-gold-border);
}
.chip-icon--wine { background: var(--ci-wine-bg); color: var(--ci-wine-fg); border-color: var(--ci-wine-border); }
.chip-icon--green { background: var(--ci-green-bg); color: var(--ci-green-fg); border-color: var(--ci-green-border); }
.chip-icon .icon { width: 22px; height: 22px; }

.scroll-cue { position: absolute; left: 50%; bottom: 4.5rem; translate: -50% 0; display: grid; justify-items: center; gap: .4rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim); }
.scroll-cue::after { content: ""; width: 1px; height: 38px; background: linear-gradient(var(--gold-light), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Stats bar ---------- */
.stats { position: relative; z-index: 2; margin-top: -3.5rem; margin-bottom: 1rem; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); overflow: hidden; }
.stat { padding: 1.9rem 1.5rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; font-size: clamp(2.1rem, 3.6vw, 2.8rem); line-height: 1; color: var(--green-deep); margin-bottom: .45rem; }
.stat__label { font-size: .88rem; color: var(--text-dim); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: calc(var(--header-h) + 5rem) clamp(3.5rem, 7vw, 5rem);
  min-height: 58vh; display: flex; align-items: flex-end;
  border-radius: 0 0 clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px);
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8, 24, 14, .7) 0%, rgba(8, 24, 14, .35) 60%, rgba(8, 24, 14, .15) 100%);
}
.page-hero__panel { max-width: 760px; padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: var(--radius-lg); }
.page-hero__title { font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.08; margin-bottom: 1rem; }
.page-hero__lead { font-size: 1.1rem; max-width: 600px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .85rem; color: var(--text-dim); margin-bottom: 1.25rem; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumb [aria-current] { color: var(--heading); font-weight: 600; }

/* ---------- Generic grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Feature / info cards ---------- */
.card { padding: 2rem; border-radius: var(--radius); }
.card .chip-icon { margin-bottom: 1.35rem; }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .95rem; color: var(--text-dim); }
.card--row { display: flex; gap: 1.1rem; align-items: flex-start; }
.card--row .chip-icon { margin-bottom: 0; }
.card__title-lg { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -.02em; }
.card .card__text-lg { font-size: 1.05rem; color: var(--text); }

/* ---------- Split layouts (text + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__content > p { margin-bottom: 1.25rem; font-size: 1.04rem; }
.split__content .btn, .split__content .link-arrow { margin-top: .75rem; }

.media { position: relative; }
.media__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 0; box-shadow: 0 2px 6px rgba(15, 46, 23, .06), 0 20px 50px rgba(15, 46, 23, .12); }
.media__frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 1.2s var(--ease); }
.media__frame--tall img { aspect-ratio: 4 / 5; }
.media:hover .media__frame img { transform: scale(1.04); }
.media__badge { position: absolute; padding: 1.1rem 1.3rem; border-radius: var(--radius); max-width: 250px; }
.media__badge--br { right: -1.5rem; bottom: 1.75rem; }
.media__badge--tl { left: -1.5rem; top: 1.75rem; }
.media__badge strong { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; font-size: 2.1rem; line-height: 1; color: var(--accent); margin-bottom: .35rem; }
.media__badge span { display: block; font-size: .85rem; line-height: 1.4; }
.media__badge--chip { display: flex; align-items: center; gap: .8rem; }
.media__badge--chip strong { font-family: var(--font-body); font-weight: 700; font-size: .98rem; color: var(--heading); margin: 0; }

.ticks { display: grid; gap: .8rem; margin-block: 1.5rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; }
.ticks .icon { color: #fff; background: var(--green); border-radius: 50%; padding: 4px; width: 22px; height: 22px; stroke-width: 3; margin-top: 2px; }

/* ---------- Service cards (image + glass caption) ---------- */
.svc {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 20px 50px rgba(18, 53, 26, .16);
  transition: box-shadow .4s, transform .4s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(18, 53, 26, .24); }
.svc__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(8, 24, 14, .7) 100%); }
.svc:hover .svc__img { transform: scale(1.07); }
.svc__body { margin: .85rem; padding: 1.35rem 1.4rem; border-radius: var(--radius); }
.svc__body h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .4rem; font-size: 1.2rem; }
.svc__body h3 .icon { color: var(--gold-light); }
.svc__body p { font-size: .92rem; color: var(--text); }
.svc__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; font-weight: 700; font-size: .88rem; color: var(--gold-light); }
.svc__more .icon { transition: transform .3s var(--ease); }
.svc:hover .svc__more .icon { transform: translateX(4px); }

/* Detailed service rows on services page */
.svc-row + .svc-row { margin-top: clamp(2.75rem, 5vw, 4rem); }
.svc-row__num { font-family: var(--font-body); font-weight: 700; font-size: .8rem; text-transform: uppercase; color: var(--green); letter-spacing: .14em; margin-bottom: .75rem; display: block; }

/* ---------- Steps (How we work) ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.step { padding: 1.6rem 1.25rem; border-radius: var(--radius); position: relative; }
.step__num {
  display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; margin-bottom: 1.25rem;
  font-weight: 800; color: var(--green-night); background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 0 6px rgba(212, 169, 79, .18), 0 8px 20px rgba(212, 169, 79, .3);
}
.step h3 { margin-bottom: .5rem; font-size: 1.02rem; min-height: 2.4em; }
.step p { font-size: .9rem; color: var(--text-dim); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 3.3rem; right: -1rem; width: .75rem; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ---------- Values ---------- */
.values { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.values .card { flex: 1 1 260px; max-width: calc(25% - .95rem); }

/* ---------- Chips (partners) ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; max-width: 980px; margin-inline: auto; }
.chips li {
  display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.25rem; border-radius: 10px;
  font-weight: 600; color: var(--heading); transition: transform .3s var(--ease), border-color .3s, background-color .3s;
}
.chips li:hover { transform: translateY(-3px); border-color: rgba(212, 169, 79, .6); background: rgba(255, 255, 255, .85); }
.chips .icon { color: var(--gold-dark); }

/* ---------- Photo band with glass panel ---------- */
.band { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2rem, 6vw, 4.5rem); box-shadow: 0 24px 60px rgba(18, 53, 26, .18); }
.band__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 24, 14, .7), rgba(8, 24, 14, .15)); }
.band__panel { max-width: 620px; padding: clamp(1.75rem, 4vw, 2.5rem); border-radius: var(--radius); }
.band__panel h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .9rem; }
.band__panel p { margin-bottom: 1.6rem; }
.band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Quote ---------- */
.quote { max-width: 900px; margin-inline: auto; text-align: center; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-lg); }
.quote blockquote { font-family: var(--font-display); font-weight: 500; letter-spacing: -.015em; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.4; color: var(--heading); margin-bottom: 1.25rem; }
.quote cite { font-style: normal; font-size: .9rem; color: var(--accent); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .9rem; }
.faq__item { border-radius: var(--radius); transition: background-color .3s, border-color .3s; }
.faq__item[open] { background: var(--glass-bg-strong); border-color: rgba(212, 169, 79, .55); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 1.25rem 1.5rem; font-weight: 700; color: var(--heading);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--ci-gold-bg); border: 1px solid var(--ci-gold-border); color: var(--ci-gold-fg);
  font-size: 1.2rem; font-weight: 500; transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 1.5rem 1.35rem; color: var(--text-dim); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.5rem; align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: center; padding: 1.25rem 1.4rem; border-radius: var(--radius); }
.contact-card strong { display: block; color: var(--heading); font-size: .92rem; }
.contact-card span, .contact-card a { font-size: .95rem; color: var(--text-dim); overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--accent); }

.form { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-lg); display: grid; gap: 1.15rem; }
.form h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form__field { display: grid; gap: .45rem; }
.form__field label { font-weight: 700; font-size: .85rem; color: var(--heading); }
.form__field input, .form__field select, .form__field textarea {
  width: 100%; padding: .9rem 1.05rem; border-radius: var(--radius-sm);
  background: var(--field-bg); border: 1px solid var(--line); color: var(--heading);
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.form__field input::placeholder, .form__field textarea::placeholder { color: var(--text-dim); opacity: .7; }
.form__field select option { background: #fff; color: var(--green-deep); }
.form__field textarea { resize: vertical; min-height: 140px; }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--field-bg-focus); box-shadow: 0 0 0 4px rgba(212, 169, 79, .2);
}
.form__field.has-error input, .form__field.has-error textarea { border-color: var(--error); }
.form__status { font-weight: 600; font-size: .92rem; min-height: 1.2em; }
.is-success { color: var(--success); }
.is-error { color: var(--error); }

.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--glass-shadow); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75); }

/* ---------- Footer (deep green glass) ---------- */
.footer { position: relative; margin-top: clamp(2rem, 5vw, 4rem); padding-bottom: 1.25rem; }
.footer__card {
  border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem) 0;
  background: linear-gradient(135deg, rgba(18, 53, 26, .96), rgba(10, 34, 18, .94));
  border-color: rgba(255, 255, 255, .12);
}
.footer__cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.footer__cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); max-width: 620px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer__brand p { max-width: 320px; margin: 1.25rem 0 1.5rem; font-size: .95rem; }
.footer h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.1rem; }
.footer__col ul { display: grid; gap: .65rem; font-size: .95rem; }
.footer__col a { transition: color .2s, padding-left .25s var(--ease); }
.footer__col a:hover { color: var(--heading); padding-left: 4px; }
.footer__col > p { font-size: .93rem; margin-bottom: 1rem; }

.socials { display: flex; gap: .6rem; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--glass-border);
  transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.socials a:hover { background: var(--gold); color: var(--green-night); transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }

.newsletter { display: flex; gap: .4rem; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--glass-border); }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; padding: .6rem 1rem; color: var(--heading); }
.newsletter input::placeholder { color: var(--text-dim); }
.newsletter input:focus { outline: none; }
.newsletter .btn { padding: .75rem 1rem; }
.newsletter__status { margin-top: .6rem; font-size: .85rem; min-height: 1.2em; }

.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-block: 1.4rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--text-dim); }
.footer__bottom ul { display: flex; gap: 1.5rem; }
.footer__bottom a:hover { color: var(--gold-light); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; color: var(--green-deep);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--green-night); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   Breakpoints (mobile-first thinking, desktop-down queries):
     ≥1600  large desktop / TV       → wider container
     ≤1199  small laptop / tablet landscape
     ≤991   tablet portrait          → mobile menu, single-column splits
     ≤767   large phone / small tablet
     ≤575   phone
     ≤374   small phone (iPhone SE 1st gen, Galaxy Fold folded)
   Plus: landscape phones, touch devices, notch safe-areas, print.
   ========================================================= */

/* ---------- Large desktop ---------- */
@media (min-width: 1600px) {
  :root { --container: 1380px; }
  html { font-size: 17px; }
  .hero__title { font-size: 4.4rem; }
}

/* ---------- Small laptop / tablet landscape ---------- */
@media (max-width: 1199px) {
  .header__bar { gap: 1rem; }
  .nav { gap: .6rem; }
  .nav__link { padding: .5rem .7rem; font-size: .9rem; }
  .nav .btn { padding: .85rem 1.15rem; }
  .hero__inner { grid-template-columns: 1.2fr .8fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step::after { display: none; }
  .values .card { flex-basis: calc(33.333% - 1.25rem); max-width: calc(33.333% - .84rem); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .media__badge--br { right: -.75rem; }
  .media__badge--tl { left: -.75rem; }
}

/* ---------- Tablet portrait: mobile menu + stacked layouts ---------- */
@media (max-width: 991px) {
  :root { --header-h: 80px; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: calc(var(--header-h) + 4px); left: max(20px, env(safe-area-inset-left)); right: max(20px, env(safe-area-inset-right));
    flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem;
    max-height: calc(100vh - var(--header-h) - 24px); max-height: calc(100dvh - var(--header-h) - 24px); overflow-y: auto; overscroll-behavior: contain;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .97); border: 1px solid rgba(15, 46, 23, .08);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 24px 60px rgba(18, 53, 26, .2);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98);
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: .25rem; }
  .nav__link { padding: .95rem 1.1rem; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .nav .btn { width: 100%; padding: 1rem; }

  .hero { min-height: auto; padding-block: calc(var(--header-h) + 3rem) 6rem; }
  .hero__inner, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero__panel { max-width: 680px; }
  .split--reverse > :first-child { order: 0; }
  .hero__side { grid-template-columns: repeat(3, 1fr); justify-items: stretch; }
  .hero__chip { width: 100%; animation: none; }
  .hero__chip:nth-child(2) { margin-right: 0; }
  .scroll-cue { display: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .media { max-width: 640px; margin-inline: auto; width: 100%; }
  .media__badge--br { right: 1rem; }
  .media__badge--tl { left: 1rem; }
  .section__head--split { flex-direction: column; align-items: flex-start; }
  .footer__cta { flex-direction: column; align-items: flex-start; }
  .page-hero { min-height: 48vh; padding-top: calc(var(--header-h) + 3.5rem); }
  .faq { max-width: 760px; }
  #faq .split { gap: 1rem; }
}

/* ---------- Large phone / small tablet ---------- */
@media (max-width: 767px) {
  .container { padding-inline: max(18px, env(safe-area-inset-left)); }
  .section { padding-block: 2.25rem; }
  .section--tight { padding-block: 1.5rem; }
  .hero__side { grid-template-columns: 1fr 1fr; }
  .hero__chip:nth-child(3) { display: none; }
  .grid--2, .form__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step h3 { min-height: 0; }
  .values .card { flex-basis: calc(50% - .65rem); max-width: calc(50% - .65rem); }
  .svc { min-height: 380px; }
  .band { padding: 1.25rem; }
  .band::before { background: linear-gradient(180deg, rgba(8, 24, 14, .35), rgba(8, 24, 14, .7)); }
  .band__panel { max-width: none; }
  .footer__card { padding-inline: 1.5rem; }
  .map { height: 320px; }
}

/* ---------- Phone ---------- */
@media (max-width: 575px) {
  :root { --radius-lg: 22px; --radius: 18px; }
  .brand__name { font-size: 1.25rem; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__sub { font-size: .5rem; letter-spacing: .2em; }
  .header { padding-top: max(10px, env(safe-area-inset-top)); }
  .header__bar { height: 60px; padding-inline: .5rem; }
  .nav-toggle { width: 44px; height: 44px; }

  .hero { padding-top: calc(var(--header-h) + 1.25rem); padding-bottom: 5rem; }
  .hero__title { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .hero__lead { font-size: 1rem; }
  .hero__actions .btn, .band__actions .btn { flex: 1 1 100%; }
  .hero__side { grid-template-columns: 1fr; }
  .hero__chip:nth-child(2) { display: none; }
  .stats { margin-top: -2.5rem; }
  .stat { padding: 1.4rem 1rem; }

  .page-hero { min-height: 0; padding-bottom: 2.5rem; }
  .page-hero__title { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .page-hero__lead { font-size: 1rem; }
  .section__title { font-size: clamp(1.9rem, 8vw, 2.3rem); }
  .section__head--split .btn { width: 100%; }

  .card { padding: 1.5rem; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 50px 1fr; column-gap: 1rem; align-items: start; }
  .step__num { grid-row: span 2; margin-bottom: 0; }
  .values .card { flex-basis: 100%; max-width: 100%; }
  .media__badge { position: relative; inset: auto; margin: -2.5rem 1rem 0; max-width: none; }
  .svc { min-height: 340px; }
  .chips li { padding: .7rem 1.05rem; font-size: .92rem; }
  .contact-card { padding: 1.1rem; }
  .form { padding: 1.35rem; }
  .faq__item summary { padding: 1.1rem 1.15rem; }
  .faq__item p { padding: 0 1.15rem 1.15rem; }
  .quote blockquote { font-size: 1.4rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__cta .btn { width: 100%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .to-top { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 46px; height: 46px; }
}

/* ---------- Small phone (≤374px) ---------- */
@media (max-width: 374px) {
  .container { padding-inline: 14px; }
  .brand__sub { display: none; }
  .brand__name { font-size: 1.2rem; }
  .eyebrow { font-size: .66rem; letter-spacing: .12em; padding: .35rem .75rem; }
  .hero__panel, .page-hero__panel, .band__panel { padding: 1.35rem; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat__num { font-size: 1.9rem; }
  .stat__label { font-size: .8rem; }
  .btn { padding: .9rem 1.2rem; font-size: .9rem; }
  .card--row { flex-direction: column; }
  .media__badge { margin-inline: .5rem; }
  .footer__card { padding-inline: 1.1rem; }
}

/* ---------- Landscape phones (short screens) ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --header-h: 72px; }
  .header { padding-top: 6px; }
  .header__bar { height: 56px; }
  .hero { min-height: auto; padding-block: calc(var(--header-h) + 1.5rem) 5rem; }
  .hero__side, .scroll-cue { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .page-hero { min-height: 0; padding-top: calc(var(--header-h) + 2rem); }
  .nav { max-height: calc(100dvh - var(--header-h) - 12px); }
  .media__frame img { max-height: 70vh; }
  .svc { min-height: 300px; }
}

/* ---------- Touch devices: no hover lifts, bigger targets ---------- */
@media (hover: none) {
  .glass--hover:hover, .svc:hover, .chips li:hover, .btn:hover { transform: none; }
  .svc:hover .svc__img, .media:hover .media__frame img { transform: none; }
  .sheen::before { display: none; }
  .footer__col a { display: inline-block; padding-block: .2rem; }
}

/* ---------- Lock page scroll while the mobile menu is open ---------- */
body.menu-open { overflow: hidden; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .header, .ambient, .to-top, .scroll-cue, .newsletter, .map, .socials { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .page-hero, .band { min-height: 0; padding: 1rem 0; color: #000; }
  .hero__bg, .page-hero__bg, .band__bg, .hero::before, .page-hero::before, .band::before { display: none; }
  .glass { background: #fff !important; box-shadow: none !important; border: 1px solid #ddd !important; backdrop-filter: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  h1, h2, h3, .hero, .page-hero, .band, .svc, .footer__card { --heading: #12351a; --text: #222; --text-dim: #444; --accent: #8e1426; }
}

/* Browsers without backdrop-filter: make glass more opaque so text stays readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .header__bar, .nav { background: rgba(253, 252, 243, .95); }
  :is(.hero, .page-hero, .band, .svc) .glass { background: rgba(14, 38, 22, .88); }
}

/* ---------- Overflow guards ---------- */
.footer__grid > *, .split > *, .contact-grid > *, .grid > *, .hero__inner > * { min-width: 0; }
.footer__col a, .footer__col li, .contact-card a { overflow-wrap: anywhere; }


/* ==========================================================
   Hero cards (4 incl. Registered company / RC number):
   tablets and large phones show them as a tidy 2 x 2 grid.
   Small phones (<576px) keep the single column from above.
   ========================================================== */
@media (min-width: 576px) and (max-width: 991px) {
  .hero__side { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 576px) and (max-width: 767px) {
  .hero__chip:nth-child(3) { display: flex; }
}
