/* ============================================================
   AY Construction — homepage styles
   Design tokens & component styles recreated from the handoff.
   ============================================================ */

:root {
  --navy-900: #0E1418;
  --navy-800: #18222B;
  --navy-700: #2C3A45;
  --gold: #C3A24C;
  --gold-dark: #98782E;
  --off-white: #F8F6F2;
  --white: #FFFFFF;
  --text: #1C2B3A;
  --slate-600: #3D4F63;
  --slate-500: #5A6B7E;
  --slate-400: #8295A8;
  --bluegrey-300: #8FA3B6;
  --bluegrey-200: #B9C7D6;
  --bluegrey-100: #C9D6E2;
  --border-warm: #EEE9E0;
  --border-warm-hover: #E4DACB;
  --input-border: #E5DFD4;

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1160px;
  --shadow-card: 0 16px 36px rgba(24, 34, 43, 0.12);
  --shadow-cta: 0 4px 18px rgba(195, 162, 76, 0.4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01", "cv11"; /* Inter: sharper, modern letterforms */
}

img { max-width: 100%; }

/* The hidden attribute must always win over component display rules
   (e.g. .form-card form / .form-success use display:flex). */
[hidden] { display: none !important; }

::selection { background: var(--gold); color: #fff; }

a { color: inherit; }

h1, h2, h3 { text-wrap: pretty; }
p { text-wrap: pretty; }

.accent {
  color: var(--gold);
  background: linear-gradient(90deg, #E6C878, #C3A24C 60%, #B79237);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stars { color: var(--gold); letter-spacing: 1px; }
.stars--lg { font-size: 22px; letter-spacing: 3px; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section { background: var(--white); }
.section > .container { padding-top: 96px; padding-bottom: 96px; }
.section--alt { background: var(--off-white); }
.section--bordered { border-top: 1px solid var(--border-warm); }
.section--navy { background: var(--navy-800); }

/* ---------- Headings ---------- */
.h2 {
  font-family: var(--font-head);
  font-size: 42px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--navy-800);
  margin: 0;
  letter-spacing: -1px;
}
.h2--white { color: var(--white); }

.eyebrow {
  color: var(--gold-dark);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.section-head--on-navy .eyebrow { color: var(--gold); }

.section-head { margin-bottom: 48px; }
.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.section-head__main { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.section-head__sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-500);
  margin: 0;
  max-width: 380px;
}
.section-head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.section-head__sub--center { max-width: 600px; }
.section-head--on-navy .h2 { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  padding: 11px 22px;
  transition: all 0.2s ease;
}
.btn--primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #D9BB6B 0%, #C3A24C 48%, #A8842F 100%);
  color: var(--navy-900);
  box-shadow: 0 2px 10px rgba(195, 162, 76, 0.4);
}
.btn--primary > * { position: relative; z-index: 1; }
.btn--primary::after {
  content: "";
  position: absolute; top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn--primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn--primary:hover::after { left: 130%; }
.btn--lg {
  font-size: 17px;
  padding: 16px 30px;
  border-radius: 12px;
}
.btn--lg.btn--primary { box-shadow: var(--shadow-cta); }
.btn--lg.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; }
.btn--navy { background: var(--navy-800); color: #fff; padding: 15px 24px; border-radius: 11px; font-size: 16px; }
.btn--navy:hover { background: var(--gold); color: var(--navy-900); }
.btn--block { width: 100%; }
.btn--ghost-dark {
  background: #fff;
  border: 1.5px solid var(--border-warm-hover);
  color: var(--navy-800);
  padding: 14px 28px;
  border-radius: 11px;
  font-size: 15px;
}
.btn--ghost-dark:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }

/* ---------- Badges & chips ---------- */
.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}
.badge--hero {
  position: relative;
  overflow: hidden;
  background: rgba(195, 162, 76, 0.18);
  border: 1px solid rgba(195, 162, 76, 0.5);
  color: #E4CA86;
}
.badge--hero::after {
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(230, 200, 120, 0.55), transparent);
  transform: skewX(-20deg);
  animation: gold-shimmer 5s ease-in-out infinite;
}
@keyframes gold-shimmer {
  0%, 55% { left: -120%; }
  100% { left: 170%; }
}
.badge--solid {
  background: var(--gold);
  color: var(--navy-900);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #DCE6EF;
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
}

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: var(--bluegrey-200); font-size: 13.5px; }
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar__left { display: flex; align-items: center; gap: 8px; }
.topbar__phone { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.topbar__phone:hover { color: var(--gold); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E8E3DA;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__logo { height: 38px; width: auto; display: block; }
.brand__logo--footer { height: 46px; }

/* YER Renovations wordmark logo */
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; gap: 4px; }
.logo__main {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--navy-800);
  padding-left: 3px; /* optical balance against the tracked-out sub-label */
}
.logo__sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 8px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--slate-500);
  padding-left: 5px;
}
.logo--light .logo__main { color: #fff; }
.logo--light .logo__sub { color: var(--bluegrey-300); }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.nav__links > a:not(.btn) { color: var(--slate-600); text-decoration: none; }
.nav__links > a:not(.btn):hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-800);
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(10,31,51,0.93) 0%, rgba(13,40,64,0.78) 45%, rgba(13,40,64,0.25) 100%);
}
.hero__container { position: relative; width: 100%; padding-top: 96px; padding-bottom: 96px; }
.hero__content { max-width: 620px; display: flex; flex-direction: column; gap: 24px; }
.hero__title {
  font-family: var(--font-head);
  font-size: 58px; line-height: 1.06; font-weight: 700;
  color: #fff; margin: 0; letter-spacing: -1.5px;
}
.hero__sub { font-size: 19px; line-height: 1.6; color: var(--bluegrey-100); margin: 0; max-width: 520px; }
.hero__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__trust { display: flex; align-items: center; gap: 22px; margin-top: 8px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: var(--bluegrey-100); font-size: 14.5px; font-weight: 600;
}

/* ---------- Power washing feature ---------- */
.feature {
  background: var(--navy-800);
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  box-shadow: 0 18px 50px rgba(24, 34, 43, 0.18);
}
.feature__body { padding: 56px; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.feature__title {
  font-family: var(--font-head);
  font-size: 40px; line-height: 1.1; font-weight: 700;
  color: #fff; margin: 0; letter-spacing: -1px;
}
.feature__text { font-size: 16.5px; line-height: 1.65; color: var(--bluegrey-200); margin: 0; }
.feature__actions { display: flex; align-items: center; gap: 16px; margin-top: 6px; flex-wrap: wrap; }
.feature__note { color: var(--bluegrey-300); font-size: 14px; font-weight: 600; }
.feature__media { position: relative; min-height: 460px; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff;
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--border-warm-hover); }
.card__img { width: 100%; height: 210px; object-fit: cover; display: block; }
.card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.card__title {
  font-family: var(--font-head);
  font-size: 21px; font-weight: 700; color: var(--navy-800);
  margin: 0; letter-spacing: -0.3px;
}
.card__text { font-size: 15px; line-height: 1.6; color: var(--slate-500); margin: 0; }

/* ---------- Quick jobs ---------- */
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.quick-card {
  background: #fff;
  border: 1px solid var(--border-warm);
  border-radius: 14px;
  padding: 28px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: all 0.25s ease;
}
.quick-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(24, 34, 43, 0.1); border-color: var(--border-warm-hover); }
.quick-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(195, 162, 76, 0.10);
  transition: background 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.quick-card__icon svg { width: 30px; height: 30px; display: block; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.quick-card:hover .quick-card__icon { background: rgba(195, 162, 76, 0.18); transform: translateY(-2px) rotate(-3deg); }
.quick-card:hover .quick-card__icon svg { transform: scale(1.12) rotate(3deg); }
.quick-card__title { font-family: var(--font-head); font-size: 16.5px; font-weight: 700; color: var(--navy-800); margin: 0; }
.quick-card__text { font-size: 13.5px; line-height: 1.55; color: var(--slate-500); margin: 0; }
.quick-card__link {
  margin-top: auto;
  color: var(--gold);
  font-size: 12.5px; font-weight: 700; letter-spacing: 1px;
  text-decoration: none;
}
.quick-card__link:hover { color: var(--gold-dark); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 215px;
  gap: 16px;
}
.gallery__tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--navy-800);
  border: none;
  padding: 0;
  font: inherit;
}
.gallery__tile--feature { grid-column: span 2; grid-row: span 2; }
.gallery__tile img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.gallery__tile:hover img { transform: scale(1.04); }
.gallery__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 20px 16px;
  background: linear-gradient(180deg, rgba(10,31,51,0) 0%, rgba(10,31,51,0.78) 100%);
  color: #fff; font-size: 14px; font-weight: 700;
  text-align: left;
  pointer-events: none;
}
.gallery__tile--feature .gallery__caption { font-size: 15px; }

/* ---------- Before & After (comparison gallery) ---------- */
.ba-grid {
  column-count: 3;
  column-gap: 22px;
}
.ba-card {
  display: block;
  width: 100%;
  margin: 0 0 22px;
  padding: 0;
  border: none;
  background: var(--navy-800);
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  break-inside: avoid;
  box-shadow: 0 10px 30px rgba(24, 34, 43, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ba-card img { display: block; width: 100%; height: auto; }
.ba-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(24, 34, 43, 0.18); }
.ba-card.is-hidden { display: none; }
.ba-more { display: flex; justify-content: center; margin-top: 34px; }
.ba-more.is-done { display: none; }

/* ---------- Reviews ---------- */
.reviews__rating { display: flex; align-items: center; gap: 10px; }
.reviews__rating-text { color: var(--bluegrey-200); font-size: 15px; font-weight: 600; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.review {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review .stars { font-size: 17px; letter-spacing: 2px; }
.review__quote { font-size: 15.5px; line-height: 1.65; color: var(--slate-600); margin: 0; }
.review__footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--off-white); border: 1px solid var(--border-warm);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--navy-800); font-size: 15px;
  flex-shrink: 0;
}
.review__person { display: flex; flex-direction: column; }
.review__name { font-weight: 700; color: var(--navy-800); font-size: 14.5px; }
.review__meta { color: var(--slate-400); font-size: 13px; }

/* ---------- Videos ---------- */
.videos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy-800);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.link-accent {
  color: var(--gold-dark);
  font-size: 15px; font-weight: 700; letter-spacing: 0.5px;
  text-decoration: none; white-space: nowrap;
}
.link-accent:hover { color: var(--navy-800); }

/* Current-page nav highlight (multi-page) */
.nav__links a[aria-current="page"]:not(.btn) { color: var(--gold-dark); }

/* CTA band (Our Work page) */
.cta-band { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cta-band .h2 { max-width: 720px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__left { display: flex; flex-direction: column; gap: 22px; }
.contact__left .h2 { font-size: 44px; line-height: 1.08; }
.contact__lead { font-size: 17px; line-height: 1.65; color: var(--slate-500); margin: 0; max-width: 440px; }
.call-card {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border-warm);
  border-radius: 16px;
  padding: 20px 24px;
  max-width: 380px;
  transition: all 0.2s ease;
}
.call-card:hover { border-color: var(--gold); box-shadow: 0 8px 24px rgba(24, 34, 43, 0.08); }
.call-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.call-card__text { display: flex; flex-direction: column; gap: 2px; }
.call-card__label { font-size: 13px; color: var(--slate-400); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.call-card__number { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--navy-800); letter-spacing: -0.5px; }
.contact__details { display: flex; flex-direction: column; gap: 6px; font-size: 15.5px; color: var(--slate-500); }
.contact__details strong { color: var(--navy-800); }
.contact__details a { color: var(--slate-500); text-decoration: none; }
.contact__details a:hover { color: var(--gold); }
.contact__photo { width: 100%; max-width: 440px; height: 240px; object-fit: cover; border-radius: 16px; border: 1px solid var(--border-warm); margin-top: 6px; }

.form-card {
  background: #fff;
  border: 1px solid var(--border-warm);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 14px 40px rgba(24, 34, 43, 0.07);
}
.form-card form { display: flex; flex-direction: column; gap: 16px; }
.form-card__title { font-family: var(--font-head); font-size: 23px; font-weight: 700; color: var(--navy-800); margin: 0; letter-spacing: -0.3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card input,
.form-card textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  border: 1.5px solid var(--input-border);
  border-radius: 10px;
  outline: none;
  color: var(--text);
  background: #FDFCFA;
  width: 100%;
}
.form-card textarea { resize: vertical; }
.form-card input:focus,
.form-card textarea:focus { border-color: var(--gold); }
.form-card input::placeholder,
.form-card textarea::placeholder { color: var(--slate-400); }
.form-card__note { font-size: 13px; color: var(--slate-400); text-align: center; }
.form-card input.invalid,
.form-card textarea.invalid { border-color: var(--gold-dark); background: #FFF7F2; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error {
  margin: 0;
  font-size: 13.5px;
  color: var(--gold-dark);
  background: #FFF7F2;
  border: 1px solid #F6D9C6;
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
}
.form-error a { color: var(--gold-dark); font-weight: 700; }

.form-success { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 48px 12px; }
.form-success__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--navy-800); display: flex; align-items: center; justify-content: center; }
.form-success__title { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--navy-800); margin: 0; }
.form-success__text { font-size: 15.5px; color: var(--slate-500); margin: 0; }
.form-success__text a { color: var(--gold-dark); font-weight: 700; text-decoration: none; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: var(--bluegrey-200); }
.footer .container { padding-top: 64px; padding-bottom: 32px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__blurb { font-size: 14.5px; line-height: 1.65; margin: 0; max-width: 320px; color: var(--bluegrey-300); }
.footer__rating { color: var(--bluegrey-300); font-size: 14px; }
.footer__rating .stars { letter-spacing: 1.5px; font-size: 14px; margin-right: 4px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; }
.footer__col > a { color: var(--bluegrey-300); text-decoration: none; }
.footer__col > a:hover { color: var(--gold); }
.footer__heading { color: #fff; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.footer__phone { color: #fff !important; font-weight: 700; font-size: 17px; }
.footer__social { display: flex; gap: 14px; margin-top: 6px; font-size: 13.5px; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; font-size: 13px; color: #5F758A;
  gap: 16px;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(14, 20, 24, 0.93);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px; padding: 48px;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 92%; max-height: 76vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox__caption { color: #fff; font-size: 16px; font-weight: 700; }
.lightbox__hint { color: var(--bluegrey-300); font-size: 13px; }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Premium reflective surfaces ---------- */
/* Glassy sheen that sweeps across service cards on hover */
.card { position: relative; }
.card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 38%, rgba(255, 255, 255, 0.55) 50%, transparent 62%);
  transform: translateX(-110%);
  transition: transform 0.75s ease;
  pointer-events: none;
  z-index: 3;
}
.card:hover::after { transform: translateX(110%); }

/* Soft top-left highlight on feature photos for a glassy look */
.feature__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, transparent 34%);
  pointer-events: none;
}

/* Thin gold streak accent under centered eyebrows */
.section-head--center .eyebrow { position: relative; display: inline-block; padding-bottom: 12px; }
.section-head--center .eyebrow::after {
  content: "";
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 46px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .card:hover, .quick-card:hover, .ba-card:hover { transform: none; }
  .quick-card:hover .quick-card__icon, .quick-card:hover .quick-card__icon svg { transform: none; }
  .badge--hero::after { animation: none; }
  .card::after, .btn--primary::after { transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .h2 { font-size: 36px; }
  .hero__title { font-size: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .ba-grid { column-count: 2; }
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 300px; order: -1; }
  .feature__body { padding: 40px; }
}

/* ---------- Hamburger button ---------- */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav__burger { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-warm);
    box-shadow: 0 12px 32px rgba(13,40,64,0.13);
    z-index: 100;
  }
  .nav__links.is-open { display: flex; }
  .nav__links > a:not(.btn) {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-warm);
    font-size: 16px;
    color: var(--navy-800);
  }
  .nav__links > a:not(.btn):last-of-type { border-bottom: none; }
  .nav__cta { margin-top: 16px; text-align: center; }
  .section > .container { padding-top: 72px; padding-bottom: 72px; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 40px; }
  .hero__sub { font-size: 17px; }
  .topbar__left span:last-child { display: none; }
}

@media (max-width: 600px) {
  .h2 { font-size: 30px; }
  .contact__left .h2 { font-size: 34px; }
  .feature__title { font-size: 30px; }
  .hero__title { font-size: 34px; letter-spacing: -1px; }
  .hero { min-height: 560px; }
  .brand__logo { height: 32px; }
  .services-grid { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { column-count: 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery__tile--feature { grid-column: span 2; grid-row: span 2; }
  .btn--lg { width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; }
}

/* ============================================================
   Demo bar (client preview / launch CTA)
   ============================================================ */
.demo-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: linear-gradient(90deg, var(--navy-900), var(--navy-700));
  border-top: 2px solid var(--gold);
  color: #fff;
  box-shadow: 0 -8px 28px rgba(14, 20, 24, 0.28);
}
.demo-bar__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 56px;
}
.demo-bar__text { margin: 0; font-size: 15px; font-weight: 500; }
.demo-bar__text strong { font-weight: 700; }
.demo-bar__badge {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--navy-900); background: var(--gold);
  padding: 3px 9px; border-radius: 999px;
  margin-right: 10px; vertical-align: middle;
}
.demo-bar .btn { white-space: nowrap; flex-shrink: 0; }
.demo-bar__close {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--bluegrey-300);
  font-size: 24px; line-height: 1; cursor: pointer;
  padding: 4px 8px; border-radius: 6px;
}
.demo-bar__close:hover { color: #fff; }
.demo-bar.is-dismissed { display: none; }

/* Keep page content clear of the fixed bar */
body.has-demo-bar { padding-bottom: 60px; }

@media (max-width: 600px) {
  .demo-bar__inner { flex-direction: column; gap: 10px; padding: 12px 44px; text-align: center; }
  .demo-bar__text { font-size: 13.5px; }
  .demo-bar .btn { width: 100%; }
  body.has-demo-bar { padding-bottom: 132px; }
}
