/* ============================================================
   Header / Footer / Hero / Sections / Mega menu
   ============================================================ */

/* ---------------- HEADER (warm cream — never pure white) ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-base);
}
.site-header.scrolled { box-shadow: 0 2px 4px rgba(28,15,10,0.05); }

.utility-bar {
  background: var(--text-heading);   /* deep mocha */
  color: rgba(251, 245, 238, 0.7);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  height: var(--utility-h);
  display: flex; align-items: center;
  transition: max-height var(--t-base), opacity var(--t-base);
  overflow: hidden;
}
.utility-bar .container {
  display: flex; justify-content: space-between; align-items: center;
}
.utility-bar a { color: rgba(251, 245, 238, 0.7); }
.utility-bar a:hover { color: var(--bg-main); }
.utility-bar ul { display: flex; gap: 18px; align-items: center; }
.utility-bar .util-contact { display: flex; gap: 18px; align-items: center; }
.utility-bar .util-contact .sep { color: rgba(251, 245, 238, 0.25); }
.site-header.scrolled .utility-bar { max-height: 0; opacity: 0; padding: 0; }

@media (max-width: 767px) { .utility-bar { display: none; } }

.main-header {
  height: var(--header-h);
  display: flex; align-items: center;
}
.main-header .container {
  display: flex; align-items: center; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
/* Wide logo (EASY + tagline baked in) — scale by height, keep aspect */
.brand img {
  width: auto;
  height: 56px;
  max-height: 56px;
  border-radius: 0;
  object-fit: contain;
  display: block;
}
/* The new logo already contains the wordmark + tagline, so hide the
   redundant text block. Kept in markup for SEO / screen-reader fallback. */
.brand-text {
  line-height: 1.1;
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 540px) {
  .brand img { height: 44px; }
}
.brand-text .b1 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  font-style: italic;
  color: var(--text-heading);
  letter-spacing: -.01em;
  line-height: 1;
}
.brand-text .b2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
/* Each tagline word styled as a distinct EASY-brand pill */
.brand-text .b2 .seg {
  display: inline-block;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.10em;
  line-height: 1.4;
  transition: transform var(--t-fast), background var(--t-fast);
}
.brand-text .b2 .seg-1 { background: rgba(196, 98, 45, 0.10);  color: var(--primary); }       /* terracotta */
.brand-text .b2 .seg-2 { background: rgba(30, 92, 156, 0.10);  color: var(--accent-blue); }   /* blue */
.brand-text .b2 .seg-3 { background: rgba(107, 63, 160, 0.10); color: var(--accent-purple); } /* purple */
.brand-text .b2 .seg-4 { background: rgba(200, 150, 62, 0.12); color: #9A6F1E; }              /* gold */
.brand:hover .b2 .seg { transform: translateY(-1px); }
.brand-text .b2 .seg-dot {
  color: var(--border-strong);
  font-weight: 700;
  display: none; /* the pill backgrounds carry the separation visually now */
  letter-spacing: .08em;
}
@media (max-width: 540px) {
  .brand img { width: 40px; height: 40px; }
  .brand-text .b1 { font-size: 16px; }
  .brand-text .b2 { display: none; }
}

/* Search */
.header-search {
  flex: 1;
  display: flex;
  position: relative;
  max-width: 440px;
}
.header-search input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-heading);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.header-search input:focus {
  outline: none;
  background: var(--bg-main);
  border-color: var(--primary);
}
.header-search svg {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
@media (max-width: 1023px) { .header-search { display: none; } }

.header-utils {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto;
}
.icon-btn {
  width: 40px; height: 40px;
  border: 0;
  background: transparent;
  border-radius: 50%;
  color: var(--text-heading);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  transition: background var(--t-fast), color var(--t-fast);
  cursor: pointer;
}
.icon-btn:hover { background: var(--bg-alt); color: var(--primary); }
.icon-btn .badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; justify-content: center;
}
.header-cta {
  margin-left: 8px;
}
@media (max-width: 767px) { .header-cta { display: none; } }

/* Hamburger */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 0; background: transparent;
  cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--text-heading);
}
@media (max-width: 1023px) {
  .menu-toggle { display: inline-flex; }
}

/* Nav */
.nav-bar {
  border-top: 1px solid var(--border);
}
.nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-list {
  display: flex; gap: 4px; align-items: center;
}
.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-heading);
  position: relative;
}
.nav-list > li > a::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px;
  bottom: 6px;
  height: 1.5px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 400ms cubic-bezier(.2, .8, .2, 1);
}
.nav-list > li > a:hover::after,
.nav-list > li.active > a::after { transform: scaleX(1); }
.nav-list > li.active > a       { color: var(--primary); }
.nav-list > li.has-mega { position: static; }
.nav-list > li > a .caret { transition: transform var(--t-base); }
.nav-list > li.has-mega:hover > a .caret { transform: rotate(180deg); }

@media (max-width: 1023px) { .nav-bar { display: none; } }

/* Mega menu */
.mega {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--bg-main);
  border-top: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(28, 15, 10, 0.08);
  padding: 32px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
  z-index: 50;
}
.nav-list > li.has-mega:hover .mega,
.nav-list > li.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.mega h5 {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 14px;
}
.mega ul li a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-body);
}
.mega ul li a:hover { color: var(--primary); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 200;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer .drawer-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px var(--container-pad);
  border-bottom: 1px solid var(--border);
}
.mobile-drawer ul { padding: 16px var(--container-pad); }
.mobile-drawer ul a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  border-bottom: 1px solid var(--border);
}
.mobile-drawer .drawer-cta {
  padding: 16px var(--container-pad);
  border-top: 1px solid var(--border);
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: 100vh;          /* fallback for older browsers */
  min-height: 100svh;         /* small viewport — accounts for mobile browser chrome */
  min-height: 100dvh;         /* dynamic viewport — adjusts as mobile UI bars show/hide */
  background: var(--bg-alt);
  overflow: hidden;
}
.hero-slides {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
/* Slide content fades up slightly behind the bg movement */
.hero-slide .hero-slide-content .inner > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms ease-out, transform 800ms ease-out;
}
.hero-slide.active .hero-slide-content .inner > *           { opacity: 1; transform: none; transition-delay: 400ms; }
.hero-slide.active .hero-slide-content .inner > *:nth-child(2) { transition-delay: 520ms; }
.hero-slide.active .hero-slide-content .inner > *:nth-child(3) { transition-delay: 640ms; }
.hero-slide.active .hero-slide-content .inner > *:nth-child(4) { transition-delay: 760ms; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-position: center;
  background-size: cover;
  z-index: 1;
  will-change: transform;
  transform: scale(1.05) translate3d(var(--mx, 0px), var(--my, 0px), 0);
}

/* Ken Burns "plays like a video" effect — slow zoom + drift only on the
   currently visible slide, so each slide gets a fresh cinematic motion. */
@keyframes epKenBurns {
  0%   { transform: scale(1.05) translate3d(0, 0, 0); }
  100% { transform: scale(1.18) translate3d(-2%, -1.5%, 0); }
}
.hero-slide.active .hero-slide-bg {
  animation: epKenBurns 9s ease-out forwards;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.active .hero-slide-bg { animation: none; transform: scale(1.05); }
}
.hero-slide-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(28,15,10,0.55) 0%, rgba(28,15,10,0.20) 60%, rgba(28,15,10,0.10) 100%);
}
/* Clean variant: image speaks for itself — no dark overlay */
.hero-slide--clean .hero-slide-bg::after { background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 35%); }
.hero-slide--clean .hero-slide-content { align-items: flex-end; padding-bottom: 60px; }
.hero-slide--clean .hero-slide-content .inner { max-width: 100%; text-align: center; }
.hero-slide--clean .hero-actions { justify-content: center; }
.hero-slide-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; align-items: center;
  padding: 100px 0;
}
.hero-slide-content .inner { max-width: 640px; color: #fff; }
.hero-slide-content .eyebrow { color: #fff; opacity: .9; }
.hero-slide-content h1 { color: #fff; }
.hero-slide-content p { font-size: 1.05rem; color: #f0f0f0; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 28px;
  display: flex; gap: 10px; justify-content: center;
  z-index: 5;
}
.hero-dots button {
  width: 36px; height: 3px;
  border: 0;
  background: rgba(251, 245, 238, 0.35);
  border-radius: 2px;
  cursor: pointer;
  transition: background 400ms ease-out, width 400ms ease-out;
  position: relative;
  overflow: hidden;
}
.hero-dots button.active {
  background: rgba(251, 245, 238, 0.25);
  width: 72px;
}
/* Progress fill that matches the slide auto-advance interval (8.5s) */
.hero-dots button.active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-main);
  transform-origin: left center;
  animation: epDotProgress 8.5s linear forwards;
}
@keyframes epDotProgress {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-dots button.active::after { animation: none; transform: scaleX(1); }
}

/* Hero CTA buttons: subtle slow shimmer on hover */
.hero-actions .btn {
  position: relative;
  overflow: hidden;
}
.hero-actions .btn::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(251,245,238,0.20) 50%, transparent 100%);
  transition: left 850ms cubic-bezier(.4, 0, .2, 1);
}
.hero-actions .btn:hover::before { left: 130%; }

/* ---------- Scroll-cue chevron at the bottom of the hero ---------- */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--bg-main);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.hero-scroll-cue .chev {
  width: 14px; height: 14px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: epScrollCue 1.6s ease-in-out infinite;
}
@keyframes epScrollCue {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: .4; }
  50%      { transform: rotate(45deg) translate(2px, 2px); opacity: 1; }
}
@media (max-width: 767px) { .hero-scroll-cue { bottom: 64px; font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll-cue .chev { animation: none; } }

/* ---------- Floating WhatsApp pulse CTA ---------- */
.ep-fab {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;     /* WhatsApp brand green — universally recognised */
  color: #fff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.40);
  display: flex; align-items: center; justify-content: center;
  z-index: 800;
  text-decoration: none;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.ep-fab:hover {
  color: #fff;
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}
.ep-fab::before, .ep-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: epPulse 2.4s ease-out infinite;
  pointer-events: none;
}
.ep-fab::after  { animation-delay: 1.2s; }
@keyframes epPulse {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(1.8); opacity: 0;  }
}
@media (prefers-reduced-motion: reduce) {
  .ep-fab::before, .ep-fab::after { animation: none; opacity: 0; }
}
@media (max-width: 540px) {
  .ep-fab { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}

/* ---------- Header brand logo: gentle colour-cycle hover ---------- */
.brand img {
  transition: transform var(--t-base), filter var(--t-base);
}
.brand:hover img {
  animation: epLogoCycle 2.4s ease-in-out infinite;
  transform: rotate(-2deg);
}
@keyframes epLogoCycle {
  0%, 100% { filter: hue-rotate(0deg)   saturate(1); }
  25%      { filter: hue-rotate(60deg)  saturate(1.15); }
  50%      { filter: hue-rotate(180deg) saturate(1.10); }
  75%      { filter: hue-rotate(280deg) saturate(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .brand:hover img { animation: none; transform: none; }
}

/* ---------- 3D tilt for product cards (cursor-tracked) ---------- */
.product-card[data-tilt] {
  transform-style: preserve-3d;
  transform: perspective(800px)
             rotateX(calc(var(--tx, 0) * 1deg))
             rotateY(calc(var(--ty, 0) * 1deg))
             translateZ(0);
  transition: transform 220ms ease-out, box-shadow 220ms ease-out;
}
.product-card[data-tilt]:hover {
  box-shadow: var(--shadow-3);
}
@media (prefers-reduced-motion: reduce) {
  .product-card[data-tilt] { transform: none; }
}

/* ---------- Animated "By the Numbers" band ---------- */
.numbers-band {
  background:
    radial-gradient(circle at 15% 30%, rgba(196, 98, 45, 0.18) 0%, transparent 35%),
    radial-gradient(circle at 85% 70%, rgba(245, 166, 35, 0.16) 0%, transparent 35%),
    linear-gradient(135deg, var(--text-heading) 0%, #3A1E13 60%, var(--primary) 100%);
  color: var(--text-on-dark);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.numbers-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(251, 245, 238, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.numbers-band .container { position: relative; z-index: 1; }
.numbers-band .nb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.numbers-band .nb-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 5vw, 80px);
  line-height: 1;
  color: var(--bg-main);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.numbers-band .nb-num em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-yellow);
}
.numbers-band .nb-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 245, 238, 0.75);
}
@media (max-width: 767px) {
  .numbers-band { padding: 56px 0; }
  .numbers-band .nb-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}

/* ---------- SVG paint-splash divider between sections ---------- */
.splash-divider {
  height: 64px;
  width: 100%;
  display: block;
  margin: -1px 0;
  pointer-events: none;
}
.splash-divider svg { width: 100%; height: 100%; display: block; }

/* ---------- Magazine-style asymmetric grid (products + projects pages) ---------- */
@media (min-width: 900px) {
  .product-grid.is-magazine,
  .project-grid.is-magazine {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(220px, auto);
  }
  .product-grid.is-magazine > *:first-child,
  .project-grid.is-magazine > *:first-child {
    grid-column: span 2;
    grid-row:    span 2;
  }
  .product-grid.is-magazine > *:first-child .card-img,
  .project-grid.is-magazine > *:first-child .card-img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 440px;
  }
  .product-grid.is-magazine > *:first-child h3,
  .project-grid.is-magazine > *:first-child h3 {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .hero-slide-content { padding: 80px 0 100px; }
}
/* Very short viewports (landscape phones / split screens):
   give the content a sensible floor so it doesn't squish below readability */
@media (max-height: 480px) {
  .hero, .hero-slides {
    min-height: 480px;
  }
  .hero-slide-content { padding: 64px 0; }
}

/* ---------------- ICON GRID (quick access) ---------------- */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.quick-grid a {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 28px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  gap: 12px;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.quick-grid a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--primary);
}
.quick-grid a span { font-size: 13px; font-weight: 600; color: var(--text-heading); line-height: 1.3; }
/* Rotate Quick Access icon-bubble accents through the EASY palette */
.quick-grid a:nth-child(1) .icon-bubble { background: rgba(196, 98, 45, 0.14);  color: var(--primary); }
.quick-grid a:nth-child(2) .icon-bubble { background: rgba(30, 92, 156, 0.14);  color: var(--accent-blue); }
.quick-grid a:nth-child(3) .icon-bubble { background: rgba(107, 63, 160, 0.14); color: var(--accent-purple); }
.quick-grid a:nth-child(4) .icon-bubble { background: rgba(245, 166, 35, 0.16); color: #B47813; }
.quick-grid a:nth-child(5) .icon-bubble { background: rgba(92, 107, 74, 0.16);  color: var(--accent-sage); }
.quick-grid a:nth-child(6) .icon-bubble { background: rgba(200, 150, 62, 0.16); color: var(--accent-gold); }

@media (max-width: 1023px) { .quick-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px)  { .quick-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- USP grid ---------------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.usp-grid .usp-cell {
  padding: 40px 28px;
  text-align: center;
  border-right: 1px dashed var(--border-strong);
  border-bottom: 1px dashed var(--border-strong);
}
.usp-grid .usp-cell:nth-child(3n) { border-right: 0; }
.usp-grid .usp-cell:nth-last-child(-n+3) { border-bottom: 0; }
.usp-grid h4 { margin: 18px 0 8px; }
.usp-grid p { color: var(--text-muted); font-size: 14px; margin: 0; }
/* Rotate the icon-bubble accent through the EASY logo palette so the
   six USPs feel vibrant and varied. */
.usp-grid .usp-cell:nth-child(1) .icon-bubble { background: rgba(196, 98, 45, 0.12);  color: var(--primary); }
.usp-grid .usp-cell:nth-child(2) .icon-bubble { background: rgba(30, 92, 156, 0.12);  color: var(--accent-blue); }
.usp-grid .usp-cell:nth-child(3) .icon-bubble { background: rgba(107, 63, 160, 0.12); color: var(--accent-purple); }
.usp-grid .usp-cell:nth-child(4) .icon-bubble { background: rgba(245, 166, 35, 0.14); color: #B47813; }
.usp-grid .usp-cell:nth-child(5) .icon-bubble { background: rgba(92, 107, 74, 0.14);  color: var(--accent-sage); }
.usp-grid .usp-cell:nth-child(6) .icon-bubble { background: rgba(200, 150, 62, 0.14); color: var(--accent-gold); }

@media (max-width: 1023px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-grid .usp-cell { border-right: 1px dashed var(--border-strong); border-bottom: 1px dashed var(--border-strong); }
  .usp-grid .usp-cell:nth-child(3n) { border-right: 1px dashed var(--border-strong); }
  .usp-grid .usp-cell:nth-child(2n) { border-right: 0; }
  .usp-grid .usp-cell:nth-last-child(-n+3) { border-bottom: 1px dashed var(--border-strong); }
  .usp-grid .usp-cell:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 540px) {
  .usp-grid { grid-template-columns: 1fr; }
  .usp-grid .usp-cell { border-right: 0 !important; }
}

/* ---------------- Stats bar ---------------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--text-heading);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}
.stats-bar .stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stats-bar .stat-label {
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
@media (max-width: 767px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 32px 20px; }
  .stats-bar .stat-num { font-size: 1.75rem; }
}

/* ---------------- Lead capture (split card) ---------------- */
.lead-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--border);
}
.lead-card .lead-brand {
  padding: 48px 40px;
  background: linear-gradient(135deg, var(--text-heading) 0%, #3A1E13 60%, var(--primary) 100%);
  color: var(--text-on-dark);
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.lead-card .lead-brand .eyebrow { color: #fff; opacity: .9; }
.lead-card .lead-brand h2 { color: #fff; margin: 0 0 8px; }
.lead-card .lead-brand p { margin: 0 0 20px; font-size: 15px; opacity: .92; }
.lead-card .lead-brand .lead-stamps { display: flex; gap: 10px; flex-wrap: wrap; }
.lead-card .lead-brand .lead-stamps span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
  font-size: 12px;
}
.lead-card .lead-form { padding: 40px; }
.lead-card .lead-form h3 { margin: 0 0 18px; }
@media (max-width: 900px) {
  .lead-card { grid-template-columns: 1fr; }
  .lead-card .lead-brand, .lead-card .lead-form { padding: 32px 24px; }
}

/* ---------------- Process steps ---------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.process-step {
  text-align: center;
  position: relative;
  padding: 24px 16px;
}
.process-step .num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  border: 2px solid var(--primary);
  margin: 0 auto 16px;
}
.process-step h4 { margin: 0 0 8px; }
.process-step p { color: var(--text-muted); font-size: 14px; margin: 0; }
@media (max-width: 1023px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .process-grid { grid-template-columns: 1fr; } }

/* ---------------- Pricing table ---------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.pricing-card:hover { border-color: var(--primary); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-2);
}
.pricing-card.popular .popular-tag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}
.pricing-card .tier-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pricing-card .tier-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--text-heading);
  margin: 0;
}
.pricing-card .tier-price small {
  font-weight: 500;
  font-size: .85rem;
  color: var(--text-muted);
}
.pricing-card ul {
  margin: 12px 0 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.pricing-card li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-body);
}
.pricing-card li svg { flex-shrink: 0; margin-top: 3px; color: var(--success); }
.pricing-card li.off { color: var(--text-muted); }
.pricing-card li.off svg { color: var(--border-strong); }
.pricing-card .btn { margin-top: auto; }
@media (max-width: 1023px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------------- Showcase strip ---------------- */
.showcase-strip {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  background: var(--bg-alt);
  padding: 24px;
  border-radius: var(--radius-lg);
  align-items: center;
}
.showcase-strip + .showcase-strip { margin-top: 20px; }
.showcase-strip .showcase-meta h3 { margin: 0 0 8px; }
.showcase-strip .showcase-meta p  { color: var(--text-muted); font-size: 14px; margin: 0 0 12px; }
.showcase-strip .showcase-track {
  display: flex; gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 6px;
}
.showcase-strip .showcase-track > * {
  flex: 0 0 200px;
  scroll-snap-align: start;
}
@media (max-width: 767px) {
  .showcase-strip { grid-template-columns: 1fr; }
}

/* ---------------- Filter sidebar (products page) ---------------- */
.products-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}
.filter-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.filter-sidebar h4 {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 16px 0 10px;
}
.filter-sidebar h4:first-child { margin-top: 0; }
.filter-sidebar ul li {
  padding: 6px 0;
  font-size: 14px;
}
.filter-sidebar ul li a, .filter-sidebar ul li button {
  background: transparent; border: 0;
  font: inherit; color: var(--text-body);
  padding: 0; cursor: pointer;
  text-align: left;
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
}
.filter-sidebar ul li a:hover, .filter-sidebar ul li button:hover { color: var(--primary); }
.filter-sidebar ul li.active a, .filter-sidebar ul li.active button { color: var(--primary); font-weight: 600; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
@media (max-width: 1023px) {
  .products-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
}

.filter-tabs {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 28px;
}

/* ---------------- Project gallery ---------------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.project-card { position: relative; }
.project-card .card-img { aspect-ratio: 4/3; }
.project-card .project-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #fff;
}
.project-card .project-meta h3 { color: #fff; margin: 0 0 4px; font-size: 1.1rem; }
.project-card .project-meta .project-loc { font-size: 12px; opacity: .85; letter-spacing: .04em; }
.project-card .project-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Placeholder coloured tiles for projects when no image is set */
.tile-bg {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--accent-yellow));
  position: relative;
}
.tile-bg.b-blue   { background: linear-gradient(135deg, var(--accent-blue), #3a8dde); }
.tile-bg.b-purple { background: linear-gradient(135deg, var(--accent-purple), #b074d4); }
.tile-bg.b-yellow { background: linear-gradient(135deg, var(--accent-yellow), #f9c66d); }
.tile-bg.b-mix    { background: linear-gradient(135deg, var(--primary), var(--accent-purple)); }
.tile-bg.b-red    { background: linear-gradient(135deg, #C13A0E, var(--primary)); }

/* ---------------- Page hero (non-home) — bright cream + brand accent strip ---------------- */
.page-hero {
  position: relative;
  padding: 112px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 80% 0%, rgba(245, 166, 35, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 10% 100%, rgba(196, 98, 45, 0.10) 0%, transparent 45%),
    linear-gradient(180deg, #FCF8F1 0%, var(--bg-main) 60%, var(--bg-alt) 100%);
  overflow: hidden;
}
/* EASY logo accent strip — 4 brand squares peeking from the top edge */
.page-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--accent-blue)   0%,  var(--accent-blue)  25%,
    var(--accent-purple) 25%, var(--accent-purple) 50%,
    #C13A0E              50%, #C13A0E              75%,
    var(--accent-yellow) 75%, var(--accent-yellow) 100%
  );
}
/* Decorative paint splash blob, top-right corner */
.page-hero::after {
  content: "";
  position: absolute;
  top: 12%; right: -8%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(196, 98, 45, 0.10) 0%, transparent 60%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  margin-bottom: 16px;
  color: var(--text-heading);
}
.page-hero p {
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.65;
}
@media (max-width: 767px) {
  .page-hero { padding: 72px 0 56px; }
  .page-hero::after { width: 220px; height: 220px; }
}
.breadcrumbs {
  display: flex; justify-content: center; gap: 8px;
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { color: var(--border-strong); }

/* ---------------- Calculator ---------------- */
.calc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}
.calc-result {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex; flex-direction: column; justify-content: center;
}
.calc-result .calc-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 8px 0;
}
.calc-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.calc-option input { display: none; }
.calc-option label {
  display: block;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.calc-option input:checked + label {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  font-weight: 600;
}
@media (max-width: 767px) { .calc-card { grid-template-columns: 1fr; padding: 24px; } }

/* ---------------- Testimonials carousel ---------------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  width: clamp(280px, 90vw, 720px);
}
.testimonial-card .quote {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.4;
  margin: 0 0 16px;
}
.testimonial-card .author { font-size: 14px; color: var(--text-muted); }
.testimonial-card .author strong { color: var(--text-heading); }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 64px 0 0;
}
/* Link columns row — 4 cols desktop, 2×2 on mobile/tablet */
.site-footer .footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 40px;
  margin-bottom: 48px;
}
.site-footer h5 {
  color: #fff;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: var(--footer-text); font-size: 14px; }
.site-footer a:hover { color: #fff; }
/* Brand row — full-width below the link columns */
.site-footer .footer-brand {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--footer-line);
  max-width: 760px;
}
.site-footer .footer-brand .ft-brand {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.site-footer .footer-brand .ft-brand img {
  height: 44px; width: auto;
  border-radius: 0;
  object-fit: contain;
  display: block;
}
.site-footer .footer-brand p { font-size: 14px; line-height: 1.7; margin: 0 0 16px; }

/* Offices grid — 3 cols below the brand block */
.site-footer .footer-offices {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--footer-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
}
.site-footer .footer-office h5 {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.site-footer .footer-office p {
  color: var(--footer-text);
  margin: 0 0 10px;
}
.site-footer .footer-office .contact-line { margin-bottom: 4px; font-size: 13px; }
.site-footer .footer-office .contact-line svg { color: var(--primary); }
.site-footer .contact-line { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; }
.site-footer .contact-line svg { color: var(--primary); flex-shrink: 0; }

.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--footer-line);
  border-radius: 50%;
  color: var(--footer-text);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.social-links a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.copyright {
  border-top: 1px solid var(--footer-line);
  padding: 20px 0;
  font-size: 13px;
}
.copyright .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.copyright a { color: var(--footer-text); }
.copyright a:hover { color: #fff; }

@media (max-width: 1023px) {
  .site-footer .footer-links   { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .site-footer .footer-offices { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; margin-top: 32px; }
  .site-footer .footer-brand   { max-width: 100%; padding-top: 32px; margin-top: 32px; }
}
/* On phones we keep the link columns 2-up (Services + Products row, Company + Tools row) */
@media (max-width: 540px) {
  .site-footer .footer-links { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}
