/* ============================================
   VONTEGA — Enterprise Consulting
   ============================================ */

:root {
  --navy: #0F2A47;
  --navy-deep: #0A1E33;
  --teal: #1E7D8C;
  --teal-bright: #2A9DB0;
  --gold: #C08A2E;
  --ink: #16202B;
  --body: #47545F;
  --muted: #6B7A88;
  --line: #E2E8EE;
  --wash: #F4F8FA;
  --surface: #FFFFFF;
  --bg: #FFFFFF;
  --hero-grad: linear-gradient(135deg, #0F2A47 0%, #14395E 45%, #1E7D8C 100%);
  --shadow-sm: 0 1px 3px rgba(15,42,71,.06), 0 1px 2px rgba(15,42,71,.04);
  --shadow: 0 4px 16px rgba(15,42,71,.07), 0 1px 3px rgba(15,42,71,.05);
  --shadow-lg: 0 18px 48px rgba(15,42,71,.13);
  --radius: 14px;
  --max: 1180px;
}

html[data-theme="dark"] {
  --navy: #E8F1F7;
  --navy-deep: #0A1420;
  --teal: #45BBD0;
  --teal-bright: #5FD0E4;
  --gold: #E0AC53;
  --ink: #F2F6FA;
  --body: #AFC0CE;
  --muted: #8598A8;
  --line: #22323F;
  --wash: #131E28;
  --surface: #16222E;
  --bg: #0D161E;
  --hero-grad: linear-gradient(135deg, #0A1420 0%, #102A3F 45%, #14505C 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
  --shadow: 0 4px 18px rgba(0,0,0,.42);
  --shadow-lg: 0 18px 48px rgba(0,0,0,.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--body);
  line-height: 1.68;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.22rem; }
p { margin-bottom: 1rem; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-bright); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; margin: 0 auto; }
.center { text-align: center; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.32rem; color: var(--ink); letter-spacing: .01em; }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(140deg, var(--teal) 0%, var(--navy) 100%);
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}
html[data-theme="dark"] .logo-mark { background: linear-gradient(140deg, var(--teal) 0%, #1B4C6B 100%); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--body); font-size: .95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }

.nav-tools { display: flex; align-items: center; gap: 12px; }
.theme-btn {
  width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--surface); color: var(--body); cursor: pointer;
  display: grid; place-items: center; font-size: 1rem; transition: all .2s;
}
.theme-btn:hover { border-color: var(--teal); color: var(--teal); }

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 9px;
  font-weight: 600; font-size: .95rem; cursor: pointer; border: 1px solid transparent;
  transition: all .22s ease; text-align: center;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-bright); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(30,125,140,.3); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-sm { padding: 10px 20px; font-size: .9rem; }

.burger { display: none; background: none; border: none; color: var(--ink); font-size: 1.5rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: var(--hero-grad); color: #fff; padding: 104px 0 96px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; top: -30%; right: -12%;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.09) 0%, transparent 68%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 17ch; margin-bottom: 22px; }
.hero .lede { font-size: 1.2rem; color: rgba(255,255,255,.88); max-width: 62ch; margin-bottom: 34px; }
.eyebrow {
  display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
}
.hero .eyebrow { color: #F0C475; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Metric strip ---------- */
.metrics { background: var(--navy-deep); padding: 0; }
html[data-theme="dark"] .metrics { background: #08111A; border-top: 1px solid var(--line); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 40px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.09); }
.metric:last-child { border-right: none; }
.metric .num { font-size: 2.15rem; font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: -.03em; }
.metric .lbl { font-size: .82rem; color: rgba(255,255,255,.64); margin-top: 7px; letter-spacing: .02em; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.sec-wash { background: var(--wash); }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head p { font-size: 1.08rem; color: var(--muted); margin-top: 14px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm); transition: all .26s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: color-mix(in srgb, var(--teal) 32%, var(--line)); }
.card h3 { margin-bottom: 11px; }
.card p { font-size: .96rem; margin-bottom: 0; }
.card-icon {
  width: 46px; height: 46px; border-radius: 11px; margin-bottom: 18px;
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  display: grid; place-items: center; font-size: 1.3rem;
}

.svc-list { list-style: none; margin-top: 16px; }
.svc-list li {
  font-size: .93rem; color: var(--body); padding: 7px 0 7px 22px;
  position: relative; border-top: 1px solid var(--line);
}
.svc-list li:first-child { border-top: none; }
.svc-list li::before {
  content: ""; position: absolute; left: 4px; top: 16px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
}

/* ---------- Case studies ---------- */
.case {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: all .26s ease;
}
.case:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.case-top { padding: 30px 32px 24px; border-bottom: 1px solid var(--line); }
.case-sector {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 9px; display: block;
}
.case-top h3 { font-size: 1.3rem; margin-bottom: 10px; }
.case-top p { font-size: .95rem; color: var(--muted); margin: 0; }
.case-body { padding: 26px 32px 32px; }
.case-body h4 { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 13px; font-weight: 700; }
.outcomes { list-style: none; }
.outcomes li { font-size: .95rem; padding: 9px 0 9px 26px; position: relative; }
.outcomes li::before {
  content: "\2713"; position: absolute; left: 0; top: 8px;
  color: var(--teal); font-weight: 700; font-size: .92rem;
}
.outcomes strong { color: var(--ink); font-weight: 700; }

.stat-row { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.stat .v { font-size: 1.5rem; font-weight: 700; color: var(--teal); line-height: 1.15; }
.stat .k { font-size: .78rem; color: var(--muted); margin-top: 2px; }

/* ---------- Trust / pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 8px; }
.pill {
  font-size: .87rem; padding: 8px 17px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--line); color: var(--body);
}
html[data-theme="dark"] .pill { background: var(--wash); }

.trust-item { display: flex; gap: 16px; align-items: flex-start; }
.trust-item .ti-ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px;
  background: color-mix(in srgb, var(--gold) 14%, transparent);
  display: grid; place-items: center; font-size: 1.15rem;
}
.trust-item h4 { font-size: 1.02rem; margin-bottom: 4px; }
.trust-item p { font-size: .92rem; margin: 0; color: var(--muted); }

/* ---------- Approach steps ---------- */
.steps { counter-reset: s; display: grid; gap: 22px; }
.step { display: flex; gap: 20px; align-items: flex-start; counter-increment: s; }
.step::before {
  content: counter(s, decimal-leading-zero);
  flex-shrink: 0; font-size: .92rem; font-weight: 700; color: var(--teal);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--teal) 34%, transparent);
  display: grid; place-items: center;
}
.step h4 { font-size: 1.06rem; margin-bottom: 5px; }
.step p { font-size: .95rem; margin: 0; color: var(--muted); }

/* ---------- Quote ---------- */
.quote {
  border-left: 3px solid var(--teal); padding: 6px 0 6px 26px;
  font-size: 1.12rem; color: var(--ink); font-style: italic; line-height: 1.6;
}
.quote cite { display: block; font-size: .87rem; color: var(--muted); font-style: normal; margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--hero-grad); color: #fff; padding: 82px 0; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 58ch; margin: 0 auto 30px; }
.cta-band .btn-primary { background: #fff; color: var(--navy-deep); }
.cta-band .btn-primary:hover { background: #F0F6F8; color: var(--navy-deep); }
html[data-theme="dark"] .cta-band .btn-primary { background: var(--teal); color: #0A1420; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .87rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--surface); color: var(--ink); font-family: inherit; font-size: .96rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 15%, transparent);
}
.field textarea { resize: vertical; min-height: 128px; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 14px; }

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 56px 0 30px; }
html[data-theme="dark"] footer { background: #08111A; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 15px; }
footer p { font-size: .93rem; color: rgba(255,255,255,.62); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 9px; }
footer ul a { color: rgba(255,255,255,.72); font-size: .93rem; }
footer ul a:hover { color: #fff; }
.foot-logo { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.2rem; color: #fff; margin-bottom: 13px; }
.foot-bot { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot-bot p { font-size: .85rem; margin: 0; }

/* ---------- Page header ---------- */
.page-head { background: var(--wash); border-bottom: 1px solid var(--line); padding: 62px 0 54px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 14px; }
.page-head p { font-size: 1.1rem; color: var(--muted); max-width: 64ch; margin: 0; }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric { border-bottom: 1px solid rgba(255,255,255,.09); }
  .metric:nth-child(2) { border-right: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 62px 0; }
  .hero { padding: 76px 0 68px; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 28px 22px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links li:first-child { border-top: none; }
  .nav-links a { display: block; padding: 14px 0; }
  .burger { display: block; }
  .nav-tools .btn { display: none; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .card, .case-top, .case-body { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Logo images ---------- */
.logo-img { height: 34px; width: auto; display: block; }
.logo-img.dark-only { display: none; }
html[data-theme="dark"] .logo-img.light-only { display: none; }
html[data-theme="dark"] .logo-img.dark-only { display: block; }
.foot-logo .logo-img { height: 30px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; color: var(--ink); font-size: 1.04rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 17px;
  font-size: 1.4rem; font-weight: 400; color: var(--teal); transition: transform .2s;
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--teal); }
.faq .faq-a { padding: 0 40px 22px 0; color: var(--body); font-size: .97rem; }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--teal); color: #fff;
  padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; color: #fff; }

/* ---------- Logo strip on hero ---------- */
.hero-note { margin-top: 30px; font-size: .88rem; color: rgba(255,255,255,.66); }
