/* =========================================================
   WebPro Design
   Premium boutique agency site · Bootstrap 5 layer
   Dark (default) + Light themes via [data-theme]
   ========================================================= */

/* ---------- Theme tokens ---------- */
:root {
  --copper:        #cf914f;
  --copper-bright: #e6ad6c;
  --copper-deep:   #a96b30;

  /* dark theme (default) */
  --bg:        #160f09;
  --bg-grad-1: #241813;
  --bg-grad-2: #14100c;
  --surface:   #211710;
  --surface-2: #2a1f15;
  --surface-3: #32261a;
  --border:        rgba(214,168,110,0.14);
  --border-strong: rgba(214,168,110,0.30);
  --text:       #f4ecdf;
  --text-soft:  #d8ccb9;
  --text-muted: #a3917a;
  --shadow:     0 24px 60px -24px rgba(0,0,0,0.7);
  --shadow-sm:  0 10px 30px -16px rgba(0,0,0,0.6);
  --glow:       radial-gradient(900px 520px at 18% -8%, rgba(207,145,79,0.20), transparent 60%);
  --hero-photo-fade: linear-gradient(180deg, rgba(22,15,9,0) 0%, rgba(22,15,9,0.65) 100%);
}

[data-theme="light"] {
  --copper:        #b06d34;
  --copper-bright: #c4843f;
  --copper-deep:   #8a521f;

  --bg:        #f4eee4;
  --bg-grad-1: #fbf7f0;
  --bg-grad-2: #efe7da;
  --surface:   #ffffff;
  --surface-2: #fbf6ee;
  --surface-3: #f4ecde;
  --border:        rgba(74,48,22,0.14);
  --border-strong: rgba(74,48,22,0.26);
  --text:       #2a1d12;
  --text-soft:  #4a3a2a;
  --text-muted: #7a6852;
  --shadow:     0 30px 60px -30px rgba(74,48,22,0.30);
  --shadow-sm:  0 14px 34px -20px rgba(74,48,22,0.24);
  --glow:       radial-gradient(900px 520px at 18% -8%, rgba(176,109,52,0.14), transparent 60%);
  --hero-photo-fade: linear-gradient(180deg, rgba(244,238,228,0) 0%, rgba(244,238,228,0.55) 100%);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--glow);
  pointer-events: none;
  z-index: 0;
}

main { position: relative; z-index: 1; }

h1, h2, h3, h4, h5, .display {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}
.clientlogo{ border-radius: 10px;border: 1px solid var(--border);}
p { margin: 0 0 1rem; color: var(--text-soft); }
a { color: var(--copper); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--copper-bright); }

.text-muted-2 { color: var(--text-muted) !important; }
.text-copper { color: var(--copper) !important; }
::selection { background: var(--copper); color: #160f09; }

/* ---------- Layout helpers ---------- */
.container { max-width: 1200px; }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section-tight { padding: clamp(48px, 6vw, 84px) 0; }
.lead-w { max-width: 720px; }
.measure { max-width: 60ch; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 38px;
  height: 1.5px;
  background: var(--copper);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

.section-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin-bottom: 1.1rem;
}
.section-sub { font-size: 1.12rem; color: var(--text-muted); max-width: 640px; }
.abtimg{ border-radius: 10px;}
/* ---------- Buttons ---------- */
.btn {
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 600;
  border-radius: 100px;
  padding: 0.72rem 1.5rem;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: transform .18s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.btn-copper {
  background: var(--copper);
  color: #1a1109;
  border-color: var(--copper);
}
.btn-copper:hover {
  background: var(--copper-bright);
  border-color: var(--copper-bright);
  color: #1a1109;
  box-shadow: 0 14px 30px -12px rgba(207,145,79,0.55);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--copper);
  color: var(--copper);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: #1faa55;
  color: #fff;
  border-color: #1faa55;
}
.btn-whatsapp:hover {
  background: #25c364;
  border-color: #25c364;
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(31,170,85,0.5);
  transform: translateY(-2px);
}
.btn-lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }
.btn-link-arrow {
  background: none;
  border: none;
  padding: 0;
  color: var(--copper);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn-link-arrow:hover { gap: .8rem; color: var(--copper-bright); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050; /* above the offcanvas backdrop (1040) so the slide-in menu is visible */
  transition: border-color .3s ease;
  border-bottom: 1px solid transparent;
}
/* NOTE: the scrolled background/blur lives on this ::before pseudo-element
   rather than directly on .site-header. backdrop-filter (like transform/filter)
   creates a new containing block for position:fixed descendants — and #mainNav
   (the offcanvas) is a fixed-position descendant of .site-header. If the
   header itself carried backdrop-filter, the offcanvas would position itself
   relative to the ~90px-tall header instead of the viewport as soon as you
   scrolled, which is what caused it to appear "hidden"/squashed on open. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
}
.site-header.scrolled::before {
  opacity: 1;
}
.site-header .navbar { padding: 0.85rem 0; }

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Bricolage Grotesque", sans-serif;
  padding: 0;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
  color: #f75b0f;
}
/* Logo image — theme-swapped */
.brand-logo { height: 70px; width: auto; display: block; }
.brand-logo-color { display: none; }
[data-theme="light"] .brand-logo-cream { display: none; }
[data-theme="light"] .brand-logo-color { display: block; }
.offcanvas-header .brand-logo { height: 38px; }
.footer-brand .brand-logo { height: 50px; }
@media (max-width: 575.98px) { .brand-logo { height: 60px; } }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--copper-bright), var(--copper-deep));
  color: #1a1109;
  font-weight: 800;
  font-size: 1.35rem;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px -8px rgba(207,145,79,0.6);
  flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.18rem; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
.brand-text strong span { color: var(--copper); }
.brand-text small {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
}

/* Toggler — top right, custom hamburger */
.navbar-toggler {
  border: 0px solid var(--border-strong);
  order: 3;
}
.navbar-toggler:focus { box-shadow: none; }
.toggler-box { display: grid; gap: 6px; width: 40px; }
.toggler-box span {
  height: 6px; width: 100%;
  background: #e46902;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

.nav-link {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.4rem 0.95rem !important;
  position: relative;
  transition: color .2s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--copper); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.95rem; right: 0.95rem; bottom: -2px;
  height: 2px; border-radius: 2px;
  background: var(--copper);
}

.nav-actions { display: flex; align-items: center; gap: 0.6rem; }

/* Theme toggle */
.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  display: grid; place-items: center;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, color .2s ease;
}
.theme-toggle:hover { border-color: var(--copper); color: var(--copper); transform: rotate(12deg); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Offcanvas (mobile slide-in from left) */
.offcanvas { background: var(--bg); color: var(--text); }

/* Reliable left slide-in below the lg breakpoint (id beats Bootstrap defaults) */
@media (max-width: 991.98px) {
  #mainNav.offcanvas-start {
    width: min(86vw, 360px) !important;
    transform: translateX(-100%);
    transition: transform .34s cubic-bezier(.2,.7,.2,1);
    visibility: visible;
    /* Must sit above .site-header (1050) or the fixed header covers the
       panel's top area (logo + close button), making it look/feel stuck. */
    z-index: 1055;
  }
  #mainNav.offcanvas-start.show { transform: translateX(0) !important; }
  /* Keep the panel visible through the closing ("hiding") transition too,
     otherwise it vanishes instantly instead of sliding out. */
  #mainNav.offcanvas-start:not(.show):not(.showing):not(.hiding) { visibility: hidden; }
}
/* Backdrop dim layer also needs to clear the header so it visually reads
   as "behind the menu, in front of everything else" */
.offcanvas-backdrop { z-index: 1052; }
/* At lg+ the menu is inline — never transformed or hidden */
@media (min-width: 992px) {
  #mainNav.offcanvas {
    transform: none !important;
    visibility: visible !important;
    position: static;
    background: transparent;
    width: auto;
  }
}
.offcanvas-header { padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--border); }
.offcanvas-body { padding: 1.4rem; }
.btn-close-custom {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.btn-close-custom:hover { color: var(--copper); border-color: var(--copper); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(130px, 17vw, 200px) 0 clamp(60px, 8vw, 96px);
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--copper);
  background: color-mix(in srgb, var(--copper) 8%, transparent);
  margin-bottom: 28px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 4px color-mix(in srgb, var(--copper) 25%, transparent); }

.hero h1 {
  font-size: clamp(3rem, 6.4vw, 5.4rem);
  letter-spacing: -0.03em;
}
.hero h1 .accent { color: var(--copper); }

/* Hero visual / picture frame */
.hero-visual {
  position: relative;
  border-radius: 24px;
  padding: 14px;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}
.hero-visual .ph {
  min-height: 420px;
  border-radius: 16px;
  margin: 0;
}
.hero-visual-badge {
  position: absolute;
  left: -14px; bottom: -18px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 991.98px) {
  .hero-visual { margin-top: 12px; }
  .hero-visual .ph { min-height: 320px; }
}
.hero-sub {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: var(--text-soft);
  max-width: 600px;
  margin: 1.6rem 0 2.2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(48px, 7vw, 84px);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--border);
}
.hero-stat { background: var(--surface); padding: 26px 28px; }
.hero-stat .num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: var(--text);
  line-height: 1;
}
.hero-stat .num .text-copper { color: var(--copper); }
.hero-stat .label {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 10px;
  font-weight: 600;
}

/* ---------- Marquee / logos strip ---------- */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 26px 0; }
.trust-label { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }

/* ---------- Cards ---------- */
.card-base {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.card-base:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.service-card {
  padding: 34px 30px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card .svc-index {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--copper);
  letter-spacing: 0.1em;
}
.service-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--copper) 14%, var(--surface-2));
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  color: var(--copper);
  margin-bottom: 22px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.42rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 1.4rem; }
.service-card .svc-link { margin-top: auto; }

/* feature pill chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 0.55rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--surface);
  font-family: "Hanken Grotesk", sans-serif;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .15s ease;
  line-height: 1.3;
}
button.chip:hover { border-color: var(--copper); color: var(--copper); transform: translateY(-1px); }
.chip.is-active {
  background: var(--copper);
  border-color: var(--copper);
  color: #1a1109;
}
.chip.is-active:hover { color: #1a1109; }

/* Portfolio filtering */
.work-card.is-hidden { display: none; }

/* feature small card */
.mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px;
  height: 100%;
}
.mini-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.mini-card p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }
.mini-card .mc-icon { color: var(--copper); margin-bottom: 14px; }
.mini-card .mc-icon svg { width: 24px; height: 24px; }

/* ---------- Split / detailed service rows ---------- */
.svc-detail { padding: clamp(48px,7vw,90px) 0; border-top: 1px solid var(--border); }
.svc-detail .svc-tag {
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--copper); font-weight: 600; margin-bottom: 18px;
}
.svc-detail h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 1rem; }
.svc-detail ul.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.svc-detail ul.ticks li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 0; border-bottom: 1px solid var(--border);
  color: var(--text-soft);
}
.tick {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  background: color-mix(in srgb, var(--copper) 18%, transparent);
  color: var(--copper);
  display: grid; place-items: center; margin-top: 2px;
}
.tick svg { width: 13px; height: 13px; }

/* ---------- Placeholder media ---------- */
.ph {
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    repeating-linear-gradient(135deg,
      color-mix(in srgb, var(--copper) 7%, var(--surface)) 0 14px,
      var(--surface) 14px 28px);
  display: grid; place-items: center;
  overflow: hidden;
  min-height: 220px;
}
.ph::after {
  content: attr(data-label);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 7px 13px;
  border-radius: 8px;
}
.ph-tall { min-height: 460px; }
.ph-wide { min-height: 320px; }

/* ---------- Process timeline ---------- */
.steps { position: relative; }
.step-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 34px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.step-row:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--copper);
  line-height: 1;
}
.step-body h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.step-body p { color: var(--text-muted); margin: 0; max-width: 620px; }

/* ---------- Comparison ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.compare-col { padding: 36px 34px; }
.compare-col.before { background: var(--surface); }
.compare-col.after { background: color-mix(in srgb, var(--copper) 10%, var(--surface)); border-left: 1px solid var(--border); }
.compare-col h3 { font-size: 1.3rem; margin-bottom: 1.4rem; display: flex; align-items: center; gap: 10px; }
.compare-col ul { list-style: none; padding: 0; margin: 0; }
.compare-col li { padding: 12px 0; border-top: 1px solid var(--border); color: var(--text-soft); display: flex; gap: 12px; }
.compare-col li:first-child { border-top: none; }
.before .ic { color: var(--text-muted); }
.after .ic { color: var(--copper); }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); }
.work-card .ph { border: none; border-radius: 0; min-height: 300px; }
.work-meta { padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.work-meta h3 { font-size: 1.25rem; }
.work-meta .tag { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--border-strong); transition: transform .25s, box-shadow .25s, border-color .25s; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: 28px;
  padding: clamp(44px, 6vw, 78px);
  background:
    radial-gradient(700px 400px at 80% -20%, color-mix(in srgb, var(--copper) 28%, transparent), transparent 60%),
    linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); margin-bottom: 1rem; }
.cta-band p { font-size: 1.12rem; color: var(--text-soft); max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

/* ---------- Contact ---------- */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  height: 100%;
  transition: border-color .2s ease, transform .2s ease;
}
.contact-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.contact-ic {
  flex: 0 0 auto;
  width: 50px; height: 50px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--copper) 14%, var(--surface-2));
  border: 1px solid var(--border-strong);
  color: var(--copper);
  display: grid; place-items: center;
}
.contact-ic svg { width: 24px; height: 24px; }
.contact-card h4 { font-size: 1.12rem; margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--text-muted); font-size: 0.96rem; }
.contact-card a { font-weight: 600; }
.map-frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); line-height: 0; }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: saturate(0.9); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-grad-2);
  border-top: 1px solid var(--border);
  padding: clamp(56px, 7vw, 84px) 0 32px;
  position: relative;
  z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand p { color: var(--text-muted); max-width: 300px; margin-top: 18px; font-size: 0.96rem; }
.footer-col h5 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: var(--text-soft); font-weight: 500; }
.footer-col a:hover { color: var(--copper); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  color: var(--text-muted); font-size: 0.88rem;
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--copper); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(130px, 16vw, 180px) 0 clamp(40px, 5vw, 60px); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.page-hero p { font-size: 1.15rem; color: var(--text-soft); max-width: 600px; margin-top: 1.2rem; }
.breadcrumb-mini { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin-bottom: 16px; }
.breadcrumb-mini a { color: var(--text-muted); }
.breadcrumb-mini a:hover { color: var(--copper); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #1faa55;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(31,170,85,0.6);
  z-index: 1040;
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  /* High-contrast mobile menu — force readable colors over Bootstrap defaults */
  #mainNav.offcanvas { background: var(--bg) !important; color: var(--text) !important; }
  #mainNav .offcanvas-body { color: var(--text); }
  #mainNav .navbar-nav { gap: 2px; margin-bottom: 26px; }
  #mainNav .nav-link {
    color: var(--text) !important;
    font-size: 1.3rem;
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 700;
    padding: 0.6rem 0 !important;
    border-bottom: 1px solid var(--border);
    opacity: 1;
  }
  #mainNav .nav-link:hover { color: var(--copper) !important; }
  #mainNav .nav-link.active { color: var(--copper) !important; }
  #mainNav .nav-link.active::after { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 0.7rem; }
  .nav-actions .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 767.98px) {
  body { font-size: 1rem; }
  html { scroll-padding-top: 80px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .step-row { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .compare { grid-template-columns: 1fr; }
  .compare-col.after { border-left: none; border-top: 1px solid var(--border); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .hero-cta .btn, .cta-actions .btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track { animation: none !important; }
  .float-y, .float-y-slow, .hero-visual-badge, .wa-float { animation: none !important; }
}

/* =========================================================
   ANIMATIONS · MARQUEE · FLOATING EFFECTS
   ========================================================= */

/* --- Keyframes --- */
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floatYSlow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pulseGlow { 0%,100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--copper) 45%, transparent); } 50% { box-shadow: 0 0 0 12px transparent; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes spinSlow { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* --- Floating helpers --- */
.float-y { animation: floatY 5s ease-in-out infinite; }
.float-y-slow { animation: floatYSlow 7s ease-in-out infinite; }
.hero-visual-badge { animation: floatYSlow 6s ease-in-out infinite; }
.wa-float { animation: floatYSlow 4.5s ease-in-out infinite; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  animation: pulseGlow 2.4s ease-out infinite; pointer-events: none;
}

/* --- Hover lift on icons --- */
.service-card:hover .service-icon { transform: translateY(-4px) rotate(-4deg); }
.service-icon { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.contact-card:hover .contact-ic { transform: scale(1.08); }
.contact-ic { transition: transform .25s ease; }

/* --- Marquee --- */
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: marquee-scroll 26s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .m-item {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-soft);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee-track .m-item::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--copper); display: inline-block;
}

/* --- Gradient shimmer accent text --- */
.accent {
  background: linear-gradient(100deg, var(--copper) 0%, var(--copper-bright) 30%, var(--copper) 60%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 5s linear infinite;
}

/* --- Animated underline on desktop nav --- */
@media (min-width: 992px) {
  .nav-link::after {
    content: ""; position: absolute; left: 0.95rem; right: 0.95rem; bottom: -2px;
    height: 2px; border-radius: 2px; background: var(--copper);
    transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
  }
  .nav-link:hover::after { transform: scaleX(1); }
  .nav-link.active::after { transform: scaleX(1); }
}

/* --- Button sheen --- */
.btn-copper { position: relative; overflow: hidden; }
.btn-copper::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: none;
}
.btn-copper:hover::after { left: 130%; transition: left .7s ease; }
