/* ============================================================
   EleVA8™ — Design System
   ============================================================ */

:root {
  /* Color System */
  --ev-blue: #75BBC1;
  --ev-yellow: #FFC200;
  --ev-text: #111111;
  --ev-text-2: #555555;
  --ev-bg: #FAFAF8;
  --ev-white: #FFFFFF;
  --ev-blue-light: #EEF7F9;
  --ev-yellow-light: #FFF8DF;
  --ev-border: #E8E8E8;
  --ev-footer-bg: #DCEFF2;
  --ev-footer-accent: #5FAEB8;
  --ev-hover: #5AAAB5;

  /* Typography */
  --ff-head: "Outfit", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, sans-serif;

  /* Radius */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  /* Shadow — kept soft & subtle (no heavy shadows) */
  --shadow-sm: 0 1px 4px rgba(17, 17, 17, .03);
  --shadow-md: 0 6px 22px rgba(17, 17, 17, .05);
  --shadow-lg: 0 14px 40px rgba(117, 187, 193, .12);

  /* Spacing scale */
  --section-y: clamp(4rem, 8vw, 7.5rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--ev-text);
  background: var(--ev-bg);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  color: var(--ev-text);
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-weight: 600;
}

p { color: var(--ev-text-2); }

a { text-decoration: none; color: inherit; transition: color .25s ease; }

::selection { background: var(--ev-yellow-light); }

/* ---------- Layout helpers ---------- */
.section { padding-block: var(--section-y); }

.eyebrow {
  font-family: var(--ff-head);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ev-hover);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 3px;
  background: var(--ev-yellow);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--ev-text-2);
  max-width: 56ch;
}

.text-balance { text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--ff-head);
  font-weight: 600;
  border-radius: var(--r-pill);
  padding: .85rem 1.7rem;
  border: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .98rem;
}
.btn:focus-visible { outline: 3px solid var(--ev-yellow); outline-offset: 3px; }

.btn-primary,
.btn-primary:active {
  background: var(--ev-text);
  color: var(--ev-white);
}
.btn-primary:hover {
  background: var(--ev-hover);
  color: var(--ev-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent,
.btn-accent:active {
  background: var(--ev-yellow);
  color: var(--ev-text);
}
.btn-accent:hover {
  background: #f0b800;
  color: var(--ev-text);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(255, 194, 0, .35);
}

.btn-ghost,
.btn-ghost:active {
  background: transparent;
  color: var(--ev-text);
  border: 1.5px solid var(--ev-border);
}
.btn-ghost:hover {
  border-color: var(--ev-blue);
  color: var(--ev-hover);
  background: var(--ev-blue-light);
}

.btn-arrow svg { transition: transform .25s ease; }
.btn-arrow:hover svg { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.navbar {
  background: rgba(220, 239, 242, .85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, padding .3s ease;
  padding-block: .9rem;
}
.navbar.is-scrolled {
  border-bottom-color: rgba(95, 174, 184, .25);
  box-shadow: var(--shadow-sm);
}
.navbar-brand img { height: 46px; width: auto; }

.navbar .nav-link {
  font-family: var(--ff-head);
  font-weight: 500;
  color: var(--ev-text);
  font-size: 1.05rem;
  padding: .4rem .95rem;
  border-radius: var(--r-pill);
  position: relative;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus-visible { color: var(--ev-hover); }

.navbar-toggler {
  border: none;
  padding: .4rem;
}
.navbar-toggler:focus { box-shadow: none; outline: 3px solid var(--ev-yellow); }
.navbar-toggler .bar {
  display: block; width: 24px; height: 2px;
  background: var(--ev-text); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.navbar-toggler .bar + .bar { margin-top: 5px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(7rem, 11vw, 9rem) var(--section-y);
  overflow: hidden;
}
.hero > .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--ev-white);
  border: 1px solid var(--ev-border);
  border-radius: var(--r-pill);
  padding: .45rem 1rem .45rem .55rem;
  font-size: .85rem;
  font-family: var(--ff-head);
  font-weight: 500;
  color: var(--ev-text-2);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.75rem;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ev-blue);
}

.hero-title {
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  font-weight: 600;
  line-height: 1.04;
  margin-bottom: 1.5rem;
}
.hero-title .accent { color: var(--ev-blue); }
.hero-title .tm { font-size: .4em; vertical-align: super; color: var(--ev-text-2); font-weight: 500; }

.hero-subhead {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.2;
  margin: -0.25rem 0 1.5rem;
  color: var(--ev-text);
}
.hero-subhead .accent { color: var(--ev-blue); }

.hero-lead {
  font-size: 1.2rem;
  color: var(--ev-text-2);
  max-width: 48ch;
  margin-bottom: 2.25rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-trust {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: center;
}
.hero-trust .stat { display: flex; flex-direction: column; }
.hero-trust .stat b {
  font-family: var(--ff-head);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ev-text);
  line-height: 1;
}
.hero-trust .stat span { font-size: .85rem; color: var(--ev-text-2); }
.hero-trust .divider { width: 1px; height: 38px; background: var(--ev-border); }

/* Hero figure (illustration) */
.hero-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-figure-blob {
  position: absolute;
  inset: 6% -4% -2% -4%;
  background: radial-gradient(120% 100% at 60% 40%, var(--ev-blue-light) 0%, var(--ev-yellow-light) 120%);
  border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
  z-index: 0;
  filter: blur(2px);
  opacity: .8;
}
.hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-width: 620px;
  border-radius: var(--r-lg);
  mix-blend-mode: multiply;
}

/* Illustration placeholder (kept for service pages) */
.illus-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.2;
  background: var(--ev-white);
  border: 1px solid var(--ev-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.illus-placeholder::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1.5px dashed var(--ev-blue);
  border-radius: calc(var(--r-lg) - 8px);
  opacity: .5;
}
.illus-placeholder .ph-inner {
  text-align: center;
  color: var(--ev-footer-accent);
  font-family: var(--ff-head);
  font-weight: 500;
  z-index: 1;
  padding: 1.5rem;
}
.illus-placeholder .ph-inner svg { opacity: .65; margin-bottom: .75rem; }
.illus-placeholder .ph-inner small { display:block; color: var(--ev-text-2); font-weight:400; }
.illus-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .55;
  z-index: 0;
}
.illus-blob.b1 { width: 130px; height: 130px; background: var(--ev-yellow-light); top: 8%; left: 8%; }
.illus-blob.b2 { width: 90px; height: 90px; background: var(--ev-blue-light); bottom: 12%; right: 10%; opacity: .8; }

/* ---------- Why EleVA8 (Lyra-style content switcher) ---------- */
.why-section { background: var(--ev-white); }

/* Left: illustration (image blends into page; right-side content changes) */
.why-illus {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-illus-img {
  width: 100%;
  height: auto;
  max-width: 560px;
  border-radius: var(--r-lg);
  mix-blend-mode: multiply;
}

/* Right: interactive items */
.why-list { display: flex; flex-direction: column; gap: .75rem; }

.why-item {
  background: transparent;
  border: 1px solid transparent;
  border-left: 4px solid transparent;
  border-radius: var(--r-md);
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease, transform .35s ease;
}
.why-item:hover {
  transform: translateY(-3px);
  background: var(--ev-blue-light);
}
.why-item.is-active {
  background: var(--ev-white);
  border-color: var(--ev-border);
  border-left-color: var(--ev-blue);
  box-shadow: var(--shadow-md);
  transform: scale(1.015);
}
.why-item.is-active:hover { transform: scale(1.015) translateY(-1px); }

.why-item-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  text-align: left;
  cursor: pointer;
  font-family: var(--ff-head);
}
.why-item-head:focus-visible { outline: 3px solid var(--ev-yellow); outline-offset: -3px; border-radius: var(--r-md); }

.why-item-ico {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--ev-blue-light);
  color: var(--ev-hover);
  border-radius: 14px;
  transition: background .35s ease, color .35s ease;
}
.why-item.is-active .why-item-ico { background: var(--ev-blue); color: var(--ev-white); }

.why-item-title {
  flex: 1 1 auto;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ev-text);
  line-height: 1.25;
}

/* + / × morph indicator */
.why-item-plus {
  flex: 0 0 auto;
  position: relative;
  width: 20px; height: 20px;
}
.why-item-plus::before,
.why-item-plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 2px;
  background: var(--ev-footer-accent);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .35s ease, background .35s ease;
}
.why-item-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.why-item.is-active .why-item-plus::before { transform: translate(-50%, -50%) rotate(45deg); background: var(--ev-blue); }
.why-item.is-active .why-item-plus::after { transform: translate(-50%, -50%) rotate(-45deg); background: var(--ev-blue); }

.why-item-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.why-item-panel-inner {
  padding: 0 1.25rem 1.2rem calc(1.25rem + 48px + 1rem);
  color: var(--ev-text-2);
  font-size: .98rem;
  line-height: 1.6;
}

@media (max-width: 575.98px) {
  .why-item-head { padding: .95rem 1rem; gap: .75rem; }
  .why-item-ico { width: 42px; height: 42px; border-radius: 12px; }
  .why-item-ico svg { width: 21px; height: 21px; }
  .why-item-title { font-size: 1.02rem; }
  .why-item-panel-inner { padding-left: 1rem; padding-right: 1rem; font-size: .92rem; }
}

/* ---------- Contact section ---------- */
.contact-points { list-style: none; padding: 0; margin: 0; }
.contact-points li { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.contact-points .cp-ico {
  width: 42px; height: 42px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--ev-blue-light);
  color: var(--ev-hover);
  border-radius: 12px;
}
.contact-points a { font-family: var(--ff-head); font-weight: 500; color: var(--ev-text); }
.contact-points a:hover { color: var(--ev-hover); }

/* ---------- Why EleVA8 accordion (legacy, still used on service pages) ---------- */

.why-card {
  background: var(--ev-bg);
  border: 1px solid var(--ev-border);
  border-radius: var(--r-md);
  margin-bottom: .85rem;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.why-card:hover { border-color: var(--ev-blue); }
.why-card.open {
  background: var(--ev-blue-light);
  border-color: var(--ev-blue);
  box-shadow: var(--shadow-sm);
}

.why-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  padding: 1.15rem 1.35rem;
  text-align: left;
  cursor: pointer;
  font-family: var(--ff-head);
}
.why-trigger:focus-visible { outline: 3px solid var(--ev-yellow); outline-offset: -3px; border-radius: var(--r-md); }

.why-ico {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--ev-white);
  border: 1px solid var(--ev-border);
  border-radius: 12px;
  color: var(--ev-footer-accent);
  transition: background .25s ease, color .25s ease;
}
.why-card.open .why-ico { background: var(--ev-white); color: var(--ev-hover); }

.why-heading {
  flex: 1 1 auto;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ev-text);
  margin: 0;
}
.why-chev {
  flex: 0 0 auto;
  transition: transform .3s ease;
  color: var(--ev-text-2);
}
.why-card.open .why-chev { transform: rotate(180deg); color: var(--ev-hover); }

.why-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.why-body-inner {
  padding: 0 1.35rem 1.25rem calc(1.35rem + 44px + 1rem);
  color: var(--ev-text-2);
  font-size: .98rem;
}

/* Contact form card */
.contact-card {
  background: var(--ev-white);
  border: 1px solid var(--ev-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.contact-card h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.contact-card .sub { font-size: .95rem; margin-bottom: 1.5rem; }

.form-label {
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: .85rem;
  color: var(--ev-text);
  margin-bottom: .35rem;
}
.form-control, .form-select {
  border: 1.5px solid var(--ev-border);
  border-radius: var(--r-sm);
  padding: .7rem .9rem;
  font-size: .95rem;
  background: var(--ev-bg);
  color: var(--ev-text);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-control::placeholder { color: #9a9a9a; }
.form-control:focus, .form-select:focus {
  border-color: var(--ev-blue);
  box-shadow: 0 0 0 4px var(--ev-blue-light);
  background: var(--ev-white);
}
.form-control:focus-visible { outline: none; }
.form-note { font-size: .85rem; color: var(--ev-hover); margin: 0; min-height: 1.2em; }
.form-submit-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .25rem;
}
.btn-send { padding-inline: 2.2rem; }
.btn-send svg { transition: transform .25s ease; }
.btn-send:hover svg { transform: translateX(3px); }
.form-submit-row .form-note { flex: 1 1 auto; min-width: 12ch; }
@media (max-width: 459.98px) {
  .btn-send { width: 100%; justify-content: center; }
}
.text-muted { color: var(--ev-text-2) !important; font-weight: 400; }

/* ---------- Services ---------- */
/* Columns are handled by Bootstrap's .row .row-cols-* classes.
   (Do not set display:grid here — it overrides the flex row and stacks cards.) */

.service-card {
  background: var(--ev-white);
  border: 1px solid var(--ev-border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--ev-blue);
}
.service-ico {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--ev-blue-light);
  color: var(--ev-hover);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  transition: background .3s ease, transform .3s ease;
}
.service-card:hover .service-ico { background: var(--ev-yellow-light); transform: rotate(-6deg); }
.service-card h3 { font-size: 1.3rem; margin-bottom: .65rem; }
.service-card p { font-size: .97rem; flex: 1 1 auto; margin-bottom: 1.25rem; }
.service-link {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ev-hover);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.service-link svg { transition: transform .25s ease; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------- Process ---------- */
.process-section { background: var(--ev-blue-light); }

.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
  margin-top: 3rem;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 26px; left: 6%; right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--ev-footer-accent) 0 8px, transparent 8px 16px);
  opacity: .5;
  z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; }
.process-num {
  width: 54px; height: 54px;
  margin: 0 auto 1.25rem;
  display: grid; place-items: center;
  background: var(--ev-white);
  border: 2px solid var(--ev-blue);
  border-radius: 50%;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ev-hover);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.process-step:hover .process-num {
  background: var(--ev-blue);
  color: var(--ev-white);
  transform: scale(1.08);
}
.process-step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.process-step p { font-size: .9rem; }

/* ---------- Founder ---------- */
.founder-quote {
  font-family: var(--ff-head);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ev-text);
  margin-bottom: 1.75rem;
  position: relative;
}
.founder-quote::before {
  content: "“";
  font-family: var(--ff-head);
  font-size: 4.5rem;
  color: var(--ev-blue);
  line-height: 0;
  position: absolute;
  top: 1.5rem; left: -.5rem;
  opacity: .35;
}
.founder-name { font-family: var(--ff-head); font-weight: 600; font-size: 1.1rem; margin-bottom: .1rem; }
.founder-role { color: var(--ev-text-2); font-size: .92rem; }

.founder-photo-wrap { position: relative; }
.founder-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 4.6;
  background: var(--ev-white);
  border: 1px solid var(--ev-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  color: var(--ev-footer-accent);
  font-family: var(--ff-head);
  text-align: center;
  padding: 1.5rem;
  overflow: hidden;
}
.founder-photo::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1.5px dashed var(--ev-blue);
  border-radius: calc(var(--r-lg) - 8px);
  opacity: .45;
}
.founder-shape {
  position: absolute;
  border-radius: 42% 58% 60% 40% / 50% 45% 55% 50%;
  z-index: 0;
}
.founder-shape.s1 { width: 70%; height: 70%; background: var(--ev-yellow-light); top: -8%; right: -10%; }
.founder-shape.s2 { width: 55%; height: 55%; background: var(--ev-blue-light); bottom: -8%; left: -10%; }

/* ---------- Blogs ---------- */
.blog-card {
  background: var(--ev-white);
  border: 1px solid var(--ev-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--ev-blue-light), var(--ev-yellow-light));
  position: relative;
  display: grid; place-items: center;
  color: var(--ev-footer-accent);
}
.blog-thumb .ph-tag {
  font-family: var(--ff-head); font-weight: 500; font-size: .8rem;
  color: var(--ev-footer-accent); opacity: .8;
}
.blog-meta { display: flex; gap: .6rem; align-items: center; margin-bottom: .75rem; font-size: .82rem; }
.blog-cat {
  font-family: var(--ff-head); font-weight: 600;
  color: var(--ev-hover);
  background: var(--ev-blue-light);
  padding: .25rem .7rem; border-radius: var(--r-pill);
}
.blog-date { color: var(--ev-text-2); }
.blog-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.blog-body h3 { font-size: 1.2rem; margin-bottom: .6rem; line-height: 1.25; }
.blog-body p { font-size: .95rem; flex: 1 1 auto; margin-bottom: 1rem; }

/* ---------- FAQ (premium rounded cards) ---------- */
.faq { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }

.faq-item {
  background: #F7FBFC;
  border: 1px solid var(--ev-border);
  border-left: 4px solid transparent;
  border-radius: 19px;
  overflow: hidden;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.faq-item:hover { background: var(--ev-blue-light); }
.faq-item.open {
  background: var(--ev-white);
  border-left-color: var(--ev-blue);
  box-shadow: var(--shadow-md);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--ev-white);
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  font-family: var(--ff-head);
  border-radius: 19px;
  transition: background .35s ease;
}
.faq-item:hover .faq-trigger { background: var(--ev-blue-light); }
.faq-item.open .faq-trigger { background: var(--ev-white); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.faq-trigger:focus-visible { outline: 3px solid var(--ev-yellow); outline-offset: -3px; border-radius: 19px; }

.faq-q { font-weight: 600; font-size: 1.1rem; color: var(--ev-text); line-height: 1.3; }

/* + / × morph icon */
.faq-icon {
  flex: 0 0 auto;
  position: relative;
  width: 24px; height: 24px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 15px; height: 2px;
  background: var(--ev-footer-accent);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .35s ease, background .35s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-icon::before { transform: translate(-50%, -50%) rotate(45deg); background: var(--ev-blue); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(-45deg); background: var(--ev-blue); }

.faq-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; background: var(--ev-white); }
.faq-body-inner { padding: 0 1.5rem 1.35rem; color: var(--ev-text-2); line-height: 1.65; }

@media (max-width: 575.98px) {
  .faq-trigger { padding: 1.05rem 1.15rem; }
  .faq-q { font-size: 1rem; }
  .faq-body-inner { padding: 0 1.15rem 1.15rem; font-size: .94rem; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--ev-footer-bg);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  margin-top: 0;
  overflow: hidden;
}
.footer-illus {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: auto;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 767.98px) {
  /* On narrow screens the 4.5:1 SVG collapses to a thin strip — give it a
     visible height and let preserveAspectRatio="slice" fill the band. */
  .footer-illus { height: 180px; }
}
.site-footer > .container { position: relative; z-index: 1; }

.footer-cta {
  background: var(--ev-white);
  border: 1px solid var(--ev-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(2rem, 4vw, 3.25rem);
  text-align: center;
  margin-bottom: 4rem;
}
.footer-cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: .75rem; }
.footer-cta p { font-size: 1.1rem; max-width: 50ch; margin: 0 auto 1.75rem; }

.footer-brand img { height: 36px; margin-bottom: 1rem; }
.footer-col h4 {
  font-family: var(--ff-head);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ev-footer-accent);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: var(--ev-text-2); font-size: .96rem; }
.footer-col a:hover { color: var(--ev-hover); }
.footer-col a.btn,
.site-footer a.btn { color: var(--ev-white); font-size: .98rem; }
.site-footer a.btn:hover { color: var(--ev-white); }

.footer-social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--ev-white);
  border: 1px solid var(--ev-border);
  border-radius: 50%;
  color: var(--ev-footer-accent);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.footer-social a:hover { background: var(--ev-footer-accent); color: var(--ev-white); transform: translateY(-3px); }

.footer-bottom {
  margin-top: 2.5rem;
  padding-block: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: .9rem;
  color: var(--ev-text-2);
}
.footer-bottom .links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ============================================================
   DECORATIVE SYSTEM — soft gradient orbs (modern, calm, premium)
   Every .has-deco section automatically gets two large, very-soft
   blurred colour glows bleeding in from opposite edges. Scales by
   viewport so it's smooth on mobile and desktop, never clip-art,
   never overlaps text (sits behind content, low opacity).
   ============================================================ */
.has-deco { position: relative; overflow: clip; isolation: isolate; }
.has-deco > .container,
.has-deco > * { position: relative; z-index: 1; }

/* Two soft orbs per section via pseudo-elements */
.has-deco::before,
.has-deco::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(55px);
  opacity: .8;
}
/* cool blue-green orb, upper-left drift */
.has-deco::before {
  width: clamp(280px, 36vw, 560px);
  aspect-ratio: 1;
  top: -12%; left: -8%;
  background: radial-gradient(circle at 32% 32%, rgba(117,187,193,.42) 0%, rgba(167,216,222,.34) 42%, transparent 70%);
}
/* warm yellow orb, lower-right drift */
.has-deco::after {
  width: clamp(260px, 32vw, 500px);
  aspect-ratio: 1;
  bottom: -14%; right: -8%;
  background: radial-gradient(circle at 60% 60%, rgba(255,194,0,.20) 0%, rgba(255,194,0,.10) 48%, transparent 72%);
}

/* Sections on a white background: keep orbs but a touch softer */
.contact-section.has-deco::before,
.why-section.has-deco::before,
.founder-section.has-deco::before,
.svc-intro.has-deco::before { opacity: .7; }
.contact-section.has-deco::after,
.why-section.has-deco::after,
.founder-section.has-deco::after,
.svc-intro.has-deco::after { opacity: .7; }

/* Alternate the orb positions on every other decorated section for rhythm
   (uses the flip helper OR natural nth-of-type isn't reliable across pages,
   so we expose .deco-flip on a section to mirror its orbs). */
.has-deco.deco-flip::before { left: auto; right: -8%; }
.has-deco.deco-flip::after { right: auto; left: -8%; }

/* Hero keeps a larger, brighter pair for presence */
.hero.has-deco::before { width: clamp(320px, 44vw, 680px); top: -18%; left: auto; right: -6%; opacity: .6; }
.hero.has-deco::after { width: clamp(280px, 34vw, 520px); bottom: -10%; left: -6%; right: auto; opacity: .5; }

/* ---- Restrained dotted-accent texture (replaces old shape SVGs) ----
   .deco-pair now renders a single subtle dot grid for gentle rhythm,
   alternating side via .flip. Kept low-key so it complements the orbs. */
.deco-pair { pointer-events: none; }
.deco-pair::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 14%; right: 3%;
  width: 108px; height: 108px;
  opacity: .4;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='%235FAEB8'><circle cx='10' cy='10' r='3.4'/><circle cx='37' cy='10' r='3.4'/><circle cx='64' cy='10' r='3.4'/><circle cx='91' cy='10' r='3.4'/><circle cx='10' cy='37' r='3.4'/><circle cx='37' cy='37' r='3.4'/><circle cx='64' cy='37' r='3.4'/><circle cx='91' cy='37' r='3.4'/><circle cx='10' cy='64' r='3.4'/><circle cx='37' cy='64' r='3.4'/><circle cx='64' cy='64' r='3.4'/><circle cx='91' cy='64' r='3.4'/><circle cx='10' cy='91' r='3.4'/><circle cx='37' cy='91' r='3.4'/><circle cx='64' cy='91' r='3.4'/><circle cx='91' cy='91' r='3.4'/></svg>");
}
.deco-pair.flip::before { right: auto; left: 3%; }
.deco-pair.top::before { top: 10%; }
.deco-pair.mid::before { top: 38%; }

/* Neutralise legacy inline SVG decorations (superseded by orbs) */
.deco.deco-hero-blob,
.deco.deco-section-blob,
.deco.deco-leaf,
.deco.deco-accent,
.deco.deco-dots { display: none; }

@media (max-width: 767.98px) {
  .has-deco::before { filter: blur(45px); width: clamp(200px, 60vw, 320px); }
  .has-deco::after { filter: blur(45px); width: clamp(180px, 55vw, 300px); }
  .deco-pair::before { width: 76px; height: 76px; opacity: .34; }
}


/* ---------- Nav dropdown ---------- */
.navbar .dropdown-menu {
  border: 1px solid var(--ev-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: .5rem;
  margin-top: .5rem;
  background: var(--ev-white);
  min-width: 250px;
}
.navbar .dropdown-item {
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: .95rem;
  color: var(--ev-text);
  border-radius: var(--r-sm);
  padding: .6rem .85rem;
  white-space: normal;
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: var(--ev-blue-light);
  color: var(--ev-hover);
}
.navbar .dropdown-toggle::after {
  border: none;
  content: "";
  width: 7px; height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: .45rem;
  vertical-align: middle;
  transition: transform .25s ease;
}
.navbar .dropdown-item small { display: block; color: var(--ev-text-2); font-weight: 400; font-size: .8rem; }

/* ---------- Service page hero variant ---------- */
.page-hero { padding-block: clamp(7rem, 11vw, 9.5rem) var(--section-y); }
.page-hero .breadcrumb-mini {
  font-family: var(--ff-head); font-size: .85rem; font-weight: 500;
  color: var(--ev-footer-accent); margin-bottom: 1rem; display: flex; gap: .4rem; flex-wrap: wrap;
}
.page-hero .breadcrumb-mini a { color: var(--ev-text-2); }
.page-hero .breadcrumb-mini a:hover { color: var(--ev-hover); }

/* ---------- Service content (rich body) ---------- */
.service-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2.5rem 0 1rem; }
.service-body h3 { font-size: 1.3rem; margin: 2rem 0 .75rem; }
.service-body p { margin-bottom: 1.1rem; }
.service-body ul { padding-left: 0; list-style: none; margin-bottom: 1.5rem; }
.service-body ul li {
  position: relative; padding-left: 2rem; margin-bottom: .85rem; color: var(--ev-text-2);
}
.service-body ul li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 20px; height: 20px; margin-top: -10px;
  background: var(--ev-blue-light); border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--ev-blue);
}
.service-body ul li::after {
  content: ""; position: absolute; left: 6px; top: .55em; margin-top: -4px;
  width: 8px; height: 5px; border-left: 1.8px solid var(--ev-hover);
  border-bottom: 1.8px solid var(--ev-hover); transform: rotate(-45deg);
}
.service-feature {
  background: var(--ev-blue-light);
  border-radius: var(--r-md);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border-left: 3px solid var(--ev-blue);
}
.service-feature p { margin: 0; color: var(--ev-text); font-family: var(--ff-head); font-weight: 500; }

.service-aside {
  background: var(--ev-white);
  border: 1px solid var(--ev-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  position: sticky; top: 100px;
}
.service-aside h4 { font-size: 1.05rem; margin-bottom: 1rem; }
.service-aside ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.service-aside li { padding: .55rem 0; border-bottom: 1px solid var(--ev-border); font-size: .95rem; color: var(--ev-text-2); }
.service-aside li:last-child { border-bottom: none; }

@media (max-width: 991.98px) { .service-aside { position: static; margin-bottom: 2rem; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Staggered children (cards fade+rise in sequence, Foundery-style) */
.reveal.in > .col,
.reveal.in > .why-item,
.reveal.in > .svc-step,
.reveal.in > .blog-post-item { opacity: 0; transform: translateY(20px); }
.stagger-in {
  animation: staggerIn .55s ease forwards;
}
@keyframes staggerIn {
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--ev-footer-bg);
    border: 1px solid rgba(95, 174, 184, .25);
    border-radius: var(--r-md);
    padding: 1rem;
    margin-top: .75rem;
    box-shadow: var(--shadow-md);
  }
  .navbar .nav-link { padding: .65rem .9rem; }
  .navbar .nav-cta { margin-top: .5rem; }

  .contact-card { position: static; }

  .process-track { grid-template-columns: 1fr; gap: 0; margin-top: 2rem; }
  .process-track::before {
    top: 0; bottom: 0; left: 26px; right: auto;
    width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--ev-footer-accent) 0 8px, transparent 8px 16px);
  }
  .process-step { text-align: left; display: flex; gap: 1.25rem; padding-bottom: 2rem; }
  .process-num { margin: 0; flex: 0 0 auto; }
}

@media (max-width: 575.98px) {
  body { font-size: 1rem; }
  .hero-trust { gap: 1.25rem; }
  .hero-trust .divider { display: none; }
  .why-body-inner { padding-left: 1.35rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 2.5rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   SERVICE PAGE — modern editorial content sections
   Second display font (Fraunces) pairs with Outfit/Inter to give
   an "expert-designed" editorial feel. Reused across all service pages.
   ============================================================ */
:root { --ff-display: "Fraunces", Georgia, serif; }

/* Hero for interior pages */
.svc-hero { position: relative; padding-block: clamp(7rem, 11vw, 9.5rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.svc-hero .breadcrumb-mini {
  font-family: var(--ff-head); font-size: .85rem; font-weight: 600;
  letter-spacing: .04em; color: var(--ev-footer-accent);
  display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.1rem;
}
.svc-hero .breadcrumb-mini a { color: var(--ev-text-2); }
.svc-hero .breadcrumb-mini a:hover { color: var(--ev-hover); }
.svc-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.05; font-weight: 600;
  margin-bottom: 1.25rem; letter-spacing: -.02em;
}
.svc-hero-title .accent { color: var(--ev-blue); }
.svc-hero-lead { font-size: 1.2rem; color: var(--ev-text-2); max-width: 46ch; margin-bottom: 2rem; }
.svc-hero-figure { position: relative; display: flex; align-items: center; justify-content: center; }
.svc-hero-img { width: 100%; height: auto; max-width: 560px; border-radius: var(--r-lg); mix-blend-mode: multiply; }
.svc-hero-ph {
  width: 100%; aspect-ratio: 4/3.4; border-radius: var(--r-lg);
  background: var(--ev-blue-light); display: grid; place-items: center;
  color: var(--ev-footer-accent); font-family: var(--ff-head); font-weight: 600;
  border: 1px dashed var(--ev-blue);
}

/* Editorial intro block */
.svc-intro .eyebrow { margin-bottom: 1rem; }
.svc-lead-xl {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.35; font-weight: 400; color: var(--ev-text);
  letter-spacing: -.01em;
}
.svc-lead-xl em { font-style: italic; color: var(--ev-hover); }
.svc-body-copy p { font-size: 1.05rem; color: var(--ev-text-2); margin-bottom: 1.15rem; }

/* Feature point cards (for services that suit "points") */
.svc-points { display: grid; gap: 1.25rem; }
.svc-point {
  background: var(--ev-white); border: 1px solid var(--ev-border);
  border-radius: var(--r-lg); padding: 1.75rem;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  height: 100%;
}
.svc-point:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ev-blue); }
.svc-point-ico {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 14px; background: var(--ev-blue-light); color: var(--ev-hover);
  margin-bottom: 1.1rem;
}
.svc-point:nth-child(even) .svc-point-ico { background: var(--ev-yellow-light); }
.svc-point h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.svc-point p { font-size: .96rem; color: var(--ev-text-2); margin: 0; }

/* Checklist (for "what you get / who it's for") */
.svc-check { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.svc-check li { position: relative; padding-left: 2.1rem; color: var(--ev-text-2); font-size: 1.02rem; line-height: 1.5; }
.svc-check li i {
  position: absolute; left: 0; top: 2px; width: 22px; height: 22px;
  display: grid; place-items: center; border-radius: 6px;
  background: var(--ev-blue); color: #fff; font-size: .7rem;
}

/* Fact / stat strip */
.svc-facts {
  background: var(--ev-blue-light); border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.75rem);
}
.svc-fact { text-align: center; padding: .5rem; }
.svc-fact b {
  display: block; font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--ev-hover); line-height: 1;
}
.svc-fact span { display: block; margin-top: .5rem; font-size: .95rem; color: var(--ev-text-2); }

/* Highlight / quote band */
.svc-quote {
  border-left: 4px solid var(--ev-blue);
  background: var(--ev-white); border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.5rem 1.75rem; box-shadow: var(--shadow-sm);
}
.svc-quote p {
  font-family: var(--ff-display); font-size: 1.25rem; line-height: 1.4;
  font-style: italic; color: var(--ev-text); margin: 0;
}

/* Process steps (numbered) */
.svc-steps { counter-reset: step; display: grid; gap: 1.25rem; }
.svc-step {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--ev-white); border: 1px solid var(--ev-border);
  border-radius: var(--r-md); padding: 1.35rem 1.5rem;
}
.svc-step-num {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ev-blue); color: #fff;
  font-family: var(--ff-head); font-weight: 700; font-size: 1.1rem;
}
.svc-step h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.svc-step p { font-size: .95rem; color: var(--ev-text-2); margin: 0; }

/* Aside card (sticky quick facts) */
.svc-aside {
  background: var(--ev-white); border: 1px solid var(--ev-border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 1.75rem;
  position: sticky; top: 100px;
}
.svc-aside h4 { font-size: 1.05rem; margin-bottom: 1rem; }
.svc-aside ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.svc-aside li { padding: .6rem 0; border-bottom: 1px solid var(--ev-border); font-size: .95rem; color: var(--ev-text-2); display: flex; justify-content: space-between; gap: 1rem; }
.svc-aside li:last-child { border-bottom: none; }
.svc-aside li b { color: var(--ev-text); font-weight: 600; font-family: var(--ff-head); text-align: right; }
@media (max-width: 991.98px) { .svc-aside { position: static; margin-top: 1.5rem; } }

.svc-section-title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: .75rem; }

/* ============================================================
   BLOG — listing page + article template
   ============================================================ */
.blog-hero { padding-block: clamp(7rem, 11vw, 9rem) clamp(2rem, 4vw, 3rem); }
.blog-hero .breadcrumb-mini {
  font-family: var(--ff-head); font-size: .85rem; font-weight: 600;
  color: var(--ev-footer-accent); display: flex; gap: .5rem; margin-bottom: 1rem;
}
.blog-hero .breadcrumb-mini a { color: var(--ev-text-2); }
.blog-hero .breadcrumb-mini a:hover { color: var(--ev-hover); }
.blog-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: 1rem; }

/* Category filter pills */
.blog-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.blog-filter {
  font-family: var(--ff-head); font-weight: 500; font-size: .92rem;
  padding: .5rem 1.1rem; border-radius: var(--r-pill);
  background: var(--ev-white); border: 1.5px solid var(--ev-border);
  color: var(--ev-text-2); cursor: pointer; transition: all .25s ease;
}
.blog-filter:hover { border-color: var(--ev-blue); color: var(--ev-hover); background: var(--ev-blue-light); }
.blog-filter.is-active { background: var(--ev-text); color: #fff; border-color: var(--ev-text); }

/* Featured post */
.blog-featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--ev-white); border: 1px solid var(--ev-border);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.blog-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-featured-thumb {
  background: linear-gradient(135deg, var(--ev-blue-light), var(--ev-yellow-light));
  min-height: 320px; display: grid; place-items: center;
  color: var(--ev-footer-accent); font-family: var(--ff-head); font-weight: 500; font-size: .85rem;
}
.blog-featured-body { padding: clamp(1.75rem, 3vw, 2.75rem); display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: .75rem 0 1rem; line-height: 1.2; }
.blog-featured-body p { font-size: 1.05rem; margin-bottom: 1.5rem; }
.blog-featured-badge {
  align-self: flex-start; font-family: var(--ff-head); font-weight: 600; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ev-hover);
  background: var(--ev-blue-light); padding: .35rem .8rem; border-radius: var(--r-pill); margin-bottom: .5rem;
}
@media (max-width: 767.98px) { .blog-featured { grid-template-columns: 1fr; } .blog-featured-thumb { min-height: 200px; } }

/* Article (blog post) */
.article-hero { padding-block: clamp(7rem, 11vw, 9rem) clamp(1.5rem, 3vw, 2.5rem); }
.article-meta-top { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1.25rem; font-size: .9rem; color: var(--ev-text-2); }
.article-title { font-size: clamp(2.1rem, 4.5vw, 3.3rem); line-height: 1.08; margin-bottom: 1.25rem; letter-spacing: -.02em; }
.article-lead { font-family: var(--ff-display); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; color: var(--ev-text); font-style: italic; }
.article-author { display: flex; align-items: center; gap: .85rem; margin-top: 1.75rem; }
.article-author .avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--ev-blue-light);
  display: grid; place-items: center; color: var(--ev-hover); font-family: var(--ff-head); font-weight: 700;
}
.article-author .who b { font-family: var(--ff-head); font-size: .98rem; color: var(--ev-text); display: block; }
.article-author .who span { font-size: .85rem; color: var(--ev-text-2); }

.article-figure {
  aspect-ratio: 16/8; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(135deg, var(--ev-blue-light), var(--ev-yellow-light));
  display: grid; place-items: center; color: var(--ev-footer-accent);
  font-family: var(--ff-head); font-weight: 500; margin-bottom: clamp(2rem,4vw,3rem);
}

/* Prose */
.article-prose { max-width: 720px; margin: 0 auto; }
.article-prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 2.5rem 0 .9rem; }
.article-prose h3 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.article-prose p { font-size: 1.1rem; line-height: 1.75; color: var(--ev-text-2); margin-bottom: 1.35rem; }
.article-prose ul, .article-prose ol { margin: 0 0 1.5rem; padding-left: 1.4rem; color: var(--ev-text-2); }
.article-prose li { font-size: 1.1rem; line-height: 1.7; margin-bottom: .6rem; }
.article-prose blockquote {
  border-left: 4px solid var(--ev-blue); margin: 2rem 0; padding: .5rem 0 .5rem 1.5rem;
}
.article-prose blockquote p {
  font-family: var(--ff-display); font-style: italic; font-size: 1.3rem; color: var(--ev-text); line-height: 1.45; margin: 0;
}
.article-prose a { color: var(--ev-hover); text-decoration: underline; text-underline-offset: 3px; }
.article-prose strong { color: var(--ev-text); font-weight: 600; }

.article-share { display: flex; align-items: center; gap: .75rem; margin: 2.5rem 0; padding-top: 1.75rem; border-top: 1px solid var(--ev-border); }
.article-share span { font-family: var(--ff-head); font-weight: 500; font-size: .9rem; color: var(--ev-text-2); }
.article-share a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: var(--ev-blue-light); color: var(--ev-hover); transition: all .25s ease;
}
.article-share a:hover { background: var(--ev-footer-accent); color: #fff; transform: translateY(-2px); }

/* Related posts heading */
.related-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.75rem; }

/* ---------- Founder section (home) ---------- */
.founder-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ev-blue-light);
}
.founder-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-photo-ph {
  display: none;
  position: absolute; inset: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  color: var(--ev-footer-accent); font-family: var(--ff-head); font-weight: 500;
}
.founder-photo-ph i { font-size: 3rem; opacity: .6; }
.founder-photo-ph small { color: var(--ev-text-2); font-weight: 400; }
.founder-photo.is-placeholder { border: 1px dashed var(--ev-blue); }
.founder-photo.is-placeholder .founder-photo-ph { display: flex; }
.founder-sign { font-family: var(--ff-head); font-weight: 600; color: var(--ev-text); margin-top: .5rem; }

/* ---------- Collapsible footer on mobile (accordion) ---------- */
@media (max-width: 767.98px) {
  /* Force each footer column full-width so accordion rows stack one after another
     (overrides Bootstrap col-6 which puts Quick Links & Services side by side). */
  .site-footer .footer-col { flex: 0 0 100%; max-width: 100%; width: 100%; border-top: 1px solid rgba(95,174,184,.22); }
  .footer-col h4 {
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; margin: 0; padding: 1rem 0;
    user-select: none;
  }
  .footer-col h4::after {
    content: ""; width: 11px; height: 11px; flex: 0 0 auto;
    border-right: 2px solid var(--ev-footer-accent);
    border-bottom: 2px solid var(--ev-footer-accent);
    transform: rotate(45deg); transition: transform .35s ease; margin-right: 4px;
  }
  .footer-col.open h4::after { transform: rotate(-135deg); }
  .footer-col ul {
    max-height: 0; overflow: hidden; margin: 0;
    transition: max-height .35s ease, padding .35s ease;
  }
  .footer-col.open ul { padding-bottom: 1rem; }
  /* the Contact column's button sits outside the ul; tuck it into the collapse */
  .footer-col .btn { display: none; }
  .footer-col.open .btn { display: inline-flex; margin-bottom: 1rem; }
  /* brand/intro column stays open, no toggle */
  .footer-brand-col { border-top: none; }
}