/* ==========================================================================
   SoffitPro — Marketing Site
   Design system + components + sections
   Self-contained. No third-party CDNs. Font self-hosted (Instrument Sans).
   ========================================================================== */

@import url("../assets/fonts/fonts.css");
@import url("../assets/fonts/barlow.css");

/* ---------- Tokens ---------- */
:root {
  --charcoal:      #1C1D18;
  --charcoal-90:   #292A24;
  --accent:        #F7880A;
  --accent-dark:   #D9740A;
  --blue:          #2B50E0;
  --blue-dark:     #2340C0;
  --cream:         #FFF8ED;
  --white:         #FFFFFF;
  --text:          #767676;
  --text-dark:     #4A4A46;
  --divider:       rgba(28, 29, 24, .10);
  --divider-dark:  rgba(255, 255, 255, .12);

  --font:  "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius:   14px;
  --radius-sm: 8px;
  --radius-pill: 100px;

  --container: 1290px;
  --gutter: 20px;

  --shadow-sm: 0 4px 16px rgba(28, 29, 24, .06);
  --shadow:    0 18px 50px rgba(28, 29, 24, .10);

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

h1, h2, h3, h4, h5, h6 {
  color: var(--charcoal);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: 110px; }
.section--tight { padding-block: 80px; }
.section--dark { background: var(--charcoal); color: rgba(255, 255, 255, .72); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  text-transform: capitalize;
  letter-spacing: .01em;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 16px; height: 16px;
  flex: none;
  background: var(--accent);
  -webkit-mask: url("../assets/icons/icon-sub-heading.svg") no-repeat center / contain;
          mask: url("../assets/icons/icon-sub-heading.svg") no-repeat center / contain;
}
.section--dark .eyebrow { color: var(--accent); }

.section-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--charcoal);
  max-width: 20ch;
}
.section--dark .section-title { color: var(--white); }
.section-title .muted { color: rgba(28, 29, 24, .28); }
.section--dark .section-title .muted { color: rgba(255, 255, 255, .30); }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.section-head__intro { max-width: 640px; margin-inline: auto; }
.section-head .section-title { margin-bottom: 0; }

/* ── Centered layout, applied site-wide (consistent with the hero) ── */
.about__body { text-align: center; }
.about__body .feature-list { max-width: 470px; margin-inline: auto; }
.about__body .feature-row { flex-direction: column; align-items: center; gap: 10px; }
.about__cta { justify-content: center; }
.split { text-align: center; }
.split .why-list { max-width: 470px; margin-inline: auto; }
.why-item { justify-content: center; }
.cta-band__grid { text-align: center; }
.cta-band .play-btn { margin-inline: auto; }
.cta-stats { max-width: 430px; margin-inline: auto; }
.cta-stats li { justify-content: center; }
.quote-grid > .reveal:first-child { text-align: center; }
.quote-grid .contact-lines { max-width: 430px; margin-inline: auto; }
.quote-grid .contact-line { justify-content: center; }
.faq-grid > .reveal:first-child { text-align: center; }
.lead { font-size: 17px; line-height: 1.7; color: var(--text); }
.section--dark .lead { color: rgba(255, 255, 255, .66); }

/* ---------- Buttons (signature Aurox-style) ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  background: var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 24px 16px 62px;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease), padding .4s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute; inset: 0 0 0 0;
  width: 0; height: 100%;
  background: var(--charcoal);
  transition: width .4s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--white); padding: 16px 62px 16px 24px; }
.btn:hover::before { width: 100%; }
.btn .btn__ico {
  position: absolute;
  top: 50%; left: 6px;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--charcoal);
  border-radius: var(--radius-sm);
  transition: left .4s var(--ease), transform .4s var(--ease), background .35s var(--ease);
}
.btn .btn__ico svg { width: 16px; height: 16px; }
.btn:hover .btn__ico { left: 100%; transform: translate(calc(-100% - 6px), -50%); background: var(--accent); }

.btn--dark { background: var(--charcoal); }
.btn--dark::before { background: var(--accent); }
.btn--dark .btn__ico { background: var(--accent); }
.btn--dark:hover .btn__ico { background: var(--charcoal); }

/* Blue — platform / login CTA (matches the app accent) */
.btn--blue { background: var(--blue); }
.btn--blue::before { background: var(--charcoal); }
.btn--blue .btn__ico { background: var(--charcoal); }
.btn--blue:hover .btn__ico { background: var(--blue); }

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--divider);
  padding: 15px 26px;
}
.btn--ghost::before, .btn--ghost .btn__ico { display: none; }
.btn--ghost:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.section--dark .btn--ghost { color: var(--white); border-color: var(--divider-dark); }

/* text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--charcoal);
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; color: var(--accent); }
.link-arrow:hover { gap: 13px; color: var(--accent); }
.section--dark .link-arrow { color: var(--white); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.site-header.is-stuck {
  position: fixed;
  background: var(--charcoal);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
  animation: slideDown .4s var(--ease);
}
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 92px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__badge { width: 46px; height: 46px; flex: none; }
.brand__name {
  font-size: 25px; font-weight: 700; letter-spacing: -.02em; color: var(--white);
}
.brand__name .dot { color: var(--accent); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  font-size: 16px; font-weight: 600;
  white-space: nowrap;
  color: rgba(255, 255, 255, .82);
  border-radius: var(--radius-pill);
  transition: color .2s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link .caret { width: 12px; height: 12px; opacity: .7; }

.nav__item { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 10px); left: 0;
  min-width: 236px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .25s var(--ease);
}
.nav__item:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a {
  display: block; padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; color: var(--charcoal);
  transition: background .2s, color .2s, padding-left .2s;
}
.nav__dropdown a:hover { background: var(--cream); color: var(--accent); padding-left: 20px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
/* Phone lives in the mobile drawer + footer; hidden in the desktop bar to keep nav on one line */
.header-phone { display: none; }
.header-phone svg { width: 18px; height: 18px; color: var(--accent); }

.nav-toggle {
  display: none;
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--white);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 0;
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
}
.mobile-nav__overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .5);
  opacity: 0; transition: opacity .3s var(--ease);
}
.mobile-nav__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(86vw, 360px);
  background: var(--charcoal);
  padding: 26px 22px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-nav.is-open { visibility: visible; pointer-events: auto; }
.mobile-nav.is-open .mobile-nav__overlay { opacity: 1; }
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-nav__close { width: 44px; height: 44px; border-radius: var(--radius-sm); background: rgba(255,255,255,.08); color: var(--white); display: inline-flex; align-items:center; justify-content:center; }
.mobile-nav__close svg { width: 22px; height: 22px; }
.mobile-nav a.m-link {
  display: block; padding: 14px 12px; border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, .82); font-weight: 600; font-size: 17px;
  border-bottom: 1px solid var(--divider-dark);
}
.mobile-nav a.m-link:hover { color: var(--accent); }
.mobile-nav__cta { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.mobile-nav__cta .btn { justify-content: center; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 780px;
  padding-top: 150px;
  padding-bottom: 60px;
  color: var(--white);
  background: var(--charcoal);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero > .container { width: 100%; }
.hero__bg {
  position: absolute; inset: 0;
  object-fit: cover; width: 100%; height: 100%;
  opacity: .35;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,29,24,.55) 0%, rgba(28,29,24,.35) 45%, rgba(28,29,24,.9) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.hero .eyebrow { color: var(--accent); }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 74px);
  line-height: 1.03;
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 .muted { color: rgba(255, 255, 255, .34); }
.hero__text { font-size: 18px; color: rgba(255, 255, 255, .74); max-width: 560px; margin-inline: auto; margin-bottom: 34px; }

.hero__features {
  display: flex; flex-wrap: wrap; gap: 30px 44px;
  justify-content: center;
  margin-bottom: 38px;
}
.hero-feature { display: flex; align-items: center; gap: 14px; max-width: 280px; }
.hero-feature__ico {
  width: 54px; height: 54px; flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16);
  display: grid; place-items: center;
  color: var(--accent);
}
.hero-feature__ico svg { width: 24px; height: 24px; }
.hero-feature p { font-weight: 600; color: var(--white); line-height: 1.35; font-size: 16px; }

/* info cards row below hero */
.hero-cards {
  position: relative; z-index: 3;
  margin-top: 76px;
}
.hero-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.info-card {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.info-card--img { padding: 0; }
.info-card--img img { width: 100%; height: 100%; object-fit: cover; }
.info-card--stat {
  background: var(--charcoal);
  color: var(--white);
  padding: 30px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.info-card--stat .num { font-size: 42px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.info-card--stat .num small { color: var(--accent); font-size: 26px; }
.info-card--stat p { font-size: 18px; font-weight: 600; color: var(--white); }
.info-card--satisfaction {
  background: var(--charcoal-90);
  color: var(--white);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px; justify-content: space-between;
}
.avatars { display: flex; }
.avatars img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--charcoal-90); object-fit: cover; margin-left: -12px; }
.avatars img:first-child { margin-left: 0; }
.info-card--satisfaction h4 { color: var(--white); font-size: 18px; }
.info-card--satisfaction p { font-size: 15px; color: rgba(255,255,255,.62); }

/* ==========================================================================
   MARQUEE strip
   ========================================================================== */
.marquee {
  background: var(--accent);
  color: var(--charcoal);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track { display: inline-flex; align-items: center; gap: 26px; animation: marquee 26s linear infinite; }
.marquee__track span { font-size: 24px; font-weight: 600; display: inline-flex; align-items: center; gap: 26px; }
.marquee__track svg { width: 20px; height: 20px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 54px;
  align-items: center;
}
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); width: 100%; }
.about__media .img-2 {
  position: absolute; right: -10px; bottom: -30px;
  width: 48%; border: 8px solid var(--cream);
}
.about__badge {
  position: absolute; left: 24px; top: 24px;
  background: var(--accent); color: var(--white);
  border-radius: var(--radius); padding: 16px 20px;
  font-weight: 700; text-align: center; line-height: 1.1;
}
.about__badge .big { font-size: 34px; display: block; }
.feature-list { display: grid; gap: 22px; margin: 30px 0 34px; }
.feature-row { display: flex; gap: 16px; }
.feature-row__ico {
  width: 54px; height: 54px; flex: none; border-radius: 50%;
  background: var(--cream); color: var(--accent);
  display: grid; place-items: center; border: 1px solid var(--divider);
}
.section--dark .feature-row__ico { background: rgba(255,255,255,.06); border-color: var(--divider-dark); }
.feature-row__ico svg { width: 24px; height: 24px; }
.feature-row h4 { font-size: 19px; margin-bottom: 5px; }
.about__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--divider); }
.about__call { display: flex; align-items: center; gap: 14px; }
.about__call .c-ico { width: 50px; height: 50px; border-radius: 50%; background: var(--accent); color: var(--white); display: grid; place-items: center; }
.about__call .c-ico svg { width: 22px; height: 22px; }
.about__call small { display: block; font-size: 14px; }
.about__call strong { color: var(--charcoal); font-size: 18px; }

/* ==========================================================================
   CARDS grid (services / features / blog / projects)
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

/* Service card */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
  border: 1px solid var(--divider);
}
.service-card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__body { padding: 42px 28px 30px; }
.service-card__ico {
  position: absolute; left: 24px; bottom: 0; transform: translateY(50%); z-index: 2;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--white); color: var(--accent);
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--divider);
  transition: background .35s var(--ease), color .35s var(--ease);
}
.service-card__ico svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 22px; margin-bottom: 10px; }
.service-card p { margin-bottom: 22px; }
.service-card:hover { background: var(--charcoal); transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card:hover h3 { color: var(--white); }
.service-card:hover p { color: rgba(255,255,255,.66); }
.service-card:hover .service-card__ico { background: var(--accent); color: var(--white); }
.service-card:hover .link-arrow { color: var(--white); }

/* ==========================================================================
   WHY CHOOSE US (split)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 54px;
  align-items: center;
}
.why-list { display: grid; gap: 14px; margin-top: 30px; }
.why-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--divider-dark);
  border-radius: var(--radius);
  transition: background .3s var(--ease);
}
.why-item:hover { background: rgba(247, 136, 10, .12); }
.why-item__num { font-size: 18px; font-weight: 700; color: var(--accent); }
.why-item h4 { font-size: 19px; color: var(--white); }

/* ==========================================================================
   FUN FACTS (counters)
   ========================================================================== */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.fact {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
}
.fact .num { font-size: 52px; font-weight: 700; color: var(--charcoal); line-height: 1; }
.fact .num small { color: var(--accent); }
.fact h4 { font-size: 19px; margin: 14px 0 8px; }
.fact p { font-size: 15px; }

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.project {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
}
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.project:hover img { transform: scale(1.06); }
.project__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(28,29,24,.92) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px;
  opacity: 0; transition: opacity .35s var(--ease);
}
.project:hover .project__overlay { opacity: 1; }
.project__overlay span { color: var(--accent); font-size: 14px; font-weight: 600; }
.project__overlay h3 { color: var(--white); font-size: 21px; margin-top: 6px; }
.project__plus {
  position: absolute; top: 20px; right: 20px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  display: grid; place-items: center;
  transform: scale(0); transition: transform .35s var(--ease);
}
.project:hover .project__plus { transform: scale(1); }

/* ==========================================================================
   CTA / VIDEO band
   ========================================================================== */
.cta-band {
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 0;
  overflow: hidden;
}
.cta-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; align-items: center; }
.cta-band h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 40px); }
.play-btn {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  display: grid; place-items: center; margin-bottom: 24px;
  box-shadow: 0 0 0 0 rgba(247,136,10,.5);
  animation: pulse 2.4s infinite;
}
.play-btn svg { width: 26px; height: 26px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(247,136,10,.5);} 70% { box-shadow: 0 0 0 22px rgba(247,136,10,0);} 100% { box-shadow: 0 0 0 0 rgba(247,136,10,0);} }
.cta-stats { display: grid; gap: 14px; }
.cta-stats li { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; color: var(--white); }
.cta-stats svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

/* ==========================================================================
   FEATURES / APPROACH
   ========================================================================== */
.approach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.approach-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px;
  color: var(--white);
}
.approach-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.approach-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28,29,24,.15), rgba(28,29,24,.9)); }
.approach-card .tag { display: inline-block; align-self: flex-start; background: var(--accent); color: var(--white); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 14px; }
.approach-card h3 { color: var(--white); font-size: 24px; margin-bottom: 8px; }
.approach-card p { color: rgba(255,255,255,.78); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testi-card {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 32px;
}
.testi-card .quote-ico { width: 46px; height: 46px; color: var(--accent); margin-bottom: 20px; }
.testi-card .stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 16px; }
.testi-card .stars svg { width: 18px; height: 18px; }
.testi-card blockquote { font-size: 18px; color: var(--charcoal); line-height: 1.55; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testi-author strong { display: block; color: var(--charcoal); font-size: 17px; }
.testi-author small { color: var(--text); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: start; }
.faq-list { display: grid; gap: 14px; }
.faq {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px;
  font-size: 18px; font-weight: 600; color: var(--charcoal);
  text-align: left;
}
.faq__q .ico {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: var(--cream); color: var(--accent);
  display: grid; place-items: center; transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq__q .ico svg { width: 18px; height: 18px; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding: 0 26px 24px; }
.faq.is-open .faq__q { color: var(--accent); }
.faq.is-open .faq__q .ico { background: var(--accent); color: var(--white); transform: rotate(180deg); }

/* ==========================================================================
   SUPPLIERS logos
   ========================================================================== */
.suppliers { border-top: 1px solid var(--divider); }
.suppliers__row { display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap; }
.suppliers__row img { height: 40px; width: auto; opacity: .5; filter: grayscale(1); transition: opacity .3s; }
.suppliers__row img:hover { opacity: 1; }

/* ==========================================================================
   QUOTE / CONTACT form
   ========================================================================== */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 54px; align-items: start; }
.contact-lines { display: grid; gap: 18px; margin-top: 28px; }
.contact-line { display: flex; align-items: center; gap: 16px; }
.contact-line .c-ico { width: 54px; height: 54px; flex: none; border-radius: 50%; background: var(--accent); color: var(--white); display: grid; place-items: center; }
.contact-line .c-ico svg { width: 22px; height: 22px; }
.contact-line small { display: block; font-size: 14px; }
.contact-line strong { color: var(--charcoal); font-size: 18px; }
.section--dark .contact-line strong { color: var(--white); }

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--divider);
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--charcoal); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--charcoal);
  background: var(--cream);
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  transition: border-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-card { background: var(--white); border: 1px solid var(--divider); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-card__media img { transform: scale(1.06); }
.blog-card__body { padding: 26px; }
.blog-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-size: 14px; }
.blog-meta .cat { background: var(--cream); color: var(--accent); font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill); }
.blog-meta .date { color: var(--text); display: inline-flex; align-items: center; gap: 6px; }
.blog-meta .date svg { width: 15px; height: 15px; }
.blog-card h3 { font-size: 21px; line-height: 1.3; margin-bottom: 18px; }
.blog-card h3 a:hover { color: var(--accent); }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 180px 0 90px;
  color: var(--white);
  background: var(--charcoal);
  text-align: center;
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,29,24,.7), rgba(28,29,24,.85)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(36px, 5vw, 58px); margin-bottom: 14px; }
.breadcrumb { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.7); font-weight: 600; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 15px; height: 15px; color: var(--accent); }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: rgba(28,29,24,.35); opacity: 0; transition: opacity .3s; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item .zoom { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: var(--white); display: grid; place-items: center; transform: scale(0); transition: transform .35s var(--ease); z-index: 2; }
.gallery-item:hover .zoom { transform: scale(1); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--charcoal); color: rgba(255, 255, 255, .62); padding-top: 80px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.2fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--divider-dark);
}
.footer-contact { display: grid; gap: 10px; margin-bottom: 20px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--white); }
.footer-contact a:hover { color: var(--accent); }
.footer-contact svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.mobile-nav__contact { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--divider-dark); }
.mobile-nav__contact a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.82); }
.mobile-nav__contact a:hover { color: var(--accent); }
.mobile-nav__contact svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.footer-col .brand { margin-bottom: 22px; }
.footer-about p { margin-bottom: 22px; font-size: 15px; }
.footer-hours { display: grid; gap: 8px; }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.footer-hours li span:last-child { color: var(--white); font-weight: 600; }
.footer-col h4 { color: var(--white); font-size: 19px; margin-bottom: 22px; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { font-size: 15px; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--accent); padding-left: 6px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--white); display: grid; place-items: center; transition: background .25s, color .25s; }
.socials a:hover { background: var(--accent); }
.socials svg { width: 18px; height: 18px; }
.newsletter p { font-size: 15px; margin-bottom: 18px; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 160px; min-height: 52px; padding: 14px 16px; font-size: 16px; border-radius: var(--radius-sm); border: 1px solid var(--divider-dark); background: rgba(255,255,255,.05); color: var(--white); }
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter input:focus { outline: none; border-color: var(--accent); }
.newsletter button { width: 52px; height: 52px; flex: none; border-radius: var(--radius-sm); background: var(--accent); color: var(--white); display: grid; place-items: center; }
.footer-bottom { padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.footer-bottom a:hover { color: var(--accent); }

/* ==========================================================================
   HEADER — Log In link
   ========================================================================== */
.header-login {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--white);
  white-space: nowrap;
  padding: 11px 18px; border-radius: var(--radius-pill);
  background: rgba(43, 80, 224, .16);
  border: 1.5px solid rgba(43, 80, 224, .6);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.header-login svg { width: 18px; height: 18px; }
.header-login:hover { background: var(--blue); border-color: var(--blue); }
.header-estimate {
  background: rgba(247, 136, 10, .16);
  border-color: rgba(247, 136, 10, .6);
  color: var(--white);
}
.header-estimate:hover { background: var(--accent); border-color: var(--accent); }

/* ==========================================================================
   PORTAL band (client + contractor areas)
   ========================================================================== */
.portal-band { background: var(--white); }
.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  margin-bottom: 40px;
}
.portal-card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--divider);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 34px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.portal-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.portal-card__ico {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--white); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.portal-card__ico svg { width: 28px; height: 28px; }
.portal-card h3 { font-size: 23px; margin-bottom: 8px; }
.portal-card > p { font-size: 15px; }
.portal-card ul { display: grid; gap: 11px; margin-top: 20px; }
.portal-card li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--text-dark); }
.portal-card li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.portal-badge {
  position: absolute; top: 26px; right: 26px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  color: var(--accent); background: var(--white);
  padding: 5px 13px; border-radius: var(--radius-pill); border: 1px solid var(--divider);
}
.portal-login {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.portal-login p { font-size: 15px; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   HERO CTA row
   ========================================================================== */
.hero__cta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Zoom in/out pulse on the primary hero CTA */
@keyframes spZoom { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.055); } }
.btn--pulse { animation: spZoom 1.9s ease-in-out infinite; }
.btn--pulse:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .btn--pulse { animation: none; } }
.hero__cta .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.28); gap: 10px; }
.hero__cta .btn--ghost:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }

/* ==========================================================================
   TRUST BAR (credentials)
   ========================================================================== */
.trust-bar { background: var(--charcoal-90); border-top: 1px solid var(--divider-dark); padding: 58px 0 62px; }
.trust-bar__head { text-align: center; max-width: 620px; margin: 0 auto 34px; padding-top: 8px; }
.trust-bar__head .eyebrow { justify-content: center; }
.trust-bar__head h2 { color: var(--white); font-size: clamp(24px, 3.2vw, 34px); font-weight: 600; line-height: 1.15; }
.trust-bar__head p { color: rgba(255,255,255,.62); font-size: 15px; margin-top: 12px; }
.trust-bar__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  padding: 0;
}
.trust-badge {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 14px;
  padding: 28px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--divider-dark);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.trust-badge:hover { border-color: rgba(247,136,10,.5); background: rgba(247,136,10,.06); }
.trust-badge__ico {
  width: 56px; height: 56px; flex: none; border-radius: 50%;
  background: rgba(247,136,10,.14); color: var(--accent);
  display: grid; place-items: center; border: 1px solid rgba(247,136,10,.3);
}
.trust-badge__ico svg { width: 26px; height: 26px; }
.trust-badge strong { display: block; color: var(--white); font-size: 16px; font-weight: 700; line-height: 1.25; margin-bottom: 4px; }
.trust-badge p { color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.45; max-width: 26ch; margin-inline: auto; }

/* ==========================================================================
   FORM — honeypot, required, status notes
   ========================================================================== */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.field .req { color: var(--accent); }
.form-note { font-size: 14px; font-weight: 600; }
.form-note.is-success { color: #16A34A; }
.form-note.is-error { color: #DC2626; }
.form-note.is-pending { color: var(--text); }
.section--dark .form-note.is-pending { color: rgba(255,255,255,.7); }
button[data-loading] { opacity: .7; cursor: progress; }

/* ==========================================================================
   PORTFOLIO gallery (filter + cards + lightbox)
   ========================================================================== */
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.portfolio-filters button {
  padding: 11px 22px; min-height: 44px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600; color: var(--charcoal);
  background: var(--white); border: 1px solid var(--divider);
  transition: background .2s, color .2s, border-color .2s;
}
.portfolio-filters button:hover { border-color: var(--accent); color: var(--accent); }
.portfolio-filters button.is-active { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.portfolio-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--charcoal);
}
.portfolio-card__media { position: absolute; inset: 0; }
.portfolio-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.portfolio-card:hover .portfolio-card__media img { transform: scale(1.06); }
.portfolio-card__body {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  background: linear-gradient(180deg, transparent 40%, rgba(28,29,24,.92) 100%);
}
.portfolio-card__tag { color: var(--accent); font-size: 13px; font-weight: 600; }
.portfolio-card__body h3 { color: var(--white); font-size: 19px; margin-top: 5px; }
.portfolio-card__plus {
  position: absolute; top: 18px; right: 18px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--white);
  display: grid; place-items: center; transform: scale(0); transition: transform .35s var(--ease);
}
.portfolio-card:hover .portfolio-card__plus { transform: scale(1); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.lightbox__overlay { position: absolute; inset: 0; background: rgba(12,12,10,.92); }
.lightbox__inner {
  position: relative; z-index: 2; width: min(92vw, 1000px);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.lightbox__fig { max-width: 100%; text-align: center; }
.lightbox__fig img { max-width: min(84vw, 900px); max-height: 78vh; width: auto; border-radius: var(--radius); margin-inline: auto; }
.lightbox__fig figcaption { color: rgba(255,255,255,.8); font-size: 15px; margin-top: 14px; }
.lightbox__close {
  position: absolute; top: -46px; right: 0; width: 44px; height: 44px;
  color: var(--white); font-size: 34px; line-height: 1; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
}
.lightbox__nav {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: var(--white); font-size: 30px; line-height: 1;
  display: grid; place-items: center; transition: background .2s;
}
.lightbox__nav:hover { background: var(--accent); }
.lightbox__count { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 14px; }

/* ==========================================================================
   ARTICLE (blog posts + service detail prose)
   ========================================================================== */
.article { max-width: 780px; margin-inline: auto; }
.article .prose > * + * { margin-top: 20px; }
.article .prose h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 44px; }
.article .prose h3 { font-size: 21px; margin-top: 32px; }
.article .prose p, .article .prose li { font-size: 17px; line-height: 1.75; color: var(--text-dark); }
.article .prose ul { display: grid; gap: 10px; padding-left: 4px; }
.article .prose li { position: relative; padding-left: 30px; list-style: none; }
.article .prose li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px;
  background: var(--accent);
  -webkit-mask: url("../assets/icons/icon-sub-heading.svg") no-repeat center / contain;
          mask: url("../assets/icons/icon-sub-heading.svg") no-repeat center / contain;
}
.article .prose a { color: var(--accent); font-weight: 600; }
.article .prose a:hover { text-decoration: underline; }
.article .prose img { border-radius: var(--radius); margin: 12px 0; }
.article__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; font-size: 14px; color: var(--text); }
.article__meta .cat { background: var(--cream); color: var(--accent); font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill); }
.article__lead { font-size: 20px; line-height: 1.6; color: var(--charcoal); font-weight: 600; }
.callout {
  background: var(--cream); border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm); padding: 22px 24px; margin: 32px 0;
}
.callout p { margin: 0; font-size: 16px; }

/* ==========================================================================
   SERVICE DETAIL blocks (services.html anchored sections)
   ========================================================================== */
.svc-block { padding-block: 64px; border-bottom: 1px solid var(--divider); scroll-margin-top: 100px; }
.svc-block:nth-child(even) { background: var(--white); }
.svc-block__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px; align-items: center; }
.svc-block__media img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.svc-block h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 10px 0 16px; }
.svc-block h4 { font-size: 17px; margin: 22px 0 10px; color: var(--charcoal); }
.svc-block ul { display: grid; gap: 9px; margin-top: 8px; }
.svc-block li { position: relative; padding-left: 28px; font-size: 15px; color: var(--text-dark); }
.svc-block li::before { content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 15px; background: var(--accent); -webkit-mask: url("../assets/icons/icon-sub-heading.svg") no-repeat center / contain; mask: url("../assets/icons/icon-sub-heading.svg") no-repeat center / contain; }
.svc-block .warn { color: var(--accent-dark); font-weight: 600; }

/* City page hero intro list */
.city-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: start; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 991px) {
  .nav, .header-phone, .header-actions > .btn, .header-login { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }  /* nav is hidden — keep the hamburger pinned right */
  .site-header__bar { height: 76px; }
  .section { padding-block: 74px; }
  .hero { min-height: auto; padding-top: 130px; }
  .info-card--stat .num { font-size: 34px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding-block: 60px; }
  .section-head { margin-bottom: 36px; }
  .hero-cards { margin-top: 30px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .btn { padding: 15px 22px 15px 58px; }
  .marquee__track span { font-size: 20px; }
}

/* ==========================================================================
   STICKY CONTACT BAR — "Talk to us" (global, injected via main.js)
   Barlow UI text · brand cyan #22A7E0 · collapsed strip + expanded bottom sheet
   ========================================================================== */
body { padding-bottom: 42px; } /* room so the collapsed strip never hides footer content */

.spbar, .spbar-scrim, .spbar-panel, .spbar-qr {
  font-family: "Barlow", var(--font);
  box-sizing: border-box;
}

/* --- Collapsed strip --- */
.spbar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 60;
}
.spbar__strip {
  width: 100%;
  display: flex; align-items: center; gap: 8px;
  background: #22A7E0;
  padding: 9px 18px;
  cursor: pointer;
  border: none;
  box-shadow: 0 -4px 14px -6px rgba(0, 0, 0, .4);
  text-align: left;
}
.spbar__strip svg { flex: none; color: #fff; }
.spbar__ico { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.spbar__ico svg { width: 13px; height: 13px; }
.spbar__chev { width: 13px; height: 13px; }
.spbar__label {
  flex: 1; color: #fff;
  font-weight: 800; font-size: 12.5px; line-height: 1; letter-spacing: .3px;
}

/* --- Scrim --- */
.spbar-scrim {
  position: fixed; inset: 0;
  background: rgba(15, 18, 22, .55);
  z-index: 95;
  opacity: 0; visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}
.spbar-scrim.is-open { opacity: 1; visibility: visible; }

/* --- Expanded bottom-sheet panel --- */
.spbar-panel {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 96;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 30px -10px rgba(0, 0, 0, .4);
  transform: translateY(110%);
  transition: transform .28s cubic-bezier(.22, .61, .36, 1);
  overflow: hidden;
}
.spbar-panel.is-open { transform: translateY(0); }
/* Desktop: centre with a fixed-width margin (not transform) so the translateY
   show/hide animation never conflicts with an X-centering transform. */
@media (min-width: 720px) {
  .spbar-panel { left: 50%; right: auto; width: 420px; margin-left: -210px; }
}

.spbar-panel__header {
  background: #22A7E0;
  padding: 15px 20px;
  display: flex; align-items: center; gap: 12px;
  cursor: pointer;
}
.spbar-panel__chip {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.spbar-panel__chip svg { width: 16px; height: 16px; color: #fff; }
.spbar-panel__title { flex: 1; color: #fff; font-weight: 800; font-size: 16px; line-height: 1; }
.spbar-panel__header > svg { width: 18px; height: 18px; color: #fff; flex: none; }

/* --- Quick actions --- */
.spbar-actions {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px;
  padding: 16px 16px 6px;
}
.spbar-action {
  border: 1px solid #E6E8EC; border-radius: 12px;
  padding: 12px 4px;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  cursor: pointer; background: #fff; color: #16191F;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
.spbar-action:hover { background: #F4F9FC; border-color: #22A7E0; }
.spbar-action svg { width: 22px; height: 22px; color: #16191F; }
.spbar-action span {
  color: #16191F; font-weight: 800; font-size: 9px; line-height: 1.1;
  letter-spacing: .5px; text-transform: uppercase; text-align: center;
}
.spbar-action--save span { font-size: 8px; letter-spacing: .3px; }

/* --- Quick message form --- */
.spbar-form { padding: 10px 16px 16px; }
.spbar-form__title { color: #16191F; font-weight: 800; font-size: 14px; line-height: 1; margin: 6px 0 12px; }
.spbar-form__fields { display: flex; flex-direction: column; gap: 9px; }
.spbar-form input {
  width: 100%;
  border: 1px solid #E0E3E8; border-radius: 10px;
  padding: 11px 13px;
  font-family: "Barlow", var(--font); font-weight: 500; font-size: 13px; line-height: 1;
  color: #16191F; outline: none; background: #fff;
  transition: border-color .18s ease;
}
.spbar-form input::placeholder { color: #9AA1AB; }
.spbar-form input:focus { border-color: #22A7E0; }
.spbar-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.spbar-form__submit {
  width: 100%; margin-top: 12px;
  background: #22A7E0; border: none; border-radius: 11px;
  padding: 13px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  cursor: pointer;
  color: #fff; font-family: "Barlow", var(--font); font-weight: 800; font-size: 14px; letter-spacing: .3px;
  transition: background .18s ease, opacity .18s ease;
}
.spbar-form__submit:hover { background: #1B93C7; }
.spbar-form__submit:disabled { opacity: .65; cursor: default; }
.spbar-form__submit svg { width: 16px; height: 16px; color: #fff; }
.spbar-form .form-note { margin-top: 10px; font-size: 13px; font-weight: 600; display: none; }
.spbar-form .form-note.is-error { color: #C0392B; }
.spbar-form .form-note.is-success { color: #16A34A; }
.spbar-form .form-note.is-pending { color: #6b7280; }

/* --- Save-contact QR modal --- */
.spbar-qr {
  position: fixed; inset: 0; z-index: 110;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.spbar-qr.is-open { opacity: 1; visibility: visible; }
.spbar-qr__overlay { position: absolute; inset: 0; background: rgba(15, 18, 22, .6); }
.spbar-qr__card {
  position: relative; background: #fff; border-radius: 18px;
  padding: 26px 26px 22px; max-width: 320px; width: 100%; text-align: center;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .55);
}
.spbar-qr__close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: #F1F3F6; color: #16191F; font-size: 20px; line-height: 1; cursor: pointer;
}
.spbar-qr__card h4 { font-family: "Barlow", var(--font); font-weight: 800; font-size: 18px; color: #16191F; margin-bottom: 4px; }
.spbar-qr__card p { font-family: "Barlow", var(--font); font-size: 13px; color: #6b7280; margin-bottom: 16px; }
.spbar-qr__code { width: 200px; height: 200px; margin: 0 auto 16px; }
.spbar-qr__code img { width: 100%; height: 100%; display: block; }
.spbar-qr__dl {
  display: inline-flex; align-items: center; gap: 8px;
  background: #22A7E0; color: #fff; text-decoration: none;
  font-family: "Barlow", var(--font); font-weight: 800; font-size: 14px;
  padding: 11px 20px; border-radius: 11px;
}
.spbar-qr__dl svg { width: 16px; height: 16px; }
.spbar-qr__contact { margin-top: 14px; font-family: "Barlow", var(--font); font-size: 13px; color: #16191F; }
.spbar-qr__contact a { color: #22A7E0; text-decoration: none; font-weight: 700; }
