:root {
  /* E&I brand palette — light theme (May 2026) */
  --orange: #ED6D37;                  /* primary */
  --orange-dark: #D45523;             /* primary-dark */
  --orange-soft: #FFE1D3;             /* secondary-light — used for chips/icon bg */
  --orange-line: rgba(237,109,55,0.32);
  --bg: #FFFFFF;                      /* page background — white */
  --black: #FFF7F2;                   /* warm off-white — used where deep band was */
  --surface: #FFFFFF;                 /* card surface */
  --surface-2: #FFF5EC;               /* hovered / form-input surface (subtle warm) */
  --line: rgba(57,29,28,0.10);
  --line-strong: rgba(57,29,28,0.18);
  --text: #391D1C;                    /* secondary-dark — primary text */
  --muted: #6B5450;
  --muted-2: #998680;
  --radius: 8px;
  --radius-lg: 14px;
  --ff: 'Manrope', system-ui, -apple-system, sans-serif;
  --container: 1240px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ff); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 15px; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.logo-mark { width: 44px; height: 44px; display: flex; flex-direction: column; gap: 3px; justify-content: center; }
.logo-bar { height: 7px; background: var(--orange); border-radius: 2px; transform: skewX(-22deg); }
.logo-bar:nth-child(3) { display: flex; gap: 4px; background: transparent; }
.logo-bar:nth-child(3)::before { content:''; height:7px; width:24%; background:var(--orange); border-radius:2px; }
.logo-bar:nth-child(3)::after { content:''; height:7px; width:72%; background:var(--orange); border-radius:2px; }
.logo-text { line-height: 1; }
.logo-text small { display: block; font-size: 9.5px; letter-spacing: 0.2em; color: var(--muted); font-weight: 500; margin-top: 4px; text-transform: uppercase; }

.nav { display: flex; gap: 4px; align-items: center; position: relative; }
.nav > a, .nav > .nav-dd > button { font-size: 14px; font-weight: 500; color: var(--muted); padding: 8px 14px; border-radius: 6px; transition: color 0.15s, background 0.15s; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.nav > a:hover, .nav > .nav-dd > button:hover, .nav > a.active { color: var(--text); background: rgba(57,29,28,0.05); }
.nav-dd { position: relative; }
.nav-dd:hover > .dd-panel { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dd-panel { position: absolute; top: 100%; left: 0; min-width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: all 0.18s; box-shadow: 0 12px 40px rgba(57,29,28,0.12); }
.dd-panel a { display: block; padding: 10px 14px; border-radius: 6px; font-size: 13.5px; color: var(--text); transition: background 0.12s; }
.dd-panel a:hover { background: var(--orange-soft); color: var(--orange); }
.dd-panel a small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; font-weight: 400; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.phone-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); padding: 8px 12px; border-radius: 6px; transition: color 0.15s; }
.phone-link:hover { color: var(--orange); }
.phone-link svg { width: 16px; height: 16px; color: var(--orange); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 14px; padding: 12px 22px; border-radius: 6px; transition: all 0.18s; white-space: nowrap; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-outline { border: 1px solid var(--line-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--orange); }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-arrow::after { content: '→'; transition: transform 0.18s; }
.btn-arrow:hover::after { transform: translateX(4px); }
.menu-btn { display: none; }

/* HERO — homepage */
.hero { position: relative; padding: 110px 0 100px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content:''; position: absolute; inset: 0; background: radial-gradient(800px 500px at 80% 20%, rgba(237,109,55,0.10), transparent 60%), radial-gradient(600px 400px at 10% 80%, rgba(237,109,55,0.06), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); padding: 6px 14px; background: var(--orange-soft); border: 1px solid var(--orange-line); border-radius: 100px; margin-bottom: 24px; }
.eyebrow .dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }

.hero h1 { font-size: clamp(40px, 5.5vw, 68px); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 22px; }
.hero h1 .accent { color: var(--orange); }
.hero h1 .underline { position: relative; display: inline-block; }
.hero h1 .underline::after { content:''; position: absolute; left: 0; right: 0; bottom: -6px; height: 4px; background: var(--orange); border-radius: 2px; }
.hero-sub { font-size: 17px; color: var(--muted); max-width: 540px; line-height: 1.65; margin-bottom: 32px; font-weight: 400; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 500; }
.trust-item svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; }

.hero-visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; transition: transform 0.3s, border-color 0.3s; }
.hero-card:hover { transform: translateY(-4px); border-color: var(--orange-line); }
.hero-card .icon { width: 40px; height: 40px; background: var(--orange-soft); border: 1px solid var(--orange-line); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--orange); margin-bottom: 18px; }
.hero-card .icon svg { width: 20px; height: 20px; }
.hero-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.hero-card p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.hero-card.feature { grid-column: span 2; background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%); border-color: var(--orange); padding: 28px; }
.hero-card.feature h3 { color: #fff; font-size: 16px; }
.hero-card.feature p { color: rgba(255,255,255,0.9); font-size: 13px; }
.hero-card.feature .icon { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.3); color: #fff; }

/* INNER PAGE HERO — image background */
.page-hero {
  /* --page-hero-overlay (0–1) is injected inline by template-parts/page-hero.php
     from the Customizer setting "Inner pages — banner overlay opacity". */
  --page-hero-overlay: 0.78;
  position: relative; min-height: 460px; display: flex; align-items: flex-end; padding: 140px 0 70px; overflow: hidden; border-bottom: 1px solid var(--line);
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after {
  content:''; position: absolute; inset: 0;
  /* Top stop ≈ 58% of the user-set max; bottom stop = the user-set max.
     Last stop fades down to the page background so the overlay seam
     disappears into the section beneath. */
  background: linear-gradient(180deg,
    rgba(57,29,28, calc(var(--page-hero-overlay) * 0.58)) 0%,
    rgba(57,29,28, var(--page-hero-overlay)) 60%,
    var(--bg) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.crumb { display: flex; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 18px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }
.crumb a { color: var(--muted); transition: color 0.15s; }
.crumb a:hover { color: var(--orange); }
.crumb span:not(.sep) { color: var(--orange); }
/* Page hero sits on a dark overlay above an image — keep its text light for legibility */
.page-hero .crumb,
.page-hero .crumb a { color: rgba(255,255,255,0.78); }
.page-hero .crumb a:hover { color: var(--orange); }
.page-hero .crumb span:not(.sep) { color: #FFE1D3; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 18px; max-width: 820px; color: #FFFFFF; }
.page-hero h1 .accent { color: #FFC9AE; }
.page-hero p.lead { font-size: 17px; color: rgba(255,255,255,0.85); max-width: 700px; line-height: 1.6; }

/* STATS */
.stats-bar { background: var(--black); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
.stat { background: var(--black); padding: 36px 28px; text-align: center; }
.stat-num { font-size: 38px; font-weight: 800; color: var(--orange); letter-spacing: -0.02em; line-height: 1; }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 8px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }

/* SECTION BASE */
section.block { padding: 100px 0; border-bottom: 1px solid var(--line); }
section.block.dark { background: var(--black); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; }
.section-head h2 .accent { color: var(--orange); }
.section-head p { font-size: 16px; color: var(--muted); }
.section-head.left { text-align: left; margin: 0 0 48px; }

/* PILLARS */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 30px; transition: all 0.3s; position: relative; overflow: hidden; }
.pillar:hover { border-color: var(--orange-line); transform: translateY(-4px); }
.pillar::before { content:''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.pillar:hover::before { transform: scaleX(1); }
.pillar-num { font-size: 13px; color: var(--orange); font-weight: 700; letter-spacing: 0.15em; margin-bottom: 14px; }
.pillar-icon { width: 56px; height: 56px; background: var(--orange-soft); border: 1px solid var(--orange-line); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--orange); margin-bottom: 22px; }
.pillar-icon svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.pillar p { font-size: 14px; color: var(--muted); margin-bottom: 18px; line-height: 1.65; }
.pillar-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.pillar-list-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text); font-weight: 500; }
.pillar-list-item::before { content:''; width: 14px; height: 1px; background: var(--orange); flex-shrink: 0; }
.pillar a.more { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-size: 13px; font-weight: 600; }
.pillar a.more::after { content: '→'; transition: transform 0.18s; }
.pillar a.more:hover::after { transform: translateX(3px); }

/* STRENGTHS */
.strengths-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width: 900px) { .strengths-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .strengths-grid { grid-template-columns: 1fr; } }
.strength { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; transition: all 0.25s; }
.strength:hover { border-color: var(--orange-line); background: var(--surface-2); }
.strength .icon { width: 44px; height: 44px; background: var(--orange-soft); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--orange); margin-bottom: 18px; }
.strength .icon svg { width: 22px; height: 22px; }
.strength h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.strength p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* SECTORS GRID */
.sectors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1000px) { .sectors { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 600px) { .sectors { grid-template-columns: repeat(2,1fr); } }
.sector { position: relative; aspect-ratio: 1/1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; transition: all 0.25s; cursor: pointer; overflow: hidden; }
.sector:hover { border-color: var(--orange); transform: translateY(-4px); }
.sector::before { content:''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--orange-soft) 100%); opacity: 0; transition: opacity 0.25s; }
.sector:hover::before { opacity: 1; }
.sector-icon { width: 36px; height: 36px; background: var(--orange-soft); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--orange); position: relative; z-index: 1; }
.sector-icon svg { width: 20px; height: 20px; }
.sector-name { font-size: 15px; font-weight: 700; line-height: 1.25; position: relative; z-index: 1; }

/* PROCESS */
.process { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; position: relative; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }
.process-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 24px; position: relative; }
.process-step .step-num { position: absolute; top: -18px; left: 24px; width: 36px; height: 36px; background: var(--orange); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.process-step h4 { font-size: 17px; font-weight: 700; margin: 16px 0 10px; }
.process-step p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* TWO-COL CONTENT (inner pages) */
.two-col-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .two-col-content { grid-template-columns: 1fr; gap: 40px; } }
.prose h2 { font-size: 28px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; color: var(--orange); }
.prose p { font-size: 15px; color: var(--muted); margin-bottom: 16px; line-height: 1.75; }
.prose ul { padding-left: 0; list-style: none; margin: 16px 0; }
.prose ul li { font-size: 14.5px; color: var(--text); padding: 10px 0 10px 24px; position: relative; border-bottom: 1px solid var(--line); }
.prose ul li::before { content:''; position: absolute; left: 0; top: 18px; width: 14px; height: 1px; background: var(--orange); }
.prose strong { color: var(--text); font-weight: 600; }

.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: 100px; }
.side-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.side-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.side-card .btn { width: 100%; }

/* CAPABILITIES GRID */
.cap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
@media (max-width: 720px) { .cap-grid { grid-template-columns: 1fr; } }
.cap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color 0.2s; }
.cap:hover { border-color: var(--orange-line); }
.cap .icon { width: 36px; height: 36px; background: var(--orange-soft); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--orange); margin-bottom: 14px; }
.cap .icon svg { width: 18px; height: 18px; }
.cap h5 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.cap p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* RELATED CARDS */
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; transition: all 0.2s; cursor: pointer; }
.related-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.related-card .tag { font-size: 11px; color: var(--orange); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.related-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.related-card p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.related-card a { color: var(--orange); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.related-card a::after { content: '→'; transition: transform 0.18s; }
.related-card:hover a::after { transform: translateX(3px); }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
.about-text h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; line-height: 1.1; margin-bottom: 20px; letter-spacing: -0.02em; }
.about-text h2 .accent { color: var(--orange); }
.about-text p { font-size: 15.5px; color: var(--muted); margin-bottom: 18px; line-height: 1.75; }
.about-text strong { color: var(--text); font-weight: 600; }
.about-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.about-stat .num { font-size: 42px; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 6px; letter-spacing: -0.02em; }
.about-stat .lbl { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }

/* CTA STRIP */
.cta-strip { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%); padding: 70px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1.15; color: #fff; max-width: 720px; letter-spacing: -0.02em; }
.cta-inner .btn { background: #fff; color: var(--orange); padding: 16px 30px; font-size: 15px; }
.cta-inner .btn:hover { background: rgba(255,255,255,0.92); transform: translateY(-1px); }

/* LEAD FORM */
.lead-block { background: var(--black); padding: 100px 0; }
.lead-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .lead-grid { grid-template-columns: 1fr; gap: 40px; } }
.lead-info h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.1; margin-bottom: 18px; letter-spacing: -0.02em; }
.lead-info p { font-size: 15.5px; color: var(--muted); margin-bottom: 28px; line-height: 1.7; }
.lead-info .info-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.lead-info .info-row:last-child { border-bottom: 1px solid var(--line); }
.lead-info .info-row .ico { width: 40px; height: 40px; background: var(--orange-soft); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--orange); flex-shrink: 0; }
.lead-info .info-row .ico svg { width: 18px; height: 18px; }
.lead-info .info-row .lbl { font-size: 11px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; }
.lead-info .info-row .val { font-size: 14.5px; color: var(--text); font-weight: 600; }

.lead-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.lead-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.lead-form .form-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 12px; }
.form-field label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; color: var(--text); font-family: inherit; font-size: 14px; padding: 12px 14px; outline: none; transition: border-color 0.15s; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--orange); }
.form-field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 16px) center, calc(100% - 11px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 20px; }
.form-checkbox input { width: 18px; height: 18px; accent-color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.form-checkbox label { font-size: 12px; color: var(--muted); line-height: 1.5; }
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* FOOTER */
footer { background: var(--black); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin: 16px 0 18px; max-width: 320px; }
.footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; transition: color 0.15s; line-height: 1.6; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: var(--muted-2); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all 0.15s; }
.footer-social a:hover { border-color: var(--orange); color: var(--orange); }
.footer-social svg { width: 16px; height: 16px; }

/* FLOATING WHATSAPP */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37,211,102,0.4); transition: all 0.2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Hamburger button — hidden on desktop, shown via media query */
.menu-btn .icon-close { display: none; }
.nav-backdrop { display: none; }

/* MOBILE NAV — proper drawer (replaces the old display:flex hack) */
@media (max-width: 900px) {
  .header-cta .btn-outline { display: none; }
  .phone-link span { display: none; }

  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    border: 1px solid var(--line); border-radius: 8px;
    color: var(--text); background: transparent;
    transition: border-color 0.18s, color 0.18s;
    position: relative; z-index: 110;
  }
  .menu-btn:hover { border-color: var(--orange); color: var(--orange); }
  .menu-btn svg { width: 20px; height: 20px; }

  /* Slide-in drawer */
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(86vw, 340px); height: 100dvh;
    background: var(--bg);
    border-left: 1px solid var(--line);
    padding: 96px 22px 32px;
    display: block;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 105;
    box-shadow: -20px 0 60px rgba(57, 29, 28, 0.18);
  }
  body.nav-open .nav { transform: translateX(0); }

  .nav-backdrop {
    display: block;
    position: fixed; inset: 0;
    background: rgba(57, 29, 28, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: 100;
    pointer-events: none;
  }
  body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }

  /* Lock background scroll when drawer is open */
  body.nav-open { overflow: hidden; touch-action: none; }

  /* Toggle hamburger / close icon */
  body.nav-open .menu-btn .icon-open { display: none; }
  body.nav-open .menu-btn .icon-close { display: block; }
  body.nav-open .menu-btn { border-color: var(--orange); color: var(--orange); }

  /* Stack the menu items vertically inside the drawer */
  .nav ul.wp-menu { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav ul.wp-menu > li { width: 100%; }
  .nav ul.wp-menu > li > a {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 14px 16px; font-size: 15px; font-weight: 600;
    color: var(--text); border-radius: 8px;
    border-bottom: 1px solid var(--line);
  }
  .nav ul.wp-menu > li.current-menu-item > a,
  .nav ul.wp-menu > li.current_page_item > a { color: var(--orange); }

  /* Sub-menu — accordion style on mobile */
  .nav ul.wp-menu > li.menu-item-has-children > a::after {
    content: '+'; opacity: 0.7; font-size: 18px; font-weight: 400;
    transition: transform 0.2s;
  }
  .nav ul.wp-menu > li.menu-item-has-children.is-open > a::after {
    transform: rotate(45deg); color: var(--orange); opacity: 1;
  }
  .nav ul.wp-menu > li.menu-item-has-children > .sub-menu {
    position: static; transform: none; opacity: 1; pointer-events: auto;
    background: transparent; border: none; box-shadow: none; padding: 0;
    min-width: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav ul.wp-menu > li.menu-item-has-children.is-open > .sub-menu {
    max-height: 600px;
    padding: 4px 0 12px 12px;
    border-bottom: 1px solid var(--line);
  }
  .nav ul.wp-menu > li > .sub-menu li a {
    padding: 10px 14px; font-size: 14px; color: var(--muted);
    border-radius: 6px;
  }
  .nav ul.wp-menu > li > .sub-menu li a:hover { color: var(--orange); background: var(--orange-soft); }
}

/* COUNTER — stays orange while animating */
.count-up { font-variant-numeric: tabular-nums; }

/* ============== PROJECTS PAGE ============== */
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .projects-grid { grid-template-columns: 1fr; } }

.project-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.25s; display: flex; flex-direction: column;
}
.project-card:hover { border-color: var(--orange); transform: translateY(-4px); }

.project-card .thumb {
  aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--surface-2);
}
.project-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.project-card:hover .thumb img { transform: scale(1.04); }

.project-card .play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0; transition: opacity 0.2s;
}
.project-card:hover .play-overlay { opacity: 1; }
.project-card .play-overlay svg {
  width: 56px; height: 56px;
  fill: #fff; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.project-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.project-card .tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 8px;
}
.project-card h3 {
  font-size: 17px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em;
  line-height: 1.25;
}
.project-card .meta {
  display: flex; gap: 12px; font-size: 12px; color: var(--muted-2);
  margin-bottom: 10px;
}
.project-card .meta span { display: inline-flex; align-items: center; gap: 4px; }
.project-card p.desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; flex: 1; }
.project-card a.more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; color: var(--orange); font-size: 13px; font-weight: 600;
}
.project-card a.more::after { content: '→'; transition: transform 0.18s; }
.project-card:hover a.more::after { transform: translateX(3px); }

/* Filter pills on Projects archive */
.project-filter {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 40px;
}
.project-filter a {
  padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--muted);
  transition: all 0.18s;
}
.project-filter a:hover, .project-filter a.is-active {
  border-color: var(--orange); color: var(--orange); background: var(--orange-soft);
}

/* Single project — hero gallery + video */
.project-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 12px;
}
@media (max-width: 720px) { .project-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .project-gallery { grid-template-columns: 1fr; } }
.project-thumb {
  aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius);
  cursor: zoom-in; background: var(--surface-2);
  border: 1px solid var(--line); transition: border-color 0.2s, transform 0.2s;
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.project-thumb:hover { border-color: var(--orange); }
.project-thumb:hover img { transform: scale(1.06); }

/* Video frame — responsive 16:9 */
.video-frame {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--radius-lg); background: #000;
  border: 1px solid var(--line); margin: 16px 0 24px;
}
.video-frame iframe, .video-frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* Project meta box */
.project-meta {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; margin: 24px 0;
}
@media (max-width: 540px) { .project-meta { grid-template-columns: 1fr; } }
.project-meta .pm-row .lbl {
  font-size: 11px; color: var(--muted-2); text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 600; margin-bottom: 4px;
}
.project-meta .pm-row .val { font-size: 14.5px; color: var(--text); font-weight: 600; }

/* Lightbox */
.eandi-lightbox {
  position: fixed; inset: 0; background: rgba(5, 5, 5, 0.92);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 40px;
}
.eandi-lightbox.is-open { display: flex; }
.eandi-lightbox img {
  max-width: 100%; max-height: 100%; border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.eandi-lightbox-close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; cursor: pointer;
}
.eandi-lightbox-close:hover { background: var(--orange); border-color: var(--orange); }
body.lightbox-open { overflow: hidden; }

/* ============== CLIENTS CAROUSEL ==============
   Pure-CSS infinite horizontal marquee. The track is duplicated
   in PHP so translateX(-50%) loops seamlessly. Pauses on hover.
   ============================================== */
.clients-section { padding: 80px 0; border-bottom: 1px solid var(--line); background: var(--black); }
.clients-section .section-head { margin-bottom: 36px; }

.clients-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.clients-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: eandi-marquee 60s linear infinite;
  will-change: transform;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }

@keyframes eandi-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; }
  .clients-marquee { mask-image: none; -webkit-mask-image: none; overflow-x: auto; }
}

.client-card {
  flex: 0 0 auto;
  width: 200px; height: 110px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  padding: 18px 22px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(57,29,28,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
}
.client-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(57,29,28,0.12); }
.client-card img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  filter: none;
  display: block;
}
.client-card .client-text {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #391D1C;
  text-align: center;
  line-height: 1.2;
}
.client-card .client-text small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #6B5450;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .client-card { width: 150px; height: 90px; padding: 14px 16px; }
  .client-card .client-text { font-size: 13px; }
  .clients-track { gap: 12px; animation-duration: 45s; }
}

/* ============== WordPress menu compatibility ============== */
.nav ul.wp-menu, .nav ul.wp-menu li, .nav ul.wp-menu ul { list-style: none; padding: 0; margin: 0; }
.nav ul.wp-menu { display: flex; gap: 4px; align-items: center; position: relative; }
.nav ul.wp-menu > li > a {
  font-size: 14px; font-weight: 500; color: var(--muted); padding: 8px 14px; border-radius: 6px;
  transition: color 0.15s, background 0.15s; display: inline-flex; align-items: center; gap: 4px;
}
.nav ul.wp-menu > li > a:hover, .nav ul.wp-menu > li.current-menu-item > a, .nav ul.wp-menu > li.current_page_item > a, .nav ul.wp-menu > li.current-menu-ancestor > a { color: var(--text); background: rgba(57,29,28,0.05); }
.nav ul.wp-menu > li.menu-item-has-children { position: relative; }
.nav ul.wp-menu > li.menu-item-has-children > a::after { content: ' ▾'; opacity: 0.7; font-size: 11px; }
.nav ul.wp-menu > li.menu-item-has-children > .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 280px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px; opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: all 0.18s; box-shadow: 0 12px 40px rgba(57,29,28,0.12);
}
.nav ul.wp-menu > li.menu-item-has-children:hover > .sub-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav ul.wp-menu > li > .sub-menu li a {
  display: block; padding: 10px 14px; border-radius: 6px; font-size: 13.5px;
  color: var(--text); transition: background 0.12s;
}
.nav ul.wp-menu > li > .sub-menu li a:hover { background: var(--orange-soft); color: var(--orange); }

/* Form success/error states */
.form-msg { padding: 14px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.form-msg.success { background: rgba(45,170,90,0.10); border: 1px solid rgba(45,170,90,0.35); color: #1F7A3A; }
.form-msg.error { background: rgba(192,57,43,0.08); border: 1px solid rgba(192,57,43,0.30); color: #B83A2B; }

/* WP-managed image block in post content */
.prose img, .prose .wp-block-image { max-width: 100%; border-radius: 8px; margin: 16px 0; }
.prose .wp-block-image figcaption { font-size: 12px; color: var(--muted-2); text-align: center; margin-top: 6px; }

/* ==========================================================
   v1.5 — Orange header + footer, Dubai skyline hero,
          Featured Projects on home (May 2026)
   ========================================================== */

/* ---------- HEADER on brand orange ---------- */
.site-header {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
/* White logo bars + text inside both the header AND the footer (also orange) */
.site-header .logo-bar,
footer .logo-bar { background: #fff; }
.site-header .logo-bar:nth-child(3),
footer .logo-bar:nth-child(3) { background: transparent; }
.site-header .logo-bar:nth-child(3)::before,
.site-header .logo-bar:nth-child(3)::after,
footer .logo-bar:nth-child(3)::before,
footer .logo-bar:nth-child(3)::after { background: #fff; }
.site-header .logo,
footer .logo { color: #fff; }
.site-header .logo-text small,
footer .logo-text small { color: rgba(255,255,255,0.78); }

/* v1.7.8 — inline SVG logo (bundled asset, uses currentColor → white in header/footer) */
.logo--svg { color: #fff; display: inline-flex; align-items: center; }
.logo--svg svg { display: block; height: 44px; width: auto; max-width: 220px; color: inherit; }
.logo--svg svg text { fill: currentColor; }
.logo--svg svg rect,
.logo--svg svg path,
.logo--svg svg polygon { fill: currentColor; }
@media (max-width: 600px) {
  .logo--svg svg { height: 38px; max-width: 180px; }
}
footer .logo--svg svg { height: 50px; max-width: 240px; }
/* ============================================================
 * v1.7.9 — Bulletproof Custom Logo sizing + black-bg auto-fix
 *   • !important defeats WordPress's inline width/height
 *     attributes on the <img class="custom-logo">.
 *   • mix-blend-mode: screen makes pure-black pixels (a common
 *     PNG export wallpaper) effectively invisible on the orange
 *     header/footer — so logos with black backgrounds blend in.
 *     SVG / transparent PNG are unaffected by this.
 * ============================================================ */
.logo.logo--custom {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  max-width: 260px;
}
.logo.logo--custom .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.logo.logo--custom img,
.logo.logo--custom .custom-logo,
.logo.logo--custom .custom-logo-link img {
  display: block !important;
  height: 44px !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain !important;
  mix-blend-mode: screen;
  background: transparent !important;
}
.site-header .logo.logo--custom img,
.site-header .logo.logo--custom .custom-logo { height: 44px !important; }
footer .logo.logo--custom img,
footer .logo.logo--custom .custom-logo { height: 50px !important; max-width: 260px !important; }
@media (max-width: 600px) {
  .site-header .logo.logo--custom img,
  .site-header .logo.logo--custom .custom-logo { height: 38px !important; max-width: 200px !important; }
}

/* Desktop nav links on orange header — scope to desktop so mobile drawer keeps dark text on white */
@media (min-width: 901px) {
  .site-header .nav > a,
  .site-header .nav > .nav-dd > button,
  .site-header .nav ul.wp-menu > li > a {
    color: rgba(255,255,255,0.92);
  }
  .site-header .nav > a:hover,
  .site-header .nav > .nav-dd > button:hover,
  .site-header .nav > a.active,
  .site-header .nav ul.wp-menu > li > a:hover,
  .site-header .nav ul.wp-menu > li.current-menu-item > a,
  .site-header .nav ul.wp-menu > li.current_page_item > a,
  .site-header .nav ul.wp-menu > li.current-menu-ancestor > a {
    color: #fff;
    background: rgba(255,255,255,0.16);
  }
  /* Dropdown panel stays white but its caret arrow needs to read on orange */
  .site-header .nav ul.wp-menu > li.menu-item-has-children > a::after { opacity: 0.85; }
}

/* Phone CTA + outline button on orange */
.site-header .phone-link { color: #fff; }
.site-header .phone-link:hover { color: #fff; background: rgba(255,255,255,0.16); }
.site-header .phone-link svg { color: #fff; }
.site-header .btn-outline {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.site-header .btn-outline:hover {
  background: #fff;
  color: var(--orange);
  border-color: #fff;
}
.site-header .menu-btn {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.site-header .menu-btn:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.14);
}

/* ---------- HERO with Dubai skyline background ---------- */
.hero {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.93) 0%, rgba(255,247,242,0.86) 45%, rgba(255,225,211,0.72) 100%),
    url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?w=2400&q=80&auto=format&fit=crop') center/cover no-repeat;
  background-attachment: scroll, scroll;
}
.hero::before {
  /* Tone down the existing radial wash so it doesn't fight the photo */
  background:
    radial-gradient(800px 500px at 80% 20%, rgba(237,109,55,0.08), transparent 60%),
    radial-gradient(600px 400px at 10% 80%, rgba(237,109,55,0.05), transparent 60%);
}

/* ---------- FEATURED PROJECTS on home (after Clients) ---------- */
.featured-projects-cta { text-align: center; margin-top: 40px; }

/* ---------- FOOTER on brand orange ---------- */
footer {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
}
footer .footer-brand p { color: rgba(255,255,255,0.88); }
footer .footer-col h5 { color: #fff; }
footer .footer-col a,
footer .footer-col p { color: rgba(255,255,255,0.80); }
footer .footer-col a:hover { color: #fff; }
footer .footer-bottom {
  border-top-color: rgba(255,255,255,0.20);
}
footer .footer-bottom p { color: rgba(255,255,255,0.68); }
footer .footer-social a {
  border-color: rgba(255,255,255,0.32);
  color: rgba(255,255,255,0.88);
}
footer .footer-social a:hover {
  background: #fff;
  color: var(--orange);
  border-color: #fff;
}
/* Override any inline orange link inside footer (e.g. "All Projects →") so it reads on orange */
footer .footer-col a[style] { color: #fff !important; }

/* ==========================================================
   v1.6 — Sector cards with background photos
        + Hero image/opacity controllable via CSS variables
        (May 2026)
   ========================================================== */

/* ---------- HERO — variable-driven so WP Customizer can override inline ---------- */
.hero {
  --hero-image: url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?w=2400&q=80&auto=format&fit=crop');
  --hero-overlay-opacity: 0.80;
  background:
    linear-gradient(135deg,
      rgba(255,255,255, var(--hero-overlay-opacity)) 0%,
      rgba(255,247,242, var(--hero-overlay-opacity)) 50%,
      rgba(255,225,211, var(--hero-overlay-opacity)) 100%),
    var(--hero-image) center/cover no-repeat;
}

/* ---------- SECTOR CARDS — full-bleed photo + dark/orange overlay ---------- */
.sector {
  background-color: var(--surface);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.sector:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(57,29,28,0.18);
}
/* Resting dark gradient for label legibility — replaces the old transparent→orange-soft wash */
.sector::before {
  background: linear-gradient(180deg,
    rgba(57,29,28,0.10) 0%,
    rgba(57,29,28,0.32) 45%,
    rgba(57,29,28,0.78) 100%);
  opacity: 1;
  transition: opacity 0.25s;
  z-index: 0;
}
/* Orange takeover on hover */
.sector::after {
  content:''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(237,109,55,0.42) 0%, rgba(212,85,35,0.92) 100%);
  opacity: 0; transition: opacity 0.25s;
  z-index: 0;
}
.sector:hover::before { opacity: 0.6; }
.sector:hover::after  { opacity: 1; }

/* Icon chip — solid orange resting, white on hover */
.sector .sector-icon {
  background: var(--orange);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 4px 12px rgba(212,85,35,0.35);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.sector:hover .sector-icon {
  background: #fff;
  color: var(--orange);
  border-color: #fff;
}

/* Label — white over the photo overlay */
.sector .sector-name {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

/* ==========================================================
   v1.7 — Framer-Motion-style hero entrance (via Motion One)
        + Partners block in footer
        (May 2026)
   ========================================================== */

/* ---------- HERO MOTION — initial states (no FOUC) ----------
   <html> gets .eandi-motion added by inline JS before <body> renders.
   If JS is off, the class is never added and the hero shows normally. */
.eandi-motion .hero[data-eandi-hero] [data-motion] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  will-change: opacity, transform;
}
.eandi-motion .hero[data-eandi-hero] [data-motion="visual"] .hero-card {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.96);
  will-change: opacity, transform;
}

/* Subtle, infinite float on the feature card after the entrance lands.
   Motion One toggles .is-floating on the card once it's animated in. */
.hero-card.feature.is-floating { animation: eandi-hero-float 6.5s ease-in-out infinite; }
@keyframes eandi-hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Respect users who don't want motion */
@media (prefers-reduced-motion: reduce) {
  .hero[data-eandi-hero] [data-motion],
  .hero[data-eandi-hero] [data-motion="visual"] .hero-card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .hero-card.feature.is-floating { animation: none !important; }
}

/* ---------- FOOTER — Partners block ---------- */
.footer-partners {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.footer-partners h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin: 0;
}
.footer-partners .partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.footer-partners .partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.footer-partners a.partner-logo:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.45);
  transform: translateY(-2px);
}
.footer-partners .partner-logo img {
  display: block;
  max-height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
/* "Force white" — flatten any colored logo to pure white */
.footer-partners .partner-logo.is-white img {
  filter: brightness(0) invert(1);
}
/* Multi-logo footer row — slightly tighter gap so several logos fit */
.footer-partners .partners-row.is-multi { gap: 16px; }
.footer-partners .partners-row.is-multi .partner-logo { padding: 6px 12px; }
.footer-partners .partners-row.is-multi .partner-logo img { max-height: 34px; max-width: 150px; }
/* Text fallback when no image is set */
.footer-partners .partner-text {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.footer-partners .partner-text:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

/* ==========================================================
   v1.7.1 — Partners section on the home page
   ========================================================== */
.partners-section {
  background:
    radial-gradient(900px 380px at 50% 0%, rgba(237,109,55,0.06), transparent 70%),
    linear-gradient(180deg, #fff 0%, #fffaf6 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners-section .section-head { margin-bottom: 44px; }

.partners-section .partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}

.partners-section .partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 40px 32px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.partners-section .partner-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-dark) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s ease;
}
.partners-section .partner-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange-line);
  box-shadow: 0 18px 38px rgba(57,29,28,0.12);
}
.partners-section .partner-card:hover::before { transform: scaleX(1); }

.partners-section .partner-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 88px;
  padding: 14px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fff7f2 100%);
  border-radius: 14px;
  border: 1px solid rgba(57,29,28,0.06);
}
.partners-section .partner-card-logo img {
  display: block;
  max-height: 64px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  filter: saturate(1.02);
  transition: transform 0.35s ease;
}
.partners-section .partner-card:hover .partner-card-logo img {
  transform: scale(1.04);
}

.partners-section .partner-card-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.partners-section .partner-card-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.partners-section .partner-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.02em;
}
.partners-section .partner-card-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}
.partners-section .partner-card:hover .partner-card-cta svg {
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .partners-section .partner-card { padding: 32px 22px 26px; }
  .partners-section .partner-card-logo { min-height: 76px; }
  .partners-section .partner-card-logo img { max-height: 56px; max-width: 170px; }
}

/* ==========================================================
   v1.7.5 — Partners CAROUSEL (rendered when 2+ partners exist)
   Same pattern as the Clients marquee — duplicated track,
   pure-CSS infinite scroll, pauses on hover, collapses to
   native horizontal scroll on prefers-reduced-motion.
   ========================================================== */
.partners-section.has-carousel .section-head { margin-bottom: 40px; }

.partners-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.partners-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: eandi-partners-marquee 45s linear infinite;
  will-change: transform;
}
.partners-marquee:hover .partners-track { animation-play-state: paused; }
@keyframes eandi-partners-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
  .partners-marquee { mask-image: none; -webkit-mask-image: none; overflow-x: auto; }
}

.partner-tile {
  flex: 0 0 auto;
  width: 210px;
  height: 120px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fff7f2 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(57,29,28,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.partner-tile:hover {
  transform: translateY(-3px);
  border-color: var(--orange-line);
  box-shadow: 0 12px 28px rgba(57,29,28,0.14);
}
.partner-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: saturate(1.02);
  transition: transform 0.35s ease;
}
.partner-tile:hover img { transform: scale(1.04); }
.partner-tile .partner-tile-name {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink, #391D1C);
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 600px) {
  .partner-tile { width: 160px; height: 96px; padding: 14px 18px; }
  .partners-track { gap: 14px; animation-duration: 35s; }
}

/* ==========================================================
   v1.7.6 — MOBILE DRAWER POLISH
   - Force submenus to flow inline inside the drawer
     (defeats the desktop "WordPress menu compatibility"
     block that was setting position:absolute and causing
     Services dropdown to overlap "Sectors").
   - Add a contact + social footer to the drawer.
   - Tighten typography and spacing for narrow phones.
   ========================================================== */

/* Hide the mobile-only nav footer on desktop */
.nav-mobile-foot { display: none; }

@media (max-width: 900px) {

  /* ---- 1. Drawer hard reset on submenus ----
     Stronger than the v1.5 "WordPress menu compatibility" block
     so the dropdown stays inline (accordion) inside the drawer. */
  .nav ul.wp-menu > li.menu-item-has-children > .sub-menu,
  .nav ul.wp-menu > li.menu-item-has-children:hover > .sub-menu,
  .nav ul.wp-menu > li.menu-item-has-children:focus-within > .sub-menu {
    position: static;
    top: auto; left: auto;
    transform: none;
    min-width: 0; width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    transition: max-height 0.3s ease;
    max-height: 0;
    overflow: hidden;
  }
  /* Only the active accordion item shows its children */
  .nav ul.wp-menu > li.menu-item-has-children.is-open > .sub-menu {
    max-height: 800px;
    padding: 6px 0 12px 10px;
  }
  /* Remove the desktop caret entirely on mobile — we use + / × via JS */
  .nav ul.wp-menu > li.menu-item-has-children > a::after { content: ''; }

  /* Custom + / × indicator on the parent row */
  .nav ul.wp-menu > li.menu-item-has-children > a {
    position: relative;
  }
  .nav ul.wp-menu > li.menu-item-has-children > a::before {
    content: '';
    position: absolute;
    right: 22px; top: 50%;
    width: 10px; height: 2px;
    background: var(--orange);
    transform: translateY(-50%);
    border-radius: 2px;
    transition: opacity 0.2s;
  }
  .nav ul.wp-menu > li.menu-item-has-children > a::after {
    content: '';
    position: absolute;
    right: 26px; top: 50%;
    width: 2px; height: 10px;
    background: var(--orange);
    transform: translateY(-50%);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s;
  }
  .nav ul.wp-menu > li.menu-item-has-children.is-open > a::after {
    transform: translateY(-50%) scaleY(0);
  }

  /* Submenu link polish */
  .nav ul.wp-menu > li > .sub-menu {
    display: flex; flex-direction: column; gap: 1px;
    list-style: none; margin: 0;
  }
  .nav ul.wp-menu > li > .sub-menu li { list-style: none; }
  .nav ul.wp-menu > li > .sub-menu li a {
    display: flex; align-items: center;
    padding: 10px 14px; font-size: 14px; line-height: 1.35;
    color: var(--muted); border-radius: 8px; border: none;
    position: relative; padding-left: 22px;
  }
  .nav ul.wp-menu > li > .sub-menu li a::before {
    content: ''; position: absolute; left: 8px; top: 50%;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--orange-soft, #FFE1D3);
    transform: translateY(-50%);
    transition: background 0.18s, transform 0.18s;
  }
  .nav ul.wp-menu > li > .sub-menu li a:hover,
  .nav ul.wp-menu > li > .sub-menu li a:focus {
    color: var(--orange); background: var(--orange-soft);
  }
  .nav ul.wp-menu > li > .sub-menu li a:hover::before {
    background: var(--orange); transform: translateY(-50%) scale(1.2);
  }

  /* ---- 2. Drawer body breathing room ---- */
  .nav {
    padding: 88px 18px 28px;
    /* nicer background — subtle orange wash up top, fades to white */
    background:
      radial-gradient(420px 220px at 100% 0%, rgba(237,109,55,0.10), transparent 70%),
      linear-gradient(180deg, #ffffff 0%, #fffaf6 100%);
  }
  .nav ul.wp-menu > li > a {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(57,29,28,0.06);
    color: var(--ink, var(--text));
    letter-spacing: -0.005em;
  }
  .nav ul.wp-menu > li > a:hover,
  .nav ul.wp-menu > li > a:focus,
  .nav ul.wp-menu > li.current-menu-item > a,
  .nav ul.wp-menu > li.current_page_item > a {
    color: var(--orange);
    background: var(--orange-soft);
    border-radius: 10px;
    border-color: transparent;
  }
  .nav ul.wp-menu > li:last-child > a { border-bottom: none; }

  /* ---- 3. Contact + social footer inside the drawer ---- */
  .nav-mobile-foot {
    display: block;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed rgba(57,29,28,0.18);
  }
  .nav-mobile-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
  }
  .nav-mobile-eyebrow .dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--orange);
  }
  .nav-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid rgba(57,29,28,0.08);
    border-radius: 12px;
    text-decoration: none;
    color: var(--ink, var(--text));
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  }
  .nav-contact:hover,
  .nav-contact:focus {
    border-color: var(--orange-line, rgba(237,109,55,0.4));
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(57,29,28,0.08);
  }
  .nav-contact-ico {
    flex: 0 0 auto;
    width: 36px; height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orange-soft, #FFE1D3);
    color: var(--orange);
  }
  .nav-contact-ico.is-wa {
    background: rgba(37,211,102,0.12);
    color: #25D366;
  }
  .nav-contact-ico svg {
    width: 16px; height: 16px;
  }
  .nav-contact-body {
    display: flex; flex-direction: column;
    line-height: 1.25;
    min-width: 0;
  }
  .nav-contact-body small {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
  }
  .nav-contact-body strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink, var(--text));
    word-break: break-word;
  }

  .nav-mobile-cta {
    display: flex !important;
    align-items: center; justify-content: center;
    width: 100%;
    margin: 14px 0 18px;
    padding: 14px 18px;
    font-size: 15px;
  }

  .nav-mobile-social {
    display: flex;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px dashed rgba(57,29,28,0.12);
  }
  .nav-mobile-social a {
    flex: 0 0 auto;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(57,29,28,0.10);
    color: var(--ink, var(--text));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
  }
  .nav-mobile-social a:hover,
  .nav-mobile-social a:focus {
    color: var(--orange);
    border-color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(237,109,55,0.18);
  }
  .nav-mobile-social a.is-wa:hover,
  .nav-mobile-social a.is-wa:focus {
    color: #25D366;
    border-color: #25D366;
    box-shadow: 0 6px 14px rgba(37,211,102,0.22);
  }
  .nav-mobile-social a svg { width: 18px; height: 18px; }
}

/* Extra tightening for very small phones (iPhone SE 320–375px) */
@media (max-width: 380px) {
  .nav { padding: 84px 14px 24px; }
  .nav ul.wp-menu > li > a { padding: 13px 14px; font-size: 14.5px; }
  .nav-contact { padding: 9px 10px; gap: 10px; }
  .nav-contact-ico { width: 32px; height: 32px; }
  .nav-contact-body strong { font-size: 13px; }
  .nav-mobile-social a { width: 38px; height: 38px; }
}
