/* ==========================================================================
   Greg King's Home Improvement — single stylesheet
   --------------------------------------------------------------------------
   Palette is sampled directly from the company logo:
     black field, gold script, navy banner, white sans-serif.
   Change a colour once in :root and it updates across the whole site.
   Layout is mobile-first; breakpoints are at 620px, 860px and 1100px.
   ========================================================================== */

:root {
  /* --- Brand colours (sampled from the logo file) --------------------- */
  --ink:          #0b0b0b;   /* logo background black                     */
  --ink-2:        #131313;   /* one step up, for alternating sections     */
  --ink-3:        #1a1a1a;   /* card surfaces                             */
  --navy:         #1c3f5c;   /* logo banner navy                          */
  --navy-deep:    #12293b;
  --navy-light:   #2a5a7f;
  --gold:         #c79a4b;   /* logo script gold, brightened for screens  */
  --gold-light:   #e8c87e;   /* highlight along the top of the script     */
  --gold-dark:    #8a5a22;   /* shadow side of the script                 */
  --white:        #ffffff;
  --bone:         #e9e6e0;   /* body copy on dark                         */
  --muted:        #a8a49d;
  --line:         rgba(199, 154, 75, 0.22);
  --line-soft:    rgba(255, 255, 255, 0.08);

  /* --- Type ---------------------------------------------------------- */
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body:    "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* --- Metrics ------------------------------------------------------- */
  --wrap:      1180px;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 18px 40px rgba(0, 0, 0, 0.45);
  --gutter:    clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(3.25rem, 8vw, 6rem);
}

/* ==========================================================================
   1. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

/* scroll-padding keeps anchor targets (#form, #tile, …) clear of the sticky
   header. The mobile header is taller because the logo is, hence the larger
   value here and the smaller one at the 860px breakpoint. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 145px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.18vw, 1.09rem);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--white);
  margin: 0 0 0.6em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.1vw, 2.6rem); }
h3 { font-size: clamp(1.18rem, 1.05rem + 0.6vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-light); text-decoration: none; transition: color 0.16s ease; }
a:hover, a:focus-visible { color: var(--white); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

/* Browsers indent blockquote and figure by 40px by default — kill it. */
blockquote, figure { margin: 0; }

strong { color: var(--white); font-weight: 700; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--ink); padding: 0.75rem 1.25rem;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   2. Layout primitives
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }
.section--alt  { background: var(--ink-2); }
.section--navy {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-block: 1px solid var(--line);
}

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 2px;
  margin-top: 0.55rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.section-head--center .eyebrow::after { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.lead { font-size: 1.1em; color: #d5d1c9; }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

/* ==========================================================================
   3. Icons
   ========================================================================== */
.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.icon--xs { width: 1rem;    height: 1rem; }
.icon--sm { width: 1.15rem; height: 1.15rem; }
.icon--lg { width: 2.15rem; height: 2.15rem; }

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  text-align: center;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn--sm { padding: 0.62rem 1.05rem; font-size: 0.84rem; }
.btn--block { width: 100%; }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  color: #1a1206;
  box-shadow: 0 6px 18px rgba(199, 154, 75, 0.24);
}
.btn--gold:hover, .btn--gold:focus-visible {
  color: #1a1206;
  box-shadow: 0 12px 28px rgba(199, 154, 75, 0.38);
}

.btn--ghost {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(199, 154, 75, 0.06);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: rgba(199, 154, 75, 0.16);
  color: var(--white);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy-light);
}
.btn--navy:hover, .btn--navy:focus-visible { background: var(--navy-light); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ==========================================================================
   5. Top bar + header + nav
   ========================================================================== */
.topbar {
  background: var(--navy-deep);
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  justify-content: center;
  align-items: center;
  padding-block: 0.5rem;
  text-align: center;
}
.topbar__item { display: inline-flex; align-items: center; gap: 0.4rem; color: #c6d3de; }
.topbar__phone { font-weight: 700; color: var(--gold-light); letter-spacing: 0.02em; }
.topbar__phone:hover { color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 8, 8, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.55rem;
}

.brand { display: block; line-height: 0; }
.brand__logo {
  width: 178px;
  height: auto;
  transition: width 0.2s ease;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem; height: 2.85rem;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  color: var(--gold-light);
  cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open  { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.nav {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: #0a0a0a;
  border-bottom: 1px solid var(--line);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.nav.is-open { max-height: 32rem; }

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem var(--gutter) 1.25rem;
}
.nav__list li { margin: 0; }

.nav__link {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.nav__link.is-active, .nav__link:hover { color: var(--gold-light); }
.nav__cta-wrap { padding-top: 1rem; }
.nav__cta-wrap .btn { width: 100%; }

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(28, 63, 92, 0.55) 0%, transparent 62%),
    radial-gradient(90% 70% at 50% 110%, rgba(199, 154, 75, 0.14) 0%, transparent 60%),
    var(--ink);
  padding-block: clamp(2.75rem, 7vw, 5.25rem);
  text-align: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero__logo {
  width: min(560px, 88%);
  margin: 0 auto clamp(1.25rem, 3vw, 2rem);
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.7));
}

.hero__title {
  max-width: 20ch;
  margin-inline: auto;
  text-wrap: balance;
}
.hero__title .gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text {
  max-width: 56ch;
  margin: 0 auto 1.75rem;
  color: #d5d1c9;
  font-size: 1.08em;
}

.hero .btn-row { justify-content: center; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.35rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.92rem;
  color: var(--muted);
}
.hero__badge { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__badge .icon { color: var(--gold); }

/* Compact hero used on interior pages */
.page-hero {
  background:
    linear-gradient(180deg, rgba(28, 63, 92, 0.4), transparent 70%),
    var(--ink);
  padding-block: clamp(2.5rem, 6vw, 4.25rem);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero p { max-width: 60ch; margin-inline: auto; color: #d5d1c9; }

/* ==========================================================================
   7. Trust bar
   ========================================================================== */
.trust {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  border-block: 1px solid var(--line);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-block: 0;
}
.trust__item {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  padding: clamp(1.25rem, 3vw, 2rem) 1rem;
  text-align: center;
}
.trust__stat {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.trust__label { font-size: 0.9rem; color: #c6d3de; line-height: 1.4; }

/* ==========================================================================
   8. Cards
   ========================================================================== */
.card {
  background: linear-gradient(170deg, var(--ink-3), #101010);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  opacity: 0.65;
}
.card:hover {
  border-color: var(--line);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem; height: 3.1rem;
  border-radius: 12px;
  background: rgba(199, 154, 75, 0.1);
  border: 1px solid var(--line);
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.card__title { margin-bottom: 0.5rem; }
.card__text { color: #cfcbc3; font-size: 0.97em; margin-bottom: 1rem; }
.card__link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.card__link .icon { transition: transform 0.18s ease; }
.card:hover .card__link .icon { transform: translateX(4px); }

/* ==========================================================================
   9. Service detail blocks (services.php)
   ========================================================================== */
.service-block {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-block: clamp(2rem, 5vw, 3.25rem);
  border-bottom: 1px solid var(--line-soft);
  scroll-margin-top: 120px;
}
.service-block:last-of-type { border-bottom: 0; }

.service-block__head { display: flex; gap: 1rem; align-items: flex-start; }
.service-block__head .card__icon { margin-bottom: 0; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.checklist li {
  display: flex; gap: 0.65rem; align-items: flex-start;
  margin: 0;
  color: #cfcbc3;
  font-size: 0.97em;
}
.checklist .icon { color: var(--gold); width: 1.1rem; height: 1.1rem; margin-top: 0.35em; }

/* ==========================================================================
   10. Split (image / text) blocks
   ========================================================================== */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.split__media {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--navy-deep), #0d0d0d);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

/* ==========================================================================
   11. Testimonials
   ========================================================================== */
.quote {
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, var(--ink-3), #0f0f0f);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.75rem);
}
.quote__stars { display: flex; gap: 0.15rem; color: var(--gold); margin-bottom: 0.75rem; }
.quote__stars .icon { width: 1rem; height: 1rem; fill: currentColor; }
.quote__text {
  font-style: italic;
  color: #ddd9d1;
  margin: 0 0 0.9rem;   /* overrides the UA blockquote indent */
  flex: 1 1 auto;        /* pushes the attribution to the card's bottom edge */
}
.quote__who { font-size: 0.88rem; color: var(--muted); font-style: normal; }
.quote__who strong { color: var(--gold-light); font-weight: 600; }

/* ==========================================================================
   12. Service area
   ========================================================================== */
.area-list {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  list-style: none; padding: 0; margin: 0;
}
.area-list li { margin: 0; }
.area-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border: 1px solid var(--line);
  background: rgba(199, 154, 75, 0.07);
  border-radius: 100px;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
  color: var(--bone);
}
.area-tag--primary {
  background: rgba(199, 154, 75, 0.16);
  color: var(--white);
  font-weight: 600;
}
.area-tag .icon { color: var(--gold); }

/* ==========================================================================
   13. Forms
   ========================================================================== */
/* #form is the redirect target after a submission — keep it clear of the header. */
#form { scroll-margin-top: 145px; }

.form-shell {
  background: linear-gradient(170deg, var(--ink-3), #0e0e0e);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.field { margin-bottom: 1.15rem; }
.field__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}
.field__req { color: var(--gold); }
.field__hint { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 0.35rem; text-transform: none; letter-spacing: 0; font-family: var(--font-body); }

.input, .select, .textarea {
  width: 100%;
  font: inherit;
  color: var(--white);
  background: #080808;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 0.78rem 0.95rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  -webkit-appearance: none;
  appearance: none;
}
.textarea { min-height: 9.5rem; resize: vertical; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c79a4b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.1rem;
  padding-right: 2.6rem;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 154, 75, 0.2);
}
.input::placeholder, .textarea::placeholder { color: #6c6862; }

.field--error .input,
.field--error .select,
.field--error .textarea { border-color: #d9534f; }
.field__error { display: block; color: #ff9a96; font-size: 0.85rem; margin-top: 0.35rem; }

/* Honeypot — must stay visually hidden but present in the DOM.
   Do not delete: this is the primary bot trap. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

.alert {
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
  border: 1px solid;
  font-size: 0.97em;
}
.alert--ok    { background: rgba(64, 145, 96, 0.12); border-color: rgba(88, 189, 126, 0.5); color: #b9edcc; }
.alert--error { background: rgba(180, 60, 55, 0.12); border-color: rgba(217, 83, 79, 0.5);  color: #ffc9c6; }
.alert h2, .alert h3 { color: inherit; margin-bottom: 0.35rem; }
.alert ul { margin: 0.5rem 0 0; }

.form-note { font-size: 0.86rem; color: var(--muted); margin-top: 1rem; }

/* Contact info panel next to the form */
.contact-panel { display: grid; gap: 1rem; }
.contact-panel__item {
  display: flex; gap: 0.85rem; align-items: flex-start;
  background: rgba(28, 63, 92, 0.22);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}
.contact-panel__item .icon { color: var(--gold); margin-top: 0.2rem; }
.contact-panel__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.15rem;
}
.contact-panel__value { color: var(--white); font-weight: 600; }

/* ==========================================================================
   14. Gallery
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--ink-3);
}
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-item figcaption { padding: 0.85rem 1rem; font-size: 0.9rem; color: var(--muted); }

.placeholder-panel {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-lg);
  background: rgba(199, 154, 75, 0.04);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

/* ==========================================================================
   15. CTA band + footer
   ========================================================================== */
.cta-band {
  background:
    linear-gradient(120deg, rgba(199, 154, 75, 0.12), transparent 55%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  border-top: 1px solid var(--line);
}
.cta-band__inner {
  display: grid;
  gap: 1.5rem;
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
  align-items: center;
}
.cta-band__title { margin-bottom: 0.4rem; }
.cta-band__text { color: #cddae5; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.site-footer {
  background: #060606;
  border-top: 1px solid var(--line);
  padding-top: clamp(2.25rem, 5vw, 3.25rem);
  font-size: 0.94rem;
}
.site-footer__grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
.site-footer__logo { width: 220px; margin-bottom: 1rem; }
.site-footer__blurb { color: var(--muted); max-width: 34ch; }
.site-footer__heading {
  font-size: 0.85rem; letter-spacing: 0.16em; color: var(--gold);
  margin-bottom: 0.9rem;
}
.site-footer__list { list-style: none; padding: 0; margin: 0; }
.site-footer__list li { margin-bottom: 0.5rem; }
.site-footer__list a { color: var(--bone); }
.site-footer__list a:hover { color: var(--gold-light); }
.site-footer__list--plain li { color: var(--muted); display: flex; gap: 0.5rem; align-items: center; }
.site-footer__note { color: #6f6b65; font-size: 0.82rem; margin-top: 0.9rem; }

.site-footer__bar {
  border-top: 1px solid var(--line-soft);
  padding-block: 1.1rem;
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem;
  justify-content: space-between;
  color: #6f6b65; font-size: 0.85rem;
}
.site-footer__bar p { margin: 0; }

/* ==========================================================================
   16. Breakpoints
   ========================================================================== */
@media (min-width: 620px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .service-block { grid-template-columns: 1fr 1fr; }
  .service-block__head { grid-column: 1 / -1; }
}

@media (min-width: 860px) {
  html { scroll-padding-top: 115px; }

  .brand__logo { width: 270px; }

  .nav-toggle { display: none; }

  .nav {
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: 0;
  }
  .nav__list {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
  }
  .nav__link {
    border-bottom: 0;
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    border-radius: var(--radius);
    position: relative;
  }
  .nav__link::after {
    content: "";
    position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.25rem;
    height: 2px; background: var(--gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.2s ease;
  }
  .nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
  .nav__cta-wrap { padding-top: 0; margin-left: 0.6rem; }
  .nav__cta-wrap .btn { width: auto; }

  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split--reverse .split__media { order: 2; }

  .cta-band__inner { grid-template-columns: 1.4fr auto; }
  .cta-band__actions { justify-content: flex-end; }

  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }

  .topbar__inner { justify-content: space-between; text-align: left; }
}

@media (min-width: 1100px) {
  .contact-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 2.5rem; align-items: start; }
}

/* ==========================================================================
   17. Motion & print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .topbar, .site-header, .cta-band, .nav-toggle, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  h1, h2, h3 { color: #000; }
  a { color: #000; }
}
