/* ==========================================================================
   PROPERTY PLUS BUILDING — Design System
   --------------------------------------------------------------------------
   Single source of truth for the whole site. Every design decision lives here
   as a token (CSS custom property), so it maps cleanly to Webflow Variables,
   and every visual pattern is a named, reusable class (client-first inspired).

   STRUCTURE
     1. Tokens ...............  :root custom properties (colors, type, space…)
     2. Reset / base ........  element defaults
     3. Layout ..............  page-wrapper, section, container, padding
     4. Typography utils ....  heading-style-*, text-size-*, eyebrow…
     5. Utilities ...........  spacing, alignment, color, max-width
     6. Components ..........  button, navbar, footer, card, hero, process…
     7. Responsive ..........  breakpoints

   NAMING (client-first, loosely)
     Layout   : .page-wrapper .section .padding-global .container-large
     Spacing  : .padding-section .margin-top-* (utilities)
     Type     : .heading-style-h2 .text-size-large .eyebrow
     Blocks   : .service-card .value-card .process-step  (component_element style)
     States   : .is-secondary .is-active .is-dark
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  /* --- Brand color: sampled from the Property Plus logo gold gradient ------ */
  --gold-100: #F7EAB8;   /* pale highlight (top sheen of the logo)            */
  --gold-200: #EFDA8F;
  --gold-300: #E3C566;   /* light gold                                        */
  --gold-400: #D4AF37;   /* classic gold                                      */
  --gold-500: #C79A3E;   /* BRAND CORE — the "golden brown"                   */
  --gold-600: #A9762E;   /* deep golden brown (logo shadow)                   */
  --gold-700: #855A21;   /* darkest edge                                      */

  /* --- Espresso / ink (from the current site: #150B0A) --------------------- */
  --ink-900: #150B0A;    /* espresso — darkest, near-black warm brown         */
  --ink-800: #241614;
  --ink-700: #3A2A25;
  --ink-600: #4A423C;    /* warm body text                                    */
  --ink-400: #857B71;    /* muted text                                        */
  --ink-200: #C9BFB1;

  /* --- Paper / neutrals ---------------------------------------------------- */
  --paper:      #FBF7EE; /* warm cream — page background                      */
  --paper-2:    #F4ECDC; /* soft tan surface                                  */
  --surface:    #FFFFFF; /* cards, elevated surfaces                          */
  --line:       #EADFCB; /* hairline border on cream                          */
  --line-soft:  rgba(21, 11, 10, 0.10);
  --line-dark:  rgba(243, 236, 221, 0.14); /* border on espresso             */

  /* --- Semantic roles (use THESE in components) --------------------------- */
  --color-bg:            var(--paper);
  --color-surface:       var(--surface);
  --color-surface-alt:   var(--paper-2);
  --color-heading:       var(--ink-900);
  --color-text:          var(--ink-600);
  --color-text-muted:    var(--ink-400);
  --color-border:        var(--line);
  --color-accent:        var(--gold-500);
  --color-accent-deep:   var(--gold-600);

  /* on espresso surfaces */
  --color-dark-bg:       var(--ink-900);
  --color-on-dark:       #F4ECDC;
  --color-on-dark-muted: rgba(244, 236, 220, 0.66);

  /* --- Metallic gold gradient (echoes the logo sheen) --------------------- */
  --gradient-gold: linear-gradient(
      135deg,
      var(--gold-100) 0%,
      var(--gold-300) 24%,
      var(--gold-500) 52%,
      var(--gold-600) 78%,
      var(--gold-300) 100%);
  --gradient-dark: linear-gradient(180deg, var(--ink-900) 0%, #1E100D 100%);
  /* richer gold for TEXT on light backgrounds — no pale stop, stays legible */
  --gradient-gold-rich: linear-gradient(92deg, var(--gold-600) 0%, var(--gold-500) 42%, var(--gold-700) 100%);
  --gradient-gold-bright: linear-gradient(92deg, var(--gold-300) 0%, var(--gold-400) 50%, var(--gold-300) 100%);

  /* --- Typography ---------------------------------------------------------- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif; /* headings  */
  --font-body:    "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-logo:    "Cinzel", Georgia, serif;  /* logo wordmark only            */

  --text-xs:   0.75rem;   /* 12 */
  --text-sm:   0.875rem;  /* 14 */
  --text-base: 1rem;      /* 16 — floor for body */
  --text-md:   1.125rem;  /* 18 */
  --text-lg:   1.25rem;   /* 20 */
  --text-xl:   1.5rem;    /* 24 */
  --text-2xl:  1.875rem;  /* 30 */
  --text-h3:   clamp(1.5rem, 2.4vw, 2rem);
  --text-h2:   clamp(2rem, 3.6vw, 3rem);
  --text-h1:   clamp(2.5rem, 5.4vw, 4.25rem);

  --leading-tight:   1.08;
  --leading-snug:    1.25;
  --leading-normal:  1.6;
  --tracking-wide:   0.14em;   /* eyebrows / small caps */
  --tracking-tight: -0.02em;   /* large display headings */

  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semi:   600;
  --weight-bold:   700;

  /* --- Spacing scale (rem-based, t-shirt sizes) --------------------------- */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  --space-5xl: 10rem;

  /* section vertical rhythm */
  --section-space:       clamp(4rem, 8vw, 7.5rem);
  --section-space-small: clamp(3rem, 5vw, 5rem);

  /* --- Containers ---------------------------------------------------------- */
  --container-large:  80rem;   /* 1280 */
  --container-medium: 64rem;   /* 1024 */
  --container-small:  48rem;   /* 768  */
  --page-gutter:      clamp(1.25rem, 4vw, 3rem);

  /* --- Radius -------------------------------------------------------------- */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --radius-pill: 999px;

  /* --- Elevation (warm-tinted shadows) ------------------------------------ */
  --shadow-sm: 0 1px 2px rgba(21, 11, 10, 0.06), 0 1px 3px rgba(21, 11, 10, 0.08);
  --shadow-md: 0 12px 30px -14px rgba(21, 11, 10, 0.22);
  --shadow-lg: 0 34px 64px -24px rgba(21, 11, 10, 0.30);
  --shadow-gold: 0 16px 40px -16px rgba(169, 118, 46, 0.45);

  /* --- Motion -------------------------------------------------------------- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur:  0.3s;

  --nav-height: 5rem;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-heading);
  font-weight: var(--weight-semi);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

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

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 2px; }

::selection { background: var(--gold-300); color: var(--ink-900); }

/* ==========================================================================
   3. LAYOUT  (client-first structural classes)
   ========================================================================== */
.page-wrapper { overflow: clip; }

/* full-bleed band; owns the background color */
.section { position: relative; }

/* horizontal page padding — every section content sits inside this */
.padding-global {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

/* vertical rhythm */
.padding-section        { padding-top: var(--section-space);        padding-bottom: var(--section-space); }
.padding-section-small  { padding-top: var(--section-space-small);  padding-bottom: var(--section-space-small); }
.padding-top-0          { padding-top: 0; }
.padding-bottom-0       { padding-bottom: 0; }

/* centered max-width wrappers */
.container-large  { width: 100%; max-width: var(--container-large);  margin-inline: auto; }
.container-medium { width: 100%; max-width: var(--container-medium); margin-inline: auto; }
.container-small  { width: 100%; max-width: var(--container-small);  margin-inline: auto; }

/* background modifiers on .section */
.section.is-cream   { background: var(--paper); }
.section.is-tan     { background: var(--paper-2); }
.section.is-white   { background: var(--surface); }
.section.is-dark    { background: var(--gradient-dark); color: var(--color-on-dark); }
.section.is-dark h1, .section.is-dark h2, .section.is-dark h3,
.section.is-dark h4, .section.is-dark h5, .section.is-dark h6 { color: var(--color-on-dark); }

/* ==========================================================================
   4. TYPOGRAPHY UTILITIES
   ========================================================================== */
.heading-style-display { font-family: var(--font-display); font-size: var(--text-h1); font-weight: var(--weight-semi); line-height: var(--leading-tight); letter-spacing: var(--tracking-tight); }
.heading-style-h1 { font-size: var(--text-h1); }
.heading-style-h2 { font-size: var(--text-h2); }
.heading-style-h3 { font-size: var(--text-h3); }
.heading-style-h4 { font-size: var(--text-xl); font-weight: var(--weight-semi); }
.heading-style-h5 { font-size: var(--text-lg); font-weight: var(--weight-semi); }

.text-size-large   { font-size: var(--text-lg);  line-height: 1.55; }
.text-size-medium  { font-size: var(--text-md); }
.text-size-regular { font-size: var(--text-base); }
.text-size-small   { font-size: var(--text-sm); }
.text-size-tiny    { font-size: var(--text-xs); }

.text-weight-normal { font-weight: var(--weight-normal); }
.text-weight-medium { font-weight: var(--weight-medium); }
.text-weight-semi   { font-weight: var(--weight-semi); }
.text-weight-bold   { font-weight: var(--weight-bold); }

.text-color-muted   { color: var(--color-text-muted); }
.text-color-gold    { color: var(--gold-600); }
.text-color-white   { color: var(--color-on-dark); }
.section.is-dark .text-color-muted { color: var(--color-on-dark-muted); }

/* Eyebrow — the small gold uppercase label above headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
}
.section.is-dark .eyebrow { color: var(--gold-300); }

/* Gold gradient text (headline accents) — rich, no fade on light bg */
.text-gradient-gold {
  background: var(--gradient-gold-rich);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section.is-dark .text-gradient-gold { background: var(--gradient-gold-bright); -webkit-background-clip: text; background-clip: text; }

/* rich text block spacing */
.prose > * + * { margin-top: var(--space-md); }
.prose p { color: var(--color-text); }

/* ==========================================================================
   5. UTILITIES
   ========================================================================== */
.text-align-center { text-align: center; }
.text-align-left   { text-align: left; }
.mx-auto { margin-inline: auto; }

.margin-top-2xs { margin-top: var(--space-2xs); }
.margin-top-xs  { margin-top: var(--space-xs); }
.margin-top-sm  { margin-top: var(--space-sm); }
.margin-top-md  { margin-top: var(--space-md); }
.margin-top-lg  { margin-top: var(--space-lg); }
.margin-top-xl  { margin-top: var(--space-xl); }
.margin-top-2xl { margin-top: var(--space-2xl); }
.margin-bottom-sm { margin-bottom: var(--space-sm); }
.margin-bottom-md { margin-bottom: var(--space-md); }
.margin-bottom-lg { margin-bottom: var(--space-lg); }

.max-width-xsmall { max-width: 22rem; }
.max-width-small  { max-width: 30rem; }
.max-width-medium { max-width: 42rem; }
.max-width-large  { max-width: 52rem; }

/* section heading cluster */
.section-header { max-width: 46rem; }
.section-header.is-center { margin-inline: auto; text-align: center; }
.section-header .eyebrow { margin-bottom: var(--space-sm); }
.section-header p { margin-top: var(--space-md); color: var(--color-text); font-size: var(--text-md); }

/* generic grid helpers */
.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* a divider */
.divider { height: 1px; background: var(--color-border); border: 0; }
.section.is-dark .divider { background: var(--line-dark); }

/* ==========================================================================
   6. COMPONENTS
   ========================================================================== */

/* --- 6.0 Icons & logo ---------------------------------------------------- */
.icon {
  width: 1.25rem; height: 1.25rem; flex: none;
  stroke: currentColor; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.icon.is-filled { fill: currentColor; stroke: none; }

.logo { display: inline-flex; align-items: center; gap: 0.65rem; }
.logo_img { height: 3rem; width: auto; display: block; }
.footer .logo_img { height: 3.4rem; }
.logo_mark { width: 2.6rem; height: auto; flex: none; }
.logo_text { display: flex; flex-direction: column; line-height: 1; }
.logo_name {
  font-family: var(--font-logo);
  font-weight: 600; font-size: 1.15rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo_sub {
  font-family: var(--font-body);
  font-size: 0.5rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-600); margin-top: 4px;
}
.section.is-dark .logo_sub, .footer .logo_sub { color: var(--gold-300); }

/* --- 6.1 Buttons --------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 0.9rem 1.6rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink-900);
  background: var(--gradient-gold);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  box-shadow: var(--shadow-gold);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.button:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -18px rgba(169,118,46,.6); }
.button:active { transform: translateY(0); }

.button.is-secondary {
  background: var(--ink-900);
  color: var(--color-on-dark);
  box-shadow: var(--shadow-md);
}
.button.is-secondary:hover { background: var(--ink-800); }

.button.is-ghost {
  background: transparent;
  color: var(--color-heading);
  border-color: var(--color-border);
  box-shadow: none;
}
.button.is-ghost:hover { border-color: var(--gold-500); color: var(--gold-700); background: rgba(199,154,62,.06); }

.section.is-dark .button.is-ghost { color: var(--color-on-dark); border-color: var(--line-dark); }
.section.is-dark .button.is-ghost:hover { border-color: var(--gold-300); color: var(--gold-100); background: rgba(227,197,102,.08); }

.button.is-large { padding: 1.05rem 2rem; font-size: var(--text-md); }
.button.is-small { padding: 0.65rem 1.15rem; font-size: var(--text-sm); }

/* text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-weight: var(--weight-semi);
  color: var(--gold-700);
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link-arrow svg { width: 1.1em; height: 1.1em; }
.link-arrow:hover { gap: var(--space-sm); color: var(--gold-600); }
.section.is-dark .link-arrow { color: var(--gold-300); }

.button-group { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* --- 6.2 Badge / tag / pill --------------------------------------------- */
.tag {
  display: inline-flex; align-items: center; gap: var(--space-2xs);
  padding: 0.4rem 0.85rem;
  font-size: var(--text-sm); font-weight: var(--weight-medium);
  color: var(--gold-700);
  background: rgba(199, 154, 62, 0.10);
  border: 1px solid rgba(199, 154, 62, 0.25);
  border-radius: var(--radius-pill);
}
.section.is-dark .tag { color: var(--gold-100); background: rgba(227,197,102,.12); border-color: rgba(227,197,102,.24); }

/* --- 6.3 Navbar ---------------------------------------------------------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(21, 11, 10, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.navbar.is-scrolled { background: rgba(21, 11, 10, 0.97); border-bottom-color: var(--line-dark); box-shadow: 0 12px 34px -20px rgba(0, 0, 0, 0.7); }

.navbar_inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg);
  height: var(--nav-height);
}
.navbar_logo { display: flex; align-items: center; }
.navbar_logo svg, .navbar_logo img { height: 2.6rem; width: auto; }

.navbar_collapse { display: flex; align-items: center; gap: var(--space-lg); }
.navbar_menu { display: flex; align-items: center; gap: var(--space-xs); }
.navbar_link {
  position: relative;
  padding: 0.5rem 0.9rem;
  font-size: var(--text-base); font-weight: var(--weight-medium);
  color: var(--color-on-dark); border-radius: var(--radius-pill);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.navbar_link:hover, .navbar_link.is-active { color: var(--gold-300); }
.navbar_link.is-active { background: rgba(227, 197, 102, 0.14); }

.navbar_actions { display: flex; align-items: center; gap: var(--space-sm); }

/* dropdown */
.navbar_item { position: relative; }
.navbar_item > .navbar_link { display: inline-flex; align-items: center; gap: 0.3rem; }
.navbar_caret { width: 0.7rem; height: 0.7rem; transition: transform var(--dur) var(--ease); }
.navbar_dropdown {
  position: absolute; top: calc(100% + 0.5rem); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 20rem;
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2xs);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
/* invisible bridge so the pointer can cross the gap without the menu closing */
.navbar_dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -0.85rem; height: 0.9rem; }
.navbar_item:hover .navbar_dropdown,
.navbar_item:focus-within .navbar_dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.navbar_item:hover .navbar_caret { transform: rotate(180deg); }
.navbar_dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown-link {
  display: flex; align-items: center; gap: var(--space-xs);
  padding: 0.7rem 0.85rem; border-radius: var(--radius-md);
  font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--ink-700);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.dropdown-link:hover { background: var(--paper-2); color: var(--gold-700); }
.dropdown-link .icon { width: 1.15rem; height: 1.15rem; color: var(--gold-600); flex: none; }

.navbar_toggle { display: none; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-md); border: 1px solid var(--line-dark); align-items: center; justify-content: center; }
.navbar_toggle span, .navbar_toggle span::before, .navbar_toggle span::after { display: block; width: 1.2rem; height: 2px; background: var(--color-on-dark); border-radius: 2px; position: relative; transition: transform var(--dur) var(--ease); }
.navbar_toggle span::before { content: ""; position: absolute; top: -6px; }
.navbar_toggle span::after  { content: ""; position: absolute; top: 6px; }

/* --- 6.4 Hero ------------------------------------------------------------ */
.hero { position: relative; }
.hero_grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-2xl); align-items: center; }
/* home hero: even 50 / 50 split */
.hero .hero_grid { grid-template-columns: 1fr 1fr; }
.hero .hero_content { max-width: 34rem; }
.hero_content { max-width: 38rem; }
.hero_title { font-size: var(--text-h1); }
.hero_lead { margin-top: var(--space-md); font-size: var(--text-lg); color: var(--color-text); line-height: 1.55; }
.hero_actions { margin-top: var(--space-xl); }
.hero_media { position: relative; }

/* stacked headline with an italic, underlined accent word (buildframe home) */
.headline-accent {
  font-style: italic;
  font-weight: var(--weight-medium);
  border-bottom: 0.08em solid var(--gold-500);
  padding-bottom: 0.04em;
}

/* two staggered portrait images on the right of the hero */
.hero_media-duo { display: grid; grid-template-columns: 0.82fr 1fr; gap: var(--space-md); align-items: start; }
.hero_media-duo .media { box-shadow: var(--shadow-md); background: var(--paper-2); }
.hero_media-duo .media:first-child { margin-top: 3rem; aspect-ratio: 4 / 5.8; }
.hero_media-duo .media:last-child { aspect-ratio: 4 / 6.6; }

/* Hero entrance — pure CSS so it can never get stuck / leave the hero blank */
@keyframes heroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero_content > * { animation: heroRise 0.8s var(--ease) both; }
  .hero_content > *:nth-child(1) { animation-delay: 0.04s; }
  .hero_content > *:nth-child(2) { animation-delay: 0.13s; }
  .hero_content > *:nth-child(3) { animation-delay: 0.22s; }
  .hero_content > *:nth-child(4) { animation-delay: 0.31s; }
  /* hero images are handled by JS (slide up from the frame) — see animations.js */
}

/* review block: rating + stars inline, "see all" link below */
.reviews_rating { display: flex; align-items: center; gap: var(--space-2xs); }
.reviews_rating strong { font-size: var(--text-md); color: var(--color-heading); }
.reviews_link { font-size: var(--text-sm); color: var(--color-text-muted); text-decoration: underline; text-underline-offset: 3px; }
.reviews_link:hover { color: var(--gold-700); }

/* trust / stat row */
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }
.trust-item { display: flex; align-items: center; gap: var(--space-2xs); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-text); }
.trust-item .icon { width: 1.2rem; height: 1.2rem; color: var(--gold-600); }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.stat_number { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: var(--weight-semi); color: var(--color-heading); line-height: 1; }
.section.is-dark .stat_number { color: var(--gold-300); }
.stat_label { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-text-muted); }
.section.is-dark .stat_label { color: var(--color-on-dark-muted); }

/* --- 6.5 Media / image placeholder --------------------------------------- */
.media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.ratio-4-3  { aspect-ratio: 4 / 3; }
.media.ratio-3-2  { aspect-ratio: 3 / 2; }
.media.ratio-1-1  { aspect-ratio: 1 / 1; }
.media.ratio-16-9 { aspect-ratio: 16 / 9; }
.media.ratio-portrait { aspect-ratio: 4 / 5; }

/* On-brand LIGHT placeholder fill for image slots (swap for real <img> later) */
.img-ph {
  position: relative;
  display: grid; place-items: center;
  width: 100%; height: 100%;
  color: var(--gold-700);
  background: linear-gradient(135deg, var(--paper-2) 0%, #EEE2CB 55%, #E7D9BC 100%);
}
.img-ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(169,118,46,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169,118,46,.10) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(120% 120% at 50% 40%, #000 25%, transparent 78%);
}
.img-ph_label { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--space-2xs); font-size: var(--text-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; opacity: .8; }
.img-ph_label svg { width: 1.8rem; height: 1.8rem; color: var(--gold-500); }
.img-ph.is-dark { background: var(--gradient-dark); color: rgba(244,236,220,.85); }
.img-ph.is-dark svg { color: var(--gold-300); }

/* floating info card over media */
.media-badge {
  position: absolute; left: var(--space-md); bottom: var(--space-md);
  display: flex; align-items: center; gap: var(--space-xs);
  padding: 0.75rem 1rem;
  background: rgba(251,247,238,.92);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.media-badge .icon { width: 1.5rem; height: 1.5rem; color: var(--gold-600); }
.media-badge_title { font-weight: var(--weight-semi); font-size: var(--text-sm); color: var(--ink-900); }
.media-badge_sub { font-size: var(--text-xs); color: var(--color-text-muted); }

/* --- 6.6 Service card ---------------------------------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

.service-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(199,154,62,.4); }
.service-card_media { aspect-ratio: 4 / 3; background: var(--paper-2); }
.service-card_body { padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-2xs); flex: 1; }
.service-card_icon {
  width: 3rem; height: 3rem; margin-bottom: var(--space-2xs);
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: rgba(199,154,62,.12);
  color: var(--gold-600);
}
.service-card_icon svg { width: 1.6rem; height: 1.6rem; }
.service-card_title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--weight-semi); color: var(--color-heading); }
.service-card_text { font-size: var(--text-sm); color: var(--color-text); }
.service-card_link { margin-top: auto; padding-top: var(--space-sm); }

/* compact icon variant (no media) */
.service-card.is-compact .service-card_body { padding: var(--space-lg); }

/* --- 6.7 Value / feature card (Why us) ----------------------------------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.value-card {
  display: flex; flex-direction: column; gap: var(--space-sm);
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.section.is-dark .value-card { background: rgba(244, 236, 220, 0.045); border-color: var(--line-dark); box-shadow: none; }
.value-card_icon {
  width: 3.25rem; height: 3.25rem;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: var(--gradient-gold);
  color: var(--ink-900);
  box-shadow: var(--shadow-gold);
}
.value-card_icon svg { width: 1.6rem; height: 1.6rem; }
.value-card_title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--weight-semi); }
.value-card_text { font-size: var(--text-base); color: var(--color-text); }
.section.is-dark .value-card_text { color: var(--color-on-dark-muted); }

/* --- 6.8 Process steps --------------------------------------------------- */
.process-list { display: grid; gap: var(--space-lg); }
.process-step {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
  align-items: start;
}
.section.is-dark .process-step { border-top-color: var(--line-dark); }
.process-step_num {
  position: relative; z-index: 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl); font-weight: var(--weight-semi);
  line-height: 1;
  background: var(--gradient-gold-rich); -webkit-background-clip: text; background-clip: text; color: transparent;
  min-width: 3.4rem;
}
/* decorative "process shape" behind the number (buildframe element) */
.process-step_num::before {
  content: ""; position: absolute; z-index: -1;
  left: -0.7rem; top: -0.6rem; width: 2.9rem; height: 2.9rem;
  background: rgba(199, 154, 62, 0.16);
  border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
}
.section.is-dark .process-step_num { background: var(--gradient-gold-bright); -webkit-background-clip: text; background-clip: text; }
.section.is-dark .process-step_num::before { background: rgba(227, 197, 102, 0.15); }
.process-step_title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--weight-semi); }
.process-step_text { margin-top: var(--space-2xs); color: var(--color-text); }
.section.is-dark .process-step_text { color: var(--color-on-dark-muted); }

/* --- 6.9 Project card ---------------------------------------------------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.project-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.project-card_media { position: absolute; inset: 0; }
.project-card_overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(21,11,10,.85) 100%); }
.project-card_body { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-lg); color: var(--color-on-dark); }
.project-card_cat { font-size: var(--text-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--gold-300); }
.project-card_title { font-family: var(--font-display); font-size: var(--text-xl); color: #fff; margin-top: var(--space-3xs); }
.project-card:hover .project-card_media img { transform: scale(1.05); }
.project-card_media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }

/* --- 6.10 Testimonial ---------------------------------------------------- */
.testimonial { max-width: 46rem; margin-inline: auto; text-align: center; }
.testimonial_stars { display: inline-flex; gap: 0.2rem; color: var(--gold-500); margin-bottom: var(--space-md); }
.testimonial_stars svg { width: 1.25rem; height: 1.25rem; }
.testimonial_quote { font-family: var(--font-display); font-size: clamp(1.375rem, 2.6vw, 2rem); line-height: 1.35; color: var(--color-heading); font-weight: var(--weight-medium); }
.section.is-dark .testimonial_quote { color: var(--color-on-dark); }
.testimonial_author { margin-top: var(--space-lg); font-weight: var(--weight-semi); }
.testimonial_role { font-size: var(--text-sm); color: var(--color-text-muted); }

/* --- 6.11 Logo strip (suppliers / accreditations) ------------------------ */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-xl); }
.logo-strip_item {
  display: flex; align-items: center; gap: var(--space-2xs);
  font-family: var(--font-display); font-weight: var(--weight-semi); font-size: var(--text-lg);
  color: var(--ink-700); opacity: .7;
}
.section.is-dark .logo-strip_item { color: var(--color-on-dark); opacity: .8; }
.logo-strip_item .icon { width: 1.5rem; height: 1.5rem; color: var(--gold-600); }

/* --- 6.12 Feature list (checkmarks) -------------------------------------- */
.check-list { display: grid; gap: var(--space-sm); }
.check-list li { display: flex; align-items: flex-start; gap: var(--space-xs); }
.check-list_icon { flex: none; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; border-radius: 50%; background: var(--gradient-gold); color: var(--ink-900); margin-top: 2px; }
.check-list_icon svg { width: 0.85rem; height: 0.85rem; }

/* --- 6.13 CTA band ------------------------------------------------------- */
.cta-band { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--gradient-dark); color: var(--color-on-dark); padding: clamp(2.5rem, 5vw, 4.5rem); }
.cta-band::after { content: ""; position: absolute; right: -8%; top: -40%; width: 40rem; height: 40rem; background: radial-gradient(circle, rgba(199,154,62,.22), transparent 60%); pointer-events: none; }
.cta-band_inner { position: relative; max-width: 40rem; }
.cta-band h2 { color: var(--color-on-dark); }
/* the CTA band is dark, so ghost buttons inside it need light text */
.cta-band .button.is-ghost { color: var(--color-on-dark); border-color: var(--line-dark); }
.cta-band .button.is-ghost:hover { color: var(--gold-100); border-color: var(--gold-300); background: rgba(227, 197, 102, 0.08); }

/* --- 6.14 Accordion (FAQ) ------------------------------------------------ */
.accordion { border-top: 1px solid var(--color-border); }
.accordion_item { border-bottom: 1px solid var(--color-border); }
.accordion_head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-md) 0; text-align: left; font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--weight-semi); color: var(--color-heading); }
.accordion_icon { flex: none; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--color-border); transition: transform var(--dur) var(--ease), background var(--dur) var(--ease); }
.accordion_item.is-open .accordion_icon { transform: rotate(45deg); background: var(--gradient-gold); border-color: transparent; }
.accordion_body { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); }
.accordion_body p { padding-bottom: var(--space-md); color: var(--color-text); }

/* --- 6.15 Breadcrumb ----------------------------------------------------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2xs); font-size: var(--text-sm); color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--gold-700); }
.breadcrumb_sep { opacity: .5; }
.section.is-dark .breadcrumb { color: var(--color-on-dark-muted); }
.section.is-dark .breadcrumb a:hover { color: var(--gold-300); }

/* --- 6.16 Form ----------------------------------------------------------- */
.form-field { display: flex; flex-direction: column; gap: var(--space-2xs); margin-bottom: var(--space-md); }
.form-label { font-size: var(--text-sm); font-weight: var(--weight-semi); color: var(--color-heading); }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.85rem 1rem;
  font-size: var(--text-base);
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--ink-900);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ink-400); }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(199,154,62,.18); }
.form-textarea { min-height: 8rem; resize: vertical; }

/* --- 6.17 Footer --------------------------------------------------------- */
.footer { background: var(--gradient-dark); color: var(--color-on-dark); }
.footer_top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-2xl); padding-top: var(--space-3xl); padding-bottom: var(--space-2xl); }
.footer_brand { max-width: 22rem; }
.footer_brand p { margin-top: var(--space-md); color: var(--color-on-dark-muted); font-size: var(--text-sm); }
.footer_col h4 { font-family: var(--font-body); font-size: var(--text-sm); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--gold-300); margin-bottom: var(--space-md); }
.footer_col ul { display: grid; gap: var(--space-xs); }
.footer_col a { color: var(--color-on-dark-muted); font-size: var(--text-sm); transition: color var(--dur) var(--ease); }
.footer_col a:hover { color: var(--color-on-dark); }
/* the gold CTA button in the footer must keep dark text (beats .footer_col a) */
.footer .button { color: var(--ink-900); font-size: var(--text-sm); }
.footer .button:hover { color: var(--ink-900); }
.footer_contact-item { display: flex; align-items: center; gap: var(--space-xs); color: var(--color-on-dark-muted); font-size: var(--text-sm); margin-top: var(--space-xs); }
.footer_contact-item .icon { width: 1.1rem; height: 1.1rem; color: var(--gold-300); flex: none; }
.footer_bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-lg) 0; border-top: 1px solid var(--line-dark); color: var(--color-on-dark-muted); font-size: var(--text-sm); }
.footer_legal { display: flex; gap: var(--space-lg); }

/* --- 6.18 Social proof / reviews (buildframe hero element) --------------- */
.reviews { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }
.reviews_avatars { display: flex; padding-left: 0.7rem; }
.reviews_avatar {
  width: 2.7rem; height: 2.7rem; border-radius: 50%; margin-left: -0.7rem;
  border: 2px solid var(--paper);
  background: var(--gradient-gold); color: var(--ink-900);
  display: grid; place-items: center; font-weight: var(--weight-semi); font-size: 0.8rem;
}
.section.is-dark .reviews_avatar { border-color: var(--ink-900); }
.reviews_meta { display: flex; flex-direction: column; gap: 3px; }
.reviews_stars { display: flex; gap: 0.15rem; color: var(--gold-500); }
.reviews_stars svg { width: 1rem; height: 1rem; }
.reviews_text { font-size: var(--text-sm); color: var(--color-text); }
.reviews_text strong { color: var(--color-heading); font-weight: var(--weight-semi); }
.section.is-dark .reviews_text { color: var(--color-on-dark-muted); }
.section.is-dark .reviews_text strong { color: var(--color-on-dark); }

/* --- 6.185 Marquee (running logo strip) --------------------------------- */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee_track { display: flex; align-items: center; gap: var(--space-3xl); width: max-content; will-change: transform; }
.marquee_track .logo-strip_item { white-space: nowrap; opacity: 0.75; }

/* Sticky process intro — left column holds while the steps scroll (desktop) */
@media (min-width: 992px) {
  .process-sticky { position: sticky; top: calc(var(--nav-height) + 1.75rem); align-self: start; }
}

/* --- 6.19 Rich service row (buildframe single-service block) ------------- */
.service-rows { display: grid; }
.service-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
}
.service-row:first-child { border-top: none; padding-top: var(--space-md); }
.service-row.is-reversed .service-row_media { order: -1; }
.service-row_title { font-family: var(--font-display); font-size: var(--text-h3); font-weight: var(--weight-semi); color: var(--color-heading); margin-top: var(--space-sm); }
.service-row_desc { margin-top: var(--space-sm); color: var(--color-text); font-size: var(--text-md); }
.service-row_subfeatures { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xs) var(--space-md); margin-top: var(--space-lg); }
.service-row_subfeature { display: flex; align-items: center; gap: var(--space-2xs); font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--ink-700); }
.service-row_subfeature .icon { width: 1.15rem; height: 1.15rem; color: var(--gold-600); }
.service-row_cta { margin-top: var(--space-lg); }
.service-row_media { position: relative; }
.service-row_thumb { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.service-row_checks {
  margin-top: calc(var(--space-lg) * -1); margin-left: var(--space-lg); margin-right: calc(var(--space-lg) * -0.4);
  position: relative;
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
}
.service-row_checks .check-list { gap: var(--space-xs); }
.service-row_checks .check-list li { font-size: var(--text-sm); }

/* --- 6.20 Toast ("coming soon" for unbuilt pages during the demo) -------- */
.toast {
  position: fixed; left: 50%; bottom: 2rem; transform: translateX(-50%) translateY(1rem);
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  background: var(--ink-900); color: var(--color-on-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm); font-weight: var(--weight-medium);
  z-index: 200; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast .icon { color: var(--gold-300); }

/* ==========================================================================
   7. RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
  :root { --nav-height: 4.5rem; }
  .hero_grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .hero_media { order: -1; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; gap: var(--space-lg); }
  .service-row.is-reversed .service-row_media { order: 0; }
  .service-row_checks { margin: var(--space-md) 0 0 0; }
  .footer_top { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .footer_brand { grid-column: 1 / -1; }

  /* mobile nav */
  .navbar_toggle { display: inline-flex; }
  .navbar_collapse { display: none; }
  .navbar.is-open .navbar_collapse {
    display: flex; flex-direction: column; align-items: stretch; gap: var(--space-sm);
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--color-border);
    padding: var(--space-md) var(--page-gutter) var(--space-lg);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--nav-height)); overflow-y: auto;
  }
  .navbar.is-open .navbar_menu { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .navbar.is-open .navbar_actions { flex-direction: column; align-items: stretch; gap: var(--space-sm); }
  /* mobile menu panel is light, so links go dark again */
  .navbar.is-open .navbar_link { color: var(--ink-700); }
  .navbar.is-open .navbar_link:hover, .navbar.is-open .navbar_link.is-active { color: var(--gold-700); }
  .navbar_item { display: flex; flex-direction: column; }
  .navbar_dropdown { position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none; box-shadow: none; border: 1px solid var(--color-border); min-width: 0; background: var(--paper-2); margin-top: 0.25rem; }
  .navbar_dropdown-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .service-grid, .value-grid, .project-grid, .grid-2, .grid-3, .grid-4, .stat-strip { grid-template-columns: 1fr; }
  .service-row_subfeatures { grid-template-columns: 1fr 1fr; }
  .hero_media-duo .media:first-child { margin-top: 1rem; }
  .footer_top { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer_bottom { flex-direction: column; align-items: flex-start; }
  .button-group .button { width: 100%; }
  .process-step { grid-template-columns: 1fr; gap: var(--space-xs); }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto; }
}
