/* ============================================================
   The Painter's Touch — Boiling Springs, SC
   Mobile-first stylesheet
   ============================================================ */

:root {
  --ink: #13203C;          /* deep navy ink (brush black-blue) */
  --ink-soft: #3C4A68;
  --royal: #2B59C3;        /* crown blue */
  --royal-deep: #1E419B;
  --cream: #FAF7F1;        /* warm page background */
  --cream-deep: #F1ECE1;
  --white: #FFFFFF;
  --gold: #C9A227;         /* subtle crown-gold accent */
  --line: #E4DFD3;
  --shadow-sm: 0 2px 10px rgba(19, 32, 60, 0.07);
  --shadow-md: 0 10px 34px rgba(19, 32, 60, 0.12);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 6.5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--royal);
  margin-bottom: 0.9rem;
}

.section-sub {
  color: var(--ink-soft);
  max-width: 46rem;
  margin-bottom: 2.2rem;
}

.confirm-note {
  font-size: 0.74rem;
  color: #8A8270;
  margin-top: 0.4rem;
}

.demo-tag {
  display: inline-block;
  background: #FFF3D6;
  color: #8a6d1a;
  border: 1px solid #EAD79E;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.1rem 0.55rem;
  vertical-align: middle;
  white-space: nowrap;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--royal);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(43, 89, 195, 0.35);
}
.btn-primary:hover { background: var(--royal-deep); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.btn-block { width: 100%; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand-mark {
  height: 46px;
  color: var(--ink);
  flex-shrink: 0;
  display: block;
}
.brand-mark img {
  height: 100%;
  width: auto;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.1;
}

.brand-tag {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.93rem;
}
.site-nav a:hover { color: var(--royal); }

.site-nav .nav-cta {
  background: var(--royal);
  color: var(--white);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--royal-deep); color: var(--white); }

.header-call {
  display: none;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.header-call:hover { border-color: var(--royal); color: var(--royal); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.site-nav.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.site-nav.open a {
  padding: 0.95rem 1.4rem;
  border-top: 1px solid var(--cream-deep);
  font-size: 1rem;
}
.site-nav.open .nav-cta {
  margin: 0.8rem 1.4rem 1.1rem;
  text-align: center;
  border-radius: 999px;
}

/* ---------- Owner quote strip ---------- */

.owner-quote {
  background: var(--ink);
  padding: 1.6rem 0;
}

.owner-blockquote {
  margin: 0;
  text-align: center;
}

.owner-blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  color: var(--cream);
  font-style: italic;
  margin: 0 0 0.55rem;
  line-height: 1.5;
}

.owner-blockquote footer {
  font-size: 0.82rem;
  color: #8FA6D9;
  font-weight: 600;
  letter-spacing: 0.04em;
}

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

.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(43, 89, 195, 0.10), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, #F4EFE5 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
  padding: 3rem 0 3.4rem;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0 1.4rem;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-points li::before {
  content: "✓";
  color: var(--royal);
  font-weight: 700;
  margin-right: 0.4rem;
}

/* Hero visual */
.hero-visual { position: relative; max-width: 460px; }

.hero-card {
  background: var(--white);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-md);
  padding: 1.4rem;
  border: 1px solid var(--line);
}

.hero-roller {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-deep);
  display: grid;
  gap: 0;
}

.paint-stripe { height: 64px; position: relative; }
.paint-stripe::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 8px;
  bottom: 8px;
  width: 26px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: inherit;
  filter: blur(0.4px);
}
.stripe-1 { background: linear-gradient(90deg, #D9E3F8 0%, #B9CBF1 70%, #B9CBF1 100%); width: 92%; }
.stripe-2 { background: linear-gradient(90deg, #BFD0B9 0%, #A4BC9C 70%); width: 78%; }
.stripe-3 { background: linear-gradient(90deg, #2B59C3 0%, #1E419B 70%); width: 86%; }

.hero-swatches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.swatch {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.chip {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(19,32,60,0.12);
  flex-shrink: 0;
}
.chip-cream { background: #F0E7D3; }
.chip-sage  { background: #A4BC9C; }
.chip-navy  { background: #1E419B; }
.chip-clay  { background: #C07B54; }

.hero-badge {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.hero-badge img {
  background: var(--cream);
  border-radius: 9px;
  padding: 4px 8px;
  height: 40px;
  width: auto;
  flex-shrink: 0;
}

/* ---------- Sections ---------- */

.section { padding: 3.6rem 0; }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }

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

.card-grid {
  display: grid;
  gap: 1.2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(43,89,195,0.12), rgba(43,89,195,0.05));
  color: var(--royal);
  margin-bottom: 1rem;
}

.service-card p { color: var(--ink-soft); font-size: 0.95rem; }

.service-list {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}
.service-list li {
  padding: 0.34rem 0;
  border-top: 1px dashed var(--line);
}
.service-list li::before {
  content: "—";
  color: var(--gold);
  margin-right: 0.5rem;
}

/* ---------- Before / After ---------- */

.ba-slider {
  position: relative;
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.4rem;
  user-select: none;
  touch-action: none;
}

.ba-before, .ba-after {
  position: absolute;
  inset: 0;
}

/* Demo "before": faded, scuffed wall */
.ba-before {
  background:
    radial-gradient(180px 80px at 30% 70%, rgba(110, 95, 70, 0.25), transparent 70%),
    radial-gradient(120px 60px at 70% 30%, rgba(110, 95, 70, 0.18), transparent 70%),
    linear-gradient(180deg, #CFC6B4 0%, #BFB49E 55%, #A99D85 100%);
}
.ba-before::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(95deg, transparent 0 26px, rgba(90, 78, 58, 0.08) 26px 28px);
}

/* Demo "after": fresh sage wall with crisp white trim line */
.ba-after {
  background: linear-gradient(180deg, #AEC4A6 0%, #9DB694 60%, #8FAB86 100%);
  clip-path: inset(0 0 0 50%);
}
.ba-after::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 34px;
  background: #F6F3EB;
  box-shadow: 0 -2px 6px rgba(19,32,60,0.18);
}

.ba-label {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(19, 32, 60, 0.78);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.ba-label-after { left: auto; right: 14px; background: var(--royal); }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  cursor: ew-resize;
}
.ba-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

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

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.gallery-tile {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.gallery-tile::before {
  content: "";
  display: block;
  height: 120px;
}
.tile-1::before { background: linear-gradient(135deg, #E8EFE4 0%, #A4BC9C 60%, #7E9876 100%); }
.tile-2::before { background: linear-gradient(135deg, #D9E3F8 0%, #6E8FE0 60%, #2B59C3 100%); }
.tile-3::before { background: linear-gradient(135deg, #F4E9DC 0%, #D9B99B 60%, #C07B54 100%); }
.tile-4::before { background: linear-gradient(135deg, #E2E4EC 0%, #8C93AC 60%, #13203C 100%); }

.gallery-tile figcaption {
  padding: 0.75rem 0.9rem 0.9rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.35rem;
}
.gallery-tile strong { color: var(--ink); }

/* ---------- Reviews ---------- */

.review-grid {
  display: grid;
  gap: 1.2rem;
}

.review-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.stars { color: var(--gold); letter-spacing: 0.18em; margin-bottom: 0.7rem; }

.review-card p {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
}

.review-card footer {
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.review-links {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.review-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--royal);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid var(--royal);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
}
.review-link:hover { background: var(--royal); color: var(--white); }

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

.process-steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}

.process-step {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.3rem;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--royal);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  box-shadow: 0 4px 12px rgba(43, 89, 195, 0.35);
}

.process-step p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }

.process-cta { margin-top: 2rem; text-align: center; }

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

.areas-inner {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

.area-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.area-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.areas-map svg { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- FAQ ---------- */

.faq-inner { max-width: 50rem; }

.faq-list { display: grid; gap: 0.7rem; margin-top: 1.6rem; }

.faq-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 3rem 1rem 1.2rem;
  font-weight: 600;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--royal);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  padding: 0 1.2rem 1.1rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.contact {
  background:
    radial-gradient(900px 400px at 10% 110%, rgba(43, 89, 195, 0.08), transparent 60%),
    var(--cream);
}

.contact-inner { display: grid; gap: 2.4rem; }

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  margin-top: 0.4rem;
}
.contact-phone:hover { color: var(--royal); }
.contact-phone svg { color: var(--royal); }

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  margin-top: 0.5rem;
}
.contact-email:hover { color: var(--royal); }

.contact-points {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.contact-points li { padding: 0.3rem 0; }
.contact-points li::before { content: "✓"; color: var(--royal); font-weight: 700; margin-right: 0.5rem; }

/* Form */
.estimate-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.7rem 1.4rem;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1rem;
}

.estimate-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
}

.estimate-form input[type="text"],
.estimate-form input[type="tel"],
.estimate-form input[type="email"],
.estimate-form textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  width: 100%;
}
.estimate-form input:focus,
.estimate-form textarea:focus {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(43, 89, 195, 0.15);
  background: var(--white);
}

.form-row { display: grid; gap: 1rem; }

.form-services {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
}
.form-services legend {
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0 0.4rem;
}
.check {
  display: inline-flex !important;
  grid-template-columns: none;
  flex-direction: row;
  align-items: center;
  gap: 0.45rem !important;
  font-weight: 500 !important;
  font-size: 0.92rem !important;
}
.check input { accent-color: var(--royal); width: 18px; height: 18px; }

.form-note {
  font-size: 0.74rem;
  color: #8A8270;
  margin: 0;
  text-align: center;
}

.form-success {
  background: #EAF4EA;
  border: 1px solid #BFD8BF;
  color: #2F5E2F;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  margin: 0;
}

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

.site-footer {
  background: var(--ink);
  color: #C5CCDD;
  padding: 2.8rem 0 0;
  margin-bottom: calc(86px + env(safe-area-inset-bottom)); /* room for mobile bar */
}

.footer-inner {
  display: grid;
  gap: 1.8rem;
  padding-bottom: 2rem;
}

.footer-brand { display: flex; gap: 0.8rem; align-items: center; }
.brand-mark-light {
  height: auto;
  background: var(--cream);
  border-radius: 12px;
  padding: 6px 10px;
}
.brand-mark-light img { height: 44px; width: auto; }

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin: 0;
}
.footer-tag { font-size: 0.78rem; margin: 0.2rem 0 0; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.footer-nav a { color: #C5CCDD; text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--white); }

.footer-contact { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-contact a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
}
.footer-contact a:hover { color: #8FA6D9; }
.footer-email { font-size: 0.88rem !important; font-weight: 500 !important; color: #C5CCDD !important; }
.footer-fb {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: #8FA6D9 !important;
}
.footer-address { font-size: 0.78rem; color: #7C87A3; margin: 0.2rem 0 0; }
.footer-url { color: #7C87A3; text-decoration: none; }
.footer-url:hover { color: #C5CCDD; }

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.1rem;
  font-size: 0.78rem;
  color: #7C87A3;
}
.footer-base p { margin: 0; }

/* ---------- Mobile sticky action bar ---------- */

.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(19, 32, 60, 0.12);
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
}

.mobile-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.72rem 0.5rem;
  border-radius: 999px;
}

.mobile-bar-call {
  color: var(--ink);
  border: 2px solid var(--ink);
  flex: 0 0 32%;
}
.mobile-bar-estimate {
  background: var(--royal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(43, 89, 195, 0.4);
}

/* ============================================================
   Tablet & up
   ============================================================ */

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-tile::before { height: 140px; }
  .ba-slider { height: 380px; }
}

@media (min-width: 880px) {
  .section { padding: 5rem 0; }

  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding: 4.5rem 0 5rem;
  }
  .hero-visual { justify-self: end; width: 100%; }
  .hero-badge {
    position: absolute;
    bottom: -18px;
    right: -6px;
    margin-top: 0;
  }
  .hero-visual { position: relative; }
  .hero-card { padding-bottom: 3.4rem; }

  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(4, 1fr); }
  .areas-inner { grid-template-columns: 1.1fr 0.9fr; }
  .contact-inner { grid-template-columns: 0.9fr 1.1fr; align-items: start; }

  .footer-inner {
    grid-template-columns: 1.2fr 1fr auto;
    align-items: center;
  }

  .site-footer { margin-bottom: 0; }
  .mobile-bar { display: none; }
}

@media (min-width: 1024px) {
  .site-nav { display: flex; position: static; }
  .nav-toggle { display: none; }
  .header-call { display: inline-flex; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
