/* Empovia Consulting — site styles
   Brand colours taken from the Empovia website design draft. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #07376b;
  --teal: #008dab;
  --ink: #243447;
  --muted: #5d6e78;
  --line: #d7e7eb;
  --mist: #f1f8fa;
  --green: #8cd447;
  --green-deep: #5cb85c;
  --lime: #c8e05a;
  --orange: #ff8900;
  --blue: #3776b6;
  --white: #ffffff;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(7, 55, 107, .06), 0 8px 24px rgba(7, 55, 107, .08);
  --max: 1160px;
  --font: "Inter", "Aptos", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--navy); }

h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: var(--white); padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */
.topbar { height: 8px; background: var(--teal); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 76px;
}

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 64px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.6rem; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.brand-sub {
  font-size: .64rem; font-weight: 700; color: var(--teal);
  letter-spacing: .42em; margin-top: .3rem;
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); text-decoration: none;
}
.nav a:hover { color: var(--navy); }
.nav .btn { color: var(--white); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .5rem .65rem; color: var(--navy); cursor: pointer;
}
.nav-toggle svg { display: block; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
  .nav .btn { margin: 1rem 1.25rem; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--teal); color: var(--white);
  font: 700 .85rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
  padding: 1.05rem 1.9rem; border-radius: 999px; text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }
.btn-sm { padding: .8rem 1.3rem; font-size: .75rem; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }

/* ---------- Sections ---------- */
section { padding: clamp(4rem, 8vw, 6.5rem) 0; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: .9rem;
}
.lead { font-size: 1.2rem; color: var(--ink); max-width: 46ch; }
.section-head { max-width: 760px; margin-bottom: 2.75rem; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(3rem, 7vw, 5.5rem); }
.hero-grid {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch;
}
.hero h1 { margin-bottom: .6em; }
.hero .lead { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-panel {
  background: var(--mist); border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-panel::before {
  content: ""; display: block; height: 10px; width: 100%;
  background: var(--green); border-radius: 2px; margin-bottom: 1.8rem;
}
.hero-panel p {
  font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; line-height: 1.2;
  color: var(--navy); margin: 0;
}
.hero-panel .mark { width: 70%; max-width: 280px; margin-top: 2.2rem; opacity: .95; }

@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Pillar band ---------- */
.pillar-band { background: var(--teal); color: var(--white); padding: 1.15rem 0; }
.pillar-band ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 2.4rem;
}
.pillar-band li { font-weight: 800; letter-spacing: .12em; font-size: .92rem; display: flex; align-items: center; gap: .6rem; }
.pillar-band li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--white)); }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intro h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.intro h2 em {
  font-style: italic;
  background-image: linear-gradient(var(--green), var(--green));
  background-repeat: no-repeat; background-size: 100% .2em; background-position: 0 92%;
  padding-bottom: .05em;
}
.intro p { color: var(--ink); }
@media (max-width: 880px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services { background: var(--mist); }
.service-list { display: grid; gap: 1.1rem; }
.service {
  display: grid; grid-template-columns: 150px 290px 1fr; gap: 1.5rem; align-items: start;
  background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.8rem 1.6rem 2rem;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.service::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--c);
}
.service .tag { font-size: .78rem; font-weight: 800; letter-spacing: .12em; color: var(--teal); padding-top: .3rem; }
.service h3 { margin: 0; font-size: 1.3rem; }
.service p { margin: 0; color: var(--ink); }

@media (max-width: 980px) {
  .service { grid-template-columns: 1fr; gap: .4rem; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-quote {
  border-left: 8px solid var(--green); padding: .4rem 0 .4rem 1.6rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--navy); line-height: 1.2;
}
.about-quote span { display: block; color: var(--teal); }
.division {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem;
  font-size: .9rem; font-weight: 600; color: var(--navy);
  background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Why ---------- */
.why { background: var(--navy); color: #dbe7f1; }
.why h2 { color: var(--white); }
.why .eyebrow { color: var(--green); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; list-style: none; margin: 0; padding: 0; counter-reset: why; }
.why-grid li {
  counter-increment: why;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 1.6rem 1.6rem 1.7rem;
  font-size: 1.08rem; font-weight: 600; color: var(--white); line-height: 1.45;
}
.why-grid li::before {
  content: counter(why, decimal-leading-zero);
  display: block; font-size: .85rem; font-weight: 800; letter-spacing: .1em;
  color: var(--green); margin-bottom: .8rem;
}
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Support options ---------- */
.options-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.option {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem;
  border-top: 8px solid var(--c);
}
.option .tag { font-size: .78rem; font-weight: 800; letter-spacing: .12em; color: var(--teal); text-transform: uppercase; }
.option h3 { margin: .5rem 0 .6rem; }
.option p { margin: 0; }
.options-note {
  margin-top: 2rem; font-size: 1.15rem; font-weight: 600; color: var(--navy);
}
@media (max-width: 880px) { .options-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: var(--mist); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }

.cta-card {
  background: linear-gradient(135deg, var(--green) 0%, #a6db4f 55%, var(--lime) 100%);
  border-radius: var(--radius); padding: clamp(2rem, 4vw, 2.8rem); color: var(--navy);
}
.cta-card .eyebrow { color: var(--navy); }
.cta-card h2 { color: var(--navy); }
.cta-card p { color: var(--navy); font-size: 1.08rem; }
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .7rem; }
.contact-list a {
  display: inline-flex; align-items: center; gap: .7rem;
  color: var(--navy); font-weight: 800; font-size: 1.15rem; text-decoration: none;
  background: rgba(255,255,255,.85); padding: .6rem 1rem; border-radius: 999px;
}
.contact-list a:hover { background: var(--white); }
.contact-list svg { flex: none; }

.form-card { background: var(--white); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.4rem; }
.form-card .hint { color: var(--muted); margin-bottom: 1.6rem; }

.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
label { display: block; font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: .35rem; }
label .opt { font-weight: 500; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid #c5d8de; border-radius: var(--radius-sm); padding: .8rem .9rem; background: var(--white);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 141, 171, .18); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; margin-top: 1.4rem; }
.form-foot small { color: var(--muted); max-width: 34ch; }

@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 2.5rem 0; font-size: .9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand img { width: 54px; flex: none; }
.footer-tagline { color: var(--teal); font-weight: 600; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }

/* ---------- Simple content pages ---------- */
.page { padding: clamp(3rem, 6vw, 5rem) 0; }
.page .wrap { max-width: 780px; }
.page h2 { font-size: 1.4rem; margin-top: 2rem; }
.review-note {
  background: #fff4e5; border: 1px solid #ffd199; border-radius: var(--radius-sm);
  padding: 1rem 1.2rem; margin-bottom: 2rem; color: #7a4100;
}
