/* ==========================================================
   Supreme Fence Painting — design system
   Palette: ink charcoal / warm paper / trailer yellow
   ========================================================== */
:root {
  --ink: #16181d;
  --ink-2: #1f232b;
  --ink-3: #2a2f39;
  --paper: #f7f5f0;
  --white: #ffffff;
  --yellow: #ffee00;
  --yellow-deep: #f5c518;
  --red: #e2211c;
  --grad: linear-gradient(118deg, #ffee00 52%, #a6cf3d 86%, #81b841);
  --green: #81b841;
  --green-dark: #557e22;
  --line: #e6e2d8;
  --line-dark: #343a45;
  --muted: #5d616b;
  --muted-on-dark: #aab0bc;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-card: 0 1px 2px rgba(22, 24, 29, .05), 0 12px 32px -12px rgba(22, 24, 29, .18);
  --shadow-pop: 4px 4px 0 var(--ink);
  --wrap: 1180px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
strong { font-weight: 700; }
::selection { background: var(--yellow); color: var(--ink); }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ---------- type ---------- */
h1, h2, h3, .display {
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.22rem; line-height: 1.25; }
.lead { font-size: clamp(1.08rem, 1.9vw, 1.3rem); line-height: 1.55; }
.kicker {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .12em;
  padding: .38em .9em;
  border-radius: 4px;
  margin-bottom: 1.1rem;
  transform: rotate(-1deg);
}
.kicker::before { content: ""; width: 8px; height: 8px; background: var(--ink); border-radius: 50%; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font);
  font-weight: 800; font-size: 1.02rem;
  text-decoration: none; text-transform: uppercase; letter-spacing: .03em;
  padding: .95em 1.7em;
  border-radius: var(--radius-sm);
  border: 2.5px solid var(--ink);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-yellow {
  background: var(--yellow); color: var(--ink);
  box-shadow: var(--shadow-pop);
}
.btn-yellow:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-yellow:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost-dark {
  background: transparent; color: var(--white); border-color: var(--white);
}
.btn-ghost-dark:hover { background: var(--white); color: var(--ink); }
.btn-ghost-light {
  background: transparent; color: var(--ink);
}
.btn-ghost-light:hover { background: var(--ink); color: var(--white); }
.btn svg { flex: 0 0 auto; }

/* ---------- header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(22, 24, 29, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.topbar-in {
  display: flex; align-items: center; gap: 1.6rem;
  max-width: var(--wrap); margin: 0 auto; padding: .72rem 22px;
}
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--white); }
.logo-mark { width: 42px; height: 42px; flex: 0 0 auto; }
.logo-banner { height: clamp(19px, 4.6vw, 40px); width: auto; border-radius: 4px; display: block; }
footer .logo-banner { height: 32px; }
.logo-word { line-height: 1.02; }
.logo-word b { display: block; font-size: 1.18rem; font-weight: 900; letter-spacing: .02em; border-bottom: 2.5px solid var(--red); padding-bottom: 1.5px; width: fit-content; }
.logo-word span { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .34em; color: var(--yellow); text-transform: uppercase; }
.nav { display: flex; gap: 1.5rem; margin-left: auto; }
.nav a {
  color: var(--muted-on-dark); text-decoration: none;
  font-weight: 600; font-size: .95rem;
  padding: .3em 0;
  border-bottom: 2px solid transparent;
  transition: color .15s;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--yellow); }
.top-phone {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--yellow); color: var(--ink);
  font-weight: 800; font-size: .95rem;
  text-decoration: none;
  padding: .55em 1.05em; border-radius: 99px;
  white-space: nowrap;
  transition: transform .15s;
}
.top-phone:hover { transform: scale(1.04); }
.burger {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px;
  align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; display: block; width: 24px; height: 2.6px; border-radius: 2px;
  background: var(--white); position: relative; transition: all .2s;
}
.burger span::before { position: absolute; top: -8px; }
.burger span::after { position: absolute; top: 8px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; color: var(--white);
  background: var(--ink);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 65%;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(15, 17, 21, .88) 0%, rgba(15, 17, 21, .62) 46%, rgba(15, 17, 21, .18) 100%),
    linear-gradient(to top, rgba(15, 17, 21, .55) 0%, transparent 40%);
}
.hero-in {
  position: relative;
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(4.2rem, 9vw, 7.5rem) 22px clamp(4.6rem, 9vw, 7.5rem);
}
.hero h1 { max-width: 12ch; }
.hero h1 .hl { background: linear-gradient(100deg, #ffee00 40%, #9ac93e); -webkit-background-clip: text; background-clip: text; color: #ffee00; -webkit-text-fill-color: transparent; }
.hero .lead { max-width: 33rem; margin: 1.4rem 0 2.1rem; color: #e8e6df; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.6rem; }
.hero-chips li {
  display: flex; align-items: center; gap: .55em;
  font-weight: 600; font-size: .95rem; color: #dfe2e8;
}
.hero-chips svg { color: var(--yellow); flex: 0 0 auto; }

/* paint-drip divider */
.drip { display: block; width: 100%; height: 34px; margin-top: -1px; }

/* ---------- sections ---------- */
section { padding: clamp(3.6rem, 7vw, 6rem) 0; }
.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sec-head p { margin-top: .9rem; color: var(--muted); font-size: 1.08rem; }
.sec-dark { background: var(--ink); color: var(--white); }
.sec-dark .sec-head p { color: var(--muted-on-dark); }
.sec-white { background: var(--white); }

/* ---------- services grid ---------- */
.svc-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(3, 1fr);
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: var(--shadow-card);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 2px 3px rgba(22,24,29,.06), 0 24px 44px -16px rgba(22,24,29,.28); }
.svc-card img { height: 215px; width: 100%; object-fit: cover; }
.svc-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.svc-body p { color: var(--muted); font-size: .98rem; flex: 1; }
.svc-more {
  font-weight: 800; font-size: .88rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: .4em;
}
.svc-card:hover .svc-more { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ---------- transformation strip ---------- */
.transform-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.4rem; align-items: stretch; }
.transform-copy {
  background: var(--ink-2); border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  display: flex; flex-direction: column; justify-content: center;
}
.transform-copy h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); text-transform: uppercase; margin-bottom: 1rem; }
.transform-copy p { color: var(--muted-on-dark); margin-bottom: 1rem; }
.transform-copy p:last-of-type { margin-bottom: 1.6rem; }
.ba-figure { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); }
.ba-figure img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--yellow); color: var(--ink);
  font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  padding: .4em .8em; border-radius: 5px;
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; counter-reset: step; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem;
  position: relative;
  box-shadow: var(--shadow-card);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-block;
  font-weight: 900; font-size: 1rem;
  background: var(--ink); color: var(--yellow);
  padding: .35em .6em; border-radius: 6px;
  margin-bottom: .9rem;
}
.step h3 { margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- gallery ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; grid-auto-flow: dense; gap: .9rem; }
.gal-grid a {
  border-radius: var(--radius-sm); overflow: hidden; display: block; position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
}
.gal-grid a.tall { grid-row: span 2; aspect-ratio: auto; }
.gal-grid img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s ease;
}
.gal-grid a:hover img { transform: scale(1.05); }
.gal-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 1.6rem .9rem .7rem;
  background: linear-gradient(to top, rgba(15,17,21,.78), transparent);
  color: #fff; font-size: .85rem; font-weight: 600;
  opacity: 0; transition: opacity .25s;
}
.gal-grid a:hover .gal-cap { opacity: 1; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 17, 21, .93);
  display: none; align-items: center; justify-content: center;
  padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 10px; }
.lightbox-close {
  position: absolute; top: 18px; right: 18px;
  background: var(--yellow); border: 0; color: var(--ink);
  width: 46px; height: 46px; border-radius: 50%;
  font-size: 1.5rem; font-weight: 900; cursor: pointer; line-height: 1;
}

/* ---------- about band ---------- */
.about-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.6rem); align-items: center; }
.about-band .photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.about-band .photo img { width: 100%; height: 100%; object-fit: cover; }
.about-band p { margin-bottom: 1rem; color: #3c4049; }
.sec-dark .about-band p { color: var(--muted-on-dark); }

/* ---------- reviews ---------- */
.stars { color: var(--yellow-deep); letter-spacing: .1em; font-size: 1.05rem; }
.sec-dark .stars { color: var(--yellow); }
.review-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 340px);
  gap: 1.2rem; overflow-x: auto; padding: .4rem .2rem 1.2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--yellow) transparent;
}
.review-card {
  background: var(--white); color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.4rem;
  scroll-snap-align: start;
  box-shadow: var(--shadow-pop);
  display: flex; flex-direction: column; gap: .8rem;
}
.review-card blockquote { font-size: 1.02rem; font-weight: 500; line-height: 1.5; flex: 1; }
.review-who { display: flex; align-items: center; gap: .75rem; }
.review-ava {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
}
.review-who b { display: block; font-size: .98rem; }
.review-who span { font-size: .82rem; color: var(--muted); }

/* ---------- area ---------- */
.area-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: center; }
.suburbs { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.suburbs li {
  background: var(--white); border: 1px solid var(--line);
  padding: .38em .85em; border-radius: 99px;
  font-size: .9rem; font-weight: 600;
}
.suburbs li.more { background: var(--green); border-color: var(--green); }

/* ---------- FAQ ---------- */
.faq { max-width: 50rem; }
.faq details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: .8rem;
  overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.05rem;
  padding: 1.05rem 3rem 1.05rem 1.3rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  font-weight: 900; font-size: 1.3rem; color: var(--ink);
  background: var(--yellow); width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details div { padding: 0 1.3rem 1.2rem; color: var(--muted); }
.faq details div p + p { margin-top: .6rem; }

/* ---------- quote form ---------- */
.quote-band { background: var(--grad); position: relative; }
.quote-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.quote-copy h2 { max-width: 14ch; }
.quote-copy p { margin: 1.1rem 0 1.6rem; font-size: 1.08rem; max-width: 30rem; }
.quote-alt { display: flex; flex-direction: column; gap: .8rem; font-weight: 700; }
.quote-alt a { display: inline-flex; align-items: center; gap: .6em; text-decoration: none; font-size: 1.15rem; }
.quote-alt a:hover { text-decoration: underline; }
.quote-form {
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--ink);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.quote-form h3 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: 1.2rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.f-field { margin-bottom: .95rem; }
.f-field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .3rem; }
.f-field input, .f-field select, .f-field textarea {
  width: 100%;
  font-family: var(--font); font-size: 1rem;
  padding: .72em .85em;
  border: 1.5px solid #c9c4b8;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}
.f-field input:focus, .f-field select:focus, .f-field textarea:focus {
  outline: none; border-color: var(--ink); background: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 210, 63, .55);
}
.f-field textarea { resize: vertical; min-height: 96px; }
.f-fine { font-size: .82rem; color: var(--muted); margin-top: .8rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: var(--muted-on-dark); padding: 3.6rem 0 7rem; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 2.2rem; margin-bottom: 2.6rem; }
.foot-grid h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .9rem; }
.foot-grid a { color: var(--muted-on-dark); text-decoration: none; }
.foot-grid a:hover { color: var(--yellow); }
.foot-grid li { margin-bottom: .45rem; }
.foot-about p { margin-top: .9rem; max-width: 26rem; }
.foot-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 1.6rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .85rem;
}
.foot-bottom a { color: var(--muted-on-dark); }

/* ---------- mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none;
  gap: .6rem;
  padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(22, 24, 29, .96);
  border-top: 1px solid var(--line-dark);
}
.callbar a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: .5em;
  text-decoration: none; font-weight: 800; font-size: .98rem; text-transform: uppercase;
  padding: .85em .5em; border-radius: 9px;
}
.callbar .cb-call { background: var(--yellow); color: var(--ink); }
.callbar .cb-quote { background: transparent; color: var(--white); border: 2px solid var(--white); }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background: var(--ink); color: var(--white);
  position: relative; overflow: hidden;
}
.page-hero .hero-bg { opacity: .38; }
.page-hero .hero-bg::after { background: linear-gradient(to top, var(--ink) 4%, rgba(22,24,29,.25)); }
.page-hero-in {
  position: relative;
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) 22px;
}
.page-hero p { max-width: 36rem; margin-top: 1.1rem; color: #d9dce2; font-size: 1.12rem; }
.crumbs { font-size: .85rem; font-weight: 600; margin-bottom: 1.2rem; color: var(--muted-on-dark); }
.crumbs a { color: var(--muted-on-dark); text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }

/* service page layout */
.svc-cols { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 4vw, 3.4rem); align-items: start; }
.svc-prose h2 { font-size: 1.6rem; margin: 2.2rem 0 .9rem; }
.svc-prose h2:first-child { margin-top: 0; }
.svc-prose p { margin-bottom: 1rem; color: #3c4049; }
.svc-prose ul { margin: 0 0 1.2rem; }
.svc-prose ul li {
  padding-left: 1.7em; position: relative; margin-bottom: .5rem; color: #3c4049;
}
.svc-prose ul li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 15px; height: 15px; border-radius: 4px;
  background: var(--yellow);
  clip-path: polygon(14% 44%, 0 60%, 40% 100%, 100% 16%, 84% 0%, 40% 70%);
  background: var(--green);
}
.svc-aside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1.2rem; }
.aside-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-card);
}
.aside-card.dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.aside-card.dark p { color: var(--muted-on-dark); }
.aside-card h3 { text-transform: uppercase; margin-bottom: .7rem; }
.aside-card p { color: var(--muted); font-size: .96rem; margin-bottom: 1.1rem; }
.aside-card .btn { width: 100%; }
.svc-photos { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: 1.4rem 0 .4rem; }
.svc-photos img { border-radius: var(--radius-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ---------- misc ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.6rem; }
.pill-row li { display: flex; align-items: center; gap: .5em; font-weight: 600; font-size: .93rem; }
.pill-row svg { color: var(--green); }

/* thank-you / 404 */
.hero-min { padding: clamp(4rem, 10vw, 8rem) 22px; text-align: center; }
.hero-min p { max-width: 34rem; margin: 1.2rem auto 2rem; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .transform-grid, .quote-grid, .area-grid, .about-band, .svc-cols { grid-template-columns: 1fr; }
  .svc-aside { position: static; }
  .nav { display: none; }
  body.nav-open .nav {
    display: flex; flex-direction: column; gap: .2rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: .8rem 22px 1.4rem;
  }
  body.nav-open .nav a { padding: .65em 0; font-size: 1.05rem; }
  .burger { display: flex; }
  .topbar-in { gap: .9rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .f-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .callbar { display: flex; }
  .top-phone .tp-txt { display: none; }
  .top-phone { padding: .6em .75em; }
  .hero-ctas .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- instagram rail ---------- */
.ig-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px);
  gap: 1rem; overflow-x: auto; padding: .4rem .2rem 1.2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--green) transparent;
}
.ig-card {
  position: relative; display: block;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease;
}
.ig-card:hover { transform: translateY(-4px); }
.ig-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ig-tag {
  position: absolute; left: 10px; bottom: 10px; right: 10px;
  background: rgba(22,24,29,.82); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: .35em .6em; border-radius: 6px;
  display: flex; align-items: center; gap: .4em;
  opacity: 0; transition: opacity .2s;
}
.ig-card:hover .ig-tag { opacity: 1; }
.ig-tag svg { flex: 0 0 auto; color: var(--yellow); }
