/* ---------------------------------------------------------------------
   Custom Kitchens & Baths of Texas — global stylesheet
   Design tokens per design_handoff_ckb_website/README.md
--------------------------------------------------------------------- */

:root {
  --navy: #0c1640;
  --navy-alt-1: #16265f;
  --navy-alt-2: #1c2f78;
  --navy-alt-3: #24408f;
  --gold: #f0a93a;
  /* Darkened from the original design handoff's #c98a1e: that value only ever
     clears ~2.7:1 against the cream/white backgrounds it's used on (kickers,
     icon-chip icons, service-card links) — this value clears ~5:1 (WCAG AA)
     against both while staying in the same warm gold-brown family. */
  --gold-deep: #96590e;
  --cream: #f7f5f0;
  --cream-alt: #f0ece3;
  --text: #14161c;
  --text-2: #3a4260;
  --text-3: #4a5273;
  --muted-1: #cdd4ee;
  --muted-2: #aab3d8;
  --muted-3: #8f99c4;
  --border: rgba(12, 22, 64, 0.08);
  --font-serif: "Newsreader", serif;
  --font-sans: "Instrument Sans", sans-serif;
  --max-width: 1240px;
  --side-pad: 28px;

  /* Recurring derived overlays/shadows, promoted from repeated rgba() literals. */
  --shadow-card-rest: 0 2px 20px rgba(12, 22, 64, 0.05);
  --shadow-card-hover: 0 18px 40px rgba(12, 22, 64, 0.14);
  --shadow-cta-glow: 0 10px 30px rgba(240, 169, 58, 0.3);
  --glow-gold-ambient: radial-gradient(circle, rgba(240, 169, 58, 0.28), transparent 70%);
  --wash-gold-16: rgba(240, 169, 58, 0.16);
  --wash-gold-22: rgba(240, 169, 58, 0.22);
  --border-gold-50: rgba(240, 169, 58, 0.5);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--cream); }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.section { max-width: var(--max-width); margin: 0 auto; padding: 96px 28px 40px; }

@keyframes kb {
  from { transform: scale(1.02); }
  to { transform: scale(1.16); }
}
@keyframes fadeup {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

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

/* Typography helpers ---------------------------------------------------- */

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.kicker--on-navy { color: var(--gold); }

.h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-top: 14px;
  text-wrap: balance;
}
.h2--on-navy { color: #fff; }
.h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0;
}

.body-text { font-size: 15px; line-height: 1.62; color: var(--text-3); }
.body-text--lg { font-size: 17px; line-height: 1.7; color: var(--text-2); margin-bottom: 22px; }

.text-gold-italic { color: var(--gold); font-style: italic; }
.text-gold-italic-serif { font-style: italic; color: var(--gold-deep); }

.muted-note { font-size: 14px; color: #7a8199; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.btn--lg { padding: 15px 30px; font-size: 16px; font-weight: 700; }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--gold); color: var(--navy); }

.btn--gold { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-cta-glow); }
.btn--gold:hover { background: #fff; color: var(--navy); }

.btn--glass {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

.btn--outline-light { border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold); }

.btn--ghost-gold {
  background: rgba(240, 169, 58, 0.15);
  border: 1px solid rgba(240, 169, 58, 0.4);
  color: var(--gold);
}
.btn--ghost-gold:hover { background: var(--gold); color: var(--navy); }

/* Icon chip ---------------------------------------------------------------- */

.icon-chip {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--wash-gold-16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  margin-bottom: 20px;
}
.icon-chip--lg { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 20px; }
.icon { display: block; }

/* Photo placeholder ---------------------------------------------------------------- */

.photo-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 180px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 22% 12%, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 46%),
    radial-gradient(140% 120% at 88% 100%, rgba(9, 14, 48, 0.55), rgba(9, 14, 48, 0) 55%);
}
.photo-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px rgba(9, 14, 48, 0.35);
}
.photo-placeholder__label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px 20px;
  padding: 9px 16px;
  background: rgba(9, 14, 48, 0.62);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-gold-50);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.photo-placeholder__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

/* Header ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(12, 22, 64, 0.1);
}
.site-header__row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 28px;
}

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0; }
.brand__logo { width: 52px; height: 52px; object-fit: contain; }
.brand__logo--lg { width: 64px; height: 64px; }
.brand__wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 18px; color: var(--navy); letter-spacing: 0.01em; }
.brand__name--lg { font-size: 21px; color: #fff; }
.brand__suffix { font-size: 11px; font-weight: 700; letter-spacing: 0.28em; color: var(--gold-deep); text-transform: uppercase; }
.brand__suffix--lg { color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #3a4360;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s, background-color 0.18s;
}
.nav-link:hover { color: var(--navy); background: var(--wash-gold-16); }
.nav-link.is-active { color: var(--navy); font-weight: 600; background: var(--wash-gold-22); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(12, 22, 64, 0.22);
  flex-shrink: 0;
}
.header-cta:hover { background: var(--gold); color: var(--navy); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 10px 16px 16px;
    background: var(--cream);
    border-bottom: 1px solid rgba(12, 22, 64, 0.1);
    box-shadow: 0 16px 30px rgba(12, 22, 64, 0.12);
  }
  .site-header.is-nav-open .site-nav { display: flex; }
  .nav-link { padding: 12px 14px; }
  .site-header__row { position: relative; flex-wrap: wrap; }
  .header-cta { margin-left: 0; }
}

@media (max-width: 520px) {
  .brand__name { font-size: 16px; }
  .header-cta span { display: none; }
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  height: min(90vh, 760px);
  min-height: 560px;
  overflow: hidden;
  background: var(--navy);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s ease;
  animation: kb 22s ease-in-out infinite alternate;
}
.hero__slide.is-active { opacity: 1; }
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 14, 48, 0.82) 0%, rgba(9, 14, 48, 0.5) 46%, rgba(9, 14, 48, 0.15) 100%);
}
.hero__vignette { position: absolute; inset: 0; box-shadow: inset 0 -120px 120px rgba(9, 14, 48, 0.6); }

.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 16px;
  border: 1px solid var(--border-gold-50);
  border-radius: 999px;
  background: rgba(9, 14, 48, 0.35);
  backdrop-filter: blur(6px);
  margin-bottom: 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f4e6cf;
  animation: fadeup 0.7s ease both;
}
.hero__eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  color: #fff;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  max-width: 820px;
  text-wrap: balance;
  animation: fadeup 0.8s ease 0.06s both;
}
.hero__subcopy {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: #dbe0f2;
  max-width: 560px;
  margin: 0 0 36px;
  animation: fadeup 0.8s ease 0.12s both;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeup 0.8s ease 0.18s both; }

.hero__bar { position: absolute; z-index: 3; bottom: 28px; left: 0; right: 0; }
.hero__bar-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero__active-label { display: flex; align-items: center; gap: 12px; color: #fff; }
.hero__active-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.hero__active-label span.js-hero-label { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.hero__dots { display: flex; gap: 9px; }
.hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s;
}
.hero__dot.is-active { width: 28px; background: var(--gold); }

@media (max-width: 640px) {
  .hero__bar-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* Trust strip -------------------------------------------------------------------- */

.trust { background: var(--navy); color: #fff; }
.trust__row { display: flex; flex-wrap: wrap; gap: 18px 56px; align-items: center; justify-content: center; padding: 26px 28px; }
.trust__item { display: flex; align-items: center; gap: 12px; }
.trust__stat { font-family: var(--font-serif); font-size: 30px; font-weight: 600; color: var(--gold); }
.trust__label { font-size: 14px; line-height: 1.25; color: var(--muted-1); white-space: pre-line; }

/* Video feature -------------------------------------------------------------------- */

.video-feature { padding-top: 80px; padding-bottom: 20px; }
.video-feature__panel {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 52px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 20px 20px 20px 56px;
  box-shadow: 0 6px 34px rgba(12, 22, 64, 0.08);
}
.video-feature__copy { padding: 34px 0; }
.video-feature__copy .btn { margin-top: 26px; }
.video-feature__play {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.video-feature__frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 16px 46px rgba(12, 22, 64, 0.2);
}
.video-feature__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 860px) {
  .video-feature__panel { grid-template-columns: 1fr; padding: 24px; }
  .video-feature__copy { padding: 0; }
}

/* Why choose us -------------------------------------------------------------------- */

.why__heading { text-align: center; max-width: 640px; margin: 0 auto 60px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: var(--shadow-card-rest);
}
.card__title { font-family: var(--font-serif); font-weight: 600; font-size: 20px; color: var(--navy); margin: 0 0 10px; line-height: 1.15; }
.card__text { font-size: 14.5px; line-height: 1.62; color: var(--text-3); margin: 0; }

/* Partners / accreditation logo row -------------------------------------------------------------------- */

.partners { padding-top: 70px; padding-bottom: 40px; }
.partners__heading { text-align: center; margin: 0 auto 36px; }
.card--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 24px;
  min-height: 132px;
}
.partner-logo {
  max-width: 100%;
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Process -------------------------------------------------------------------- */

.process-section { padding-top: 70px; }
.process {
  background: var(--navy);
  border-radius: 28px;
  padding: 60px 52px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.process__glow {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--glow-gold-ambient);
}
.process__heading { position: relative; max-width: 560px; margin-bottom: 50px; }
.process__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.process__step { border-top: 2px solid rgba(240, 169, 58, 0.4); padding-top: 20px; }
.process__num { font-family: var(--font-serif); font-size: 44px; font-weight: 500; color: var(--gold); line-height: 1; }
.process__title { font-family: var(--font-serif); font-weight: 600; font-size: 19px; margin: 14px 0 8px; }
.process__text { font-size: 14px; line-height: 1.6; color: var(--muted-2); margin: 0; }

@media (max-width: 860px) {
  .process { padding: 44px 28px; }
  .process__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .process__grid { grid-template-columns: 1fr; }
}

/* Services -------------------------------------------------------------------- */

.services { padding-top: 90px; }
.services__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.services__heading-copy { max-width: 560px; }

.service-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card-rest);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.service-card__photo { height: 210px; overflow: hidden; }
.service-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.service-card:hover .service-card__img { transform: scale(1.05); }
.service-card__body { padding: 24px 24px 26px; }
.service-card__title { font-family: var(--font-serif); font-weight: 600; font-size: 22px; color: var(--navy); margin: 0 0 8px; }
.service-card__text { font-size: 14.5px; line-height: 1.6; color: var(--text-3); margin: 0 0 16px; }
.service-card__cta { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--gold-deep); }
.service-card__arrow { font-size: 17px; }

/* Testimonials -------------------------------------------------------------------- */

.testimonials { background: var(--cream-alt); margin-top: 70px; }
.testimonials .container { padding-top: 90px; padding-bottom: 90px; }
.testimonials__heading { text-align: center; max-width: 600px; margin: 0 auto 54px; }
.testimonials__columns { columns: 3; column-gap: 24px; }

.quote-card {
  break-inside: avoid;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 2px 16px rgba(12, 22, 64, 0.06);
}
.quote-card__mark { font-family: var(--font-serif); font-size: 52px; line-height: 0.5; color: var(--gold); display: block; height: 26px; }
.quote-card__text { font-size: 15px; line-height: 1.62; color: #2c3350; margin: 0 0 18px; }
.quote-card__author { display: flex; align-items: center; gap: 11px; }
.quote-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-serif);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.quote-card__name { font-weight: 600; font-size: 14.5px; color: var(--navy); }

@media (max-width: 860px) { .testimonials__columns { columns: 2; } }
@media (max-width: 560px) { .testimonials__columns { columns: 1; } }

/* CTA band -------------------------------------------------------------------- */

.cta-band { position: relative; overflow: hidden; background: var(--navy); }
.cta-band__glow { position: absolute; inset: 0; background: radial-gradient(90% 120% at 100% 0%, var(--wash-gold-22), transparent 55%); }
.cta-band__glow--alt { background: radial-gradient(90% 120% at 0% 100%, var(--wash-gold-22), transparent 55%); }
.cta-band__content { position: relative; max-width: 900px; margin: 0 auto; padding: 96px 28px; text-align: center; color: #fff; }
.cta-band__content--narrow { max-width: 860px; padding: 84px 28px; }
.cta-band__title { margin-bottom: 20px; }
.cta-band__copy { font-size: 18px; line-height: 1.6; color: var(--muted-1); max-width: 600px; margin: 0 auto 36px; }
.cta-band--service .cta-band__copy { font-size: 17px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

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

.site-footer { background: var(--navy); color: var(--muted-1); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding: 64px 28px 40px;
}
.site-footer__blurb { max-width: 340px; font-size: 15px; line-height: 1.65; color: var(--muted-2); margin: 0 0 22px; }
.site-footer__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer__heading { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.site-footer__links { display: flex; flex-direction: column; gap: 11px; font-size: 15px; }
.site-footer__links a { color: var(--muted-1); }
.site-footer__links a:hover { color: #fff; }
.site-footer__muted { color: var(--muted-3); }
.site-footer__schedule { margin-top: 6px; align-self: flex-start; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.site-footer__bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 28px;
  font-size: 13px;
  color: var(--muted-3);
}

@media (max-width: 780px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Service pages: hero, intro, gallery, features -------------------------------------------------------------------- */

.service-hero {
  position: relative;
  height: min(58vh, 480px);
  min-height: 360px;
  overflow: hidden;
  background: var(--navy);
}
.service-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kb 24s ease-in-out infinite alternate;
  transform-origin: 50% 40%;
}
.service-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 14, 48, 0.85) 0%, rgba(9, 14, 48, 0.55) 55%, rgba(9, 14, 48, 0.2) 100%);
}
.service-hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted-1); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted-1); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { color: var(--gold); }
.breadcrumb__current { color: #fff; }
.service-hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  color: #fff;
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 760px;
  text-wrap: balance;
}
.service-hero__tagline { font-size: clamp(16px, 1.9vw, 20px); line-height: 1.55; color: #dbe0f2; max-width: 560px; margin: 0; }

.service-intro { padding-top: 80px; padding-bottom: 30px; }
.service-intro__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; margin-top: 26px; }
.checklist__item { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; line-height: 1.45; color: #2c3350; }
.checklist__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(240, 169, 58, 0.2);
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}

.service-details { padding-top: 30px; padding-bottom: 30px; }
.service-details__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.service-details__grid h2 { margin: 0 0 14px; }
.service-details__grid .body-text { color: var(--text-2); }

.service-gallery { padding-top: 56px; padding-bottom: 30px; }
.service-gallery__heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 10px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 18px; }
.gallery-item { border-radius: 16px; overflow: hidden; }
.gallery-item--span2 { grid-column: span 2; }
.gallery-item__img { width: 100%; height: 100%; object-fit: cover; display: block; }

.service-features { padding-top: 70px; padding-bottom: 40px; }
.feature-panel { background: #fff; border: 1px solid var(--border); border-radius: 26px; padding: 52px; box-shadow: 0 2px 22px rgba(12, 22, 64, 0.05); }
.feature-panel__heading { margin-bottom: 40px; max-width: 560px; }
.feature-panel__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-col { border-top: 2px solid var(--border-gold-50); padding-top: 18px; }
.feature-col__title { font-family: var(--font-serif); font-weight: 600; font-size: 20px; color: var(--navy); margin: 0 0 9px; }
.feature-col__text { font-size: 15px; line-height: 1.62; color: var(--text-3); margin: 0; }

.service-faq { padding-top: 20px; padding-bottom: 50px; max-width: 900px; }
.service-faq__heading { margin-bottom: 30px; }
.faq-list { display: flex; flex-direction: column; gap: 22px; }
.faq-item { border-top: 1px solid var(--border); padding-top: 18px; }
.faq-item__q { font-family: var(--font-serif); font-weight: 600; font-size: 18px; color: var(--navy); margin: 0 0 8px; }
.faq-item__a { font-size: 15px; line-height: 1.62; color: var(--text-3); margin: 0; }

@media (max-width: 860px) {
  .service-intro__grid { grid-template-columns: 1fr; gap: 32px; }
  .service-details__grid { grid-template-columns: 1fr; gap: 28px; }
  .feature-panel { padding: 32px; }
  .feature-panel__grid { grid-template-columns: 1fr; gap: 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--span2 { grid-column: span 2; }
}
@media (max-width: 560px) {
  .checklist { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-item--span2 { grid-column: span 1; }
}

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

.contact-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.contact-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1c2f78 0%, #0c1640 55%, #070c28 100%);
  animation: kb 24s ease-in-out infinite alternate;
  transform-origin: 50% 40%;
}
.contact-hero__glow { position: absolute; inset: 0; background: radial-gradient(80% 120% at 100% 0%, var(--wash-gold-22), transparent 55%); }
.contact-hero__content { position: relative; padding: 96px 28px 70px; text-align: center; }
.contact-hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
  text-wrap: balance;
}
.contact-hero__subcopy { font-size: 19px; line-height: 1.6; color: #dbe0f2; max-width: 560px; margin: 0 auto; }

.contact-cards-section { max-width: 1080px; padding-top: 70px; padding-bottom: 40px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px 30px;
  text-align: center;
  box-shadow: var(--shadow-card-rest);
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.contact-card__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.contact-card__value { display: block; font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--navy); }
.contact-card__sub { display: block; font-size: 14px; color: #7a8199; margin-top: 6px; }

.service-area-section { max-width: 720px; padding-top: 10px; padding-bottom: 40px; text-align: center; }
.service-area__text { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--text-2); }

/* Contact form (Web3Forms) -------------------------------------------------------------------- */

.contact-form-section { max-width: 720px; padding-top: 20px; padding-bottom: 40px; }
.contact-form-head { text-align: center; margin-bottom: 32px; }
.contact-form-head__sub { color: var(--text-2); margin-top: 12px; }
.contact-form-head__sub a { color: var(--gold-deep); font-weight: 600; }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 2px 20px rgba(12, 22, 64, 0.05);
}
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; margin-bottom: 18px; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-opt { font-weight: 400; color: #7a8199; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(12, 22, 64, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240, 169, 58, 0.2);
}
.contact-form input:user-invalid,
.contact-form textarea:user-invalid {
  border-color: #c0492f;
}

.contact-form .h-captcha { margin-bottom: 18px; }
.contact-form__submit { margin-top: 6px; width: 100%; justify-content: center; cursor: pointer; }
.contact-form__submit:disabled { opacity: 0.65; cursor: default; }

.form-status { margin: 16px 0 0; font-size: 15px; line-height: 1.5; text-align: center; }
.form-status.is-success { color: #1c7a4a; font-weight: 600; }
.form-status.is-error { color: #c0492f; font-weight: 600; }

@media (max-width: 560px) {
  .contact-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

.consultation-section { max-width: 1080px; padding-top: 24px; padding-bottom: 90px; }
.consultation {
  background: var(--navy);
  border-radius: 26px;
  padding: 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.consultation__glow {
  position: absolute;
  top: -70px;
  right: -50px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--glow-gold-ambient);
}
.consultation__copy { position: relative; }
.consultation__copy h2 { margin: 0 0 16px; }
.consultation__text { font-size: 16px; line-height: 1.65; color: var(--muted-2); margin: 0 0 28px; }
.consultation__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.consultation__steps { position: relative; display: flex; flex-direction: column; gap: 14px; }
.mini-step { display: flex; align-items: center; gap: 14px; }
.mini-step__num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--border-gold-50);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 15px;
}
.mini-step__text { font-size: 15.5px; color: #dbe0f2; }

@media (max-width: 860px) {
  .contact-cards { grid-template-columns: 1fr; }
  .consultation { grid-template-columns: 1fr; padding: 36px; }
}

/* Responsive grid utilities -------------------------------------------------------------------- */

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .services__heading { align-items: flex-start; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .section { padding-left: 20px; padding-right: 20px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .video-feature { padding-left: 0; padding-right: 0; }
}
