/* ============================================================
   dstvinstallationnoordhoek.co.za — shared stylesheet
   Palette: "Chapman's Peak Forest"
   Direction: flat, light, professional local-trade site.
   No gradients, no glows, no glass, no decorative layers.
   ============================================================ */
:root{
  --primary:#1F6B4C;
  --primary-dark:#14261E;
  --primary-deep:#175540;
  --primary-tint:#EDF3F0;
  --accent:#E8A33D;
  --accent-strong:#B87A18;
  --accent-soft:#FAF3E6;
  --text:#233028;
  --text-soft:#51604F;
  --surface:#FFFFFF;
  --surface-alt:#F4F6F3;
  --white:#FFFFFF;
  --line:#DDE3DD;
  --line-strong:#C6D0C7;
  --wa:#15794A;

  --radius-sm:6px;
  --radius:8px;
  --radius-lg:10px;

  --shadow-xs:0 1px 2px rgba(20,38,30,.06);
  --shadow-sm:0 1px 3px rgba(20,38,30,.07);
  --shadow-md:0 2px 8px rgba(20,38,30,.09);

  --font-display:"Bricolage Grotesque",system-ui,sans-serif;
  --font-body:"Instrument Sans",system-ui,sans-serif;
  --wrap:1180px;
  --header-h:68px;

  /* vertical rhythm — tightened for mobile */
  --sect:clamp(2.75rem,2.1rem + 2.6vw,4.75rem);
  --sect-head-gap:clamp(1.5rem,1.3rem + 1vw,2.25rem);
  --gutter:1.15rem;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 12px)}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
body{
  font-family:var(--font-body);
  font-size:1rem;
  line-height:1.6;
  color:var(--text);
  background:var(--surface);
  -webkit-font-smoothing:antialiased;
}
img,svg{display:block;max-width:100%}
a{color:var(--primary)}
h1,h2,h3,h4{font-family:var(--font-display);line-height:1.15;color:var(--primary-dark);text-wrap:balance}
h2{font-size:clamp(1.5rem,1.25rem + 1.3vw,2.15rem);font-weight:700;letter-spacing:-.01em}
h3{font-size:1.15rem;font-weight:650}
p{max-width:68ch}
.wrap{width:min(var(--wrap),100% - (var(--gutter) * 2));margin-inline:auto}
.section{padding-block:var(--sect)}
.section.tight-top{padding-top:0}
.section-head{max-width:760px;margin-bottom:var(--sect-head-gap)}
.section-head p{margin-top:.7rem;color:var(--text-soft);font-size:1rem}
.kicker{
  display:block;
  font-weight:700;font-size:.76rem;letter-spacing:.13em;text-transform:uppercase;
  color:var(--primary);margin-bottom:.5rem;
}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid var(--accent-strong);
  outline-offset:2px;
  border-radius:4px;
}

/* ---------- Buttons — flat, modest radius ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-family:var(--font-body);font-weight:600;font-size:.97rem;
  padding:.72rem 1.25rem;border-radius:var(--radius);border:1.5px solid transparent;
  text-decoration:none;cursor:pointer;white-space:nowrap;line-height:1.25;
  transition:background-color .15s ease,color .15s ease,border-color .15s ease;
}
.btn svg{width:17px;height:17px;flex:none}
/* Primary — solid brand green */
.btn-accent{background:var(--primary);color:#fff;border-color:var(--primary)}
.btn-accent:hover{background:var(--primary-deep);border-color:var(--primary-deep)}
/* Secondary — solid ink */
.btn-wa{background:var(--primary-dark);color:#fff;border-color:var(--primary-dark)}
.btn-wa:hover{background:#0D1A13;border-color:#0D1A13}
/* Tertiary — outline */
.btn-ghost,.btn-outline{background:transparent;color:var(--primary);border-color:var(--primary)}
.btn-ghost:hover,.btn-outline:hover{background:var(--primary);color:#fff}
.btn-block{width:100%}

/* ============================================================
   Header — flat dark ink bar
   ============================================================ */
.site-header{
  position:sticky;top:0;z-index:60;
  background:var(--primary-dark);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header-inner{display:flex;align-items:center;gap:1.25rem;height:var(--header-h)}
.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;margin-right:auto}
.brand-mark{
  width:36px;height:36px;flex:none;border-radius:var(--radius-sm);
  background:var(--primary);
  display:grid;place-items:center;color:#fff;
}
.brand-mark svg{width:21px;height:21px}
.brand-text{line-height:1.2}
.brand-text strong{display:block;font-family:var(--font-display);font-weight:700;font-size:.98rem;color:#fff}
.brand-text span{display:block;font-size:.66rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--accent)}
.main-nav ul{display:flex;gap:.15rem;list-style:none}
.main-nav a{
  display:block;padding:.5rem .8rem;border-radius:var(--radius-sm);
  text-decoration:none;color:rgba(255,255,255,.82);font-weight:600;font-size:.84rem;letter-spacing:.06em;
  transition:color .15s ease,background-color .15s ease;
}
.main-nav a:hover{color:#fff;background:rgba(255,255,255,.09)}
.main-nav a[aria-current="page"]{color:#fff;background:rgba(255,255,255,.12)}
.header-call{
  display:inline-flex;align-items:center;gap:.5rem;
  background:var(--accent);color:var(--primary-dark);text-decoration:none;font-weight:700;
  padding:.55rem 1rem;border-radius:var(--radius);font-size:.92rem;
  transition:background-color .15s ease;
}
/* hover goes lighter, not darker: the label is dark ink, so contrast rises */
.header-call:hover{background:#F2B457}
.header-call svg{width:16px;height:16px}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;padding:.4rem;color:#fff}
.nav-toggle svg{width:24px;height:24px}
@media (max-width:860px){
  :root{--header-h:60px}
  .main-nav{
    position:fixed;inset:var(--header-h) 0 auto 0;z-index:55;
    background:var(--primary-dark);border-bottom:1px solid rgba(255,255,255,.12);
    transform:translateY(-8px);opacity:0;visibility:hidden;pointer-events:none;
    transition:transform .2s ease,opacity .2s ease,visibility .2s;
  }
  .main-nav.open{transform:translateY(0);opacity:1;visibility:visible;pointer-events:auto}
  .main-nav ul{flex-direction:column;padding:.5rem .9rem .9rem;gap:.1rem}
  .main-nav a{font-size:1rem;padding:.7rem .8rem}
  .nav-toggle{display:block}
  .header-call span{display:none}
  .header-call{padding:.55rem .7rem}
  .brand-text strong{font-size:.9rem}
}

/* ============================================================
   Home hero — the Noordhoek signature: a dark forest "valley band"
   that runs on from the header and is cut off by a solid contour
   curve. Restored from the original build, rebuilt FLAT:
   solid fills only, no gradients, no blur/glass, no glow, no
   gradient text. The dune-contour motif and the curve divider are
   single-colour SVG strokes/shapes, not CSS gradients.
   ============================================================ */
.hero{
  position:relative;isolation:isolate;overflow:hidden;
  background:var(--primary-dark);
  color:#fff;
  padding-block:clamp(2.1rem,1.5rem + 2.4vw,3.5rem) clamp(3.75rem,2.6rem + 4.6vw,6rem);
}
/* Dune contour lines — flat single-colour strokes over the solid band */
.hero::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.6;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600' viewBox='0 0 900 600' fill='none'%3E%3Cpath d='M-50 480 Q 200 380 450 470 T 950 440' stroke='%231F6B4C' stroke-width='1.6'/%3E%3Cpath d='M-50 520 Q 220 430 470 510 T 950 490' stroke='%231F6B4C' stroke-width='1.3'/%3E%3Cpath d='M-50 560 Q 240 480 490 550 T 950 540' stroke='%23E8A33D' stroke-width='1.1' opacity='.5'/%3E%3Cpath d='M-50 120 Q 250 40 500 110 T 950 80' stroke='%231F6B4C' stroke-width='1.3'/%3E%3Cpath d='M-50 70 Q 260 -10 520 60 T 950 30' stroke='%231F6B4C' stroke-width='1'/%3E%3C/svg%3E");
  background-size:cover;background-position:center;
}
/* Solid contour curve that hands the page over to the white sections */
.hero::after{
  content:"";position:absolute;left:0;right:0;bottom:-1px;z-index:0;pointer-events:none;
  height:clamp(30px,4.5vw,60px);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath fill='%23FFFFFF' d='M0 64h1440V17c-206 30-412 44-618 41C616 55 410 35 204 0H0z'/%3E%3C/svg%3E");
  background-size:100% 100%;background-repeat:no-repeat;
}
.hero > .wrap{position:relative;z-index:1}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:2.5rem;align-items:center}
.hero-eyebrow{
  display:inline-flex;align-items:center;gap:.5rem;
  background:#1D3527;border:1px solid #32503C;
  color:var(--accent);font-weight:700;font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;
  padding:.4rem .75rem;border-radius:var(--radius-sm);
  margin-bottom:.9rem;
}
.hero-eyebrow svg{width:14px;height:14px;flex:none;color:var(--accent)}
.hero h1{
  color:#fff;
  font-size:clamp(2rem,1.6rem + 2.4vw,3.35rem);
  font-weight:800;letter-spacing:-.02em;line-height:1.08;
  margin-bottom:.65rem;
}
.hero h1 em{font-style:normal;color:var(--accent)}
.hero-sub{color:rgba(255,255,255,.82);font-size:clamp(1rem,.96rem + .25vw,1.1rem);max-width:56ch;margin-bottom:1.25rem}
.hero-ctas{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:1.25rem}
/* Button set for the dark band — matches the CTA band treatment */
.hero .btn-accent{background:var(--accent);border-color:var(--accent);color:var(--primary-dark)}
.hero .btn-accent:hover{background:#F2B457;border-color:#F2B457;color:var(--primary-dark)}
.hero .btn-wa{background:var(--wa);border-color:var(--wa);color:#fff}
/* white label, so hover darkens (lightening would drop it under 4.5:1) */
.hero .btn-wa:hover{background:#116240;border-color:#116240;color:#fff}
.hero .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.hero .btn-ghost:hover{background:#fff;color:var(--primary-dark);border-color:#fff}

/* Trust badges — light variant is the default (used on inner page heroes) */
.trust-badges{display:flex;flex-wrap:wrap;gap:.5rem}
.trust-badge{
  display:inline-flex;align-items:center;gap:.45rem;
  background:var(--surface-alt);border:1px solid var(--line);
  padding:.4rem .7rem;border-radius:var(--radius-sm);
  font-size:.85rem;font-weight:600;color:var(--text);
}
.trust-badge svg{width:15px;height:15px;color:var(--primary);flex:none}
.hero .trust-badge{background:#1D3527;border-color:#32503C;color:#fff}
.hero .trust-badge svg{color:var(--accent)}

/* Hero visual card — solid panel, no glass */
.hero-visual{position:relative}
.hero-card{
  background:#1B3327;
  border:1px solid #32503C;
  border-radius:var(--radius-lg);
  padding:1.7rem 1.5rem;
}
.hero-card .dish-icon{
  width:52px;height:52px;border-radius:var(--radius);margin-bottom:1rem;
  background:var(--accent);
  display:grid;place-items:center;color:var(--primary-dark);
}
.hero-card .dish-icon svg{width:28px;height:28px}
.hero-card-title{font-family:var(--font-display);font-weight:700;line-height:1.25;color:#fff;font-size:1.18rem;margin-bottom:.35rem;max-width:none}
.hero-card p{color:rgba(255,255,255,.8);font-size:.93rem;margin-bottom:1rem}
.hero-card ul{list-style:none;display:grid;gap:.6rem;border-top:1px solid #32503C;padding-top:1rem}
.hero-card li{display:flex;align-items:flex-start;gap:.55rem;color:rgba(255,255,255,.92);font-size:.92rem}
.hero-card li svg{width:15px;height:15px;color:var(--accent);flex:none;margin-top:.28rem}
@media (max-width:920px){
  .hero-grid{grid-template-columns:1fr;gap:1.5rem}
  /* the photo stays on phones — a text-only hero was the owner's complaint.
     the detail card is what gets dropped, exactly as before. */
  .hero-card{display:none}
  .hero-figure{margin-bottom:0}
}

/* ============================================================
   Inner page hero — light, flat
   ============================================================ */
.page-hero{
  background:var(--surface-alt);
  border-bottom:1px solid var(--line);
  padding-block:clamp(1.5rem,1.2rem + 1.6vw,2.5rem) clamp(1.75rem,1.4rem + 1.8vw,2.75rem);
}
.page-hero h1{
  color:var(--primary-dark);font-size:clamp(1.8rem,1.5rem + 1.6vw,2.7rem);
  font-weight:800;letter-spacing:-.02em;line-height:1.12;margin-bottom:.6rem;
}
.page-hero .lede{color:var(--text-soft);font-size:clamp(.98rem,.95rem + .2vw,1.08rem);max-width:64ch;margin-bottom:1.1rem}
.page-hero .hero-ctas{margin-bottom:0}
.breadcrumbs{margin-bottom:.85rem;font-size:.82rem}
.breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}
.breadcrumbs a{color:var(--text-soft);text-decoration:none}
.breadcrumbs a:hover{color:var(--primary);text-decoration:underline}
.breadcrumbs li{display:inline-flex;align-items:center;gap:.4rem}
.breadcrumbs li + li::before{content:"/";color:var(--line-strong)}
.breadcrumbs [aria-current="page"]{color:var(--primary-dark);font-weight:600}
.page-hero .trust-badges{margin-top:1.1rem}

/* ============================================================
   Cards — simple border + small shadow
   ============================================================ */
.card{
  position:relative;background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-xs);
  transition:border-color .15s ease,box-shadow .15s ease;
}
.card:hover{border-color:var(--line-strong);box-shadow:var(--shadow-sm)}
.card:focus-within{border-color:var(--primary)}

/* ---------- Services grid ---------- */
.services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(262px,1fr));gap:1rem}
/* padding is a variable so .card-media can bleed to the card edge at any breakpoint */
.service-card{--card-pad-y:1.4rem;--card-pad-x:1.35rem;padding:var(--card-pad-y) var(--card-pad-x);display:flex;flex-direction:column;gap:.6rem;overflow:hidden}
.service-icon{
  width:42px;height:42px;border-radius:var(--radius-sm);flex:none;
  background:var(--primary-tint);
  border:1px solid var(--line);
  color:var(--primary);
  display:grid;place-items:center;
}
.service-icon svg{width:22px;height:22px}
.service-card h3{font-size:1.12rem}
.service-card p{color:var(--text-soft);font-size:.94rem}
.card-link{
  margin-top:auto;
  display:inline-flex;align-items:center;gap:.4rem;
  font-weight:700;font-size:.9rem;color:var(--primary);text-decoration:none;
  padding-top:.4rem;
}
.card-link svg{width:15px;height:15px}
.card-link:hover{color:var(--primary-deep);text-decoration:underline}
.service-card.wide{
  grid-column:1/-1;flex-direction:row;align-items:flex-start;flex-wrap:wrap;gap:1rem 1.4rem;
  background:var(--accent-soft);
  border-color:#EBDCC2;
}
.service-card.wide .service-body{flex:1;min-width:260px}
.chip-row{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.75rem}
.mini-chip{
  display:inline-block;background:var(--white);border:1px solid var(--line-strong);
  color:var(--primary-dark);font-weight:600;font-size:.82rem;
  padding:.3rem .65rem;border-radius:var(--radius-sm);
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing{background:var(--surface-alt);border-block:1px solid var(--line)}
.price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem}
.price-card{padding:1.7rem 1.35rem 1.35rem;display:flex;flex-direction:column;gap:.5rem;overflow:hidden}
.price-card.featured{border:2px solid var(--primary)}
.price-flag{
  position:absolute;top:0;left:0;
  background:var(--primary);color:#fff;
  font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  padding:.22rem .6rem;border-radius:0 0 var(--radius-sm) 0;
}
.price-card h3{font-size:1.08rem}
.price-value{
  font-family:var(--font-display);font-weight:800;
  font-size:1.95rem;letter-spacing:-.02em;color:var(--primary-dark);line-height:1.1;
}
.price-value small{font-size:.85rem;font-weight:600;color:var(--text-soft);letter-spacing:0}
.price-card p{color:var(--text-soft);font-size:.92rem;flex:1}
.price-card .btn{margin-top:.5rem;justify-content:center}
.price-note{margin-top:1.4rem;color:var(--text-soft);font-size:.88rem}

/* ============================================================
   Areas
   ============================================================ */
.area-chips{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none}
.area-chip{
  display:inline-flex;align-items:center;gap:.4rem;
  background:var(--white);border:1px solid var(--line);
  color:var(--text);font-weight:600;font-size:.9rem;
  padding:.45rem .8rem;border-radius:var(--radius-sm);
  transition:border-color .15s ease,background-color .15s ease;
}
.area-chip svg{width:13px;height:13px;color:var(--primary);flex:none}
.area-chip:hover{background:var(--primary-tint);border-color:var(--primary)}

/* ============================================================
   CTA band — the one flat dark band
   ============================================================ */
.cta-band{
  background:var(--primary-dark);color:#fff;
  border-radius:var(--radius);
  padding:clamp(1.75rem,1.4rem + 1.8vw,2.75rem) clamp(1.15rem,.9rem + 1.6vw,2.5rem);
}
.cta-band h2{color:#fff;margin-bottom:.55rem}
.cta-band .cta-lead{color:rgba(255,255,255,.8);font-size:1.02rem;max-width:60ch}
.cta-points{
  display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;
  margin:1rem 0 1.4rem;font-weight:600;font-size:.94rem;color:rgba(255,255,255,.88);
  max-width:none;
}
.cta-points span{display:inline-flex;align-items:center;gap:.45rem}
.cta-points svg{width:15px;height:15px;color:var(--accent)}
.cta-band .hero-ctas{margin-bottom:0}
.cta-band .btn-accent{background:var(--accent);border-color:var(--accent);color:var(--primary-dark)}
.cta-band .btn-accent:hover{background:#F2B457;border-color:#F2B457;color:var(--primary-dark)}
.cta-band .btn-wa{background:var(--wa);border-color:var(--wa);color:#fff}
.cta-band .btn-wa:hover{background:#116240;border-color:#116240}
.cta-band .btn-ghost{color:#fff;border-color:rgba(255,255,255,.5)}
.cta-band .btn-ghost:hover{background:#fff;color:var(--primary-dark);border-color:#fff}

/* ============================================================
   Why choose
   ============================================================ */
.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}
.why-card{padding:1.4rem 1.35rem}
.why-card .service-icon{margin-bottom:.8rem}
.why-card h3{margin-bottom:.4rem;font-size:1.08rem}
.why-card p{color:var(--text-soft);font-size:.93rem}

/* ============================================================
   Testimonials
   ============================================================ */
.reviews{background:var(--accent-soft);border-block:1px solid #EFE4D0}
.rating-summary{
  display:flex;align-items:center;gap:.55rem;
  margin-top:.8rem;font-weight:700;color:var(--primary-dark);font-size:.95rem;
}
.stars{display:inline-flex;gap:1px;color:var(--accent-strong)}
.stars svg{width:16px;height:16px}
.review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}
.review-card{padding:1.4rem 1.35rem;display:flex;flex-direction:column;gap:.85rem}
.review-card blockquote{color:var(--text);font-size:.96rem;flex:1}
.review-meta{display:flex;align-items:center;gap:.75rem;border-top:1px solid var(--line);padding-top:.85rem}
.avatar{
  width:38px;height:38px;border-radius:50%;flex:none;
  display:grid;place-items:center;
  font-family:var(--font-display);font-weight:700;font-size:.9rem;color:#fff;
  background:var(--primary);
}
.avatar.alt{background:var(--primary-dark);color:#fff}
.review-meta strong{display:block;font-size:.94rem;color:var(--primary-dark)}
.review-meta span{display:block;font-size:.82rem;color:var(--text-soft)}
/* keep the avatar a centred disc even though it is a <span> inside .review-meta */
.review-meta span.avatar{display:grid;place-items:center;font-size:.9rem;line-height:1;color:#fff}
.review-meta span.avatar.alt{color:#fff}

/* Single testimonial pull (service pages) */
.pull-quote{
  background:var(--surface-alt);
  border:1px solid var(--line);
  border-left:3px solid var(--accent);
  border-radius:var(--radius);
  padding:1.3rem 1.3rem;
}
.pull-quote blockquote{font-size:.96rem;color:var(--text)}
.pull-quote .review-meta{margin-top:.9rem}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list{max-width:820px;display:grid;gap:.6rem}
.faq-item{
  background:var(--white);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;
  transition:border-color .15s ease;
}
.faq-item.open{border-color:var(--primary)}
.faq-item h3{font-size:1rem}
.faq-trigger{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;
  background:none;border:0;cursor:pointer;text-align:left;
  font-family:var(--font-display);font-weight:600;font-size:1rem;color:var(--primary-dark);
  padding:.95rem 1.1rem;line-height:1.35;
}
.faq-trigger:hover{color:var(--primary)}
.faq-chevron{
  flex:none;width:26px;height:26px;border-radius:var(--radius-sm);
  background:var(--primary-tint);color:var(--primary);
  display:grid;place-items:center;
  transition:transform .2s ease;
}
.faq-chevron svg{width:14px;height:14px}
.faq-item.open .faq-chevron{transform:rotate(180deg)}
.faq-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .25s ease}
.faq-item.open .faq-panel{grid-template-rows:1fr}
.faq-panel-inner{overflow:hidden}
.faq-panel p{padding:0 1.1rem 1.05rem;color:var(--text-soft);font-size:.95rem}

/* ============================================================
   Gallery
   ============================================================ */
/* 15 tiles: 3 or 5 columns divide evenly, so no empty trailing cells */
.gallery-grid{display:grid;gap:.7rem;grid-template-columns:repeat(3,1fr)}
@media (min-width:900px){.gallery-grid{grid-template-columns:repeat(5,1fr)}}
.tile{
  position:relative;aspect-ratio:4/3;border-radius:var(--radius);overflow:hidden;
  display:grid;place-items:center;
  border:1px solid var(--line);
}
.tile svg{width:36px;height:36px}
.tile .tile-label{
  position:absolute;left:.5rem;bottom:.5rem;
  font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  padding:.2rem .5rem;border-radius:var(--radius-sm);
  background:var(--primary-dark);color:#fff;
}
.tile.cat-install{background:var(--primary-tint);color:var(--primary)}
.tile.cat-dish{background:var(--accent-soft);color:var(--accent-strong)}
.tile.cat-tv{background:var(--surface-alt);color:var(--primary-dark)}

/* ============================================================
   Service page layout: article + sticky aside
   ============================================================ */
.svc-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:2.5rem;align-items:start}
@media (max-width:960px){.svc-layout{grid-template-columns:1fr;gap:2rem}}
.svc-aside{position:sticky;top:calc(var(--header-h) + 16px);display:grid;gap:1rem}
@media (max-width:960px){.svc-aside{position:static}}
.aside-card{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.35rem 1.3rem;box-shadow:var(--shadow-xs);
}
.aside-card h2,.aside-card h3{font-size:1.05rem;margin-bottom:.75rem}
.aside-card .price-value{margin-bottom:.25rem}
.aside-card .aside-note{font-size:.87rem;color:var(--text-soft);margin-bottom:.9rem}
.aside-card .btn + .btn{margin-top:.5rem}
.aside-list{list-style:none;display:grid;gap:.6rem}
.aside-list li{display:flex;align-items:flex-start;gap:.55rem;font-size:.91rem;color:var(--text-soft)}
.aside-list svg{width:15px;height:15px;color:var(--primary);flex:none;margin-top:.2rem}
.aside-list a{color:var(--primary);font-weight:600;text-decoration:none}
.aside-list a:hover{text-decoration:underline}

/* ---------- Long-form article ---------- */
.prose{max-width:70ch}
.prose h2{font-size:clamp(1.3rem,1.15rem + .8vw,1.7rem);margin:2rem 0 .8rem}
.prose h2:first-child{margin-top:0}
.prose p{margin-bottom:1rem;color:var(--text)}
.prose p.lead{font-size:1.05rem;color:var(--text-soft)}
.prose ul{margin:0 0 1rem 1.15rem}
.prose li{margin-bottom:.4rem}
.prose strong{color:var(--primary-dark)}

/* ---------- Included list ---------- */
.included{
  background:var(--surface-alt);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.35rem 1.3rem;margin:1.8rem 0;
}
.included h2{font-size:1.15rem;margin:0 0 .9rem}
.included ul{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.6rem 1.4rem;margin:0}
.included li{display:flex;align-items:flex-start;gap:.55rem;font-size:.94rem;margin:0}
.included li svg{width:16px;height:16px;color:var(--primary);flex:none;margin-top:.2rem}

/* ============================================================
   Services hub cards
   ============================================================ */
.hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:1rem}
.hub-card{--card-pad-y:1.5rem;--card-pad-x:1.4rem;padding:var(--card-pad-y) var(--card-pad-x);display:flex;flex-direction:column;gap:.7rem;text-decoration:none;overflow:hidden}
.hub-card h2{font-size:1.2rem;letter-spacing:-.01em;color:var(--primary-dark)}
.hub-card p{color:var(--text-soft);font-size:.94rem}
.hub-card .price-tag{
  display:inline-block;align-self:flex-start;
  background:var(--primary-tint);color:var(--primary);
  border:1px solid var(--line);
  font-weight:700;font-size:.82rem;
  padding:.25rem .65rem;border-radius:var(--radius-sm);
}

/* ============================================================
   Blog — listing + article
   ============================================================ */
.post-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem}
.post-card{--card-pad-y:1.5rem;--card-pad-x:1.4rem;padding:var(--card-pad-y) var(--card-pad-x);display:flex;flex-direction:column;gap:.7rem;overflow:hidden}
.post-card h2,.post-card h3{font-size:1.18rem;letter-spacing:-.01em;line-height:1.25}
.post-card h2 a,.post-card h3 a{color:var(--primary-dark);text-decoration:none}
.post-card h2 a:hover,.post-card h3 a:hover{color:var(--primary);text-decoration:underline}
.post-card p{color:var(--text-soft);font-size:.94rem}
.post-card.featured{background:var(--surface-alt)}
.post-meta{
  display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .7rem;
  font-size:.82rem;color:var(--text-soft);max-width:none;
}
.post-meta time{font-variant-numeric:tabular-nums}
.post-meta .dot{color:var(--line-strong)}
.post-tag{
  display:inline-block;
  background:var(--primary-tint);border:1px solid var(--line);
  color:var(--primary);font-weight:700;font-size:.74rem;letter-spacing:.06em;text-transform:uppercase;
  padding:.22rem .55rem;border-radius:var(--radius-sm);
}
.post-tag.accent{background:var(--accent-soft);border-color:#EBDCC2;color:var(--accent-strong)}
.post-hero-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .8rem;margin-bottom:.85rem}

/* Article body extras on top of .prose */
.prose h3{font-size:1.08rem;margin:1.4rem 0 .55rem;color:var(--primary-dark)}
.prose ol{margin:0 0 1rem 1.25rem}
.prose ol li{margin-bottom:.4rem}
.prose a{color:var(--primary);font-weight:600}
.prose a:hover{color:var(--primary-deep)}
.prose blockquote{
  background:var(--surface-alt);border:1px solid var(--line);border-left:3px solid var(--accent);
  border-radius:var(--radius);padding:1rem 1.15rem;margin:1.4rem 0;
  color:var(--text);font-size:.98rem;
}
.prose .callout{
  background:var(--accent-soft);border:1px solid #EBDCC2;border-radius:var(--radius);
  padding:1.15rem 1.2rem;margin:1.5rem 0;
}
.prose .callout h3{margin-top:0}
.prose .callout p:last-child{margin-bottom:0}
.prose table{
  width:100%;border-collapse:collapse;margin:1.3rem 0;font-size:.93rem;
  border:1px solid var(--line);
}
.prose th,.prose td{border:1px solid var(--line);padding:.6rem .7rem;text-align:left;vertical-align:top}
.prose th{background:var(--surface-alt);color:var(--primary-dark);font-weight:700}

/* Read-next strip */
.read-next{border-top:1px solid var(--line);margin-top:2.25rem;padding-top:1.5rem}
.read-next h2{font-size:1.2rem;margin-bottom:.9rem}
.read-next-list{list-style:none;display:grid;gap:.6rem;max-width:70ch}
.read-next-list li{display:flex;align-items:flex-start;gap:.55rem}
.read-next-list svg{width:15px;height:15px;color:var(--primary);flex:none;margin-top:.32rem}
.read-next-list a{color:var(--primary);font-weight:600;text-decoration:none}
.read-next-list a:hover{text-decoration:underline}

/* ============================================================
   Legal pages
   ============================================================ */
.legal{max-width:74ch}
.legal h2{font-size:clamp(1.2rem,1.1rem + .6vw,1.5rem);margin:2rem 0 .7rem}
.legal h2:first-child{margin-top:0}
.legal h3{font-size:1.02rem;margin:1.3rem 0 .5rem}
.legal p{margin-bottom:.9rem;color:var(--text)}
.legal ul,.legal ol{margin:0 0 1rem 1.15rem;color:var(--text)}
.legal li{margin-bottom:.4rem}
.legal strong{color:var(--primary-dark)}
.legal a{color:var(--primary);font-weight:600}
.legal .updated{
  display:inline-block;background:var(--surface-alt);border:1px solid var(--line);
  border-radius:var(--radius-sm);padding:.35rem .7rem;
  font-size:.85rem;font-weight:600;color:var(--text-soft);margin-bottom:1.5rem;
}
.legal-toc{
  background:var(--surface-alt);border:1px solid var(--line);border-radius:var(--radius);
  padding:1.15rem 1.2rem;margin-bottom:2rem;
}
.legal-toc h2{font-size:.85rem;letter-spacing:.1em;text-transform:uppercase;margin:0 0 .7rem;color:var(--primary)}
.legal-toc ol{list-style:decimal;margin:0 0 0 1.15rem;display:grid;gap:.35rem}
.legal-toc a{color:var(--text);font-weight:600;text-decoration:none;font-size:.93rem}
.legal-toc a:hover{color:var(--primary);text-decoration:underline}

/* ============================================================
   Images — every slot reserves its exact box before load
   ------------------------------------------------------------
   Each aspect-ratio below equals the width/height attributes on
   the matching <img> and the intrinsic size of the file in
   assets/img/. Change one, change all three (see IMAGES.md).
   Flat only: solid fills, 1px borders. No gradients/blur/filters.
   ============================================================ */
img{height:auto}

/* Page header banner — 1180x320 (59:16), inside .page-hero .wrap */
.page-banner{
  margin-top:1.25rem;
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  background:var(--surface-alt);
}
.page-banner img{width:100%;aspect-ratio:59/16;object-fit:cover}

/* Homepage hero visual — 480x320 (3:2), sits above the hero card */
.hero-figure{
  margin:0 0 1rem;
  border:1px solid #32503C;border-radius:var(--radius-lg);overflow:hidden;
  background:#1B3327;
}
.hero-figure img{width:100%;aspect-ratio:3/2;object-fit:cover}

/* Homepage trust/about band — 1180x400 (59:20) */
.about-media{
  margin:0 0 var(--sect-head-gap);
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  background:var(--surface-alt);
}
.about-media img{width:100%;aspect-ratio:59/20;object-fit:cover}

/* Card thumbnails — bleed to the card edge using the card's padding vars */
.card-media,.card-media-16{
  margin:calc(var(--card-pad-y) * -1) calc(var(--card-pad-x) * -1) 0;
  border-bottom:1px solid var(--line);background:var(--surface-alt);
}
.card-media img{width:100%;aspect-ratio:14/9;object-fit:cover}      /* 280x180 */
.card-media-16 img{width:100%;aspect-ratio:16/9;object-fit:cover}   /* 384x216 */

/* Inline thumbnail for the full-width "Additional Services" card */
.card-media-inline{
  flex:none;width:280px;align-self:flex-start;
  border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden;
  background:var(--surface-alt);
}
.card-media-inline img{width:100%;aspect-ratio:14/9;object-fit:cover}

/* Service page in-body figure — 810x405 (2:1), full article column */
.svc-figure{
  width:min(810px,100%);margin:0 0 1.75rem;
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  background:var(--surface-alt);
}
.svc-figure img{width:100%;aspect-ratio:2/1;object-fit:cover}

/* In-post figure — 600x400 (3:2), sits inside .prose */
.post-figure{
  width:min(600px,100%);margin:1.6rem 0;
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  background:var(--surface-alt);
}
.post-figure img{width:100%;aspect-ratio:3/2;object-fit:cover}

.svc-figure figcaption,.post-figure figcaption,.about-media figcaption{
  padding:.6rem .8rem;font-size:.85rem;line-height:1.45;color:var(--text-soft);
  border-top:1px solid var(--line);background:var(--white);max-width:none;
}

/* Gallery tiles — 228x171 (4:3); .tile already sets aspect-ratio:4/3 */
.tile img{width:100%;height:100%;object-fit:cover}

/* Wrapper so a service/blog article can hold a full-width figure
   alongside the 70ch-capped .prose inside the 2-column .svc-layout */
.svc-main{min-width:0}

@media (max-width:640px){
  .card-media-inline{width:100%}
  .page-banner{margin-top:1rem}
  .svc-figure{margin-bottom:1.25rem}
}

/* ============================================================
   Forms (contact page)
   ============================================================ */
.form-card{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(1.25rem,1.1rem + 1vw,2rem);box-shadow:var(--shadow-xs);
}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.95rem 1.1rem}
@media (max-width:640px){.form-grid{grid-template-columns:1fr}}
.field{display:flex;flex-direction:column;gap:.35rem}
.field.full{grid-column:1/-1}
.field label{font-weight:600;font-size:.92rem;color:var(--primary-dark)}
.field .hint{font-size:.82rem;color:var(--text-soft)}
.field input,.field select,.field textarea{
  font-family:var(--font-body);font-size:1rem;color:var(--text);
  background:var(--white);
  border:1.5px solid var(--line-strong);border-radius:var(--radius-sm);
  padding:.65rem .8rem;
  transition:border-color .15s ease,box-shadow .15s ease;
  width:100%;
}
.field textarea{resize:vertical;min-height:120px}
.field input::placeholder,.field textarea::placeholder{color:#6E7B71}
.field input:focus,.field select:focus,.field textarea:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(31,107,76,.15);
  outline:none;
}
.form-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;margin-top:.3rem}
.form-note{font-size:.85rem;color:var(--text-soft)}
.contact-cards{display:grid;gap:1rem}
.contact-cards .aside-card h3{display:flex;align-items:center;gap:.5rem}
.contact-cards .aside-card h3 svg{width:18px;height:18px;color:var(--primary)}

/* ============================================================
   Footer — flat dark ink
   ============================================================ */
.site-footer{
  background:var(--primary-dark);
  color:rgba(255,255,255,.76);
  padding:clamp(2.25rem,1.9rem + 1.6vw,3.25rem) 0 0;
}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:2rem;padding-bottom:2rem}
.footer-about .brand-text strong{color:#fff}
.footer-about .brand-text span{color:var(--accent)}
.footer-about p{margin-top:.9rem;font-size:.92rem;max-width:40ch}
.site-footer h3{
  color:#fff;font-size:.85rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  margin-bottom:.85rem;
}
.footer-links{list-style:none;display:grid;gap:.45rem}
.footer-links a{color:rgba(255,255,255,.76);text-decoration:none;font-size:.92rem}
.footer-links a:hover{color:#fff;text-decoration:underline}
.footer-contact{list-style:none;display:grid;gap:.65rem}
.footer-contact li{display:flex;align-items:flex-start;gap:.6rem;font-size:.92rem}
.footer-contact svg{width:16px;height:16px;color:var(--accent);flex:none;margin-top:.2rem}
.footer-contact a{color:rgba(255,255,255,.85);text-decoration:none}
.footer-contact a:hover{color:#fff;text-decoration:underline}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.14);
  padding:1rem 0;font-size:.84rem;color:rgba(255,255,255,.55);
  text-align:center;
}
.footer-bottom p{margin-inline:auto}
@media (max-width:820px){.footer-grid{grid-template-columns:1fr;gap:1.75rem;padding-bottom:1.75rem}}

/* ============================================================
   Sticky mobile bar — flat
   ============================================================ */
.mobile-bar{
  position:fixed;left:0;right:0;bottom:0;z-index:70;
  display:none;
  background:var(--primary-dark);
  border-top:1px solid rgba(255,255,255,.14);
  padding:.5rem .55rem calc(.5rem + env(safe-area-inset-bottom));
  gap:.5rem;
}
.mobile-bar a{
  flex:1 1 auto;min-width:0;
  display:flex;align-items:center;justify-content:center;gap:.35rem;
  text-decoration:none;font-weight:700;font-size:.82rem;white-space:nowrap;
  padding:.62rem .35rem;border-radius:var(--radius-sm);
  border:1.5px solid transparent;
}
.mobile-bar svg{width:16px;height:16px;flex:none}
.mb-call{background:var(--accent);color:var(--primary-dark)}
.mb-wa{background:var(--wa);color:#fff}
.mb-book{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
@media (max-width:820px){
  .mobile-bar{display:flex}
  body{padding-bottom:66px}
}

/* ============================================================
   Compact mobile layout — no dead space
   ============================================================ */
@media (max-width:560px){
  :root{--gutter:1rem}
  /* bottom padding leaves room for the contour curve */
  .hero{padding-block:1.5rem 3rem}
  .hero h1{font-size:clamp(1.85rem,1.35rem + 3.4vw,2.3rem);margin-bottom:.5rem}
  .hero-eyebrow{margin-bottom:.55rem}
  .hero-sub{margin-bottom:1rem;font-size:1rem}
  .hero-ctas{display:grid;grid-template-columns:1fr;gap:.5rem;margin-bottom:1rem}
  .hero-ctas .btn{width:100%}
  .trust-badges{gap:.4rem}
  .trust-badge{font-size:.81rem;padding:.35rem .6rem}
  .hero-eyebrow{font-size:.71rem;padding:.35rem .6rem}
  .page-hero{padding-block:1.25rem 1.5rem}
  .page-hero .lede{margin-bottom:.9rem}
  .section-head p{font-size:.97rem}
  .services-grid,.price-grid,.why-grid,.review-grid,.hub-grid,.post-grid{gap:.75rem}
  .service-card,.hub-card,.post-card{--card-pad-y:1.2rem;--card-pad-x:1.1rem}
  .why-card,.review-card{padding:1.2rem 1.1rem}
  .legal-toc{padding:1rem 1.05rem;margin-bottom:1.5rem}
  .prose table{font-size:.88rem}
  .prose th,.prose td{padding:.5rem .55rem}
  .price-card{padding:1.55rem 1.1rem 1.2rem}
  .service-card.wide{flex-direction:column;gap:.8rem}
  .cta-points{gap:.35rem .9rem;margin:.85rem 0 1.15rem}
  .gallery-grid{gap:.5rem}
  .tile svg{width:28px;height:28px}
  .tile .tile-label{left:.35rem;bottom:.35rem;font-size:.6rem;padding:.15rem .35rem}
  .included{padding:1.15rem 1.1rem;margin:1.4rem 0}
  .prose h2{margin:1.6rem 0 .7rem}
  .footer-about p{max-width:none}
}

/* ============================================================
   Reveal animation (transform/opacity only)
   ============================================================ */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .45s ease,transform .45s ease}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
}
