/* ==========================================================================
   Painting With A Smile — paintingwithasmile.com
   Modern coastal design system
   ========================================================================== */

:root {
  --navy: #16324f;
  --navy-dark: #0e2237;
  --navy-soft: #24466b;
  --gold: #f9b234;
  --gold-dark: #e0980f;
  --red: #d64545;
  --sky: #2e9bd6;
  --sky-soft: #eaf5fc;
  --sand: #faf7f1;
  --white: #ffffff;
  --ink: #22303e;
  --muted: #5c6b7a;
  --line: #e8e2d6;
  --shadow-sm: 0 2px 8px rgba(22, 50, 79, 0.08);
  --shadow-md: 0 8px 28px rgba(22, 50, 79, 0.13);
  --shadow-lg: 0 20px 50px rgba(14, 34, 55, 0.22);
  --radius: 14px;
  --radius-lg: 22px;
  --font-head: "Outfit", "Segoe UI", -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", -apple-system, sans-serif;
  --wrap: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Clip horizontal overflow from the off-canvas mobile menu (parked at
   translateX(100%) when closed). Applied on <html> only, where it does not
   establish a containing block for the fixed menu. */
html { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); font-weight: 700; }

p { margin: 0 0 1.1em; }

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2rem);
}

section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.9rem;
}

.section-head { max-width: 720px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  text-decoration: none !important;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 6px 20px rgba(249, 178, 52, 0.4);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-2px); }

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

.topbar {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  padding: 0.45rem 0;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.topbar a { color: var(--gold); font-weight: 600; }
.topbar-area { display: none; }
@media (min-width: 640px) { .topbar-area { display: block; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(22, 50, 79, 0.08);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none !important;
}
.brand img { width: 58px; height: 58px; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--navy);
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 1.9rem); }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  text-decoration: none !important;
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover { color: var(--sky); }
.main-nav a.active { color: var(--gold-dark); border-bottom-color: var(--gold); }
.main-nav .btn { padding: 0.7rem 1.4rem; font-size: 0.92rem; }

/* Services dropdown */
.nav-item { position: relative; display: flex; align-items: center; }
.dropdown-caret {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.2rem;
  color: var(--navy);
  display: flex;
  align-items: center;
}
.dropdown-caret svg { width: 14px; height: 14px; fill: currentColor; transform: rotate(0deg); transition: transform 0.2s ease; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  padding: 0.55rem;
  min-width: 265px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 110;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-item:hover .dropdown-caret svg,
.nav-item.open .dropdown-caret svg { transform: rotate(180deg); }
.dropdown a {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  border-bottom: none !important;
  font-size: 0.93rem;
  white-space: nowrap;
}
.dropdown a:hover { background: var(--sky-soft); color: var(--navy); }
.dropdown a.dd-all {
  margin-top: 0.3rem;
  border-top: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  color: var(--gold-dark);
  font-weight: 700;
}

@media (max-width: 880px) {
  /* Block layout (not flex) so the panel is always exactly full-width and its
     centered items can never shrink-to-fit and overflow off the left edge. */
  .nav-item { display: block; width: 100%; text-align: center; }
  .nav-item > a { display: inline-block; vertical-align: middle; padding: 0.6rem 0; }

  /* Large, obviously-tappable expand control (46px target). */
  .dropdown-caret {
    display: inline-flex;
    vertical-align: middle;
    margin-left: 0.55rem;
    color: var(--white);
    width: 46px;
    height: 46px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    justify-content: center;
  }
  .dropdown-caret svg { width: 24px; height: 24px; }
  .nav-item.open .dropdown-caret { border-color: var(--gold); background: rgba(249, 178, 52, 0.16); }

  /* Touch browsers apply :hover on tap and don't clear it until something
     else is tapped, so the desktop hover-rotate rule sticks the arrow "up"
     after a mobile tap. Reset hover's rotation here, then re-assert .open's
     rotation immediately after so a genuinely open menu still wins. */
  .nav-item:hover .dropdown-caret svg { transform: rotate(0deg); }
  .nav-item.open .dropdown-caret svg { transform: rotate(180deg); }

  .dropdown {
    position: static;
    transform: none;
    background: rgba(0, 0, 0, 0.22);
    border: none;
    border-radius: 14px;
    box-shadow: none;
    padding: 0.4rem;
    min-width: 0;
    width: 100%;
    margin: 0.5rem 0 0.3rem;
    display: none;
    opacity: 1;
    visibility: visible;
    text-align: center;
  }
  .nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: none; }
  /* Neutralize the desktop centering transform at matching specificity,
     otherwise the panel stays shifted left by half its width on mobile. */
  .nav-item.open .dropdown { display: block; transform: none; }
  .dropdown a {
    display: block;
    width: 100%;
    white-space: normal;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.1rem !important;
    padding: 0.75rem 0.5rem;
  }
  .dropdown a:hover { background: none; color: var(--gold) !important; }
  .dropdown a.dd-all {
    margin-top: 0.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0;
    color: var(--gold) !important;
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 0;
  color: var(--navy);
}
.nav-toggle svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-toggle .icon-close { display: none; }

@media (max-width: 880px) {
  /* The header's backdrop-filter would otherwise make it the containing block
     for the fixed full-screen menu, trapping the panel inside the header bar. */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }

  .nav-toggle { display: block; position: relative; z-index: 130; }
  .nav-toggle.open { color: var(--white); }
  .nav-toggle.open .icon-open { display: none; }
  .nav-toggle.open .icon-close { display: block; }

  .main-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    text-align: center;
    gap: 0.3rem;
    padding: 5.25rem 1.25rem 2.5rem;
    background: var(--navy-dark);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 120;
  }
  .main-nav.open { transform: translateX(0); opacity: 1; visibility: visible; }
  .main-nav > a { display: block; width: 100%; padding: 0.7rem 0; }
  .main-nav a { color: var(--white); font-size: 1.3rem; }
  .main-nav a.active { color: var(--gold); }
  .main-nav .btn { align-self: center; margin-top: 1rem; font-size: 1.05rem; padding: 0.85rem 2rem; }
  body.nav-locked { overflow: hidden; }
}

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

.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 760px);
  display: flex;
  align-items: center;
  color: var(--white);
  isolation: isolate;
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(10, 28, 46, 0.88) 0%, rgba(14, 34, 55, 0.72) 45%, rgba(14, 34, 55, 0.25) 100%);
}
.hero-inner { max-width: 640px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255, 255, 255, 0.92); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.2rem;
  margin-top: 2.4rem;
  font-family: var(--font-head);
}
.hero-badges div { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; font-size: 0.95rem; }
.hero-badges svg { width: 22px; height: 22px; fill: var(--gold); flex-shrink: 0; }

/* Sub-page hero */
.page-hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  color: var(--white);
  isolation: isolate;
}
.page-hero .hero-bg { z-index: -2; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(10, 28, 46, 0.92) 0%, rgba(14, 34, 55, 0.65) 100%);
}
.page-hero h1 { color: var(--white); margin-bottom: 0.3em; }
.page-hero p { color: rgba(255, 255, 255, 0.9); font-size: 1.15rem; max-width: 620px; margin: 0; }

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

.trust-strip { background: var(--navy); padding: 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.trust-item {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 1.6rem 1rem;
}
.trust-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold);
}
.trust-item span { font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */

.bg-sand { background: var(--sand); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.6rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card .card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.service-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .card-img img { transform: scale(1.05); }
.service-card .card-body { padding: 1.5rem 1.6rem 1.7rem; flex: 1; display: flex; flex-direction: column; }
.service-card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.card-link {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--gold-dark);
  text-decoration: none !important;
}
.card-link:hover { color: var(--navy); }

/* Detailed service rows (services page) */
.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2.2rem, 5vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: none; }
.service-row .row-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.service-row .row-img img { width: 100%; height: 100%; object-fit: cover; }
.service-row ul { padding-left: 1.2rem; color: var(--muted); margin: 0 0 1.2rem; }
.service-row li { margin-bottom: 0.35rem; }
@media (min-width: 820px) {
  .service-row { grid-template-columns: 1fr 1fr; }
  .service-row.flip .row-img { order: 2; }
}

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

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.6rem;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.why-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--sky-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.why-icon svg { width: 28px; height: 28px; fill: var(--sky); }
.why-card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.2rem;
}
.filter-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  cursor: pointer;
  transition: all 0.18s ease;
}
.filter-btn:hover { border-color: var(--gold); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--navy-dark);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.06); opacity: 0.82; }
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 1rem 0.8rem;
  background: linear-gradient(transparent, rgba(10, 28, 46, 0.85));
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover figcaption { opacity: 1; }
.gallery-item.hidden { display: none; }

/* Home gallery preview */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-preview-grid .gallery-item { aspect-ratio: 4 / 3; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 20, 33, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}
.lightbox-caption {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-head);
  font-size: 0.95rem;
  text-align: center;
  max-width: 90vw;
}
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.lightbox button:hover { background: var(--gold); color: var(--navy-dark); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   Service area
   -------------------------------------------------------------------------- */

.area-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  color: var(--white);
}
.area-section h2, .area-section h3 { color: var(--white); }
.area-section .eyebrow { color: var(--gold); }
.area-section p { color: rgba(255, 255, 255, 0.85); }
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.7rem;
  margin-top: 1.8rem;
}
.area-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.area-chip:hover { background: rgba(249, 178, 52, 0.18); border-color: var(--gold); }

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

.cta-band {
  background: var(--gold);
  padding: clamp(2.6rem, 6vw, 4rem) 0;
}
.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 { margin: 0; color: var(--navy-dark); }
.cta-band p { margin: 0.3rem 0 0; color: rgba(14, 34, 55, 0.75); font-weight: 500; }

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 880px) { .about-grid { grid-template-columns: 1.1fr 0.9fr; } }
.about-img-stack { position: relative; }
.about-img-stack .img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.about-img-stack .img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: -1.2rem;
  left: -1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  box-shadow: var(--shadow-md);
  font-family: var(--font-head);
}
.about-badge strong { display: block; font-size: 1.9rem; color: var(--gold); line-height: 1.1; }
.about-badge span { font-size: 0.85rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 880px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
}
.contact-info-card h3 { color: var(--white); }
.contact-info-card p { color: rgba(255, 255, 255, 0.85); }
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin: 1.4rem 0;
}
.contact-line svg { width: 24px; height: 24px; fill: var(--gold); flex-shrink: 0; margin-top: 0.15rem; }
.contact-line a { color: var(--white); font-weight: 600; font-size: 1.1rem; }
.contact-line span { display: block; font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 560px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--sand);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------------------
   Sub-service pages
   -------------------------------------------------------------------------- */

.breadcrumb {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.1rem;
  font-family: var(--font-head);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span[aria-hidden] { margin: 0 0.45rem; }

.split-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 880px) { .split-content { grid-template-columns: 1.15fr 0.85fr; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230e2237'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist li strong { color: var(--navy); }

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.mini-gallery .gallery-item { aspect-ratio: 4 / 3; }

.sidebar-card {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem;
  margin-bottom: 1.4rem;
}
.sidebar-card.navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.sidebar-card.navy h3 { color: var(--white); }
.sidebar-card.navy p { color: rgba(255, 255, 255, 0.85); }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card li { border-bottom: 1px solid var(--line); }
.sidebar-card li:last-child { border-bottom: none; }
.sidebar-card li a {
  display: block;
  padding: 0.7rem 0.2rem;
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
}
.sidebar-card li a:hover { color: var(--gold-dark); }
.sidebar-card li a.current { color: var(--gold-dark); }

/* FAQ accordion */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold-dark);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details[open] { border-color: var(--gold); }
.faq-list details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--muted); }

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

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.2rem;
  padding-bottom: 2.5rem;
}
.site-footer h4 {
  color: var(--white);
  font-size: 1.02rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: rgba(255, 255, 255, 0.78); }
.site-footer a:hover { color: var(--gold); text-decoration: none; }
.footer-brand img { width: 84px; margin-bottom: 0.9rem; }
.footer-brand p { font-size: 0.92rem; }
.footer-phone {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gold) !important;
  margin-top: 0.4rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.3rem 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Utilities & animation
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: 0.01ms !important; }
}
