/* ==========================================================================
   Quigg Plumbing Service, LLC — quiggplumbingservice.com
   Style: "Coastal Craftsman Badge"
   Cream paper background, slate blue-gray structure, signature teal accents.
   Fonts: Fraunces (display serif) · Caveat (script kicker) · Figtree (body)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --cream: #FAF8F4;
  --cream-2: #F2F7F6;
  --white: #FFFFFF;
  --slate: #5F7A87;
  --slate-light: #6C8793;
  --slate-deep: #31434C;
  --slate-deeper: #24343C;
  --ink: #2A3B43;
  --teal: #2FB8AC;
  --teal-dark: #23968C;
  --aqua: #A8DCD9;
  --aqua-soft: #EAF5F4;
  --gold: #E8B54A;
  --shadow-sm: 0 1px 3px rgba(49, 67, 76, 0.08), 0 1px 2px rgba(49, 67, 76, 0.06);
  --shadow-md: 0 6px 20px rgba(49, 67, 76, 0.10);
  --shadow-lg: 0 18px 50px rgba(49, 67, 76, 0.16);
  --radius: 14px;
  --radius-lg: 22px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font-display: "Fraunces", Georgia, serif;
  --font-script: "Caveat", cursive;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul { padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--slate-deep);
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 em, h1 em { font-style: italic; color: var(--teal-dark); }
h3 { font-size: 1.25rem; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .container { padding-inline: 2rem; } }

section { position: relative; }

/* ---------- Kicker ---------- */
.kicker {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 0.9rem;
}
.kicker__script {
  font-family: var(--font-script);
  font-size: 1.65rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--teal-dark);
  margin-right: 0.35rem;
  vertical-align: -2px;
}
.kicker--light { color: var(--aqua); }
.kicker--light .kicker__script { color: var(--aqua); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 160ms var(--ease-out), color 160ms var(--ease-out);
  text-decoration: none !important;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.btn--primary {
  background: var(--teal);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(47, 184, 172, 0.35);
}
.btn--primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(47, 184, 172, 0.42);
}
.btn--outline {
  background: transparent;
  border-color: var(--slate);
  color: var(--slate-deep);
}
.btn--outline:hover {
  background: var(--slate-deep);
  border-color: var(--slate-deep);
  color: #FFFFFF;
  transform: translateY(-2px);
}
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.08rem; }
.btn--block { width: 100%; }

@media (prefers-reduced-motion: no-preference) {
  .pulse { animation: pulse-ring 2.6s var(--ease-out) infinite; }
  @keyframes pulse-ring {
    0%   { box-shadow: 0 6px 18px rgba(47,184,172,0.35), 0 0 0 0 rgba(47,184,172,0.45); }
    60%  { box-shadow: 0 6px 18px rgba(47,184,172,0.35), 0 0 0 16px rgba(47,184,172,0); }
    100% { box-shadow: 0 6px 18px rgba(47,184,172,0.35), 0 0 0 0 rgba(47,184,172,0); }
  }
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--slate-deep);
  color: #D9E4E2;
  font-size: 0.85rem;
  font-weight: 500;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.45rem;
}
.topbar__stars { color: var(--gold); letter-spacing: 2px; }
.topbar__phone { color: #FFFFFF; font-weight: 700; }
.topbar__phone:hover { color: var(--aqua); }
@media (max-width: 720px) {
  .topbar__item--hours { display: none; }
}
@media (max-width: 480px) {
  .topbar { font-size: 0.78rem; }
  .topbar__inner { flex-wrap: nowrap; }
  .topbar__item { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar__reviews-text { display: none; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(95, 122, 135, 0.14);
  transition: box-shadow 200ms var(--ease-out);
}
.header.is-scrolled { box-shadow: var(--shadow-md); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.65rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none !important; }
.brand__badge { width: 52px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-script);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--slate-deep);
}
.brand__sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--teal-dark);
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__link {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--slate-deep);
  position: relative;
  text-decoration: none !important;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 2.5px;
  background: var(--teal);
  border-radius: 2px;
  transition: right 220ms var(--ease-out);
}
.nav__link:hover::after { right: 0; }
.nav__cta { padding: 0.7rem 1.25rem; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--slate-deep);
  border-radius: 2px;
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(95, 122, 135, 0.16);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 1.25rem 1.25rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 0.85rem 0.25rem; border-bottom: 1px solid rgba(95,122,135,0.10); }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 1rem; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4.5rem, 8vw, 6.5rem);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(250,248,244,0.98) 0%, rgba(250,248,244,0.88) 45%, rgba(250,248,244,0.55) 100%),
    url("/images/hero-texture.jpg") center / cover no-repeat;
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.hero__lede {
  font-size: 1.15rem;
  color: #46595f;
  max-width: 34rem;
  margin-bottom: 1.8rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.9rem; }
.hero__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate);
}
.hero__badges li { display: flex; align-items: center; gap: 0.4rem; }
.hero__badges li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.hero__badge-star { color: var(--gold); }

.hero__visual { position: relative; }
.hero__photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #FFFFFF;
  transform: rotate(1.2deg);
}
.hero__photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__seal {
  position: absolute;
  bottom: -34px;
  left: -26px;
  width: 130px;
  background: #FFFFFF;
  border-radius: 50%;
  padding: 10px;
  box-shadow: var(--shadow-md);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__seal { animation: seal-float 5s ease-in-out infinite; }
  @keyframes seal-float {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
  }
}

.wave-divider {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
}
.wave-divider svg { width: 100%; height: 70px; display: block; }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; }
  .hero__seal { width: 104px; bottom: -26px; left: -10px; }
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--cream-2);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.trust__item h3 { margin: 0.85rem 0 0.4rem; font-size: 1.12rem; }
.trust__item p { font-size: 0.95rem; color: #4d6169; }
.trust__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #FFFFFF;
  color: var(--teal-dark);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(95, 122, 135, 0.12);
}
.trust__icon svg { width: 26px; height: 26px; }
@media (max-width: 900px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust__grid { grid-template-columns: 1fr; } }

/* ---------- Section head ---------- */
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.2rem); }
.section-head__lede { margin-top: 0.9rem; color: #4d6169; font-size: 1.08rem; }

/* ---------- Services ---------- */
.services { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.services__feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 2.6rem;
}
.services__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.services__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.services__photo:hover img { transform: scale(1.04); }
.services__photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.1rem 0.85rem;
  background: linear-gradient(to top, rgba(36, 52, 60, 0.82), transparent);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.98rem;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}
.service-card {
  background: #FFFFFF;
  border: 1px solid rgba(95, 122, 135, 0.13);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47, 184, 172, 0.45);
}
.service-card h3 { font-size: 1.08rem; margin: 0.9rem 0 0.5rem; }
.service-card p { font-size: 0.92rem; color: #4d6169; }
.service-card__icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--aqua-soft);
  color: var(--teal-dark);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card--accent {
  background: var(--slate-deep);
  border-color: var(--slate-deep);
}
.service-card--accent h3 { color: #FFFFFF; }
.service-card--accent p { color: #B9CBD1; }
.service-card--accent .service-card__icon { background: rgba(47, 184, 172, 0.18); color: var(--aqua); }
.services__note {
  margin-top: 2.2rem;
  font-size: 0.98rem;
  color: #4d6169;
}
@media (max-width: 1000px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .services__feature-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .services__grid { grid-template-columns: 1fr; } }

/* ---------- Emergency band ---------- */
.emergency {
  background:
    radial-gradient(1200px 400px at 85% 120%, rgba(47, 184, 172, 0.18), transparent 60%),
    var(--slate-deeper);
  color: #E7EFED;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.emergency__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.emergency h2 { color: #FFFFFF; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 0.8rem; }
.emergency__text { max-width: 40rem; }
.emergency__text > p:last-child { color: #AFC5CB; font-style: italic; font-size: 0.98rem; }

/* ---------- About ---------- */
.about { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.about__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__visual { position: relative; }
.about__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #FFFFFF;
  transform: rotate(-1.2deg);
}
.about__stamp {
  position: absolute;
  top: -22px;
  right: -14px;
  background: var(--teal);
  color: #FFFFFF;
  font-family: var(--font-script);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  padding: 1.05rem 1.15rem;
  border-radius: 50% 46% 52% 48% / 48% 52% 46% 52%;
  transform: rotate(6deg);
  box-shadow: var(--shadow-md);
}
.about__content h2 { margin-bottom: 1.1rem; }
.about__content > p { color: #45585f; margin-bottom: 1.1rem; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.7rem 0;
}
.stat {
  background: #FFFFFF;
  border: 1px solid rgba(95, 122, 135, 0.13);
  border-radius: var(--radius);
  padding: 1rem 0.9rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.1;
}
.stat__star { color: var(--gold); font-size: 1.3rem; margin-left: 2px; }
.stat__label { font-size: 0.8rem; font-weight: 600; color: var(--slate); }
.about__license {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--aqua-soft);
  border: 1px dashed rgba(35, 150, 140, 0.5);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  color: var(--slate-deep);
}
.about__license .icon { width: 26px; height: 26px; color: var(--teal-dark); flex-shrink: 0; }
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { max-width: 540px; margin-inline: auto; }
}
@media (max-width: 520px) { .about__stats { grid-template-columns: 1fr 1fr; } .about__stats .stat:last-child { grid-column: span 2; } }

/* ---------- Reviews ---------- */
.reviews {
  background:
    linear-gradient(rgba(242, 247, 246, 0.94), rgba(242, 247, 246, 0.94)),
    url("/images/hero-texture.jpg") center / cover no-repeat fixed;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.reviews__summary {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}
.reviews__score {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--slate-deep);
  line-height: 1;
}
.reviews__stars { color: var(--gold); font-size: 1.35rem; letter-spacing: 3px; }
.reviews__count { font-size: 0.92rem; font-weight: 600; color: var(--slate); }
.reviews__grid {
  columns: 3;
  column-gap: 1.3rem;
}
.review-card {
  break-inside: avoid;
  background: #FFFFFF;
  border: 1px solid rgba(95, 122, 135, 0.13);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  margin: 0 0 1.3rem;
  box-shadow: var(--shadow-sm);
}
.review-card__stars { color: var(--gold); letter-spacing: 2.5px; margin-bottom: 0.7rem; font-size: 0.95rem; }
.review-card p { font-size: 0.97rem; color: #40535b; }
.review-card footer {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 0.9rem;
}
.review-card cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate-deep);
}
.review-card footer span { font-size: 0.8rem; color: var(--slate-light); }
.reviews__link { margin-top: 1.4rem; font-weight: 600; }
@media (max-width: 1000px) { .reviews__grid { columns: 2; } }
@media (max-width: 640px) { .reviews__grid { columns: 1; } }

/* ---------- Service area ---------- */
.area { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.area__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.2rem, 5vw, 4rem);
  align-items: center;
}
.area__content h2 { margin-bottom: 1.1rem; }
.area__content > p { color: #45585f; }
.area__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem 1.2rem;
  margin: 1.4rem 0;
  max-width: 26rem;
}
.area__list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  color: var(--slate-deep);
}
.area__list li::before {
  content: "";
  width: 18px; height: 18px;
  flex-shrink: 0;
  background: var(--teal);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z"/><circle cx="12" cy="10" r="3"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z"/><circle cx="12" cy="10" r="3"/></svg>') center / contain no-repeat;
}
.area__note { font-size: 0.98rem; color: #4d6169; }
.area__map-card {
  background: #FFFFFF;
  border: 1px solid rgba(95, 122, 135, 0.13);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-md);
}
.area__map { width: 100%; height: auto; }
.area__label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  fill: var(--slate-deep);
}
.area__map-caption {
  text-align: center;
  font-family: var(--font-script);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slate);
  margin-top: 0.4rem;
}
@media (max-width: 900px) {
  .area__inner { grid-template-columns: 1fr; }
  .area__visual { max-width: 440px; }
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(168, 220, 217, 0.25), transparent 55%),
    var(--cream-2);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.contact__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.2rem, 5vw, 4rem);
  align-items: start;
}
.contact__info h2 { margin-bottom: 1rem; }
.contact__info > p { color: #45585f; }
.contact__details {
  list-style: none;
  display: grid;
  gap: 1.15rem;
  margin: 1.7rem 0;
}
.contact__details li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact__details .icon {
  width: 42px; height: 42px;
  padding: 9px;
  border-radius: 12px;
  background: #FFFFFF;
  color: var(--teal-dark);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.contact__details strong { display: block; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate-light); margin-bottom: 0.15rem; }
.contact__details a { font-weight: 700; color: var(--slate-deep); font-size: 1.05rem; }
.contact__details a:hover { color: var(--teal-dark); }
.contact__details span { color: #45585f; }
.contact__social { display: flex; gap: 0.8rem; }
.contact__social a, .footer__social a {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--slate);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms var(--ease-out), color 180ms var(--ease-out);
}
.contact__social a:hover, .footer__social a:hover { transform: translateY(-3px); color: var(--teal-dark); }
.contact__social svg, .footer__social svg { width: 21px; height: 21px; }

.contact__form-wrap {
  background: #FFFFFF;
  border: 1px solid rgba(95, 122, 135, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  border-top: 6px solid var(--teal);
}
.contact__form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field { margin-bottom: 1.1rem; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-deep);
  margin-bottom: 0.35rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid rgba(95, 122, 135, 0.28);
  border-radius: 10px;
  padding: 0.8rem 0.95rem;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(47, 184, 172, 0.18);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.contact__form-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--slate-light);
  text-align: center;
}
@media (max-width: 900px) { .contact__inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer {
  background: var(--slate-deeper);
  color: #B9CBD1;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.4rem;
  padding-block: clamp(2.8rem, 6vw, 4rem) 2.4rem;
}
.footer__logo { width: 88px; margin-bottom: 0.9rem; filter: drop-shadow(0 0 1px rgba(255,255,255,0.25)); }
.footer__tagline {
  font-family: var(--font-script);
  font-size: 1.45rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}
.footer__license { font-size: 0.88rem; margin-bottom: 1.1rem; }
.footer__social { display: flex; gap: 0.7rem; }
.footer__social a { background: rgba(255, 255, 255, 0.08); color: #D9E4E2; box-shadow: none; }
.footer__social a:hover { color: var(--aqua); }
.footer__col h4 {
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer__col a, .footer__col p {
  display: block;
  color: #B9CBD1;
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}
.footer__col a:hover { color: var(--aqua); text-decoration: none; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.10); }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-block: 1.2rem;
  font-size: 0.84rem;
  color: #8AA2AB;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- Mobile call bar ---------- */
.mobile-callbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: rgba(36, 52, 60, 0.97);
  backdrop-filter: blur(8px);
  padding: 0.6rem 0.9rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.7rem;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.22);
}
.mobile-callbar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  text-decoration: none !important;
}
.mobile-callbar .icon { width: 1.05em; height: 1.05em; }
.mobile-callbar__call { background: var(--teal); color: #FFFFFF; }
.mobile-callbar__estimate { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; border: 1.5px solid rgba(255, 255, 255, 0.35); }
@media (max-width: 760px) {
  .mobile-callbar { display: flex; }
  body { padding-bottom: 74px; }
}

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Thank-you page ---------- */
.thanks {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  text-align: center;
}
.thanks__card {
  max-width: 34rem;
  background: #FFFFFF;
  border: 1px solid rgba(95, 122, 135, 0.14);
  border-top: 6px solid var(--teal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(2rem, 5vw, 3rem);
  margin-inline: 1.25rem;
}
.thanks__badge { width: 96px; margin: 0 auto 1.2rem; }
.thanks__card h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 0.8rem; }
.thanks__card p { color: #45585f; margin-bottom: 1rem; }
.thanks__ctas { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.4rem; }
