/* ==========================================================================
   Plumber Kings of Newmarket — stylesheet
   Palette sampled directly from the supplied logo artwork.
   ========================================================================== */

:root {
  /* Brand — sampled from logo */
  --navy-900: #021F41;
  --navy-800: #06294F;
  --navy-700: #0B3663;
  --navy-600: #14477C;
  --navy-100: #DCE5F1;
  --navy-050: #EEF2F8;

  --gold-700: #9C7A33;
  --gold-600: #B99342;   /* "KINGS" wordmark gold */
  --gold-500: #D4A846;   /* crown gold */
  --gold-300: #EAD3A0;
  --gold-100: #F7EFDC;

  --steel:    #B5B5B4;
  --alert:    #A8322A;
  --alert-dk: #7E241E;
  --success:  #1F7A4D;

  --ink:      #14202F;
  --ink-soft: #4A5768;
  --ink-mute: #6E7B8C;
  --rule:     #DFE4EC;
  --paper:    #FFFFFF;
  --paper-2:  #F5F7FA;

  /* Type */
  --display: "Bodoni Moda", "Times New Roman", serif;
  --sans: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cond: "Barlow Condensed", "Barlow", sans-serif;

  /* Space & shape */
  --wrap: 1180px;
  --gut: clamp(1.15rem, 4vw, 2.5rem);
  --sec: clamp(3.25rem, 7vw, 5.75rem);
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(2, 31, 65, .08), 0 3px 10px rgba(2, 31, 65, .06);
  --shadow-md: 0 4px 12px rgba(2, 31, 65, .10), 0 16px 40px rgba(2, 31, 65, .10);
  --shadow-lg: 0 10px 24px rgba(2, 31, 65, .14), 0 30px 70px rgba(2, 31, 65, .16);
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-700); }
ul, ol { margin: 0; padding: 0; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold-500); color: var(--navy-900);
  padding: .8rem 1.3rem; font-weight: 700;
}
.skip:focus { left: 0; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 860px; }
.section { padding-block: var(--sec); }
.section-navy { background: var(--navy-900); color: #E9EEF6; }
.section-tint { background: var(--paper-2); }
.section-gold { background: var(--gold-100); }

.grid { display: grid; gap: clamp(1.5rem, 3.5vw, 3rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0 0 .55em; line-height: 1.14; font-weight: 700; }
h1, h2 { font-family: var(--display); font-optical-sizing: auto; letter-spacing: -.005em; }
h1 { font-size: clamp(2.15rem, 5.4vw, 3.65rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.9vw, 2.75rem); }
h3 { font-family: var(--sans); font-size: clamp(1.2rem, 2vw, 1.4rem); font-weight: 700; letter-spacing: -.01em; }
h4 { font-family: var(--sans); font-size: 1.075rem; font-weight: 700; }
p { margin: 0 0 1.1em; max-width: 68ch; }
.lede { font-size: clamp(1.075rem, 1.7vw, 1.28rem); color: var(--ink-soft); line-height: 1.6; }
.section-navy .lede, .section-navy p { color: #C3CFE0; }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }
.section-navy a:not(.btn) { color: var(--gold-300); }
.section-navy a:not(.btn):hover { color: var(--gold-100); }
.centered { text-align: center; }
.centered p, .centered .lede { margin-inline: auto; }

/* Signature device: the flanking rules from the logo lockup */
.eyebrow {
  display: flex; align-items: center; gap: .85rem;
  font-family: var(--cond); font-weight: 700;
  font-size: clamp(.9rem, 1.4vw, 1.02rem);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-700); margin: 0 0 1rem;
}
.eyebrow::before, .eyebrow::after {
  content: ""; height: 2px; width: clamp(18px, 4vw, 34px);
  background: var(--gold-500); flex: 0 0 auto;
}
.eyebrow::after { display: none; }
.centered .eyebrow { justify-content: center; }
.centered .eyebrow::after { display: block; }
.section-navy .eyebrow { color: var(--gold-500); }

/* Crown-point bullet */
.crown-list { list-style: none; display: grid; gap: .8rem; }
.crown-list li { position: relative; padding-left: 2rem; }
.crown-list li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 13px; height: 10px; background: var(--gold-500);
  clip-path: polygon(0 100%, 0 22%, 25% 55%, 50% 0, 75% 55%, 100% 22%, 100% 100%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-weight: 700; font-size: 1.02rem;
  line-height: 1.2; padding: .95rem 1.6rem; border-radius: var(--r-md);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }

.btn-gold { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.btn-gold:hover { background: var(--gold-600); border-color: var(--gold-600); color: var(--navy-900); }

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

.btn-alert { background: var(--alert); color: #fff; border-color: var(--alert); }
.btn-alert:hover { background: var(--alert-dk); border-color: var(--alert-dk); color: #fff; }

.btn-ghost { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-ghost:hover { background: var(--navy-900); color: #fff; }
.section-navy .btn-ghost,
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.section-navy .btn-ghost:hover,
.hero .btn-ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

.btn-lg { padding: 1.1rem 2rem; font-size: 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.6rem; }
.centered .btn-row { justify-content: center; }

/* ==========================================================================
   Header
   ========================================================================== */
.utility {
  background: var(--navy-900); color: #B9C7DC;
  font-size: .875rem; border-bottom: 1px solid rgba(255,255,255,.09);
}
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.utility-list { display: flex; gap: 1.4rem; list-style: none; flex-wrap: wrap; }
.utility-list li { display: flex; align-items: center; gap: .4rem; }
.utility-list svg { width: 15px; height: 15px; color: var(--gold-500); }
.utility-social { display: flex; gap: .35rem; }
.utility-social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #B9C7DC; }
.utility-social a:hover { background: rgba(255,255,255,.1); color: var(--gold-500); }
.utility-social svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .utility { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy-900);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 22px rgba(2,31,65,.35); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; min-height: var(--header-h);
  transition: min-height .2s ease;
}
.site-header.is-stuck .header-inner { min-height: 68px; }

/* Logo lockup: the supplied logo artwork + typeset wordmark */
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex: 0 0 auto; }
.brand:hover { color: inherit; }
.brand img { width: auto; height: 54px; transition: height .2s ease; }
.site-header.is-stuck .brand img { height: 44px; }
.brand-word { display: grid; gap: 1px; line-height: 1; }
.brand-word .w-top,
.brand-word .w-bot {
  display: flex; align-items: center; gap: .4rem;
  font-family: var(--cond); font-weight: 600; color: #fff;
  letter-spacing: .2em; text-transform: uppercase; font-size: .68rem;
}
.brand-word .w-top::before, .brand-word .w-top::after,
.brand-word .w-bot::before, .brand-word .w-bot::after {
  content: ""; height: 1.5px; width: 12px; background: #fff; opacity: .8; flex: 0 0 auto;
}
.brand-word .w-mid {
  font-family: var(--display); font-weight: 800; font-size: 1.55rem;
  color: var(--gold-500); letter-spacing: .01em;
}
@media (max-width: 1100px) { .brand-word { display: none; } }
@media (max-width: 480px) { .brand img { height: 44px; } }

/* Primary nav */
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav-link {
  display: flex; align-items: center; gap: .3rem;
  padding: .7rem .8rem; border-radius: var(--r-sm);
  font-weight: 600; font-size: .97rem; color: #DCE5F1; text-decoration: none;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-link:hover, .nav-item.open > .nav-link { background: rgba(255,255,255,.09); color: #fff; }
.nav-link svg { width: 13px; height: 13px; transition: transform .18s ease; }
.nav-item.open > .nav-link svg { transform: rotate(180deg); }

.nav-item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 268px;
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold-500); list-style: none; padding: .45rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: .55rem .8rem; border-radius: var(--r-sm);
  font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.dropdown a:hover { background: var(--navy-050); color: var(--navy-900); }
.dropdown .col-head {
  padding: .7rem .8rem .3rem; font-family: var(--cond); font-weight: 700;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700);
}

.header-cta { display: flex; align-items: center; gap: .7rem; flex: 0 0 auto; }
.header-phone {
  display: flex; align-items: center; gap: .5rem; text-decoration: none;
  color: #fff; font-weight: 700; font-size: 1.06rem; white-space: nowrap;
}
.header-phone:hover { color: var(--gold-500); }
.header-phone svg { width: 20px; height: 20px; color: var(--gold-500); }
.header-phone small { display: block; font-family: var(--cond); font-weight: 600; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-500); }

.burger {
  display: none; width: 46px; height: 42px; border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--r-sm); background: transparent; cursor: pointer;
  padding: 0; place-items: center;
}
.burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 2.5px auto; transition: transform .22s ease, opacity .18s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header-phone small { display: none; }
  .header-phone { font-size: 1rem; }
}
@media (max-width: 620px) {
  .header-cta .btn { display: none; }
}
@media (max-width: 400px) {
  .header-phone span { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 300; background: var(--navy-900);
  padding: 1rem var(--gut) 3rem; overflow-y: auto;
  transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
  visibility: hidden;
}
.drawer.open { transform: translateX(0); visibility: visible; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; min-height: 64px; margin-bottom: 1rem; }
.drawer-close { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; width: 44px; height: 44px; border-radius: var(--r-sm); font-size: 1.4rem; cursor: pointer; line-height: 1; }
.drawer-nav { list-style: none; border-top: 1px solid rgba(255,255,255,.13); }
.drawer-nav > li { border-bottom: 1px solid rgba(255,255,255,.13); }
.drawer-row { display: flex; align-items: stretch; }
.drawer-row > a, .drawer-row > span {
  flex: 1; padding: 1rem .25rem; color: #fff; text-decoration: none; font-weight: 600; font-size: 1.08rem;
}
.drawer-toggle {
  width: 54px; background: none; border: 0; border-left: 1px solid rgba(255,255,255,.13);
  color: var(--gold-500); cursor: pointer; display: grid; place-items: center;
}
.drawer-toggle svg { width: 15px; height: 15px; transition: transform .2s ease; }
.drawer-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer-sub { list-style: none; display: none; padding: 0 0 .8rem .25rem; }
.drawer-sub.open { display: block; }
.drawer-sub a { display: block; padding: .55rem 0; color: #B9C7DC; text-decoration: none; font-size: .98rem; }
.drawer-sub a:hover { color: var(--gold-500); }
.drawer-cta { display: grid; gap: .7rem; margin-top: 1.75rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; color: #fff;
  background:
    radial-gradient(1100px 520px at 78% 12%, rgba(212,168,70,.16), transparent 62%),
    linear-gradient(168deg, #041B36 0%, var(--navy-900) 46%, #041027 100%);
  padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(3rem, 6vw, 4.75rem);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 5px;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-500) 35%, var(--gold-300) 50%, var(--gold-500) 65%, var(--gold-700));
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } .hero-art { order: -1; margin-bottom: .5rem; } .hero-art img { width: min(210px, 55%); } .hero-art::before { width: min(250px, 62%); } .hero .eyebrow { justify-content: center; } .hero .eyebrow::after { display: block; } .hero .btn-row { justify-content: center; } .hero p { margin-inline: auto; } }

.hero h1 { color: #fff; text-wrap: balance; }
.hero .lede { color: #C6D3E5; max-width: 54ch; }
.hero .eyebrow { color: var(--gold-500); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .55rem 1.35rem; margin-top: 1.9rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.16); list-style: none; }
.hero-badges li { display: flex; align-items: center; gap: .45rem; font-size: .93rem; color: #C6D3E5; font-weight: 500; }
.hero-badges svg { width: 17px; height: 17px; color: var(--gold-500); flex: 0 0 auto; }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-art img { width: min(330px, 74%); filter: drop-shadow(0 24px 48px rgba(0,0,0,.45)); }
.hero-art::before {
  content: ""; position: absolute; width: min(400px, 88%); aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(circle, rgba(212,168,70,.2), transparent 68%);
}

/* Review platform strip */
.reviews-strip { background: var(--paper); border-bottom: 1px solid var(--rule); padding-block: 1.5rem; }
.reviews-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem clamp(1.25rem, 4vw, 3rem); }
.rev-badge { display: flex; align-items: center; gap: .7rem; }
.rev-badge .rb-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-050); flex: 0 0 auto; }
.rev-badge .rb-mark svg { width: 21px; height: 21px; }
.rev-badge b { display: block; font-size: .97rem; line-height: 1.25; }
.rev-badge span { display: block; font-size: .84rem; color: var(--ink-mute); }
.rev-badge .stars { display: flex; gap: 1px; margin-top: 2px; }
.stars { display: flex; gap: 1px; color: var(--gold-500); }
.stars svg { width: 13px; height: 13px; }

/* ==========================================================================
   Cards & content blocks
   ========================================================================== */
.card {
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .985rem; color: var(--ink-soft); margin-bottom: 1rem; }
.card .card-link { margin-top: auto; font-weight: 700; font-size: .95rem; color: var(--navy-700); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.card .card-link:hover { color: var(--gold-700); }
.card .card-link svg { width: 15px; height: 15px; }

.card-icon {
  width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center;
  background: var(--navy-900); color: var(--gold-500); margin-bottom: 1.05rem; flex: 0 0 auto;
}
.card-icon svg { width: 27px; height: 27px; }
.card-alert .card-icon { background: var(--alert); color: #fff; }

/* Split content rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 4.5vw, 3.75rem); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }

.detail-block { border-left: 3px solid var(--gold-500); padding-left: 1.35rem; margin-bottom: 1.9rem; }
.detail-block:last-child { margin-bottom: 0; }
.detail-block h3 { margin-bottom: .4rem; }
.detail-block p { margin-bottom: 0; color: var(--ink-soft); font-size: 1rem; }

/* Video cards */
.video-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.section-navy .video-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy-800); display: grid; place-items: center; cursor: pointer; border: 0; width: 100%; padding: 0; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; width: 68px; height: 68px; border-radius: 50%;
  background: var(--gold-500); color: var(--navy-900); display: grid; place-items: center;
  box-shadow: 0 8px 26px rgba(0,0,0,.35); transition: transform .18s ease;
}
.video-frame:hover .video-play { transform: scale(1.08); }
.video-play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-body { padding: 1.2rem 1.4rem 1.4rem; }
.video-body h3 { margin-bottom: .35rem; }
.video-body p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.section-navy .video-body p { color: #B9C7DC; }

/* Stats */
.stats-band { padding-block: 0; }
.stats-band .wrap { margin-block: calc(var(--sec) * -.15) 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--navy-900); padding: 1.9rem 1.25rem; text-align: center; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.1rem, 5vw, 3rem); color: var(--gold-500); line-height: 1; }
.stat h4 { color: #fff; margin: .6rem 0 .35rem; font-size: 1rem; }
.stat a { font-size: .89rem; color: #9FB2CB; text-decoration: none; border-bottom: 1px solid rgba(159,178,203,.4); }
.stat a:hover { color: var(--gold-500); border-color: var(--gold-500); }

/* Why-choose numbered list (content genuinely enumerated) */
.reasons { list-style: none; counter-reset: r; display: grid; gap: 1.4rem; }
.reasons li { counter-increment: r; display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.reasons li::before {
  content: counter(r, decimal-leading-zero);
  font-family: var(--display); font-weight: 800; font-size: 1.35rem;
  color: var(--gold-500); background: var(--navy-900);
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
}
.reasons b { display: block; font-size: 1.08rem; margin-bottom: .15rem; }
.reasons p { margin: 0; font-size: .99rem; color: var(--ink-soft); }
.section-navy .reasons li::before { background: var(--gold-500); color: var(--navy-900); }
.section-navy .reasons p { color: #B9C7DC; }

/* Service areas */
.areas { display: grid; gap: 1.3rem; list-style: none; }
.areas > li { padding: 1.15rem 1.35rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-md); border-left: 4px solid var(--gold-500); }
.areas h4 { margin-bottom: .4rem; color: var(--navy-900); }
.areas p { margin: 0; font-size: .97rem; color: var(--ink-soft); }
.areas a { color: var(--navy-700); text-decoration: none; }
.areas a:hover { text-decoration: underline; color: var(--gold-700); }

/* Locations */
.loc-list { list-style: none; display: grid; gap: 1rem; }
.loc-list li { display: grid; grid-template-columns: 20px 1fr; gap: .85rem; align-items: start; }
.loc-list li > span { min-width: 0; overflow-wrap: anywhere; }
.loc-list svg { width: 20px; height: 20px; color: var(--gold-500); margin-top: 3px; }
.loc-list b { display: block; }
.loc-list a { color: inherit; text-decoration: none; }
.loc-list a:hover { color: var(--gold-500); }

.map-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule); box-shadow: var(--shadow-md); background: var(--navy-050); }
.map-embed iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-shell {
  background: var(--paper); color: var(--ink); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); border-top: 5px solid var(--gold-500);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}
.form-grid { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .4rem; }
.field-2 { grid-template-columns: 1fr 1fr; display: grid; gap: 1.15rem; }
@media (max-width: 620px) { .field-2 { grid-template-columns: 1fr; } }
.field > label, .fieldset > legend {
  font-weight: 700; font-size: .95rem; color: var(--navy-900); padding: 0;
}
.req { color: var(--alert); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: .82rem .95rem; border: 1.5px solid var(--rule);
  border-radius: var(--r-md); background: var(--paper-2); font-size: 1rem;
  transition: border-color .16s ease, background-color .16s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--navy-600); outline-offset: 0; }
.field textarea { min-height: 118px; resize: vertical; }
.field .hint { font-size: .85rem; color: var(--ink-mute); }
.field .err { font-size: .85rem; color: var(--alert); font-weight: 600; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--alert); background: #FDF4F3; }
.field.invalid .err { display: block; }

.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .55rem; }
.fieldset .err { display: none; font-size: .85rem; color: var(--alert); font-weight: 600; }
.fieldset.invalid .err { display: block; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.chip span {
  display: block; padding: .62rem 1.05rem; border: 1.5px solid var(--rule);
  border-radius: 999px; font-size: .94rem; font-weight: 600; background: var(--paper-2); color: var(--ink);
  transition: all .16s ease; cursor: pointer;
}
.chip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.chip.chip-urgent input:checked + span { background: var(--alert); border-color: var(--alert); }
.fieldset.invalid .chip span { border-color: var(--alert); }

.form-note { font-size: .87rem; color: var(--ink-mute); margin: 0; }
.form-shell a, .modal-body a, .form-success a { color: var(--navy-700); font-weight: 600; }
.form-shell a:hover, .modal-body a:hover { color: var(--gold-700); }
.form-shell .form-note, .modal .form-note { color: var(--ink-mute); }
.form-success h3 { color: var(--navy-900); }
.form-success p { color: var(--ink-soft); margin-inline: auto; }
.form-success {
  display: none; text-align: center; padding: 2rem 1rem;
}
.form-success.show { display: block; }
.form-success svg { width: 58px; height: 58px; color: var(--success); margin: 0 auto 1rem; }
.form-shell.done .form-grid, .form-shell.done .form-head { display: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-search { position: relative; max-width: 480px; margin: 0 0 1.6rem; }
.faq-search input { width: 100%; padding: .85rem 1rem .85rem 2.85rem; border: 1.5px solid var(--rule); border-radius: var(--r-md); font-size: 1rem; background: var(--paper); }
.faq-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-mute); }
.faq-list { display: grid; gap: .7rem; }
.faq-item { border: 1px solid var(--rule); border-radius: var(--r-md); background: var(--paper); overflow: hidden; }
.faq-item.hide { display: none; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 1.1rem 3.2rem 1.1rem 1.25rem; font-weight: 700; font-size: 1.04rem;
  color: var(--navy-900); position: relative; line-height: 1.4;
}
.faq-q::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--gold-600); border-bottom: 2.5px solid var(--gold-600);
  transform: translateY(-70%) rotate(45deg); transition: transform .22s ease;
}
.faq-q[aria-expanded="true"] { background: var(--navy-050); }
.faq-q[aria-expanded="true"]::after { transform: translateY(-25%) rotate(-135deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s ease; }
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding: 0 1.25rem; font-size: .99rem; color: var(--ink-soft); }
.faq-a p:first-child { padding-top: 1.05rem; }
.faq-a p:last-child { padding-bottom: 1.25rem; margin-bottom: 0; }
.faq-empty { display: none; padding: 1.5rem; text-align: center; color: var(--ink-mute); }
.faq-empty.show { display: block; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.tcarousel { position: relative; }
.ttrack { display: flex; gap: 1.35rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: .5rem; scrollbar-width: none; }
.ttrack::-webkit-scrollbar { display: none; }
.tcard {
  flex: 0 0 min(400px, 84vw); scroll-snap-align: start;
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.tcard p { font-size: 1rem; color: var(--ink-soft); flex: 1; }
.tcard .stars { margin-bottom: .85rem; }
.tcard .stars svg { width: 17px; height: 17px; }
.tmeta { display: flex; align-items: center; gap: .7rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
.tavatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-900); color: var(--gold-500); display: grid; place-items: center; font-weight: 700; font-size: .95rem; flex: 0 0 auto; }
.tmeta b { display: block; font-size: .96rem; }
.tmeta span { display: block; font-size: .85rem; color: var(--ink-mute); }
.tnav { display: flex; gap: .5rem; justify-content: center; margin-top: 1.5rem; }
.tnav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--rule); background: var(--paper); cursor: pointer; display: grid; place-items: center; color: var(--navy-900); }
.tnav button:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.tnav svg { width: 18px; height: 18px; }


/* ==========================================================================
   Footer & floating UI
   ========================================================================== */
.site-footer { background: var(--navy-900); color: #A9BAD1; padding-block: clamp(3rem, 6vw, 4.5rem) 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: clamp(1.75rem, 4vw, 3rem); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--cond); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-links { list-style: none; display: grid; gap: .48rem; }
.footer-links a { color: #A9BAD1; text-decoration: none; }
.footer-links a:hover { color: var(--gold-500); }
.footer-brand img { width: 200px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .93rem; margin-bottom: 1.1rem; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #A9BAD1; }
.footer-social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom { margin-top: 2.75rem; border-top: 1px solid rgba(255,255,255,.15); padding-block: 1.4rem 1.6rem; font-size: .875rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; align-items: center; }
.footer-bottom a { color: #A9BAD1; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }

/* Sticky mobile call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 180;
  display: none; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,.2); box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}
.callbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem; font-weight: 700; text-decoration: none; font-size: 1rem; }
.callbar .cb-call { background: var(--alert); color: #fff; }
.callbar .cb-book { background: var(--gold-500); color: var(--navy-900); }
.callbar svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .callbar { display: grid; } body { padding-bottom: 56px; } }

.totop {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 170;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy-900); color: var(--gold-500); display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden;
  transition: opacity .22s ease, visibility .22s, transform .22s ease; transform: translateY(10px);
}
.totop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.totop svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .totop { bottom: 68px; } }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 400; background: rgba(2,31,65,.72);
  display: grid; place-items: center; padding: 1.15rem;
  opacity: 0; visibility: hidden; transition: opacity .24s ease, visibility .24s;
  overflow-y: auto;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--paper); border-radius: var(--r-lg); max-width: 500px; width: 100%;
  box-shadow: var(--shadow-lg); overflow: hidden; transform: translateY(14px) scale(.98);
  transition: transform .24s cubic-bezier(.34,1.3,.64,1); margin: auto;
}
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }
.modal-head { background: var(--navy-900); color: #fff; padding: 1.6rem 1.6rem 1.4rem; position: relative; text-align: center; }
.modal-head img { width: 74px; margin: 0 auto .7rem; }
.modal-head h3 { color: #fff; font-family: var(--display); font-size: 1.5rem; margin-bottom: .3rem; }
.modal-head p { color: #B9C7DC; font-size: .95rem; margin: 0; }
.modal-close { position: absolute; top: .7rem; right: .7rem; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.14); border: 0; color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.modal-close:hover { background: rgba(255,255,255,.26); }
.modal-body { padding: 1.5rem; }

/* Utility */
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 2rem; }
.rule { height: 3px; width: 68px; background: var(--gold-500); border: 0; margin: 1.4rem 0 1.6rem; }
.centered .rule { margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ttrack { scroll-behavior: auto; }
}

@media print {
  .site-header, .utility, .callbar, .totop, .modal-backdrop, .drawer { display: none !important; }
}

/* ==========================================================================
   Logo plate — the supplied logo artwork, unmodified, on its own white field
   ========================================================================== */
.brand-plate {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  background: #fff; border-radius: var(--r-md);
  padding: 2px 4px; line-height: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.28);
}
.brand-plate img { width: auto; height: 64px; display: block; transition: height .2s ease; }
.site-header.is-stuck .brand-plate img { height: 52px; }
.brand-plate--sm img { height: 46px; }
.brand-plate--modal { margin: 0 auto .7rem; padding: 6px 9px; }
.brand-plate--modal img { height: 68px; }
.brand-plate--footer { margin-bottom: 1.1rem; padding: 8px 11px; }
.brand-plate--footer img { height: 108px; }
.footer-brand .brand-plate { box-shadow: 0 6px 22px rgba(0,0,0,.3); }
@media (max-width: 480px) { .brand-plate img { height: 42px; } }

/* ==========================================================================
   Hero photo + seal
   ========================================================================== */
.hero-art { position: relative; }
.hero-photo {
  position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(212,168,70,.45);
  box-shadow: 0 26px 60px rgba(0,0,0,.5);
  width: 100%;
}
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.hero-photo figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.7rem .95rem .8rem;
  font-size: .84rem; line-height: 1.4; color: #E7EDF6;
  background: linear-gradient(to top, rgba(2,20,42,.92), rgba(2,20,42,0));
}
.hero-seal {
  position: absolute; right: 14px; top: 14px;
  background: rgba(255,255,255,.96); border-radius: var(--r-md);
  padding: 2px 5px; line-height: 0;
  box-shadow: 0 8px 22px rgba(0,0,0,.4);
}
.hero-seal img { width: auto; height: 66px; display: block; }
@media (max-width: 900px) {
  .hero-art img { width: 100%; }
  .hero-photo { max-width: 520px; margin-inline: auto; }
  .hero-seal { right: 10px; top: 10px; }
  .hero-seal img { height: 52px; }
}

/* ==========================================================================
   Photo gallery
   ========================================================================== */
.gallery {
  display: grid; gap: .85rem;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.shot {
  position: relative; display: block; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--r-md); overflow: hidden; background: var(--navy-900);
  aspect-ratio: 3 / 4;
}
.shot img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease, opacity .25s ease;
}
.shot:hover img, .shot:focus-visible img { transform: scale(1.05); opacity: .82; }
.shot-cap {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem .8rem .7rem;
  font-family: var(--cond); font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; font-size: .78rem; color: #fff; text-align: left;
  background: linear-gradient(to top, rgba(2,20,42,.92), rgba(2,20,42,0));
}
.shot::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px rgba(212,168,70,0); transition: box-shadow .2s ease;
  pointer-events: none;
}
.shot:hover::after, .shot:focus-visible::after { box-shadow: inset 0 0 0 2px var(--gold-500); }
.shot:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: .6rem; } }

/* Photo band (services page) */
.photo-band { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.photo-band figure { margin: 0; }
.photo-band img {
  display: block; width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--r-md); border: 1px solid var(--rule);
}
.photo-band figcaption {
  margin-top: .5rem; font-family: var(--cond); font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; font-size: .76rem; color: var(--ink-mute);
}

/* Framed photo (contact page) */
.photo-frame { margin: 0; }
.photo-frame img {
  display: block; width: 100%; border-radius: var(--r-lg);
  border: 1px solid var(--rule); box-shadow: var(--shadow-md); object-fit: cover;
}
.photo-frame figcaption { margin-top: .7rem; font-size: .9rem; color: var(--ink-mute); }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  background: rgba(2,16,34,.94); padding: clamp(1rem, 4vw, 3rem);
}
.lightbox[hidden] { display: none; }
.lightbox-fig { margin: 0; max-width: min(1000px, 100%); max-height: 100%; text-align: center; }
.lightbox-fig img {
  display: block; max-width: 100%; max-height: 76vh; margin-inline: auto;
  border-radius: var(--r-md); box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lightbox-fig figcaption {
  margin-top: 1rem; color: #D6E0EE; font-size: .96rem; line-height: 1.5;
  max-width: 62ch; margin-inline: auto;
}
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; cursor: pointer; border-radius: 50%; line-height: 1;
  display: grid; place-items: center; transition: background .18s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold-600); border-color: var(--gold-600); }
.lightbox-close { top: 1rem; right: 1rem; width: 46px; height: 46px; font-size: 1.7rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; }
.lightbox-prev { left: clamp(.5rem, 2vw, 1.75rem); }
.lightbox-next { right: clamp(.5rem, 2vw, 1.75rem); }
.lightbox-close:focus-visible, .lightbox-nav:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }
@media (max-width: 620px) {
  .lightbox-nav { width: 44px; height: 44px; font-size: 1.6rem; top: auto; bottom: 1rem; transform: none; }
  .lightbox-fig img { max-height: 64vh; }
}
body.lb-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .shot img, .brand-plate, .brand-plate img { transition: none; }
  .shot:hover img, .shot:focus-visible img { transform: none; }
}

/* long email addresses shouldn't break mid-word in the footer */
.footer-contact a[href^="mailto"], .contact-list a[href^="mailto"] { overflow-wrap: anywhere; }

/* Avatar initials: keep centring/colour from being overridden by the
   more-specific `.tmeta span` rule above. */
.tmeta .tavatar {
  display: grid;
  place-items: center;
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
}
