/* Structure Building: real brand system.
   Colours extracted directly from structurebuilding.com.au (2026-09-17):
   the red is sampled from their actual logo mark (rgb 236,51,56 / #EC3338);
   black/white/grey are the site's real background and body-text values.
   No invented palette. One typeface (Inter): no decorative serif. */

:root {
  color-scheme: light;

  --bg: #FFFFFF;
  --bg-alt: #F4F4F3;          /* barely-there section alternation, not a tint */
  --black: #121212;           /* primary text / ink: sampled near the site's dark UI, not pure #000 */
  --grey-700: #454545;
  --grey-500: #767676;        /* close to the live site's actual body-copy grey, rgb(130,130,130) */
  --grey-300: #C7C7C7;
  --grey-200: #E5E5E5;        /* matches the live site's real border/divider grey, rgb(229,229,229) */
  --white: #FFFFFF;

  --accent: #EC3338;          /* sampled directly from the Structure Building logo mark: used sparingly only */
  --accent-ink: #B4181C;      /* darker step of the same red, for text-on-light use */

  --radius: 3px;              /* a light touch of rounding: still crisp, not "boutique" bubbly */
  --max-width: 1320px;
  --header-h: 84px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 40px; --sp-8: 48px; --sp-9: 64px; --sp-10: 80px;
  --sp-11: 96px; --sp-12: 128px; --sp-13: 160px;

  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--grey-700);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

::selection { background: var(--black); color: var(--white); }

h1, h2, h3, h4 {
  margin: 0 0 0.4em;
  line-height: 1.08;
  font-weight: 600;
  font-family: var(--font);
  color: var(--black);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 1.1rem + 3.4vw, 3.9rem); font-weight: 600; letter-spacing: -0.028em; line-height: 1.06; }
h2 { font-size: clamp(1.55rem, 1rem + 1.7vw, 2.25rem); font-weight: 500; letter-spacing: -0.022em; line-height: 1.14; }
h3 { font-size: 1.05rem; font-weight: 600; color: var(--black); letter-spacing: -0.005em; }

p { margin: 0 0 1em; color: #5b5a57; font-size: 1.02rem; line-height: 1.65; }

.container { max-width: var(--max-width); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 420px) { .container { padding-left: 20px; padding-right: 20px; } }

.label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--grey-700);
}


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

/* ---------- Subtle scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Section headings pop up with a bit more travel than the generic reveal,
   the same idea as the hero's load-in but triggered on scroll into view. */
@keyframes section-pop-up {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.section-head.reveal { transform: translateY(26px); transition: none; }
.section-head.reveal.is-visible { animation: section-pop-up 0.7s var(--ease) forwards; }

@media (prefers-reduced-motion: reduce) {
  .section-head.reveal { animation: none; opacity: 1; transform: none; }
}

/* ---------- Buttons: square, flat, no glow ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: 15px 26px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent); }

.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--black); color: var(--white); }

.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover, .btn-outline-light:focus-visible { background: var(--white); color: var(--black); }

.btn-text {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font); font-weight: 500; font-size: 0.9rem;
  letter-spacing: 0.005em;
  color: var(--black);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--black);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-text:hover { color: var(--accent); border-color: var(--accent); }
.btn-text svg { width: 13px; height: 13px; transition: transform 0.25s var(--ease); }
.btn-text:hover svg { transform: translateX(3px); }

.btn-block { width: 100%; }

/* ---------- Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--grey-200);
}

.site-header .container {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.logo { display: flex; align-items: center; gap: var(--sp-3); flex-shrink: 0; }
.logo img { height: 30px; width: auto; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: var(--sp-7); }

.main-nav a {
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: var(--grey-700);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.main-nav a:hover, .main-nav a.active { color: var(--black); border-bottom-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: var(--sp-5); }
@media (max-width: 420px) { .header-actions { gap: var(--sp-3); } }

.header-phone {
  display: none;
  align-items: center; gap: var(--sp-2);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--black);
  white-space: nowrap;
}
@media (min-width: 980px) { .header-phone { display: inline-flex; } }
.header-phone svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
.header-phone a { transition: color 0.25s var(--ease); }
.header-phone a:hover { color: var(--accent); }
.header-phone-divider { color: var(--grey-300); }

.header-cta { flex-shrink: 0; }
.header-cta.btn-primary { background: var(--black); color: var(--white); }
.header-cta.btn-primary:hover { background: var(--accent); }
.header-cta .cta-short { display: none; }

@media (max-width: 420px) {
  .header-cta { padding-left: var(--sp-4); padding-right: var(--sp-4); font-size: 0.78rem; }
  .header-cta .cta-full { display: none; }
  .header-cta .cta-short { display: inline; }
}

.nav-toggle {
  position: relative;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; background: none;
  border: 1px solid var(--grey-300); border-radius: var(--radius);
  cursor: pointer; color: var(--black);
}
.nav-toggle svg { width: 18px; height: 18px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.is-open .icon-menu { display: none; }
.nav-toggle.is-open .icon-close { display: block; }

.mobile-nav {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 99;
  overflow-y: auto;
  padding-top: var(--sp-3);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
}
.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
  transition-delay: 0s;
}

.mobile-nav-head { display: flex; align-items: center; height: var(--header-h); padding: 0 var(--sp-5); }
.mobile-nav-back {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: none; border: none; cursor: pointer; padding: var(--sp-2);
  font-family: var(--font); font-weight: 600; font-size: 0.95rem; color: var(--grey-700);
  transition: color 0.25s var(--ease);
}
.mobile-nav-back:hover { color: var(--black); }
.mobile-nav-back svg { width: 18px; height: 18px; }

.mobile-nav ul { padding: var(--sp-4) var(--sp-6); }
.mobile-nav a {
  display: block; padding: var(--sp-5) var(--sp-1);
  font-family: var(--font); font-size: 1.7rem; font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--black); border-bottom: 1px solid var(--grey-200);
}
.mobile-nav .mobile-nav-cta { width: calc(100% - 48px); margin: var(--sp-6) var(--sp-6) 0; color: var(--white); }
.mobile-nav .mobile-nav-meta { padding: 0 var(--sp-6); margin-top: var(--sp-5); font-size: 0.85rem; color: var(--grey-500); }

@media (prefers-reduced-motion: reduce) {
  .mobile-nav { transition: none; }
}

/* ---------- Hero: real photography, full-bleed, minimal scrim ---------- */

.hero {
  position: relative;
  min-height: calc(88vh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}

.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  transform: scale(1.03);
  animation: hero-settle 1.8s var(--ease) forwards;
}

@keyframes hero-settle { to { transform: scale(1); } }

.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(18,18,18,0.05) 0%, rgba(18,18,18,0.1) 40%, rgba(18,18,18,0.82) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  padding: var(--sp-9) 0 var(--sp-10);
}

.hero-copy { max-width: 720px; }

/* ---------- Load-in: the hero's own text entrance, on page load rather
   than on scroll (it's already in view, so the scroll-triggered .reveal
   system never fires for it). Each line pops up in sequence. ---------- */

@keyframes pop-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero .label, .hero h1, .hero-sub, .hero-actions, .hero-phones {
  opacity: 0;
  animation: pop-up 0.65s var(--ease) forwards;
}

.hero .label { animation-delay: 0.08s; margin-bottom: var(--sp-5); color: rgba(255,255,255,0.85); }
.hero h1 { animation-delay: 0.16s; margin-bottom: var(--sp-5); color: var(--white); }
.hero-sub { animation-delay: 0.3s; }
.hero-actions { animation-delay: 0.42s; }
.hero-phones { animation-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; transform: none; }
  .hero .label, .hero h1, .hero-sub, .hero-actions, .hero-phones { animation: none; opacity: 1; }
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  max-width: 480px;
  margin-bottom: var(--sp-7);
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-5); margin-bottom: var(--sp-7); }

.hero-phones {
  display: flex; flex-wrap: wrap; gap: var(--sp-6);
  font-family: var(--font);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: var(--sp-5);
}
.hero-phones a { color: rgba(255,255,255,0.92); transition: color 0.3s var(--ease); }
.hero-phones a:hover { color: var(--accent); }
.hero-phones strong { color: rgba(255,255,255,0.5); font-weight: 500; margin-right: var(--sp-2); }

/* ---------- Sections ---------- */

.section { padding-top: 72px; padding-bottom: 72px; }
@media (max-width: 720px) { .section { padding-top: 48px; padding-bottom: 48px; } }

/* A hairline rule rather than a flat colour block: it marks a zone off
   without the page reading as stacked panels in two different whites. */
.section-alt { border-top: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); }
.section-deep { background: var(--black); }

.section-head { max-width: 640px; margin: 0 0 var(--sp-6); }
.section-head p { font-size: 1.05rem; margin: var(--sp-3) 0 0; }

/* ---------- Intro strip: plain, confident, no italic serif ---------- */

.intro-strip { padding: var(--sp-9) 0; border-bottom: 1px solid var(--grey-200); }
.intro-strip .container { max-width: 900px; }
.intro-strip p {
  font-family: var(--font); font-size: clamp(1.2rem, 1rem + 0.8vw, 1.55rem);
  font-weight: 400; line-height: 1.5; color: var(--black); margin: 0;
}
.intro-strip .intro-byline { margin-top: var(--sp-6); font-family: var(--font); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-500); }

/* ---------- Services overview: real photography, flat, sharp ---------- */

.services-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); align-items: start; }

.service-card {
  display: block; background: var(--bg); padding-bottom: var(--sp-6); border-radius: 8px; overflow: hidden;
  cursor: pointer; position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card:focus-visible { outline: 2px solid var(--black); outline-offset: -2px; }

/* Clicking a card lifts it slightly toward the viewer and reveals the
   extra paragraph below: no navigation, no scroll jump. "See projects"
   is a real link inside the card and still navigates normally. */
.service-card.is-open {
  transform: scale(1.012);
  box-shadow: 0 10px 26px rgba(18,18,18,0.10);
  z-index: 1;
}

.service-card-media { aspect-ratio: 4/5; overflow: hidden; background: var(--bg-alt); margin-bottom: var(--sp-5); border-radius: 8px 8px 0 0; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.service-card.is-open .service-card-media img { transform: scale(1.02); }

.service-card-body { padding: 0 var(--sp-6); }
.service-card-num { font-family: var(--font); font-size: 0.8rem; font-weight: 600; color: var(--grey-500); margin-bottom: var(--sp-2); display: block; letter-spacing: 0.04em; }
.service-card h3 { font-size: 1.3rem; font-weight: 600; color: var(--black); margin-bottom: var(--sp-3); }
.service-card p { font-size: 0.98rem; margin-bottom: var(--sp-4); }

.service-card-more {
  max-height: 0; opacity: 0; overflow: hidden;
  transform: translateY(-8px);
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), transform 0.4s var(--ease), margin-bottom 0.5s var(--ease);
}
.service-card.is-open .service-card-more {
  max-height: 260px; opacity: 1; transform: translateY(0); margin-bottom: var(--sp-4);
}
.service-card-more p { color: var(--grey-500); font-size: 0.95rem; margin: 0; }

.service-card .btn-text { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .service-card, .service-card-more, .service-card-media img { transition: none; }
}

@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Why Structure Building ---------- */

.why-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); }

.why-item { border-top: 1px solid var(--grey-200); padding-top: var(--sp-5); }
.why-item-num { font-family: var(--font); font-size: 0.85rem; font-weight: 700; color: var(--accent); display: block; margin-bottom: var(--sp-3); letter-spacing: 0.04em; }
.why-item h3 { font-size: 1.15rem; font-weight: 600; color: var(--black); margin-bottom: var(--sp-3); }
.why-item p { max-width: 380px; }

@media (min-width: 720px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Featured projects: real photography, large, editorial grid ---------- */

.projects-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--grey-200); }

.project-card { display: block; width: 100%; padding: 0; border: 0; text-align: left; cursor: pointer; font: inherit; background: var(--bg); }
.project-card-badge { position: absolute; right: var(--sp-4); bottom: var(--sp-4); display: inline-flex; align-items: center; gap: var(--sp-2); padding: 8px 14px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); background: rgba(18,18,18,0.72); border-radius: var(--radius); opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.project-card-badge svg { width: 13px; height: 13px; }
.project-card:hover .project-card-badge, .project-card:focus-visible .project-card-badge { opacity: 1; transform: translateY(0); }
@media (hover: none) { .project-card-badge { opacity: 1; transform: none; } }
.section-cta { margin-top: var(--sp-8); }
.project-card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); position: relative; border-radius: var(--radius); }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.project-card:hover .project-card-media img { transform: scale(1.03); }

.project-card-body { padding: var(--sp-5) var(--sp-5) var(--sp-6); }
.project-card-cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-500); }
.project-card h3 { font-size: 1.2rem; font-weight: 600; color: var(--black); margin: var(--sp-2) 0 var(--sp-1); }
.project-card-scope { font-size: 0.92rem; color: var(--grey-500); }

@media (min-width: 620px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .projects-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .projects-grid-3 .project-card-media { aspect-ratio: auto; height: 520px; }
}

/* ---------- Testimonials: plain, confident, no italic serif ---------- */

.testimonial-stage { position: relative; max-width: 760px; overflow: hidden; }

.testimonial-track { display: flex; transition: transform 0.5s var(--ease); }

.testimonial { flex: 0 0 100%; min-width: 0; padding-right: var(--sp-6); }

.testimonial-stars { display: flex; gap: 3px; margin-bottom: var(--sp-5); color: var(--accent); }
.testimonial-stars svg { width: 15px; height: 15px; }

.testimonial blockquote {
  margin: 0 0 var(--sp-6);
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.6rem);
  line-height: 1.5;
  color: var(--black);
  letter-spacing: -0.005em;
}

.testimonial cite { font-style: normal; font-family: var(--font); font-size: 0.85rem; color: var(--grey-500); }
.testimonial cite strong { color: var(--black); font-weight: 600; }

@media (prefers-reduced-motion: reduce) { .testimonial-track { transition: none; } }

.testimonial-nav { display: flex; align-items: center; gap: var(--sp-5); margin-top: var(--sp-8); }

.testimonial-dots { display: flex; gap: var(--sp-2); }
.testimonial-dot { width: 22px; height: 2px; background: var(--grey-300); border: none; cursor: pointer; transition: background-color 0.3s var(--ease); }
.testimonial-dot.active { background: var(--accent); }

.testimonial-arrow {
  width: 38px; height: 38px; border-radius: var(--radius);
  border: 1px solid var(--grey-300); background: transparent; color: var(--black);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.testimonial-arrow:hover { border-color: var(--black); background: var(--black); color: var(--white); }
.testimonial-arrow svg { width: 15px; height: 15px; }

.rating-summary { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-8); }
.rating-summary-num { display: flex; gap: 2px; color: var(--accent); }
.rating-summary-num svg { width: 18px; height: 18px; }
.rating-summary-text { font-size: 0.9rem; color: var(--grey-500); }

/* ---------- About ---------- */

.about-split { display: grid; grid-template-columns: 1fr; gap: var(--sp-8); align-items: center; }
.about-media { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); }
.about-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 860px) { .about-split { grid-template-columns: 1fr 1fr; gap: var(--sp-10); } }

/* ---------- Final CTA band: real black, not a "warm dark" tint ---------- */

.final-cta { position: relative; overflow: hidden; color: var(--white); }
.final-cta .container { position: relative; z-index: 1; }
.final-cta .label { color: rgba(255,255,255,0.75); }
.final-cta h2 { color: var(--white); max-width: 640px; }
.final-cta p { font-size: 1.1rem; max-width: 480px; margin-bottom: var(--sp-7); color: rgba(255,255,255,0.65); }
.final-cta-actions { display: flex; flex-wrap: wrap; gap: var(--sp-6); align-items: center; }
.final-cta-phones { display: flex; flex-direction: column; gap: 2px; font-family: var(--font); font-size: 1rem; font-weight: 600; color: var(--white); }
.final-cta-phones span { font-family: var(--font); font-weight: 500; font-size: 0.72rem; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; text-transform: uppercase; }
.final-cta-phones a:hover { color: var(--accent); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-9); }

.contact-info-item { padding: var(--sp-5) 0; border-top: 1px solid var(--grey-200); }
.contact-info-item:first-child { border-top: none; padding-top: 0; }
.contact-info-item h3 { margin-bottom: var(--sp-1); }
.contact-info-item a, .contact-info-item p { margin: 0; font-size: 1.02rem; color: var(--grey-500); transition: color 0.3s var(--ease); }
.contact-info-item a:hover { color: var(--accent); }

.contact-form { background: var(--bg-alt); border: 1px solid var(--grey-200); padding: var(--sp-7) var(--sp-6); }
.contact-form h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: var(--sp-2); }
.contact-form .form-lead { margin-bottom: var(--sp-6); }

.form-row { margin-bottom: var(--sp-5); }
.form-row-split { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }

.form-row label, .form-row-label {
  display: block; font-family: var(--font); font-weight: 600; font-size: 0.74rem;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--sp-3); color: var(--grey-700);
}

.form-optional { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--grey-500); }

.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: var(--sp-4);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  font-size: 1rem; font-family: var(--font);
  background: var(--bg); color: var(--black);
  transition: border-color 0.25s var(--ease);
}

.form-row input::placeholder, .form-row textarea::placeholder { color: var(--grey-300); opacity: 1; }
.form-row option { background: var(--bg); color: var(--black); }

.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--black); }
.form-row textarea { resize: vertical; min-height: 110px; }

/* ---------- Custom animated dropdown: replaces native <select> ---------- */

.dropdown { position: relative; }

.dropdown-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  width: 100%; padding: var(--sp-4);
  border: 1px solid var(--grey-300); border-radius: var(--radius);
  background: var(--bg); color: var(--black);
  font-size: 1rem; font-family: var(--font); text-align: left;
  cursor: pointer;
  transition: border-color 0.25s var(--ease);
}
.dropdown-toggle:hover { border-color: var(--grey-500); }
.dropdown.open .dropdown-toggle { border-color: var(--black); }

.dropdown-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dropdown-chevron { width: 16px; height: 16px; flex-shrink: 0; color: var(--grey-500); transition: transform 0.25s var(--ease); }
.dropdown.open .dropdown-chevron { transform: rotate(180deg); color: var(--black); }

.dropdown-menu {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px);
  margin: 0; padding: var(--sp-2);
  list-style: none;
  background: var(--bg); border: 1px solid var(--grey-200); border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(18,18,18,0.12);
  max-height: 0; overflow: hidden auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: max-height 0.28s var(--ease), opacity 0.2s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.28s;
}

.dropdown.open .dropdown-menu {
  max-height: 280px; opacity: 1; transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.dropdown-menu li {
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.95rem; color: var(--grey-700);
  cursor: pointer;
  border-radius: var(--radius);
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.dropdown-menu li:hover, .dropdown-menu li.is-active { background: var(--bg-alt); color: var(--black); }
.dropdown-menu li[aria-selected="true"] { color: var(--black); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .dropdown-menu, .dropdown-chevron { transition: none; }
}

.form-note { font-size: 0.85rem; color: var(--grey-500); margin-top: var(--sp-4); }

.form-success {
  display: none; background: var(--bg); border: 1px solid var(--black); color: var(--black);
  padding: var(--sp-4); border-radius: var(--radius); font-weight: 500; margin-bottom: var(--sp-5);
}
.form-success.visible { display: block; }

/* ---------- Footer ---------- */

.site-footer { background: var(--black); color: rgba(255,255,255,0.6); padding: var(--sp-9) 0 var(--sp-8); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-7); margin-bottom: var(--sp-7); }
.footer-brand img { height: 26px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--sp-4); }
.footer-brand p { font-family: var(--font); font-size: 1rem; color: rgba(255,255,255,0.55); max-width: 320px; margin: 0; }
.footer-accreditation-wrap { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-5); }
.footer-brand img.footer-accreditation { height: 44px; width: auto; filter: none; background: transparent; border-radius: 0; padding: 0; margin-top: 0; margin-bottom: 0; }
.footer-accreditation-label { font-family: var(--font); font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.3; max-width: 140px; }

.footer-col h4 {
  color: var(--white); font-family: var(--font); font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: var(--sp-4); font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a { font-size: 0.96rem; color: rgba(255,255,255,0.6); transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 0.96rem; color: rgba(255,255,255,0.6); margin: 0 0 var(--sp-1); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14); padding-top: var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-3);
  font-size: 0.8rem; color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-credit { color: rgba(255,255,255,0.22); }
.footer-credit a { color: rgba(255,255,255,0.3); transition: color 0.3s var(--ease); }
.footer-credit a:hover { color: rgba(255,255,255,0.75); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Sticky mobile CTA bar ---------- */

.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: flex;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--grey-200);
  padding: var(--sp-3) var(--sp-4);
  padding-bottom: calc(var(--sp-3) + env(safe-area-inset-bottom));
  gap: var(--sp-3);
}
.mobile-cta-bar .btn { flex: 1; min-width: 0; padding: var(--sp-4) var(--sp-2); font-size: 0.78rem; }

@media (max-width: 859px) { body { padding-bottom: 68px; } }

/* ---------- Estimate modal ---------- */

.quote-modal-overlay {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-5);
  visibility: hidden;
  transition: visibility 0s linear 0.3s;
}
.quote-modal-overlay.is-open { visibility: visible; transition-delay: 0s; }

.quote-modal-backdrop { position: absolute; inset: 0; background: rgba(18,18,18,0.6); opacity: 0; transition: opacity 0.3s var(--ease); }
.quote-modal-overlay.is-open .quote-modal-backdrop { opacity: 1; }

.quote-modal-box {
  position: relative; width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto;
  background: var(--bg); border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.quote-modal-overlay.is-open .quote-modal-box { opacity: 1; transform: translateY(0); }

.quote-modal-close {
  position: absolute; top: var(--sp-5); right: var(--sp-5);
  color: var(--grey-500); background: none; border: none; cursor: pointer; padding: var(--sp-1);
  transition: color 0.3s var(--ease);
}
.quote-modal-close:hover { color: var(--black); }
.quote-modal-close svg { width: 18px; height: 18px; display: block; }

.quote-progress { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-6); }
.quote-progress-dot { height: 2px; flex: 1; background: var(--grey-200); transition: background 0.3s var(--ease); }
.quote-progress-dot.is-done { background: var(--accent); }

.quote-step { display: none; }
.quote-step.is-active { display: block; animation: quote-step-in 0.35s var(--ease); }
@keyframes quote-step-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }

.quote-back {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.03em; color: var(--grey-500);
  background: none; border: none; cursor: pointer; padding: 0; margin-bottom: var(--sp-4);
  transition: color 0.3s var(--ease);
}
.quote-back:hover { color: var(--accent); }

.quote-step-label { font-family: var(--font); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-500); margin-bottom: var(--sp-3); }
.quote-step h3 { font-weight: 700; font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem); color: var(--black); margin-bottom: var(--sp-5); }

.quote-options { display: flex; flex-direction: column; gap: var(--sp-3); }
.quote-option {
  text-align: left; font-family: var(--font); font-size: 0.95rem; color: var(--black);
  background: var(--bg); border: 1px solid var(--grey-300); border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5); cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.quote-option:hover { border-color: var(--black); background: var(--bg-alt); }

.quote-modal-box .form-row:last-of-type { margin-bottom: var(--sp-5); }

.quote-confirm-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-4);
}
.quote-confirm-icon svg { width: 18px; height: 18px; }
.quote-confirm-text { color: var(--grey-500); }

@media (prefers-reduced-motion: reduce) {
  .quote-modal-overlay, .quote-modal-backdrop, .quote-modal-box, .quote-step.is-active { transition: none; animation: none; }
}

/* ---------- Responsive ---------- */

@media (min-width: 600px) { .form-row-split { grid-template-columns: 1fr 1fr; } }

@media (min-width: 860px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-cta-bar { display: none; }

  .contact-grid { grid-template-columns: 0.8fr 1fr; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
