/* ============================================================================
   ELECTRICIAN LANDING PAGE — DESIGN TOKENS
   EDIT THE VALUES IN :root TO RETHEME THE ENTIRE WEBSITE.
   ============================================================================ */
:root {
  --color-primary: #fa7527;           /* CTAs, accents, icons */
  --color-primary-hover: #df5c14;
  --color-dark: #2d3343;              /* top bar, mobile menu, contact */
  --color-darker: #222837;            /* footer */
  --color-ink: #242c3c;               /* headings/body */
  --color-text: #657082;              /* secondary text */
  --color-white: #ffffff;
  --color-bg: #ffffff;
  --color-soft: #f5f6f8;
  --color-border: #e5e8ee;
  --color-placeholder: #b5bdc9;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --container: 1180px;
  --radius: 9px;
  --shadow: 0 14px 45px rgb(24 35 51 / 9%);
  --header-height: 90px;
  --transition: 220ms ease;
  /* Full-screen gallery dimensions: change these to adjust section height. */
  --gallery-height-desktop: 100svh;
  --gallery-height-mobile: 76svh;
}

/* 00. RESET & BASE ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; font-family: var(--font-body); color: var(--color-ink); background: var(--color-bg); line-height: 1.58; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 4px; }
::selection { background: var(--color-primary); color: white; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.icon { width: 19px; height: 19px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: -100px; left: 16px; background: var(--color-primary); color: white; z-index: 200; padding: 10px 16px; }
.skip-link:focus { top: 10px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.17; letter-spacing: -.035em; }
h1 { font-size: clamp(2.75rem, 5.2vw, 4.75rem); font-weight: 800; }
h2 { font-size: clamp(2.05rem, 3.5vw, 3rem); font-weight: 800; }
h3 { font-size: 1.26rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 48px; padding: 12px 23px; border: 2px solid transparent; border-radius: 5px; font-weight: 750; line-height: 1.25; text-align: center; transition: background var(--transition), transform var(--transition), border-color var(--transition); }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--color-primary); color: white; }
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--outline { border-color: var(--color-border); background: white; color: var(--color-ink); }
.btn--outline:hover { border-color: var(--color-primary); }
.btn--large { min-height: 57px; padding-inline: 28px; }
.btn--full { width: 100%; }
.btn .icon { width: 17px; height: 17px; }
.eyebrow { color: var(--color-primary); font-size: .85rem; letter-spacing: .11em; font-weight: 800; text-transform: uppercase; margin-bottom: 15px; }
.eyebrow--light { color: var(--color-white); }
.eyebrow__line { display: inline-block; width: 26px; height: 2px; background: var(--color-primary); margin: 0 9px 4px 0; }
.section { padding-block: clamp(70px, 8vw, 104px); }
.section--light { background: var(--color-white); }
.section--soft { background: var(--color-soft); }
.section-heading { margin-bottom: 37px; }
.section-heading h2 { margin-bottom: 13px; }
.section-heading p:last-child { color: var(--color-text); max-width: 620px; margin-bottom: 0; }
.section-heading--center { text-align: center; }
.section-heading--center p:last-child { margin-inline: auto; }
.section-heading--split { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.section-heading--split h2 { margin-bottom: 0; }
.section-heading--split > p { max-width: 390px !important; }

/* 01. TOP UTILITY BAR & MAIN HEADER ---------------------------------------- */
.utility-bar { background: var(--color-dark); color: #d9dde6; font-size: .84rem; }
.utility-bar__inner { min-height: 42px; display: flex; align-items: center; gap: 36px; }
.utility-bar__item, .utility-bar__phone { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.utility-bar__item .icon { color: var(--color-primary); width: 17px; height: 17px; }
.utility-bar__phone { margin-left: auto; color: var(--color-primary); font-weight: 800; }
.utility-bar__phone .icon { color: white; width: 16px; height: 16px; }
.site-header { position: relative; z-index: 20; background: white; box-shadow: 0 1px 0 rgb(10 20 30 / 8%); }
.site-header__inner { display: flex; align-items: center; min-height: var(--header-height); gap: 29px; }
.brand { display: inline-flex; align-items: center; gap: 4px; font-weight: 850; line-height: 1; letter-spacing: -.055em; font-size: clamp(1.37rem, 2.2vw, 1.85rem); white-space: nowrap; }
.brand__mark { color: var(--color-primary); font-size: 2.35rem; font-style: italic; line-height: .8; transform: skewX(-7deg); }
.brand__word { color: var(--color-ink); }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2.05vw, 28px); font-size: .91rem; font-weight: 750; }
.desktop-nav a { transition: color var(--transition); white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--color-primary); }
.header-cta { white-space: nowrap; font-size: .88rem; padding-inline: 17px; }
.menu-toggle { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 6px; background: transparent; border: 0; padding: 10px; margin-left: auto; min-width: 46px; min-height: 46px; }
.menu-toggle span { display: block; width: 27px; height: 2.5px; background: var(--color-ink); border-radius: 2px; }

/* 02. MOBILE SLIDE-OUT NAV ------------------------------------------------- */
.menu-backdrop { position: fixed; z-index: 70; inset: 0; background: rgb(13 18 29 / 60%); opacity: 0; transition: opacity var(--transition); }
.menu-backdrop.is-visible { opacity: 1; }
.mobile-menu { position: fixed; z-index: 80; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; width: min(340px, 86vw); background: var(--color-dark); color: white; box-shadow: 15px 0 45px rgb(0 0 0 / 20%); transform: translateX(-105%); transition: transform 260ms cubic-bezier(.2,.8,.2,1); visibility: hidden; }
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu__close { display: flex; align-items: center; gap: 10px; min-height: 58px; width: 100%; padding: 10px 27px; background: transparent; border: 0; border-bottom: 1px solid rgb(255 255 255 / 28%); color: white; text-align: left; font-size: .85rem; font-weight: 800; }
.mobile-menu__close span { font-size: 1.8rem; font-weight: 300; line-height: 1; }
.mobile-menu__links { display: flex; flex-direction: column; overflow-y: auto; padding: 23px 27px 20px; }
.mobile-menu__links a { display: flex; align-items: center; min-height: 51px; font-weight: 700; font-size: 1rem; border-bottom: 1px solid rgb(255 255 255 / 9%); }
.mobile-menu__links a:hover { color: var(--color-primary); }
.mobile-menu__bottom { margin-top: auto; padding: 20px 24px max(25px, env(safe-area-inset-bottom)); border-top: 1px solid rgb(255 255 255 / 15%); }
.mobile-menu__phone { display: block; margin-top: 17px; font-weight: 700; text-align: center; color: #e6e9f0; }

/* 03. HERO ---------------------------------------------------------------- */
.hero { position: relative; display: flex; align-items: center; isolation: isolate; min-height: clamp(560px, 47vw, 690px); color: white; background: #526072; overflow: hidden; }
.hero__image-placeholder { position: absolute; z-index: -2; inset: 0; display: grid; place-items: center; background: url('../images/hero-background.webp') center/cover no-repeat; }
/* Replace the gradient with a real optimized hero image at launch, e.g.
   .hero__image-placeholder { background: url('../images/hero-background.webp') center/cover no-repeat; }
   Do not lazy-load the hero/LCP image. */
.hero__image-placeholder span { display: grid; gap: 7px; text-align: center; color: #d7dce5; font-weight: 800; font-size: clamp(.9rem, 1.6vw, 1.25rem); letter-spacing: .14em; }
.hero__image-placeholder small { font-size: .7rem; font-weight: 500; letter-spacing: .035em; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(22 30 46 / 86%) 0%, rgb(22 30 46 / 63%) 52%, rgb(22 30 46 / 35%) 100%); }
.hero__content { width: 80%; padding-block: 90px; }
.hero__copy { max-width: 730px; }
.hero h1 { margin-bottom: 23px; }
.hero h1 span { color: var(--color-primary); }
.hero__text { max-width: 575px; color: #edf0f3; font-size: clamp(1.03rem, 1.65vw, 1.18rem); line-height: 1.75; margin-bottom: 32px; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.hero__call { display: inline-flex; align-items: center; gap: 12px; }
.hero__call > .icon { width: 32px; height: 32px; color: var(--color-primary); }
.hero__call span { display: flex; flex-direction: column; line-height: 1.35; }
.hero__call small { color: #e4e7ec; font-size: .78rem; }
.hero__call strong { font-size: 1.1rem; }
.hero__bottom-line { position: absolute; bottom: 0; right: 0; width: 32%; height: 5px; background: var(--color-primary); }
.trust-strip { background: var(--color-dark); color: white; }
.trust-strip__inner { display: flex; justify-content: space-between; gap: 18px; padding-block: 18px; }
.trust-strip span { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: .91rem; }
.trust-strip .icon { color: var(--color-primary); }

/* 04. SERVICES ------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-card { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 28px 23px 25px; border: 1px solid var(--color-border); border-radius: var(--radius); background: white; transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
.service-card:hover { transform: translateY(-6px); border-color: #f9b18a; box-shadow: var(--shadow); }
.service-card__number { position: absolute; right: 20px; top: 18px; color: #e0e4ea; font-size: 1.45rem; font-weight: 800; }
.service-card__symbol { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 24px; background: #fff0e8; color: var(--color-primary); font-size: 2rem; font-weight: 850; border-radius: 8px; }
.service-card h3 { margin-bottom: 11px; }
.service-card p { color: var(--color-text); font-size: .93rem; margin-bottom: 25px; }
.service-card a { margin-top: auto; color: var(--color-primary); font-size: .9rem; font-weight: 800; }
.service-card a span { padding-left: 5px; }
.service-card a:hover { text-decoration: underline; }

/* 05. TESTIMONIALS --------------------------------------------------------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.review-card { position: relative; min-height: 245px; margin: 0; padding: 30px; border-radius: var(--radius); background: white; border: 1px solid var(--color-border); }
.review-card__quote { color: var(--color-primary); font: 800 3.8rem Georgia, serif; height: 39px; line-height: 1; }
.review-card blockquote { margin: 20px 0 26px; color: #526072; font-size: .97rem; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; }
.review-card__avatar { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 50%; background: #eceef2; color: var(--color-text); font-weight: 800; }
.review-card figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.review-card figcaption strong { font-size: .9rem; }
.review-card figcaption small { color: var(--color-text); font-size: .77rem; }

/* 07. CONTACT & FORM ------------------------------------------------------- */
.section--contact { background: var(--color-dark); color: white; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr); align-items: center; gap: clamp(40px, 7vw, 110px); }
.contact-intro { max-width: 450px; }
.contact-intro h2 { margin-bottom: 21px; }
.contact-intro h2 span { color: var(--color-primary); }
.contact-intro > p:not(.eyebrow) { color: #cbd0db; margin-bottom: 32px; }
.contact-detail { display: flex; align-items: flex-start; gap: 15px; margin: 0 0 23px; }
.contact-detail > .icon { width: 23px; height: 23px; margin-top: 4px; color: var(--color-primary); }
.contact-detail span { display: flex; flex-direction: column; line-height: 1.45; }
.contact-detail small { color: #bac2d1; font-size: .8rem; }
.contact-detail a, .contact-detail strong { color: white; font-size: 1rem; font-weight: 700; }
.contact-detail a:hover { color: var(--color-primary); }
.form-card { padding: clamp(25px, 4vw, 43px); background: white; border-radius: var(--radius); color: var(--color-ink); box-shadow: var(--shadow); }
.form-card h3 { margin-bottom: 7px; font-size: 1.65rem; }
.form-card__intro { color: var(--color-text); font-size: .92rem; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 750; }
.field label span, .form-consent span span { color: var(--color-primary); }
.field input, .field select, .field textarea { width: 100%; min-height: 47px; padding: 11px 13px; background: #fafbfc; border: 1px solid #dce1e9; color: var(--color-ink); border-radius: 4px; outline-offset: 1px; }
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-primary); outline: 2px solid rgb(250 117 39 / 14%); }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; font-size: .77rem; color: var(--color-text); line-height: 1.45; }
.form-consent input { margin-top: 3px; accent-color: var(--color-primary); }
.form-consent a { text-decoration: underline; color: var(--color-ink); }
.form-submit { min-height: 51px; }
.form-status { margin: 12px 0 0; font-size: .88rem; font-weight: 600; }
.form-status[data-state="error"] { color: #b42318; }
.form-status[data-state="success"] { color: #267647; }
.form-note { font-size: .73rem; color: #8a94a3; margin: 15px 0 0; line-height: 1.45; }

/* 08. FOOTER --------------------------------------------------------------- */
.site-footer { background: var(--color-darker); color: #c9ced8; }
.footer-grid { display: grid; grid-template-columns: 1.65fr 1fr 1.1fr 1.2fr; gap: clamp(24px, 4vw, 62px); padding-block: 65px 55px; }
.brand--footer .brand__word { color: white; }
.footer-about p { max-width: 310px; font-size: .9rem; margin: 18px 0 0; }
.footer-heading { color: white; font-size: 1rem; font-weight: 800; letter-spacing: 0; margin: 7px 0 21px; }
.footer-links { display: flex; flex-direction: column; align-items: start; gap: 10px; font-size: .88rem; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--color-primary); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgb(255 255 255 / 12%); padding-block: 19px; color: #a4acbb; font-size: .79rem; }
.footer-bottom > div { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom button { color: inherit; padding: 0; border: 0; background: transparent; }
.footer-bottom button:hover { color: var(--color-primary); }

/* 09. GDPR / COOKIE CONSENT ------------------------------------------------ */
.cookie-banner { position: fixed; z-index: 90; bottom: 17px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 25px; justify-content: space-between; width: min(980px, calc(100% - 32px)); padding: 19px 22px; background: white; color: var(--color-ink); box-shadow: 0 8px 35px rgb(0 0 0 / 20%); border: 1px solid var(--color-border); border-top: 4px solid var(--color-primary); border-radius: var(--radius); }
.cookie-banner p { margin: 0; font-size: .86rem; }
.cookie-banner p a { text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner .btn { min-height: 39px; font-size: .81rem; padding: 9px 13px; }

/* 10. TABLET & MOBILE ------------------------------------------------------ */
@media (max-width: 1100px) {
  .desktop-nav { gap: 14px; }
  .site-header__inner { gap: 16px; }
  .brand { font-size: 1.5rem; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { min-height: 260px; }
}
@media (max-width: 900px) {
  :root { --header-height: 80px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .utility-bar__item:first-child { display: none; }
  .site-header__inner { justify-content: space-between; }
  .hero { min-height: 550px; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid .review-card:last-child { display: none; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  :root { --header-height: 73px; }
  html { scroll-padding-top: 74px; }
  .container { width: min(100% - 34px, var(--container)); }
  .utility-bar { display: none; }
  .brand { font-size: clamp(1.22rem, 5vw, 1.5rem); max-width: calc(100% - 62px); }
  .brand__mark { font-size: 2.05rem; }
  .brand__word { overflow: hidden; text-overflow: ellipsis; }
  .hero { align-items: center; min-height: 560px; text-align: center; }
  .hero__content { padding-block: 62px 68px; }
  .hero__image-placeholder { background: url('../images/hero-background.webp') right/cover no-repeat;  }
  .hero::before { background: linear-gradient(180deg, rgb(22 30 46 / 67%), rgb(22 30 46 / 82%)); }
  .hero h1 { font-size: clamp(2.38rem, 10vw, 3.5rem); margin-bottom: 17px; }
  .hero__text { line-height: 1.6; font-size: 1rem; margin-bottom: 27px; }
  .eyebrow { font-size: .74rem; letter-spacing: .075em; }
  .hero__actions { flex-direction: column; gap: 16px; }
  .hero__actions .btn { width: 100%; max-width: 380px; }
  .hero__call > .icon { width: 24px; height: 24px; }
  .hero__call span { flex-direction: row; gap: 8px; align-items: center; }
  .hero__call strong { font-size: .95rem; }
  .hero__bottom-line { width: 42%; }
  .trust-strip__inner { flex-wrap: wrap; justify-content: center; column-gap: 22px; row-gap: 9px; padding-block: 15px; }
  .trust-strip span { font-size: .75rem; }
  .trust-strip span:last-child { display: none; }
  .section { padding-block: 64px; }
  .section-heading { margin-bottom: 27px; }
  .section-heading--split { display: block; }
  .section-heading--split > p { margin-top: 13px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-card { min-height: 272px; padding: 21px 15px; }
  .service-card h3 { font-size: 1.05rem; }
  .service-card p { font-size: .81rem; line-height: 1.5; }
  .service-card__symbol { width: 44px; height: 44px; font-size: 1.55rem; margin-bottom: 17px; }
  .service-card__number { font-size: 1.15rem; top: 14px; right: 15px; }
  .service-card a { font-size: .8rem; }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-grid .review-card:nth-child(n+2) { display: none; }
  .review-card { min-height: 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 25px; }
  .contact-intro { max-width: 100%; }
  .contact-intro > p:not(.eyebrow) { margin-bottom: 26px; }
  .contact-detail { margin-bottom: 15px; }
  .form-card { padding: 26px 20px; }
  .form-card h3 { font-size: 1.45rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 30px; padding-block: 46px 36px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner__actions > * { flex: 1; }
}
@media (max-width: 390px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.3rem; }
  .footer-grid { column-gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* 04. FEATURED SERVICE — EDITABLE SINGLE-SERVICE CONTENT + SWIPE GALLERY ----- */
.featured-service {}
.featured-service__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.featured-service__copy h2 { margin-bottom: 20px; }
.featured-service__copy > p:not(.eyebrow) { color: var(--color-text); }
.featured-service__list-label { color: var(--color-ink) !important; font-weight: 750; margin: 20px 0 9px; }
.featured-service__examples { margin: 0 0 29px; padding: 0; list-style: none; }
.featured-service__examples li { position: relative; padding-left: 28px; margin-bottom: 10px; line-height: 1.5; }
.featured-service__examples li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--color-primary); font-weight: 900; }
.service-slider { min-width: 0; }
.service-slider__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: var(--radius); background: var(--color-border); }
.service-slider__viewport::-webkit-scrollbar { display: none; }
.service-slider__track { display: flex; }
.service-slider__slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
/* Slideshow photographs — consistent proportions prevent layout shifts */
.service-slider__slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.service-slider__controls { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.service-slider__dots, .service-slider__arrows { display: flex; align-items: center; gap: 9px; }
.service-slider__dots button { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; background: var(--color-placeholder); }
.service-slider__dots button[aria-current="true"] { background: var(--color-primary); }
.service-slider__arrow { width: 44px; height: 44px; border: 1px solid var(--color-border); border-radius: 5px; background: var(--color-white); color: var(--color-ink); font-size: 1.3rem; transition: background var(--transition), color var(--transition); }
.service-slider__arrow:hover { background: var(--color-primary); color: var(--color-white); }
@media (max-width: 900px) { .featured-service__layout { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 680px) {
  .featured-service__examples li {
    font-size: .94rem;
  }

  .featured-service__cta {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) { .service-slider__viewport { scroll-behavior: auto; } }

/* =========================================================
   FLOATING TEMPLATE DEMO BADGE
========================================================= */

.template-demo-badge {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9998;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 16px 10px 10px;

    background: rgba(20, 31, 43, 0.94);
    color: #fff;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;

    text-decoration: none;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.18);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.template-demo-badge:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.25);

    background: var(--color-primary);
}


/* Badge icon */
.template-demo-badge__icon {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #4b4b4b;

    overflow: hidden;
}

.template-demo-badge__icon img {
    width: 20px;
    height: 20px;

    display: block;

    object-fit: contain;
}

/* Badge text */
.template-demo-badge__text {
    display: flex;
    flex-direction: column;

    line-height: 1.15;
}

.template-demo-badge__text small {
    font-size: 0.65rem;
    font-weight: 500;

    opacity: 0.7;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.template-demo-badge__text strong {
    margin-top: 2px;

    font-size: 0.82rem;
    font-weight: 700;

    color: inherit;
}


/* Keyboard accessibility */
.template-demo-badge:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .template-demo-badge {
        left: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));

        padding: 8px 12px 8px 8px;
    }

    .template-demo-badge__icon {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--color-primary);

    overflow: hidden;
}

.template-demo-badge__icon img {
    width: 20px;
    height: 20px;

    display: block;

    object-fit: contain;
}

    .template-demo-badge__text small {
        
    }

    .template-demo-badge__text strong {
        font-size: 0.75rem;
    }

}

/* 06. FULL-BLEED PROJECT GALLERY --------------------------------------------
   Edit gallery height using the two :root variables at the top of this file.
   Each slide fills the section; swipe is handled by native CSS scroll snapping.
   The gallery uses its own classes and does not alter .service-slider.
---------------------------------------------------------------------------- */
.project-gallery {
  position: relative;
  height: var(--gallery-height-desktop);
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-darker);
  color: var(--color-white);
}
.project-gallery__viewport {
  position: absolute;
  inset: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.project-gallery__viewport::-webkit-scrollbar { display: none; }
.project-gallery__viewport:focus-visible { outline: 3px solid var(--color-primary); outline-offset: -5px; }
.project-gallery__track { display: flex; height: 100%; }
.project-gallery__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--color-dark);
}
.project-gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--slide-position, center);
}
/* Shared image gradients ensure overlaid headings and captions stay readable. */
.project-gallery__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgb(20 26 38 / 72%) 0%,
    rgb(20 26 38 / 32%) 30%,
    transparent 54%,
    rgb(20 26 38 / 57%) 79%,
    rgb(20 26 38 / 85%) 100%
  );
}
.project-gallery__heading {
  position: absolute;
  z-index: 2;
  inset: clamp(35px, 6vw, 78px) 0 auto;
  pointer-events: none;
}
.project-gallery__heading .eyebrow { margin-bottom: 10px; }
.project-gallery__heading h2 {
  margin-bottom: 10px;
  max-width: 700px;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
}
.project-gallery__heading p:last-child { max-width: 510px; margin: 0; color: rgb(255 255 255 / 88%); }
.project-gallery__caption {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: clamp(142px, 16vh, 190px);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.15rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.project-gallery__caption-rule { width: 32px; height: 4px; flex-shrink: 0; background: var(--color-primary); }
.project-gallery__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
  background: rgb(34 40 55 / 52%);
  color: var(--color-white);
  font-size: 1.55rem;
  line-height: 1;
  backdrop-filter: blur(4px);
  transition: background var(--transition), border-color var(--transition);
}
.project-gallery__arrow:hover { background: var(--color-primary); border-color: var(--color-primary); }
.project-gallery__arrow--prev { left: clamp(12px, 3vw, 48px); }
.project-gallery__arrow--next { right: clamp(12px, 3vw, 48px); }
.project-gallery__footer {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: clamp(20px, 4vh, 45px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.project-gallery__count { margin-left: 135px; flex: 0 0 90px; font-size: .89rem; font-weight: 800; letter-spacing: .15em; font-variant-numeric: tabular-nums; }
.project-gallery__dots { display: flex; align-items: center; justify-content: center; gap: 10px; }
.project-gallery__dots button {
  display: block;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 45%);
  transition: background var(--transition), transform var(--transition);
}
.project-gallery__dots button[aria-current="true"] { background: var(--color-primary); transform: scale(1.22); }
.project-gallery__hint { flex: 0 0 90px; text-align: right; color: rgb(255 255 255 / 75%); font-size: .78rem; white-space: nowrap; }
@media (max-width: 900px) {
  .project-gallery__arrow { width: 46px; height: 46px; }
}
@media (max-width: 680px) {
  .project-gallery { height: var(--gallery-height-mobile); min-height: 440px; }
  .project-gallery__heading { top: 30px; }
  .project-gallery__heading h2 { max-width: 320px; font-size: clamp(1.95rem, 7vw, 2.75rem); }
  .project-gallery__heading p:last-child { max-width: 290px; font-size: .85rem; }
  .project-gallery__caption { bottom: 99px; padding-right: 26px; font-size: clamp(1.1rem, 5vw, 1.55rem); }
  .project-gallery__arrow { width: 42px; height: 42px; top: 55%; font-size: 1.2rem; }
  .project-gallery__arrow--prev { left: 12px; }
  .project-gallery__arrow--next { right: 12px; }
  .project-gallery__footer { bottom: 25px; gap: 12px; }
  .project-gallery__count { margin-left: 0; flex-basis: auto; font-size: .78rem; }
  .project-gallery__dots { gap: 8px; }
  .project-gallery__dots button { width: 8px; height: 8px; }
  .project-gallery__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .project-gallery__viewport { scroll-behavior: auto; }
}



/* -----------------------------------------------------------------------------
   FUSEPRO GALLERY — DESKTOP + SMARTPHONE ART-DIRECTED PHOTOGRAPHS
   ----------------------------------------------------------------------------- */
.project-gallery__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.project-gallery__picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--slide-position, center);
}

/* Match the <source> media condition. Each slide can have its own portrait focus. */
@media (max-width: 767px) {
  .project-gallery {
    height: var(--gallery-height-mobile, 76svh);
    min-height: 440px;
  }

  .project-gallery__picture > img {
    object-position: var(--slide-position-mobile, center);
  }
}

