/* ==========================================================================
   HKB Roofing styles.css
   Brand: black + white + red (matches the logo). Bright, light layout.
   Edit colours / fonts / spacing in :root only.
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------- */
:root {
  /* Brand: black & white base, red accent (matches the HKB logo) */
  --ink:        #101114;   /* brand black: headings, structure, footer */
  --ink-soft:   #24272D;   /* hover black */
  --accent:     #E01F26;   /* brand red: CTAs, highlights, stars */
  --accent-dark:#B5161C;   /* red hover */
  --accent-tint:#FDECED;   /* light red wash */
  --body:       #44484F;   /* body text */
  --muted:      #797E87;   /* secondary text */
  --line:       #E7E8EB;   /* hairline borders */
  --chip:       #F0F0F1;   /* light grey pill / icon background */
  --bg:         #FFFFFF;   /* page background */
  --surface:    #FFFFFF;   /* white sections */
  --surface-2:  #F5F5F6;   /* light grey sections */

  /* Type */
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Shape & rhythm */
  --radius:    14px;
  --radius-sm: 10px;
  --shadow:    0 12px 34px rgba(16, 17, 20, .08);
  --shadow-sm: 0 4px 14px rgba(16, 17, 20, .06);
  --container: 1140px;
}

/* --- Reset / base -------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; font-size: 15px;
       padding: 13px 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent; cursor: pointer;
       transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 22px rgba(224, 31, 38, .26); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f1f1f1; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }

/* Shared section heading */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 600;
           font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
           background: var(--chip); padding: 6px 12px; border-radius: 999px; }
.eyebrow svg { width: 15px; height: 15px; color: var(--accent); }
.section-head { max-width: 660px; margin: 0 auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-top: 16px; }
.section-sub { margin-top: 14px; font-size: 17px; color: var(--muted); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9);
               backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header.scrolled { box-shadow: 0 6px 22px rgba(16, 17, 20, .07); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }

.logo { display: flex; align-items: center; }
.logo-img { height: 46px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { position: relative; font-weight: 500; font-size: 15px; color: var(--body); transition: color .15s; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); border-radius: 2px; }

.header-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: #fff;
              background: var(--accent); padding: 10px 16px; border-radius: var(--radius-sm); }
.header-cta:hover { background: var(--accent-dark); }
.header-cta svg { width: 17px; height: 17px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 4px; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ==========================================================================
   Hero (photographic)
   ========================================================================== */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
               background-position: center; background-size: cover; background-repeat: no-repeat;
               background-image: url("../images/hero.jpg");
               background-image: image-set(url("../images/hero.webp") type("image/webp"), url("../images/hero.jpg") type("image/jpeg")); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
               background: linear-gradient(100deg, rgba(16,17,20,.9) 0%, rgba(16,17,20,.76) 42%, rgba(16,17,20,.4) 100%); }
.hero .container { display: grid; grid-template-columns: 1.05fr .92fr; gap: 44px; align-items: center; padding-top: 70px; padding-bottom: 74px; }
.hero h1 { color: #fff; font-size: clamp(34px, 5vw, 54px); font-weight: 800; margin-top: 18px; }
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 6px; background: var(--accent); border-radius: 3px; }
.hero .lead { margin-top: 18px; font-size: 18px; color: #d8dbe0; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 24px; }
.hero-badges .stars { display: flex; gap: 2px; color: var(--accent); margin: 0; }
.hero-badges .stars svg { width: 18px; height: 18px; }
.hero-badges b { color: #fff; font-weight: 700; }
.hero-badges span { color: #c2c6cc; font-size: 14px; }
.eyebrow-light { background: rgba(255,255,255,.14); color: #fff; }
.eyebrow-light svg { color: #fff; }

/* Quote card on the hero */
.quote-card { background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 26px 70px rgba(0,0,0,.34); padding: 24px 24px 26px; }
.quote-card h3 { font-size: 22px; font-weight: 800; }
.quote-card .qsub { color: var(--muted); font-size: 14px; margin: 4px 0 18px; }
.quote-card .field { margin-bottom: 13px; }
.quote-card button { width: 100%; margin-top: 4px; }

/* ==========================================================================
   Stats strip
   ========================================================================== */
.stats { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.stats .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 40px); color: var(--ink); }
.stat .num[data-target] { color: var(--accent); }
.stat .lbl { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* ==========================================================================
   Services
   ========================================================================== */
.services { padding: 88px 0; background: var(--surface); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 46px; }
.service-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
                transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6d7da; }
.service-card .icon { width: 52px; height: 52px; border-radius: 13px; background: var(--chip); color: var(--ink);
                      display: grid; place-items: center; margin-bottom: 16px; transition: background .18s ease, color .18s ease; }
.service-card:hover .icon { background: var(--accent); color: #fff; }
.service-card .icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 19px; font-weight: 700; }
.service-card p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.svc-badge { position: absolute; top: -11px; right: 16px; background: var(--accent); color: #fff; font-size: 11px;
             font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
             box-shadow: 0 6px 16px rgba(224,31,38,.32); }

/* ==========================================================================
   Recent work (gallery)
   ========================================================================== */
.work { padding: 88px 0; background: var(--surface); }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 46px; }
.work-item { position: relative; display: block; margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.work-item:hover img { transform: scale(1.06); }
.work-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: #fff;
                        font-size: 14px; font-weight: 600; background: linear-gradient(transparent, rgba(16,17,20,.82)); }

/* ==========================================================================
   About / Why choose us
   ========================================================================== */
.about { padding: 88px 0; background: var(--surface-2); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.about-copy h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; margin-top: 16px; }
.about-copy > p { margin-top: 16px; font-size: 17px; color: var(--body); }
.tick-list { list-style: none; margin: 24px 0 28px; display: grid; gap: 13px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; font-weight: 500; color: var(--ink); }
.tick-list li svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 1px; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 26px 22px; }
.about-card h3 { font-size: 20px; font-weight: 700; margin: 14px 0 4px; }
.promise { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.promise .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; flex: none; }
.promise .ic svg { width: 22px; height: 22px; }
.promise h4 { font-size: 16px; font-weight: 700; color: var(--ink); }
.promise p { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews { padding: 88px 0; background: var(--surface); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; margin-top: 46px; }
.review-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; }
.review-card p { font-size: 15.5px; color: var(--body); line-height: 1.6; }
.reviewer { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.reviewer .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff;
                    display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.reviewer strong { display: block; font-size: 15px; color: var(--ink); }
.reviewer span { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   FAQ (interactive accordion)
   ========================================================================== */
.faq { padding: 88px 0; background: var(--surface-2); }
.faq-list { max-width: 780px; margin: 40px auto 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
         background: none; border: 0; cursor: pointer; padding: 20px 4px; text-align: left;
         font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); }
.faq-q .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff;
             display: grid; place-items: center; transition: transform .25s ease; }
.faq-q .ic svg { width: 16px; height: 16px; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq-a p { padding: 0 4px 20px; color: var(--body); font-size: 15.5px; max-width: 700px; }

/* ==========================================================================
   Service areas
   ========================================================================== */
.areas { padding: 88px 0; background: var(--surface); }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 780px; margin: 34px auto 0; }
.area-chips span { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line);
                   border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 500; color: var(--ink); transition: border-color .15s ease; }
.area-chips span:hover { border-color: var(--accent); }
.area-chips span svg { width: 15px; height: 15px; color: var(--accent); }
.areas .note { text-align: center; margin-top: 24px; font-size: 15px; color: var(--muted); }
.areas .note a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   CTA band (black brand moment, red button)
   ========================================================================== */
.cta-band { background: var(--ink); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-top: 52px; padding-bottom: 52px; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 33px); }
.cta-band p { color: #b9bdc4; margin-top: 6px; font-size: 16px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding: 88px 0; background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(27px, 3.2vw, 36px); font-weight: 800; margin-top: 16px; }
.contact-info > p { margin-top: 14px; font-size: 16px; color: var(--body); max-width: 420px; }
.contact-list { list-style: none; margin-top: 26px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list a, .contact-list strong { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.contact-list small { font-size: 13.5px; color: var(--muted); }

.form-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: #fff;
                                border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; outline: none;
                                transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(224,31,38,.14); }
.field textarea { min-height: 120px; resize: vertical; }
.form-card button { width: 100%; margin-top: 4px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { margin-top: 12px; font-size: 14px; font-weight: 500; text-align: center; }

/* ==========================================================================
   Footer (black, echoes the logo)
   ========================================================================== */
.site-footer { background: var(--ink); color: #cfd2d6; padding: 58px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer .logo { margin-bottom: 16px; }
.footer-logo { background: #fff; padding: 9px 12px; border-radius: 10px; display: inline-flex; }
.footer-logo .logo-img { height: 38px; }
.footer-brand p { font-size: 15px; color: #aab0b8; max-width: 300px; }
.footer-col h5 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8b9198; margin-bottom: 15px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a, .footer-col li { font-size: 15px; color: #cfd2d6; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 46px; border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; color: #8b9198; }

/* ==========================================================================
   Back to top button
   ========================================================================== */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 48px; height: 48px; border-radius: 50%;
          background: var(--accent); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center;
          box-shadow: 0 10px 26px rgba(224,31,38,.32); opacity: 0; visibility: hidden; transform: translateY(10px);
          transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* ==========================================================================
   Scroll-reveal animation
   ========================================================================== */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive (mobile optimised)
   ========================================================================== */
@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; padding-bottom: 48px; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  section { scroll-margin-top: 80px; }

  /* Mobile dropdown menu */
  body.nav-open .main-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 24px 16px; box-shadow: var(--shadow);
  }
  body.nav-open .main-nav a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  body.nav-open .main-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .services, .about, .reviews, .faq, .areas, .contact { padding: 60px 0; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn, .cta-band-actions .btn { flex: 1 1 auto; }
}

/* ==========================================================================
   Header right group + mobile click-to-call
   ========================================================================== */
.header-right { display: flex; align-items: center; gap: 10px; }
.call-mini { display: none; }
.mobile-call { display: none; }

@media (max-width: 860px) {
  .call-mini { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
               border-radius: 50%; background: var(--accent); color: #fff; }
  .call-mini svg { width: 19px; height: 19px; }
  .mobile-call { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center;
                 justify-content: center; gap: 9px; background: var(--accent); color: #fff; font-weight: 700;
                 font-size: 16px; padding: 14px; box-shadow: 0 -6px 20px rgba(16,17,20,.18); }
  .mobile-call svg { width: 19px; height: 19px; }
  body { padding-bottom: 56px; }
  .to-top { bottom: 70px; }
}
@media (max-width: 560px) {
  .work { padding: 60px 0; }
}

/* ==========================================================================
   404 page
   ========================================================================== */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 24px; }
.nf h1 { font-size: 64px; color: var(--accent); }
.nf p { margin: 12px 0 24px; font-size: 18px; color: var(--body); }

/* ==========================================================================
   Service cards: image-1 style (solid red tile + learn-more) + subpages
   ========================================================================== */
.service-card { display: flex; flex-direction: column; }
.service-card .icon { background: var(--accent); color: #fff; }
.service-card:hover .icon { background: var(--accent-dark); }
.learn-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--accent); }
.learn-more span { transition: transform .15s ease; }
.service-card:hover .learn-more span { transform: translateX(4px); }

/* Subpage hero banner */
.subhero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.subhero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.subhero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(16,17,20,.92) 0%, rgba(16,17,20,.74) 45%, rgba(16,17,20,.5) 100%); }
.subhero .container { padding-top: 56px; padding-bottom: 60px; }
.crumb { font-size: 13px; color: #c2c6cc; }
.crumb a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.subhero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; margin-top: 10px; }
.subhero p { color: #d8dbe0; max-width: 580px; margin: 14px 0 22px; font-size: 17px; }

/* Subpage body */
.svc-page { padding: 80px 0; background: var(--surface); }
.svc-layout { display: grid; grid-template-columns: 1.4fr .85fr; gap: 44px; align-items: start; }
.svc-prose h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 14px; }
.svc-prose h3 { font-size: 19px; font-weight: 700; margin: 24px 0 12px; }
.svc-prose p { margin-bottom: 14px; font-size: 16.5px; color: var(--body); }
.svc-prose .tick-list { margin: 8px 0 0; }
.svc-aside { display: grid; gap: 18px; position: sticky; top: 96px; }
.svc-aside figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.svc-aside figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aside-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.aside-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.aside-card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.aside-card .btn { width: 100%; }

/* Other services chips */
.other-services { padding: 56px 0; background: var(--surface-2); }
.other-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.other-grid a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: 14px; color: var(--ink); }
.other-grid a:hover { border-color: var(--accent); color: var(--accent-dark); }

@media (max-width: 900px) {
  .svc-layout { grid-template-columns: 1fr; gap: 28px; }
  .svc-aside { position: static; }
}

/* ==========================================================================
   MOTION & SPICE
   ========================================================================== */

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 100; transition: width .08s linear; }

/* Hero: slow Ken Burns zoom on the photo */
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero::before { animation: kenburns 26s ease-in-out infinite alternate; }

/* Hero: staggered entrance on load */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-copy > *, .quote-card { opacity: 0; animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .25s; }
.hero-copy > *:nth-child(4) { animation-delay: .35s; }
.hero-copy > *:nth-child(5) { animation-delay: .45s; }
.quote-card { animation-delay: .42s; }

/* Hero: the red underline draws itself in */
.hero h1 em::after { transform: scaleX(0); transform-origin: left; animation: drawline .7s ease .9s forwards; }
@keyframes drawline { to { transform: scaleX(1); } }

/* Hero: bouncing scroll cue */
.scroll-cue { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; color: #fff; opacity: .85; animation: bobble 1.8s ease-in-out infinite; }
.scroll-cue svg { width: 28px; height: 28px; }
@keyframes bobble { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 9px); } }

/* Marquee of services */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 13px 0; }
.marquee-track { display: flex; align-items: center; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; padding: 0 18px; display: inline-flex; align-items: center; gap: 12px; }
.marquee-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Staggered reveal of grid children */
[data-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity .55s ease, transform .55s ease; }
[data-stagger].is-visible > * { opacity: 1; transform: none; }
[data-stagger].is-visible > *:nth-child(1) { transition-delay: .04s; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: .12s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: .20s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: .28s; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: .36s; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: .44s; }

/* Button shine sweep on hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.38), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.btn-primary:hover::after { left: 150%; }

/* Process timeline */
.process { padding: 88px 0; background: var(--surface-2); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 50px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: var(--line); z-index: 0; }
.step { position: relative; text-align: center; z-index: 1; }
.step .num-badge { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-display);
  font-weight: 800; font-size: 22px; display: grid; place-items: center; margin: 0 auto 16px; box-shadow: 0 10px 22px rgba(224,31,38,.3); }
.step h3 { font-size: 18px; font-weight: 700; }
.step p { font-size: 14.5px; color: var(--muted); margin-top: 6px; max-width: 230px; margin-left: auto; margin-right: auto; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .scroll-cue, .marquee-track { animation: none !important; }
  .hero-copy > *, .quote-card, .hero h1 em::after { animation: none !important; opacity: 1 !important; transform: none !important; }
  [data-stagger] > * { transition: none !important; opacity: 1 !important; transform: none !important; }
}
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .timeline::before { display: none; }
}
@media (max-width: 520px) {
  .timeline { grid-template-columns: 1fr; }
}

/* ==========================================================================
   WAVE 2: clickable cards, trust strip, directional reveals, reviews slider
   ========================================================================== */

/* Whole service card clickable (accessible stretched link) */
.service-card { cursor: pointer; }
.service-card .learn-more::after { content: ""; position: absolute; inset: 0; z-index: 2; }

/* Trust badge strip */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; padding: 20px 24px; }
.trust-badge { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.trust-badge svg { width: 20px; height: 20px; color: var(--accent); flex: none; }

/* Directional reveals */
[data-reveal].reveal-left { transform: translateX(-44px); }
[data-reveal].reveal-right { transform: translateX(44px); }
[data-reveal].reveal-left.is-visible, [data-reveal].reveal-right.is-visible { transform: none; }

/* Reviews slider (one at a time, crossfade) */
.reviews-slider { position: relative; max-width: 760px; margin: 46px auto 0; min-height: 210px; }
.reviews-slider .review-card { position: absolute; top: 0; left: 0; right: 0; text-align: center; opacity: 0; visibility: hidden;
  transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.reviews-slider .review-card.active { position: relative; opacity: 1; visibility: visible; transform: none; }
.reviews-slider .stars { justify-content: center; }
.reviews-slider .reviewer { justify-content: center; }
.reviews-slider .review-card p { font-size: 18px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.carousel-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer; transition: width .2s ease, background .2s ease; }
.carousel-dots button.active { width: 26px; background: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal].reveal-left, [data-reveal].reveal-right { transform: none; }
  .reviews-slider .review-card { transition: none; }
}

/* ==========================================================================
   WAVE 3: work carousel + gallery page + lightbox
   ========================================================================== */

/* Homepage "our work" continuous image carousel */
.work-marquee { overflow: hidden; margin-top: 42px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.work-track { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.work-marquee:hover .work-track { animation-play-state: paused; }
.work-tile { flex: 0 0 auto; width: 340px; height: 240px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); display: block; }
.work-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.work-tile:hover img { transform: scale(1.05); }
.work-cta { text-align: center; margin-top: 34px; }

/* Gallery page */
.gallery-page { padding: 56px 0 84px; }
.gallery-head { text-align: center; max-width: 640px; margin: 0 auto; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 40px; }
.g-item { padding: 0; margin: 0; border: 1px solid var(--line); background: var(--surface-2); border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.g-item:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(16,17,20,.93); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox .lb-img { max-width: min(94vw, 1200px); max-height: 86vh; border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.6); }
.lb-btn { position: absolute; background: rgba(255,255,255,.14); border: 0; color: #fff; cursor: pointer; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; opacity: .85; }

@media (max-width: 560px) {
  .work-tile { width: 260px; height: 190px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .lb-close { top: 14px; right: 14px; }
}

/* ==========================================================================
   WAVE 4: split-text hero (#1), typed kicker (#4), tilt cards (#7), shiny badge (#2)
   ========================================================================== */

/* #1 Split-text hero headline (words handle their own reveal) */
.hero-copy h1 { animation: none; opacity: 1; }
.hero-copy > *:nth-child(6) { animation-delay: .5s; }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.hero h1 .word.in { opacity: 1; transform: none; }

/* #4 Typed kicker under the headline */
.hero-kicker { margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; min-height: 24px; }
.hero-kicker .tw { color: var(--accent); }
.hero-kicker .caret { color: var(--accent); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* #2 Shiny sweep on the Most common badge */
.svc-badge { overflow: hidden; }
.svc-badge::after { content: ""; position: absolute; top: 0; left: -150%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg);
  animation: badgeShine 3.6s ease-in-out infinite; }
@keyframes badgeShine { 0% { left: -150%; } 30% { left: 160%; } 100% { left: 160%; } }

/* #7 Tilt service cards */
.service-card { transform-style: preserve-3d; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .hero h1 .word { opacity: 1; transform: none; }
  .hero-kicker .caret { animation: none; }
  .svc-badge::after { animation: none; display: none; }
}
