/* =====================================================================
   EcoWave — Home Page Styles
   Minimalist, warm-off-white, industrial catalogue aesthetic
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* Force font on all elements including footer */
*, *::before, *::after { font-family: inherit; }

/* ------------------------------------------------------------------ */
/* 0. TOKENS                                                           */
/* ------------------------------------------------------------------ */
:root {
  --font-head:   'Manrope', 'Inter', sans-serif;
  --font-base:   'Inter', sans-serif;
  --ew-ink:      #141414;
  --ew-ink-soft: #444;
  --ew-muted:    #777;
  --ew-rule:     #e0e4e1;
  --ew-bg:       #F4F5F2;   /* warm off-white — never pure white */
  --ew-bg-alt:   #ECEEEA;   /* slightly deeper warm tone */
  --ew-bg-hero:  #E8EBE6;   /* hero section tint */
  --ew-surface:  #FFFFFF;
  --ew-green:    #1A5C3A;   /* deep brand green */
  --ew-lime:     #7AB648;   /* accent lime */
  --ew-lime-light: #D5E8C2; /* highlight tint */
  --font-head:'Manrope', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --ease:        cubic-bezier(.25,1,.5,1);
  --maxw:        1400px;
  --gut:         clamp(1.2rem, 4vw, 2.5rem);
}

/* ------------------------------------------------------------------ */
/* 1. BASE                                                             */
/* ------------------------------------------------------------------ */
.ew-page { font-family:var(--font-sans); color:var(--ew-ink); background:var(--ew-bg); -webkit-font-smoothing:antialiased; }
.ew-page *, .ew-page *::before, .ew-page *::after { box-sizing:border-box; }
.ew-page h1,.ew-page h2,.ew-page h3,.ew-page h4 { margin:0; line-height:1.1; }
.ew-page p { margin:0; color:var(--ew-ink-soft); line-height:1.7; }
.ew-page img { display:block; max-width:100%; height:auto; }
.ew-page a { text-decoration:none; color:inherit; }

.ew-wrap { width:100%; max-width:var(--maxw); margin:0 auto; padding:0 var(--gut); }

/* ------------------------------------------------------------------ */
/* 2. TYPOGRAPHY                                                       */
/* ------------------------------------------------------------------ */
.ew-display {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ew-ink);
}
.ew-h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  color: var(--ew-ink);
}
.ew-h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ew-ink);
  letter-spacing: -0.01em;
}
.ew-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ew-muted);
}
.ew-label--green { color: var(--ew-green); }
.ew-body { font-size: 1.05rem; line-height: 1.75; color: var(--ew-ink-soft); }

/* ------------------------------------------------------------------ */
/* 3. REVEAL ANIMATIONS                                                */
/* ------------------------------------------------------------------ */
@keyframes ewUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
.ew-reveal { opacity:0; animation:ewUp 0.75s var(--ease) forwards; animation-play-state:paused; }
.ew-reveal.run { animation-play-state:running; }
.ew-d1 { animation-delay:0.1s; }
.ew-d2 { animation-delay:0.2s; }
.ew-d3 { animation-delay:0.3s; }
.ew-d4 { animation-delay:0.4s; }
.ew-d5 { animation-delay:0.5s; }

/* ------------------------------------------------------------------ */
/* 4. BUTTONS                                                          */
/* ------------------------------------------------------------------ */
.ew-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 6px;           /* consistent site-wide radius */
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
/* PRIMARY — brand green fill */
.ew-btn--dark  { background: var(--ew-green); color: #fff !important; border-color: var(--ew-green); }
.ew-btn--dark:hover  { background: #133f28; border-color: #133f28; color: #fff !important; }
.ew-btn--green { background: var(--ew-green); color: #fff !important; border-color: var(--ew-green); }
.ew-btn--green:hover { background: #133f28; border-color: #133f28; color: #fff !important; }
/* OUTLINE — brand green border, white text when on dark bg */
.ew-btn--outline { background: transparent; border-color: var(--ew-green); color: var(--ew-green) !important; }
.ew-btn--outline:hover { background: var(--ew-green); color: #fff !important; }
/* On dark/hero background — white outline variant */
.ew-btn--outline-white { background: transparent; border-color: rgba(255,255,255,0.55); color: #fff !important; border-radius: 6px; padding: 0.85rem 1.6rem; }
.ew-btn--outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff !important; }

/* Global overrides for existing theme buttons */
.btn { border-radius: 6px !important; }
.btn-primary { border-radius: 6px !important; }
.btn-ghost { border-radius: 6px !important; }

.ew-arrow-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ew-green);
  transition: gap 0.3s var(--ease), color 0.2s;
}
.ew-arrow-link:hover { gap: 0.75rem; color: #133f28; }

/* ------------------------------------------------------------------ */
/* 5. SECTION CHROME                                                   */
/* ------------------------------------------------------------------ */
.ew-sec {
  padding: 6rem 0;
  border-bottom: 1px solid var(--ew-rule);
  background: var(--ew-bg);
}
.ew-sec--alt { background: var(--ew-bg-alt); }
.ew-sec--dark { background: var(--ew-ink); border-color: #222; }
.ew-sec--dark .ew-h2, .ew-sec--dark .ew-h3, .ew-sec--dark p { color: #ccc; }
.ew-sec--dark .ew-h2 { color: #fff; }
.ew-sec--dark .ew-label { color: var(--ew-lime); }

.ew-sec-head { margin-bottom: 3.5rem; }
.ew-sec-head--center { text-align: center; }
.ew-sec-head .ew-h2 { margin-top: 0.6rem; }

/* ------------------------------------------------------------------ */
/* 6. ═══ HERO — full width, edge-to-edge                             */
/* ------------------------------------------------------------------ */
.ew-hero {
  position: relative;
  width: 100%;
  min-height: calc(70vh + 80px);  /* increased by 80px */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #1a2e22;
  overflow: hidden;
  border-bottom: 1px solid var(--ew-rule);
}
.ew-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
.ew-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Stronger overlay so text is always legible */
  background:
    linear-gradient(
      to right,
      rgba(8, 22, 13, 0.92) 0%,
      rgba(8, 22, 13, 0.80) 40%,
      rgba(8, 22, 13, 0.45) 65%,
      rgba(8, 22, 13, 0.20) 100%
    ),
    linear-gradient(
      to top,
      rgba(8, 22, 13, 0.75) 0%,
      rgba(8, 22, 13, 0.10) 50%
    );
}

.ew-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px var(--gut) 60px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.ew-hero__tag {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.75rem;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
}
/* Smaller hero heading */
.ew-hero .ew-display {
  color: #fff;
  max-width: 700px;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem); /* reduced */
}
.ew-hero .ew-display em { font-style: italic; color: var(--ew-lime-light); }
.ew-hero__sub {
  margin-top: 1.25rem;
  font-size: 1rem;
  color: #ffffff !important;    /* always pure white */
  max-width: 520px;
  line-height: 1.8;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4); /* extra legibility */
}
/* Buttons always one row on hero */
.ew-hero__cta {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.85rem;
  margin-top: 2rem;
  align-items: center;
}

/* Hero metric strip */
.ew-hero__strip {
  position: relative;
  z-index: 3;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--ew-rule);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.ew-hero__stat {
  padding: 1.5rem 2rem;
  border-right: 1px solid var(--ew-rule);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ew-hero__stat:last-child { border-right: none; }
.ew-hero__stat-n {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--ew-green);
  line-height: 1;
  white-space: nowrap;
}
.ew-hero__stat-l { font-size: 0.78rem; color: var(--ew-muted); line-height: 1.4; }

/* ------------------------------------------------------------------ */
/* 7. ═══ PRODUCT CATALOGUE — 4 column                                */
/* ------------------------------------------------------------------ */
/* 3-col catalogue with spacing and subtle radius */
.ew-catalogue {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 0;
}

.ew-pcard {
  display: flex;
  flex-direction: column;
  background: var(--ew-surface);
  border: 1px solid var(--ew-rule);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  position: relative;
}
.ew-pcard:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.ew-pcard__img {
  position: relative;
  overflow: hidden;
  background: var(--ew-bg-alt);
  aspect-ratio: 4/3;
}
.ew-pcard__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.ew-pcard:hover .ew-pcard__img img { transform: scale(1.06); }

.ew-pcard__badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: var(--ew-green);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 3px;
}

/* body: code + name only, no description */
.ew-pcard__body { padding: 1.2rem 1.4rem 0.75rem; display:flex; flex-direction:column; gap:0.35rem; }
.ew-pcard__code { font-family: monospace; font-size: 0.72rem; color: var(--ew-green); font-weight: 700; letter-spacing:0.04em; }
.ew-pcard__name { font-size: 0.95rem; font-weight: 600; color: var(--ew-ink); line-height: 1.35; }
/* description hidden — only show on hover via JS optionally */
.ew-pcard__desc { display: block; font-size: 0.85rem; color: var(--ew-muted); line-height: 1.5; margin-top: 0.15rem; }
.ew-pcard__desc strong { color: var(--ew-ink); font-weight: 700; }
.ew-pcard__foot {
  padding: 0.85rem 1.4rem 1.2rem;
  display: flex;
  align-items: center;
}

/* ------------------------------------------------------------------ */
/* 8. ═══ SPLIT / ABOUT                                                */
/* ------------------------------------------------------------------ */
.ew-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.ew-split__img {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}
.ew-split__img img {
  position: absolute; inset:0; width:100%; height:100%;
  object-fit: cover;
}
.ew-split__content {
  padding: 5rem 4rem;
  background: var(--ew-surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;  /* more breathing room */
}
.ew-split__checklist { display:grid; gap:1.4rem; margin-top:0.25rem; list-style:none; padding:0; }
.ew-split__checklist li {
  display: flex; gap: 1rem; align-items: flex-start;
  font-size: 0.95rem; line-height: 1.65; color: var(--ew-ink-soft);
}
.ew-split__checklist .ew-ck {
  flex: none; width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ew-green);
  color: #fff;
  display: grid; place-items: center;
  margin-top: 3px;
}
.ew-split__checklist .ew-ck svg { width: 11px; }
.ew-split__checklist strong { display:block; font-weight:600; color:var(--ew-ink); margin-bottom: 0.2rem; }

/* ------------------------------------------------------------------ */
/* 9. ═══ FEATURES STRIP — 3 col                                      */
/* ------------------------------------------------------------------ */
.ew-feats { display:grid; grid-template-columns:repeat(3,1fr); gap:0; border:1px solid var(--ew-rule); margin-top:3rem; }
.ew-feat {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--ew-rule);
  background: var(--ew-bg-alt);
}
.ew-feat:last-child { border-right:none; }
.ew-feat__icon {
  width: 42px; height: 42px;
  border: 1.5px solid var(--ew-rule);
  display: grid; place-items: center;
  color: var(--ew-green);
  margin-bottom: 1.2rem;
  background: var(--ew-surface);
}
.ew-feat__icon svg { width: 20px; }
.ew-feat .ew-h3 { margin-bottom: 0.5rem; }
.ew-feat p { font-size: 0.9rem; }

/* ------------------------------------------------------------------ */
/* 10. ═══ DARK METRICS                                                */
/* ------------------------------------------------------------------ */
.ew-metrics-dark {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ew-ink);
}
.ew-md {
  padding: 3.5rem 2rem;
  border-right: 1px solid #222;
  text-align: center;
}
.ew-md:last-child { border-right: none; }
.ew-md__n {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-style: italic;
  color: var(--ew-lime-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.ew-md__l { font-size: 0.75rem; color: #888; text-transform: uppercase; letter-spacing: 0.08em; }

/* ------------------------------------------------------------------ */
/* 11. ═══ INDUSTRIES GRID                                             */
/* ------------------------------------------------------------------ */
.ew-ind-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows:280px 280px; gap: 1px; background: var(--ew-rule); margin-top:3rem; }
.ew-ind-card {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  color: #fff;
  cursor: pointer;
  background: #1a1a1a;
}
.ew-ind-card:first-child { grid-row: span 2; }
.ew-ind-card img {
  position: absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
  opacity: 0.55;
  transition: opacity 0.5s, transform 0.6s var(--ease);
}
.ew-ind-card:hover img { opacity: 0.35; transform: scale(1.05); }
.ew-ind-card__body {
  position: relative; z-index:1;
  padding: 1.5rem 1.75rem;
  width: 100%;
}
.ew-ind-card__body h3 { font-size: 1.2rem; font-family: var(--font-head); color: #fff; margin-bottom: 0.2rem; }
.ew-ind-card__body p { font-size: 0.8rem; color: rgba(255,255,255,0.65); }

/* ------------------------------------------------------------------ */
/* 12. ═══ TECH / PROCESS                                              */
/* ------------------------------------------------------------------ */
.ew-process { display:grid; grid-template-columns:repeat(3,1fr); gap:0; border:1px solid var(--ew-rule); }
.ew-step {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--ew-rule);
  position: relative;
}
.ew-step:last-child { border-right: none; }
.ew-step__num {
  display: inline-block;
  width: 40px; height: 40px;
  border: 1.5px solid var(--ew-green);
  color: var(--ew-green);
  font-size: 0.85rem;
  font-weight: 700;
  display: grid; place-items: center;
  margin-bottom: 1.5rem;
}
.ew-step .ew-h3 { margin-bottom: 0.6rem; }
.ew-step p { font-size: 0.9rem; }

/* ------------------------------------------------------------------ */
/* 13. ═══ MARQUEE STRIP                                               */
/* ------------------------------------------------------------------ */
.ew-marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--ew-rule);
  border-bottom: 1px solid var(--ew-rule);
  background: var(--ew-bg-alt);
  padding: 1rem 0;
}
.ew-marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ew-scroll 28s linear infinite;
}
@keyframes ew-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ew-marquee-track span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ew-muted);
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.25rem 0;
}
.ew-marquee-track span::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ew-lime);
  display: inline-block;
}

/* ------------------------------------------------------------------ */
/* 13b. ═══ ABOUT — REDESIGNED                                        */
/* ------------------------------------------------------------------ */
.ew-about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  border-bottom: 1px solid var(--ew-rule);
}
.ew-about-img {
  position: relative;
  overflow: hidden;
  background: #1a2e22;
}
.ew-about-img > img {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(15%) brightness(0.85);
}
.ew-about-stat {
  position: absolute; z-index: 2;
  background: #fff;
  padding: 1.1rem 1.5rem;
  display: flex; align-items: center; gap: 0.85rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.ew-about-stat--tl { top: 2.5rem; left: 2.5rem; }
.ew-about-stat--br { bottom: 2.5rem; right: 2.5rem; }
.ew-about-stat__n { font-family:var(--font-head); font-size:2.2rem; color:var(--ew-green); line-height:1; }
.ew-about-stat__l { font-size:0.75rem; font-weight:600; color:var(--ew-muted); line-height:1.35; text-transform:uppercase; letter-spacing:0.05em; }
.ew-about-content {
  background: var(--ew-surface);
  padding: 5rem 4.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.ew-about-pillars { display:flex; flex-direction:column; gap:1.5rem; margin-top:2rem; }
.ew-about-pillar { display:flex; gap:1rem; align-items:flex-start; }
.ew-about-pillar__icon {
  flex:none; width:38px; height:38px; border-radius:8px;
  border:1.5px solid var(--ew-rule); background:var(--ew-bg-alt);
  display:grid; place-items:center; color:var(--ew-green); margin-top:2px;
}
.ew-about-pillar__icon svg { width:18px; }
.ew-about-pillar strong { display:block; font-size:0.95rem; font-weight:700; color:var(--ew-ink); margin-bottom:0.3rem; }
.ew-about-pillar p { font-size:0.88rem; color:var(--ew-muted); line-height:1.65; margin:0; }

/* ------------------------------------------------------------------ */
/* 13c. CTA BUTTON VARIANTS (on dark green background)                */
/* ------------------------------------------------------------------ */
.ew-cta-actions { display:flex; flex-wrap:wrap; gap:1rem; justify-content:center; margin-top:2.5rem; }
.ew-btn--cta-white {
  background:#fff; color:var(--ew-green) !important;
  border:2px solid #fff; border-radius:6px;
  font-weight:700; padding:0.85rem 1.75rem; font-size:0.88rem;
  display:inline-flex; align-items:center; gap:0.5rem;
  cursor:pointer; transition:all 0.3s var(--ease);
}
.ew-btn--cta-white:hover { background:#e8f4ee; border-color:#e8f4ee; }
.ew-btn--cta-outline {
  background:transparent; color:#fff !important;
  border:2px solid rgba(255,255,255,0.45); border-radius:6px;
  font-size:0.88rem; font-weight:500; padding:0.85rem 1.5rem;
  display:inline-flex; align-items:center; gap:0.5rem;
  cursor:pointer; transition:all 0.3s var(--ease); text-decoration:none;
}
.ew-btn--cta-outline:hover { border-color:#fff; background:rgba(255,255,255,0.1); }
.ew-btn--cta-outline svg { opacity:0.75; }

/* ------------------------------------------------------------------ */
/* 14. ═══ FAQ                                                         */
/* ------------------------------------------------------------------ */
.ew-faq { display:grid; grid-template-columns:1fr 1fr; gap:0 5rem; align-items:start; }
.ew-faq-list { }
.ew-faq-item { border-bottom: 1px solid var(--ew-rule); }
.ew-faq-item:first-child { border-top: 1px solid var(--ew-rule); }
.ew-faq-q {
  width:100%; background:none; border:none; cursor:pointer;
  padding: 1.3rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 0.95rem; font-weight: 600; font-family: var(--font-sans);
  color: var(--ew-ink); text-align: left;
}
.ew-faq-q .pm { font-size: 1.3rem; color: var(--ew-green); transition: transform 0.3s; flex:none; }
.ew-faq-q.open .pm { transform: rotate(45deg); }
.ew-faq-a { display:none; font-size: 0.9rem; color: var(--ew-ink-soft); line-height:1.7; padding-bottom: 1.3rem; }

/* ------------------------------------------------------------------ */
/* 15. ═══ CTA BOTTOM                                                  */
/* ------------------------------------------------------------------ */
.ew-cta-full {
  background: var(--ew-green);
  padding: 6rem var(--gut);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ew-cta-full::before {
  content: 'ECOWAVE';
  position: absolute;
  font-family: var(--font-head);
  font-size: clamp(6rem, 15vw, 16rem);
  color: rgba(255,255,255,0.05);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}
.ew-cta-full .ew-h2 { color: #fff; margin-bottom: 1rem; }
.ew-cta-full p { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 2.5rem; font-size: 1.05rem; }

/* ------------------------------------------------------------------ */
/* 16. HEADER OVERRIDES                                                */
/* ------------------------------------------------------------------ */
.site-header {
  background: #fff !important;   /* always white */
}
.site-header.is-solid {
  background: #fff !important;
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--ew-rule);
}
.site-header.is-transparent {
  background: #fff !important;
}
/* Hide text beside logo */
.brand-text { display: none !important; }
/* Bigger logo */
.brand .logo-mark { width: 64px !important; height: 64px !important; }
/* Remove bullet dots from nav links */
.nav-menu ul, .nav-menu li { list-style: none !important; }
.nav-menu a::before, .nav-menu li::before { display: none !important; content: none !important; }
/* Nav link color on white header */
.is-transparent .nav-menu a { color: var(--ew-ink) !important; }
.is-transparent .nav-toggle span { background: var(--ew-ink) !important; }

/* ------------------------------------------------------------------ */
/* 17. FOOTER OVERRIDES                                                */
/* ------------------------------------------------------------------ */
.site-footer {
  background: #111 !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 1rem !important;
}
.site-footer * { font-family: 'Inter', system-ui, sans-serif !important; }
.footer-brand .brand-text { display: none !important; }
.footer-brand p {
  font-size: 1rem !important;  /* 16px */
  color: #999 !important;
  margin: 1.2rem 0 1.5rem !important;
  max-width: 300px;
  line-height: 1.7;
}
.footer-col h4 {
  font-size: 0.7rem !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666 !important;
  font-weight: 700;
  margin-bottom: 1.2rem !important;
}
.footer-col ul li { list-style: none !important; }
.footer-col ul li::before { display: none !important; content: none !important; }
.footer-col a { color: #ccc !important; font-size: 1rem !important; line-height: 2; }
.footer-col a:hover { color: #fff !important; padding-left: 0 !important; }
.footer-contact li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: 1rem !important; color: #ccc !important;
  margin-bottom: 0.9rem !important; line-height: 1.55 !important;
}
.footer-contact span { font-size: 1rem !important; color: #ccc !important; line-height: 1.55 !important; }
.footer-contact a { font-size: 1rem !important; color: #ccc !important; line-height: 1.55 !important; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; }
.footer-social a { background: rgba(255,255,255,0.05) !important; color: #888 !important; border-radius: 4px !important; }
.footer-social a:hover { background: var(--ew-green) !important; color: #fff !important; transform: none !important; }
.footer-bottom { font-size: 1rem !important; color: #555 !important; }
.footer-bottom span, .footer-bottom a { font-size: 1rem !important; color: #555 !important; }

/* ------------------------------------------------------------------ */
/* 18. RESPONSIVE                                                      */
/* ------------------------------------------------------------------ */
@media (max-width: 1200px) {
  .ew-catalogue { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .ew-hero { min-height: calc(60vh + 80px); }
  .ew-hero__strip { grid-template-columns: repeat(2, 1fr); }
  .ew-split { grid-template-columns: 1fr; }
  .ew-split__img { min-height: 300px; }
  .ew-split__content { padding: 3rem 2rem; }
  /* About section stack on tablet */
  .ew-about-section { grid-template-columns: 1fr; }
  .ew-about-img { min-height: 320px; }
  .ew-about-content { padding: 3rem 2rem; }
  .ew-about-stat--tl { top: 1.5rem; left: 1.5rem; }
  .ew-about-stat--br { bottom: 1.5rem; right: 1.5rem; }
  .ew-feats { grid-template-columns: 1fr; }
  .ew-metrics-dark { grid-template-columns: repeat(2, 1fr); }
  .ew-ind-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: unset; }
  .ew-ind-card { min-height: 200px; }
  .ew-ind-card:first-child { grid-row: span 1; }
  .ew-process { grid-template-columns: 1fr; }
  .ew-faq { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  /* ── HERO ── */
  .ew-hero {
    min-height: 100svh;       /* full screen on mobile */
    width: 100%;
  }
  .ew-hero__bg {
    width: 100% !important;   /* 100% image coverage */
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
  }
  /* Stronger overlay on mobile for legibility */
  .ew-hero__overlay {
    background:
      rgba(8, 22, 13, 0.82),
      linear-gradient(to top, rgba(8,22,13,0.85) 0%, rgba(8,22,13,0.2) 60%);
  }
  .ew-hero__inner {
    padding: 100px 1.25rem 50px;
  }
  .ew-hero .ew-display { font-size: 1.9rem; line-height: 1.15; }
  .ew-hero__sub { font-size: 0.95rem; max-width: 100%; }
  /* Both buttons in ONE row on mobile */
  .ew-hero__cta {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.6rem;
  }
  .ew-hero__cta .ew-btn {
    flex: 1;
    padding: 0.8rem 0.9rem;
    font-size: 0.8rem;
    text-align: center;
  }
  /* Strip 2×2 on mobile */
  .ew-hero__strip { grid-template-columns: 1fr 1fr; }
  .ew-hero__stat { padding: 1.1rem 1rem; }
  .ew-hero__stat-n { font-size: 1.5rem; }

  /* ── CATALOGUE ── */
  .ew-catalogue { grid-template-columns: 1fr 1fr; gap: 0.85rem; }

  /* ── METRICS DARK ── */
  .ew-metrics-dark { grid-template-columns: 1fr 1fr; }
  .ew-md { padding: 2rem 1rem; }
  .ew-md__n { font-size: 2.5rem; }

  /* ── INDUSTRIES ── */
  .ew-ind-grid {
    grid-template-columns: 1fr;   /* single column */
    gap: 1px;
  }
  .ew-ind-card { min-height: 180px; }

  /* ── SPLIT ABOUT ── */
  .ew-split { grid-template-columns: 1fr; }
  .ew-split__img { min-height: 240px; position: relative; }
  .ew-split__content { padding: 2.5rem 1.25rem; gap: 1.25rem; }

  /* ── FAQ ── */
  .ew-faq { grid-template-columns: 1fr; gap: 1.5rem; }

  /* ── PROCESS ── */
  .ew-process { grid-template-columns: 1fr; }
  .ew-step { padding: 2rem 1.5rem; }

  /* ── FEATURES ── */
  .ew-feats { grid-template-columns: 1fr; }

  /* ── CTA FULL ── */
  .ew-cta-full { padding: 4rem 1.25rem; }
  .ew-cta-full > div > div {
    flex-direction: column;
    gap: 0.75rem;
  }
  .ew-cta-full .ew-btn { width: 100%; justify-content: center; }

  /* ✦✦ SECTIONS ✦✦ */
  .ew-sec { padding: 3.5rem 0; }
  .ew-sec-head { margin-bottom: 2rem; }
}

/* --- About Hero (Global) --- */
.ew-about-hero { position: relative; min-height: 60vh; display: flex; align-items: center; padding: 140px 0 60px; }
.ew-about-hero__bg { position: absolute; inset: 0; z-index: 0; }
.ew-about-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.ew-about-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,40,24,0.95) 0%, rgba(10,40,24,0.7) 40%, rgba(10,40,24,0.2) 100%);
}
.ew-about-hero__content { position: relative; z-index: 1; width: 100%; }
.ew-about-hero__content .ew-display {
  color: #fff; margin: 0.5rem 0 0; font-size: clamp(2.5rem, 6vw, 4.5rem); text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.ew-about-hero__content .ew-hero__tag { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.3); }

@media (max-width: 900px) {
  .ew-about-hero__overlay { background: rgba(10,40,24,0.85); }
}

/* --- Responsive Grid Utilities --- */
.ew-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.ew-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.ew-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.ew-split-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }

@media (max-width: 1024px) {
  .ew-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ew-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .ew-split-grid { grid-template-columns: 1fr; gap: 3rem; }
  .ew-grid-4, .ew-grid-3, .ew-grid-2 { grid-template-columns: 1fr; }
}
