/* =====================================================================
   Lefuwa Business Enterprise — Global Stylesheet
   Brand palette: Deep teal #184860 · Orange accent #F08430
   ===================================================================== */

:root {
  --teal-900: #102e38;
  --teal-800: #16424f;   /* primary brand teal */
  --teal-700: #1d5364;
  --teal-600: #266579;
  --teal-500: #3a7e92;
  --orange:   #f08430;
  --orange-600: #e0741f;
  --orange-200: #ffe6cf;

  --ink:    #14272e;
  --body:   #475862;
  --muted:  #6f8088;
  --line:   #e3e9ec;
  --cream:  #f6f3ee;
  --soft:   #eef3f4;
  --white:  #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(16, 46, 56, .06);
  --shadow:    0 18px 40px -20px rgba(16, 46, 56, .35);
  --shadow-lg: 0 30px 70px -30px rgba(16, 46, 56, .45);
  --container: 1400px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: #ffffff;
  background-image:
    radial-gradient(60% 50% at 100% 0%, rgba(38,101,121,.05), transparent 60%),
    radial-gradient(55% 45% at 0% 12%, rgba(240,132,48,.045), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7fafa 100%);
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { color: var(--body); }
section { position: relative; }

/* ------------------------------------------------------------ Utilities */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--cream { background: linear-gradient(180deg, #f9f6f1 0%, #f1ede6 100%); }
.section--soft  { background: linear-gradient(180deg, #f1f6f7 0%, #e8f0f1 100%); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--body); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
.center .eyebrow::before { display: none; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.center.section-head { margin-inline: auto; }
.section-head h2 { margin: 14px 0 16px; }
.text-orange { color: var(--orange-600); }

/* ------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 50px; cursor: pointer; border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: linear-gradient(135deg, #f6953f 0%, #e0741f 100%); color: #fff; box-shadow: 0 12px 24px -10px rgba(240,132,48,.7); }
.btn--primary:hover { background: linear-gradient(135deg, #ef8a32 0%, #d56b18 100%); transform: translateY(-3px); box-shadow: 0 18px 30px -12px rgba(240,132,48,.8); }
.btn--light { background: #fff; color: var(--teal-800); }
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--teal-800); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal-700); color: var(--teal-700); transform: translateY(-3px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: #fff; color: var(--teal-800); border-color: #fff; transform: translateY(-3px); }

/* -------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.72) 100%);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.6);
  box-shadow: inset 0 -1px 0 rgba(16,46,56,.06);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled {
  background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.82) 100%);
  box-shadow: 0 10px 30px -18px rgba(16,46,56,.55);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }

/* Brand lockup */
.brand { display: flex; align-items: center; gap: 13px; font-family: var(--font-head); font-weight: 700; }
.brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 6px 16px -6px rgba(16,46,56,.45); }
.brand img.brand-word { width: auto; height: 22px; border-radius: 0; box-shadow: none; margin-bottom: 1px; }
.brand .brand-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1; }
.brand img.brand-word { align-self: flex-start; }
.brand b { font-size: 1.2rem; color: var(--teal-800); letter-spacing: -.01em; }
.brand span { font-size: .63rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); font-weight: 600; }

/* Primary nav */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: .97rem; color: var(--ink);
  padding: 10px 17px; border-radius: 50px; position: relative; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--teal-700); background: var(--soft); }
.nav-links a.active { color: var(--teal-800); font-weight: 600; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 5px;
  width: 18px; height: 3px; background: var(--orange); border-radius: 3px;
}

/* Right-side actions */
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-phone { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--teal-800); transition: color .2s; }
.nav-phone svg { width: 30px; height: 30px; padding: 7px; box-sizing: border-box; border-radius: 50%; background: var(--soft); color: var(--orange-600); }
.nav-phone:hover { color: var(--orange-600); }
.nav-cta { padding: 12px 22px; }
.nav-links .nav-cta { display: none; }  /* shown only inside the mobile dropdown */

/* Services dropdown */
.nav-item { position: relative; display: inline-flex; }
.nav-drop { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-drop .caret { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.has-dropdown:hover .caret, .has-dropdown:focus-within .caret, .has-dropdown.open .caret { transform: rotate(180deg); }
.has-dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; }
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 272px; padding: 8px; border-radius: 16px;
  background: linear-gradient(165deg, rgba(255,255,255,.94) 0%, rgba(238,243,244,.82) 100%);
  backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 26px 52px -26px rgba(16,46,56,.5), inset 0 1px 0 rgba(255,255,255,.7);
  opacity: 0; visibility: hidden; pointer-events: none; z-index: 60;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 10px;
  font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--ink);
  white-space: nowrap; transition: background .2s, color .2s, padding-left .2s;
}
.dropdown a::after { display: none; }
.dropdown a:hover { background: rgba(255,255,255,.75); color: var(--teal-700); padding-left: 18px; box-shadow: var(--shadow-sm); }
.dropdown a .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex-shrink: 0; box-shadow: 0 0 0 3px rgba(240,132,48,.18); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; width: 44px; height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --------------------------------------------------------------- Hero */
.hero { position: relative; background: var(--teal-800); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(240,132,48,.22), transparent 60%),
    linear-gradient(120deg, var(--teal-900), var(--teal-700));
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center;
  padding: clamp(60px, 8vw, 100px) 0 clamp(70px, 9vw, 110px);
}
.hero-copy { max-width: 600px; }
.hero .eyebrow { color: #ffd9b8; }
.hero .eyebrow::before { background: var(--orange); }
.hero h1 { color: #fff; margin: 18px 0 20px; }
.hero h1 .accent { color: var(--orange); }
.hero p { color: rgba(255,255,255,.86); font-size: 1.16rem; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 42px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-trust div b { font-family: var(--font-head); font-size: 1.7rem; color: #fff; display: block; }
.hero-trust div span { font-size: .86rem; color: rgba(255,255,255,.72); }

.hero-visual { position: relative; }
.hero-visual img { border-radius: 22px; box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.hero-visual::after {
  content: ""; position: absolute; width: 70%; height: 70%; right: -22px; bottom: -22px;
  border: 3px solid rgba(240,132,48,.5); border-radius: 22px; z-index: 1;
}
.hero-badge {
  position: absolute; z-index: 3; left: -18px; bottom: 26px;
  background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border: 1px solid rgba(255,255,255,.7);
  color: var(--ink); border-radius: 14px; padding: 16px 20px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.6); display: flex; align-items: center; gap: 13px; max-width: 250px;
}
.hero-badge .dot { width: 42px; height: 42px; border-radius: 12px; background: var(--orange-200); display: grid; place-items: center; color: var(--orange-600); flex-shrink: 0; }
.hero-badge .dot svg { width: 22px; height: 22px; }
.hero-badge b { font-family: var(--font-head); font-size: .98rem; display: block; }
.hero-badge span { font-size: .8rem; color: var(--muted); }

.wave { display: block; width: 100%; height: auto; }

/* ------------------------------------------------------- Logo strip */
.marquee { background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(247,250,250,.5)); backdrop-filter: saturate(150%) blur(8px); -webkit-backdrop-filter: saturate(150%) blur(8px); border-bottom: 1px solid var(--line); }
.marquee .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 38px; padding-block: 26px; }
.marquee span { font-family: var(--font-head); font-weight: 600; color: var(--muted); font-size: .94rem; display: inline-flex; align-items: center; gap: 9px; }
.marquee span svg { width: 18px; height: 18px; color: var(--orange); }
.marquee a { color: var(--muted); }
.marquee a:hover { color: var(--orange-600); }

/* ----------------------------------------------------------- Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature .ic { width: 56px; height: 56px; border-radius: 14px; background: var(--teal-800); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.feature .ic svg { width: 27px; height: 27px; }
.feature h3 { margin-bottom: 10px; }
.feature p { font-size: .98rem; }

/* ---------------------------------------------------------- Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.07); }
.svc-tag {
  position: absolute; top: 14px; left: 14px; background: rgba(22,66,79,.92); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: .05em;
  padding: 6px 13px; border-radius: 50px; backdrop-filter: blur(4px);
}
.svc-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { margin-bottom: 10px; }
.svc-body p { font-size: .97rem; margin-bottom: 18px; }
.svc-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.svc-list li { font-size: .8rem; background: var(--soft); color: var(--teal-700); padding: 5px 12px; border-radius: 50px; font-weight: 500; }
.svc-more {
  margin-top: auto; font-family: var(--font-head); font-weight: 600; color: var(--orange-600);
  display: inline-flex; align-items: center; gap: 7px; font-size: .92rem;
}
.svc-more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.svc-card:hover .svc-more svg { transform: translateX(4px); }

/* ---------------------------------------------------- Split / About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 76px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split-media .pill {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(255,255,255,.66));
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 12px; padding: 16px 20px; box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.6); display: flex; gap: 16px;
}
.split-media .pill div b { font-family: var(--font-head); color: var(--teal-800); font-size: 1.4rem; display: block; }
.split-media .pill div span { font-size: .8rem; color: var(--muted); }
.split-body h2 { margin: 14px 0 18px; }
.tick-list { margin-top: 24px; display: grid; gap: 14px; }
.tick-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.tick-list svg { width: 22px; height: 22px; flex-shrink: 0; color: #fff; background: var(--orange); border-radius: 50%; padding: 4px; margin-top: 2px; }

/* ------------------------------------------------ Vision / Mission */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.vm-card {
  border-radius: var(--radius); padding: 38px 34px; position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
}
.vm-card.dark { background: var(--teal-800); color: #fff; border-color: transparent; }
.vm-card .vm-ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; background: var(--orange-200); color: var(--orange-600); }
.vm-card.dark .vm-ic { background: rgba(255,255,255,.12); color: #ffd9b8; }
.vm-card .vm-ic svg { width: 26px; height: 26px; }
.vm-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.vm-card.dark h3 { color: #fff; }
.vm-card.dark p { color: rgba(255,255,255,.84); }

/* --------------------------------------------------------- Stats band */
.stats { background: var(--teal-800); color: #fff; }
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stats .stat b { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3rem); color: #fff; display: block; }
.stats .stat b .text-orange { color: var(--orange); }
.stats .stat span { color: rgba(255,255,255,.75); font-size: .96rem; }
.compliance { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 46px; }
.comp-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: 50px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2);
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: #fff;
}
.comp-chip svg { width: 19px; height: 19px; color: var(--orange); flex-shrink: 0; }
.comp-chip small { color: rgba(255,255,255,.6); font-size: .8rem; font-weight: 400; margin-left: -3px; }

/* ------------------------------------------------------------ Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; padding-top: 8px; }
.step .num {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #fff; background: var(--teal-800);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
}
.step:nth-child(odd) .num { background: var(--orange); }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .95rem; }

/* ----------------------------------------------------------- CTA band */
.cta {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background: linear-gradient(120deg, var(--teal-900), var(--teal-700));
}
.cta .container { position: relative; z-index: 2; }
.cta h2 { color: #fff; margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto 30px; font-size: 1.12rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(50% 120% at 50% 0%, rgba(240,132,48,.28), transparent 60%);
}

/* --------------------------------------------------------- Page hero */
.page-hero { background: var(--teal-800); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 80% 0%, rgba(240,132,48,.2), transparent 55%), linear-gradient(120deg, var(--teal-900), var(--teal-700)); }
.page-hero .container { position: relative; z-index: 2; padding-block: clamp(56px, 8vw, 90px); }
.page-hero .eyebrow { color: #ffd9b8; }
.page-hero h1 { color: #fff; margin: 14px 0 14px; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 600px; font-size: 1.12rem; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: rgba(255,255,255,.7); margin-top: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--orange); }

/* --------------------------------------------------- Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-info { display: grid; gap: 18px; min-width: 0; }
.info-card {
  display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 22px 22px;
}
.info-card > div { min-width: 0; }
.info-card .ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--teal-800); color: #fff; display: grid; place-items: center; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card h4 { font-family: var(--font-head); color: var(--ink); margin-bottom: 4px; font-size: 1.02rem; }
.info-card p, .info-card a { font-size: .96rem; color: var(--body); overflow-wrap: anywhere; }
.info-card a:hover { color: var(--orange-600); }

.branches { margin-top: 8px; background: var(--teal-800); color: #fff; border-radius: var(--radius); padding: 28px 26px; }
.branches h4 { color: #fff; font-family: var(--font-head); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.branches h4 svg { width: 20px; height: 20px; color: var(--orange); }
.branches li { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.85); font-size: .94rem; }
.branches li:last-child { border-bottom: 0; }
.branches li b { color: #fff; font-family: var(--font-head); font-weight: 600; display: block; font-size: .86rem; letter-spacing: .03em; }
.branches-lead { color: rgba(255,255,255,.85); font-size: .96rem; line-height: 1.6; margin-bottom: 18px; }
.branches-lead b { color: #fff; font-weight: 600; }
.branches-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--orange); }
.branches-link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.branches-link:hover { color: #fff; }
.branches-link:hover svg { transform: translateX(4px); }

/* Form */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { font-size: .98rem; margin-bottom: 26px; }

/* Segmented form toggle */
.form-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: linear-gradient(160deg, rgba(22,66,79,.06), rgba(22,66,79,.03)); padding: 6px; border-radius: 50px; margin-bottom: 24px; }
.form-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--muted);
  padding: 12px 14px; border: 0; background: transparent; border-radius: 50px; cursor: pointer;
  transition: background .25s var(--ease), color .25s, box-shadow .25s;
}
.form-tab svg { width: 18px; height: 18px; }
.form-tab:hover { color: var(--teal-700); }
.form-tab.active { background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(255,255,255,.8)); color: var(--teal-800); box-shadow: var(--shadow-sm); }
.form-intro { font-size: .98rem; color: var(--body); margin-bottom: 24px; }
.contact-form[hidden] { display: none; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--orange-600); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.6);
  transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236f8088' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(38,101,121,.14); background: rgba(255,255,255,.92); }
.field input.invalid, .field textarea.invalid, .field select.invalid { border-color: #d9534f; box-shadow: 0 0 0 3px rgba(217,83,79,.12); }
.field .err { color: #d9534f; font-size: .82rem; margin-top: 6px; display: none; }
.field .err.show { display: block; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-actions .btn { width: auto; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { display: none; padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-size: .95rem; font-weight: 500; }
.form-status.show { display: block; }
.form-status.ok { background: #e6f5ec; color: #1d7a45; border: 1px solid #b9e3c8; }
.form-status.bad { background: #fdeceb; color: #b02a26; border: 1px solid #f5c6c4; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map-wrap { margin-top: 14px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ------------------------------------------------------------- Branch map */
.section-sub { max-width: 640px; margin: 12px auto 0; color: var(--muted); font-size: 1.02rem; line-height: 1.6; }
.map-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; margin: 26px 0 18px; }
.map-count { font-family: var(--font-body); color: var(--teal-700); font-size: 1rem; }
.map-count b { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--orange-600); margin-right: 4px; }
/* Custom province / city dropdowns */
.map-filters { display: inline-flex; flex-wrap: wrap; gap: 12px; }
.prov-dd { position: relative; font-family: var(--font-head); }
.prov-dd__btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 50px;
  padding: 9px 16px; cursor: pointer; box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-weight: 500; font-size: .94rem; color: var(--teal-800);
  transition: border-color .2s, box-shadow .2s;
}
.prov-dd__btn:hover { border-color: var(--teal-600); }
.prov-dd.open .prov-dd__btn { border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(38,101,121,.14); }
.prov-dd__ic { width: 16px; height: 16px; color: var(--teal-600); flex-shrink: 0; }
.prov-dd__label { white-space: nowrap; }
.prov-dd__caret { width: 16px; height: 16px; color: var(--muted); margin-left: 2px; transition: transform .25s var(--ease); }
.prov-dd.open .prov-dd__caret { transform: rotate(180deg); }

.prov-dd__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; z-index: 30;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 7px;
  box-shadow: 0 14px 38px rgba(16,46,56,.18); list-style: none; margin: 0;
  max-height: 320px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.prov-dd.open .prov-dd__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.prov-dd__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 14px; border-radius: 9px; cursor: pointer;
  font-size: .92rem; font-weight: 500; color: var(--ink);
  transition: background .15s, color .15s;
}
.prov-dd__opt:hover { background: rgba(22,66,79,.06); }
.prov-dd__opt.is-selected { background: var(--teal-800); color: #fff; }
.prov-dd__n {
  font-size: .78rem; font-weight: 600; color: var(--muted);
  background: rgba(22,66,79,.08); border-radius: 20px; padding: 2px 9px; min-width: 30px; text-align: center;
}
.prov-dd__opt:hover .prov-dd__n { color: var(--teal-700); }
.prov-dd__opt.is-selected .prov-dd__n { background: rgba(255,255,255,.18); color: #fff; }

#branchMap { height: 540px; width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #eef2f3; z-index: 0; }
.map-hint { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 14px; }
.map-hint__hq { color: var(--orange-600); font-weight: 600; }
.map-credit { display: inline-block; color: var(--muted); opacity: .65; font-size: .78rem; margin-left: 4px; }

/* Leaflet pins */
.lf-pin { background: none; border: 0; }
.lf-pin__dot { display: block; width: 100%; height: 100%; }
.lf-pin__dot::before {
  content: ""; display: block; margin: 0 auto;
  width: 70%; height: 70%; background: var(--c);
  border: 2px solid #fff; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); box-shadow: 0 3px 6px rgba(0,0,0,.35);
}
.lf-cluster-wrap { background: none; border: 0; }
.lf-cluster {
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--teal-700); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  border: 3px solid rgba(240,132,48,.6); box-shadow: 0 4px 12px rgba(0,0,0,.28);
}
.lf-pop { font-family: var(--font-body); padding: 2px 1px; }
.lf-pop b { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--teal-800); margin-bottom: 3px; }
.lf-pop span { display: block; font-size: .9rem; color: var(--body); line-height: 1.45; }
.lf-pop__prov { color: var(--orange-600) !important; font-weight: 600; margin-top: 3px; }
.leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.16); }
.leaflet-popup-content { margin: 14px 18px; }
.leaflet-container { font: inherit; }

/* ------------------------------------------------------------- FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-q svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; transition: transform .3s var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 24px 22px; font-size: .98rem; }

/* ----------------------------------------------------------- Footer */
.site-footer { background: var(--teal-900); color: rgba(255,255,255,.74); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .brand b { color: #fff; }
.footer-brand .brand span { color: rgba(255,255,255,.6); }
.footer-brand p { margin-top: 18px; font-size: .94rem; max-width: 320px; color: rgba(255,255,255,.66); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .25s, transform .25s; }
.footer-social a:hover { background: var(--orange); transform: translateY(-3px); }
.footer-social a svg { width: 19px; height: 19px; }
.site-footer h5 { font-family: var(--font-head); color: #fff; font-size: 1.02rem; margin-bottom: 18px; font-weight: 600; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: .94rem; transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--orange); padding-left: 4px; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; font-size: .94rem; align-items: flex-start; min-width: 0; }
.footer-contact li > * { min-width: 0; overflow-wrap: anywhere; }
.footer-contact svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--orange); }

/* ---------------------------------------------------- Reveal anim */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- Soft glass surface pass (frosted cards) ----------- */
.feature, .svc-card, .vm-card:not(.dark), .info-card, .form-card, .faq-item, .map-wrap {
  background: linear-gradient(160deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.6) 100%);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
  border: 1px solid rgba(16,46,56,.08);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.6);
}
.svc-card { background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(255,255,255,.7)); }
@media (prefers-reduced-transparency: reduce) {
  .feature, .svc-card, .vm-card:not(.dark), .info-card, .form-card, .faq-item, .map-wrap,
  .dropdown, .hero-badge, .split-media .pill { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}

/* ===================================================================
   Brand identity layer — signature pill motif (Lefuwa brand guidelines)
   =================================================================== */

/* Diagonal "pill" dash pattern used across the brand collateral */
.brand-pills {
  position: absolute; pointer-events: none; background-color: currentColor;
  -webkit-mask: url("../assets/img/pills.svg") 0 0 / 42px 42px repeat;
          mask: url("../assets/img/pills.svg") 0 0 / 42px 42px repeat;
}
.hero, .page-hero, .cta { position: relative; }
.hero .container, .page-hero .container, .cta .container { position: relative; z-index: 2; }
.hero .brand-pills      { top: -30px; right: -20px; width: 46%; height: 78%;  color: rgba(255,255,255,.10); z-index: 1; }
.page-hero .brand-pills { top: -40px; right: -30px; width: 40%; height: 150%; color: rgba(255,255,255,.08); z-index: 1; }
.cta .brand-pills       { bottom: -40px; left: -20px; width: 42%; height: 150%; color: rgba(255,255,255,.07); z-index: 1; }

/* Services grid that flips in place — cards never move cell, they flip
   to the next division; the flipping cell snakes through the grid.
   (The flip itself is driven with inline transitions in JS.) */
.svc-grid[data-rotator] { grid-auto-rows: 1fr; position: relative; }
.svc-grid[data-rotator] > .svc-card { height: 100%; will-change: opacity; }

/* ------------------------------------------------------- Responsive */
@media (max-width: 1040px) { .nav-phone { display: none; } }
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .feature-grid, .svc-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats .grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.95));
    backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--line); padding: 10px 18px 22px;
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s; overflow-y: auto;
    max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 12px; border-radius: 8px; font-size: 1.02rem; }
  .nav-links a.active::after { display: none; }

  /* Services dropdown becomes an inline accordion */
  .nav-item, .has-dropdown { display: block; width: 100%; }
  .has-dropdown::after { display: none; }
  .nav-drop { width: 100%; justify-content: space-between; }
  .dropdown {
    position: static; min-width: 0; border: 0; border-radius: 0; box-shadow: none;
    background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
    padding: 0 0 6px 16px; max-height: 0; overflow: hidden; opacity: 1; visibility: visible;
    pointer-events: auto; transition: max-height .32s var(--ease);
  }
  .dropdown a:hover { box-shadow: none; background: rgba(22,66,79,.06); }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { transform: none; }
  .has-dropdown.open .dropdown { max-height: 460px; }
  .dropdown a { font-size: .98rem; padding: 12px 12px; }
  .dropdown a:hover { padding-left: 16px; }
  .nav-links .nav-cta { display: inline-flex; margin-top: 8px; text-align: center; }
  .nav-actions .nav-cta { display: none; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .vm-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  body { background-attachment: scroll; }
  .hero-visual::after { display: none; }
  .crumbs { flex-wrap: wrap; }

  /* Services quick-nav: swipeable single-row strip on mobile */
  .marquee--scroll .container {
    flex-wrap: nowrap; justify-content: flex-start; gap: 10px; padding-block: 16px;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  }
  .marquee--scroll .container::-webkit-scrollbar { display: none; }
  .marquee--scroll span { flex: 0 0 auto; white-space: nowrap; font-size: .88rem; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .feature-grid, .svc-grid, .steps, .stats .grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 18px 24px; }
  .hero-actions, .cta-actions { width: 100%; }
  .hero-badge { left: 8px; right: 8px; max-width: none; }
  .btn { width: 100%; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .vm-card { padding: 30px 24px; }
  .feature { padding: 28px 24px; }
  .form-card { padding: 24px 20px; }
  .branches { padding: 24px 20px; }
  .map-wrap iframe { height: 280px; }
  #branchMap { height: 420px; }
  .map-toolbar { gap: 12px 18px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .marquee .container { gap: 10px 18px; padding-block: 18px; }
  .marquee span { font-size: .84rem; }
  .form-tab { font-size: .88rem; gap: 7px; padding: 11px 10px; }
  .form-tab svg { width: 16px; height: 16px; flex-shrink: 0; }
}
@media (max-width: 380px) {
  .form-tab { font-size: .82rem; gap: 5px; padding: 11px 7px; }
  .brand img.brand-word { height: 19px; }
  .brand span { font-size: .58rem; letter-spacing: .16em; }
}
