/*
Theme Name: AdWow
Theme URI: https://adwow.media
Author: AdWow Media
Description: Company theme for AdWow Media (ads, data & revenue optimization agency). Layout modelled on the agency landing-page pattern; logo, colors and copy are placeholders until the marketing team delivers the brand kit — change them in Appearance → Customize → AdWow.
Version: 1.1.0
Requires PHP: 7.4
Text Domain: adwow
*/

:root {
  --c-primary: #464cee;
  --c-primary-dark: #3339c9;
  --c-primary-soft: #eef0ff;
  --c-text: #212529;
  --c-heading: #111111;
  --c-muted: #5f6980;
  --c-border: #e3e6f0;
  --c-bg: #f9fbfc;
  --c-white: #ffffff;
  --c-footer: #0b0d44;
  --c-footer-text: #ffffff;
  --c-band: #c9d7ff;
  --c-orange: #f58a1f;
  --c-blue: #2d7ff9;
  --c-green: #1fb46a;
  --c-purple: #a634d8;
  --hero-gradient: linear-gradient(180deg, #f2f4ff 0%, #e3e7ff 30%, #c2c7fd 60%, #dad2fd 100%);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --shell: 1200px;
  --radius: 16px;
  --radius-pill: 27px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .06);
  --header-h: 78px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--c-primary-dark); }
h1, h2, h3, h4 { color: var(--c-heading); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: 56px; line-height: 1.18; }
h2 { font-size: 40px; line-height: 1.18; }
h3 { font-size: 24px; line-height: 1.3; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
  position: absolute; top: -60px; left: 8px; z-index: 1000;
  background: var(--c-primary); color: #fff; padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 8px; color: #fff; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--white { background: var(--c-white); }
.section--band { background: var(--c-band); }
.section-head { text-align: center; max-width: 1140px; margin: 0 auto 40px; }
.section-head p { color: var(--c-muted); font-size: 20px; line-height: 1.4; }
.text-center { text-align: center; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 24px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 16px; line-height: 1.25; cursor: pointer;
  border: 1px solid var(--c-primary); transition: all .3s ease;
}
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: #686ef1; border-color: #686ef1; color: #fff; }
.btn--outline { background: #fff; color: var(--c-primary); }
.btn--outline:hover { background: #2563eb; border-color: #2563eb; color: #fff; }
.btn--lg { padding: 14px 32px; font-size: 18px; }
.btn:active { transform: translateY(1px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }
.admin-bar .site-header { top: 32px; }
.site-header__row { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--c-heading); font-weight: 800; font-size: 22px; letter-spacing: -.3px; }
.brand:hover { color: var(--c-heading); }
.brand img { max-height: 48px; width: auto; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center;
  background: var(--c-primary); color: #fff; font-size: 18px;
}
.brand__name span { color: var(--c-primary); }

.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav__list { list-style: none; display: flex; align-items: center; gap: 56px; }
.site-nav__list > li { position: relative; }
.site-nav__list a, .site-nav__toggle {
  color: var(--c-heading); font-weight: 500; font-size: 16px; line-height: 1.2; background: none; border: 0; padding: 8px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
.site-nav__list a:hover, .site-nav__toggle:hover { color: #2563eb; }
.has-sub:hover > .site-nav__toggle, .has-sub.is-open > .site-nav__toggle { color: var(--c-primary); }
.site-nav__caret { font-size: 10px; transition: transform .2s ease; }
.has-sub:hover .site-nav__caret, .has-sub.is-open .site-nav__caret { transform: rotate(180deg); }
/* Invisible bridge so the menu stays open while the pointer moves down to it. */
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.site-nav__sub {
  list-style: none; position: absolute; top: calc(100% + 8px); left: -16px; min-width: 220px; white-space: nowrap;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 10px 25px rgba(0, 0, 0, .08); padding: 16px 10px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.has-sub:hover .site-nav__sub, .has-sub.is-open .site-nav__sub { opacity: 1; visibility: visible; transform: none; }
.site-nav__list .site-nav__sub a {
  display: flex; align-items: center; gap: 10px; padding: 9px 16px;
  font-size: 14px; font-weight: 600; line-height: 1.5; color: #272d3a; text-transform: uppercase;
}
.site-nav__sub a i { font-size: 15px; width: 16px; text-align: center; }
.site-nav__list .site-nav__sub a:hover { color: var(--c-primary); background: none; }
.site-header__cta { display: flex; gap: 12px; }
.site-header__cta .btn { padding: 12px 24px; font-size: 16px; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle__bar { display: block; width: 24px; height: 2px; background: var(--c-heading); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { background: var(--hero-gradient); padding: calc(var(--header-h) + 100px) 0 96px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 56px; line-height: 66px; margin-bottom: 24px; }
.hero__lead { font-size: 20px; font-weight: 300; line-height: 1.5; color: #111; margin-bottom: 36px; max-width: 540px; }
.hero__lead strong { font-weight: 700; }
.hero__lead strong { color: var(--c-heading); }
.hero__media img { width: 100%; filter: drop-shadow(0 20px 40px rgba(70, 76, 238, .18)); }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(120deg, #f7f7ff 0%, #eef0ff 45%, #f3e9ff 100%); padding: calc(var(--header-h) + 110px) 0 110px; text-align: center; }
.page-hero h1 { font-size: 56px; font-weight: 700; line-height: 64px; color: #000; margin-bottom: 16px; }
.page-hero p { color: var(--c-muted); font-size: 18px; max-width: 800px; margin: 0 auto; }
.breadcrumb { padding: 28px 20px; font-size: 16px; color: var(--c-text); }
.breadcrumb a { color: var(--c-primary); }
.breadcrumb span { margin: 0 6px; }

/* ---------- Services tabs ---------- */
.svc-tabs {
  display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  background: #fff; border-radius: 12px; padding: 6px 24px; margin: 0 auto 32px; max-width: 1080px;
}
.svc-tab {
  background: none; border: 0; padding: 14px 6px; cursor: pointer; font-size: 16px; color: var(--c-primary);
  border-bottom: 2px solid transparent; transition: border-color .2s ease;
}
.svc-tab:hover { color: var(--c-primary); }
.svc-tab.is-active { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.svc-panel { display: none; }
.svc-panel.is-active { display: block; animation: fadeUp .35s ease; }
.svc-box { background: #eef1f7; border-radius: 20px; padding: 48px 36px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.svc-card {
  background: #fff; border-radius: var(--radius); padding: 32px 24px; box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.svc-card__icon { font-size: 52px; color: var(--c-heading); text-align: center; line-height: 1; margin-bottom: 18px; }
.svc-card h3 { text-align: center; font-size: 24px; margin-bottom: 20px; }
.svc-card ul { padding-left: 20px; font-size: 16px; line-height: 1.4; color: var(--c-muted); }
.svc-card li { margin-bottom: 8px; }
.svc-more { text-align: center; margin-top: 36px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-size: 64px; font-weight: 700; color: var(--c-primary); line-height: 75px; }
.stat__label { font-size: 16px; line-height: 1.2; color: var(--c-muted); max-width: 230px; margin: 8px auto 0; }

/* CTA band */
.cta-band { background: linear-gradient(180deg, #dfe3ff 0%, #d6d9fb 100%); padding: 48px 0; text-align: center; }
.cta-band h2 { max-width: 960px; margin: 0 auto 28px; font-size: 40px; line-height: 47px; }
.cta-band p { color: var(--c-muted); font-size: 18px; margin-bottom: 24px; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillar { text-align: center; }
.pillar h3 { font-size: 36px; line-height: 42px; margin-bottom: 10px; }
.pillar li { font-size: 16px; line-height: 24px; }
.pillar__sub { color: var(--c-muted); font-size: 14px; margin-bottom: 18px; }
.pillar ul { display: inline-block; text-align: left; padding-left: 18px; margin-bottom: 14px; }
.pillar li b { color: var(--c-primary); font-weight: 500; }
.pillar__note { font-size: 13px; color: var(--c-muted); }

/* ---------- Journey ---------- */
.journey { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.journey h2 { font-size: 40px; line-height: 47px; }
.journey__intro { color: var(--c-muted); font-size: 20px; line-height: 1.4; margin-bottom: 32px; }
.journey__steps { list-style: none; display: grid; gap: 18px; }
.journey__step {
  width: 100%; display: flex; align-items: center; gap: 16px; text-align: left;
  background: #f5f6ff; border: 1px solid #e8e8e8; border-radius: 8px; padding: 16px 24px; cursor: pointer;
  font-size: 16px; color: var(--c-heading); transition: .2s;
}
.journey__step:hover { border-color: var(--c-primary); }
.journey__step.is-active { border-color: var(--c-primary); background: var(--c-primary-soft); color: var(--c-primary); }
.journey__icon {
  width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; font-size: 18px;
}
.journey__panel { display: none; background: #fff; border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.journey__panel.is-active { display: block; animation: fadeUp .35s ease; }
.journey__panel-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.journey__panel-head .journey__icon { width: 64px; height: 64px; border-radius: 50%; font-size: 28px; }
.journey__panel-head h3 { margin: 0; font-size: 28px; font-weight: 500; }
.journey__panel h4 { font-size: 24px; font-weight: 700; line-height: 30px; margin-bottom: 12px; }
.journey__panel p { font-size: 16px; line-height: 30px; color: #666; margin-bottom: 10px; }
.journey__panel h4 + p { color: #111; }
.journey__panel p b { color: var(--c-heading); }

.tone-orange { background: #fff1e3; color: var(--c-orange); }
.tone-blue { background: #e6efff; color: var(--c-blue); }
.tone-green { background: #e2f7ec; color: var(--c-green); }
.tone-purple { background: #f5e6fc; color: var(--c-purple); }

/* ---------- Capabilities ---------- */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cap { background: #fff; border-radius: var(--radius); padding: 32px 24px; font-size: 24px; line-height: 36px; color: var(--c-heading); }
.cap .journey__icon { margin-bottom: 26px; }
.cap b { font-weight: 700; }
.cap--orange b { color: var(--c-orange); }
.cap--blue b { color: var(--c-blue); }
.cap--green b { color: var(--c-green); }
.cap--purple b { color: var(--c-purple); }

/* ---------- Contact form ---------- */
.contact-form { max-width: 1160px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.form-row--full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 14px 18px; border: 1px solid #dcdfe6; border-radius: 6px; background: #fff;
  font-size: 15px; color: var(--c-text); outline: none; transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(70, 76, 238, .12);
}
.contact-form .is-invalid { border-color: #e74c3c; box-shadow: 0 0 0 3px rgba(231, 76, 60, .1); }
.error-msg { color: #dc3545; font-size: 12px; min-height: 0; }
.form-action { text-align: center; }
.form-status { margin-top: 16px; font-size: 15px; text-align: center; }
.form-status.is-ok { color: var(--c-green); }
.form-status.is-err { color: #dc3545; }
.hp-field { position: absolute; left: -9999px; }

/* Contact page */
.contact-hero { background: linear-gradient(120deg, #fff 0%, #f1f0ff 100%); padding: calc(var(--header-h) + 60px) 0 80px; }
.contact-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-hero h1 { font-size: 56px; font-weight: 700; line-height: 64px; color: #000; margin-bottom: 32px; }
.checklist { list-style: none; display: grid; gap: 24px; }
.checklist li { display: flex; gap: 14px; color: var(--c-muted); font-size: 18px; line-height: 28px; }
.checklist i { color: var(--c-primary); font-size: 20px; line-height: 28px; }
.contact-card { background: #fff; border-radius: 12px; padding: 32px; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 28px; font-weight: 500; color: var(--c-text); margin-bottom: 24px; }
.contact-card .form-row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
.contact-card .form-action { text-align: left; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.perk { background: #fff; border-radius: 14px; padding: 26px; box-shadow: 0 8px 24px rgba(0, 0, 0, .06); }
.perk .journey__icon { margin-bottom: 18px; }
.perk h3 { font-size: 22px; font-weight: 600; line-height: 33px; color: #666; }
.perks-title { font-size: 32px; font-weight: 700; color: var(--c-text); }
.perk ul { padding-left: 18px; font-size: 14px; color: var(--c-muted); }

/* About page */
.about-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.about-intro h2 { font-size: 40px; font-weight: 700; color: #272d3a; }
.about-intro p { font-size: 16px; line-height: 27px; color: rgba(0, 0, 0, .5); }
.section-head .is-bold, .vision h2 { font-weight: 700; color: #272d3a; }
.stats--cards { grid-template-columns: repeat(2, 1fr); }
.stats--cards .stat { background: #fff; border-radius: var(--radius); padding: 30px 20px; box-shadow: var(--shadow); }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why__item { background: #f7f8fd; border-radius: 10px; padding: 30px 32px; box-shadow: 0 0 6px 2px rgba(95, 105, 128, .1); }
.why__item h3 { font-size: 24px; font-weight: 700; line-height: 34px; }
.why__item p { font-size: 16px; line-height: 30px; color: var(--c-muted); }
.why__item .journey__icon { margin-bottom: 18px; }
.vision { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
.vision ul { list-style: none; display: grid; gap: 16px; }
.vision li { display: flex; gap: 14px; background: #fff; border-radius: 12px; padding: 18px 22px; }
.vision li i { color: var(--c-primary); font-size: 20px; }
.socials { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--c-border); color: var(--c-heading); font-weight: 600;
}
.socials a:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* ---------- Blog ---------- */
.blog-search { max-width: 520px; margin: 26px auto 0; position: relative; }
.blog-search input { width: 100%; padding: 12px 48px 12px 18px; border: 1px solid var(--c-border); border-radius: 10px; background: #fff; }
.blog-search button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 18px; color: var(--c-muted); cursor: pointer; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.cat-pills a {
  padding: 8px 16px; border-radius: 24px; background: #ebf1fe; color: #272d3a;
  font-size: 14px; font-weight: 500; line-height: 16px; transition: background-color .5s, color .5s;
}
.cat-pills a.is-active, .cat-pills a:hover { background: var(--c-primary); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, .1); display: flex; flex-direction: column; }
.post-card__media { height: 224px; background: linear-gradient(135deg, #e3e7ff, #c2c7fd); display: block; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card:hover .post-card__title a { color: var(--c-primary); }
.post-card__fallback { width: 100%; height: 100%; display: grid; place-items: center; font-size: 46px; color: var(--c-primary); }
.post-card__body { padding: 20px 22px 24px; }
.post-card__title { font-size: 20.8px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.post-card__title a { color: var(--c-text); transition: color .3s ease; }
.post-card__title a:hover { color: var(--c-primary); }
.post-card__date { font-size: 13px; color: var(--c-muted); }
.pagination { margin-top: 40px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pagination .page-numbers {
  min-width: 38px; height: 38px; padding: 0 10px; display: inline-grid; place-items: center;
  border-radius: 8px; background: #fff; border: 1px solid var(--c-border); color: var(--c-heading);
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pagination-summary { text-align: center; color: var(--c-muted); font-size: 14px; margin-top: 16px; }
.empty-state { text-align: center; color: var(--c-muted); padding: 40px 0; }

/* Single / page content */
.entry { max-width: 820px; margin: 0 auto; }
.entry__meta { color: var(--c-muted); font-size: 14px; margin-bottom: 26px; }
.entry__thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.entry__content { font-size: 17px; line-height: 1.8; }
.entry__content h2 { font-size: 28px; margin-top: 1.6em; }
.entry__content h3 { margin-top: 1.4em; }
.entry__content ul, .entry__content ol { padding-left: 24px; margin-bottom: 1em; }
.entry__content img { border-radius: 12px; }
.entry__content blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--c-primary); background: var(--c-primary-soft); border-radius: 0 10px 10px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-footer); color: var(--c-footer-text); padding: 72px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.site-footer .brand { color: #fff; margin-bottom: 26px; }
.site-footer .brand__name span { color: #9fa4ff; }
.footer-text { margin-bottom: 16px; }
.footer-text a, .footer-links a { color: var(--c-footer-text); }
.footer-text a:hover, .footer-links a:hover { color: #fff; }
.footer-col h4 { color: #fff; font-size: 20px; font-weight: 400; margin-bottom: 20px; }
.footer-links { list-style: none; display: grid; gap: 14px; font-size: 16px; }
.footer-links a { opacity: .7; transition: opacity .3s; }
.footer-links a:hover { opacity: 1; }
.footer-social { display: flex; gap: 18px; font-size: 20px; }
.footer-social a { color: #fff; opacity: .7; transition: .3s; }
.footer-social a:hover { opacity: 1; }
.footer-bottom { text-align: center; padding-top: 22px; font-size: 13px; }
.footer-bottom__contact { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 10px; font-size: 15px; }
.footer-bottom__contact a { color: #fff; display: inline-flex; align-items: center; gap: 8px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: all .6s ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero__copy, .hero__media, .page-hero .shell, .contact-hero__grid > * { animation: fadeUp .6s ease-out both; }
.hero__media { animation-delay: .15s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .svc-panel.is-active, .journey__panel.is-active { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav__list { gap: 26px; }
  .caps, .perks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .nav-toggle { display: block; }
  .site-nav, .site-header__cta { display: none; }
  .site-header.is-open .site-nav, .site-header.is-open .site-header__cta {
    display: flex; position: absolute; left: 0; right: 0; background: #fff; padding: 0 20px;
  }
  .site-header.is-open .site-nav { top: var(--header-h); border-top: 1px solid var(--c-border); }
  .site-header.is-open { background: #fff; }
  h1, .hero h1, .page-hero h1, .contact-hero h1 { font-size: 44px; line-height: 1.2; }
  .pillar h3 { font-size: 30px; }
  .cap { font-size: 20px; line-height: 30px; }
  .site-header.is-open .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding: 8px 0; }
  .site-header.is-open .site-nav__list > li > a, .site-header.is-open .site-nav__toggle { padding: 12px 0; width: 100%; }
  .site-header.is-open .site-nav__sub { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding: 0 0 8px; }
  .site-header.is-open .has-sub.is-open .site-nav__sub { display: block; }
  .site-header.is-open .site-header__cta { top: auto; flex-direction: column; padding: 12px 20px 20px; box-shadow: 0 12px 20px rgba(0, 0, 0, .06); }
  .site-header.is-open .site-nav { flex-direction: column; }
  .site-header.is-open { box-shadow: var(--shadow); }
  .hero__grid, .journey, .about-intro, .vision, .contact-hero__grid { grid-template-columns: 1fr; }
  .svc-grid, .pillars, .why, .post-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  h1, .hero h1, .page-hero h1, .contact-hero h1 { font-size: 32px; }
  h2, .journey h2, .about-intro h2, .cta-band h2 { font-size: 28px; line-height: 1.25; }
  .hero__lead, .section-head p, .journey__intro { font-size: 17px; }
  .stat__num { line-height: 1.1; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .page-hero { padding: calc(var(--header-h) + 50px) 0 60px; }
  .contact-hero { padding-top: calc(var(--header-h) + 30px); }
  .pillar h3 { font-size: 26px; line-height: 1.25; }
  .admin-bar .site-header { top: 46px; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 60px; }
  .svc-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 4px 12px; }
  .svc-tab { white-space: nowrap; }
  .svc-box { padding: 20px; }
  .svc-grid, .pillars, .why, .post-grid, .caps, .perks, .form-row, .stats--cards { grid-template-columns: 1fr; }
  .stat__num { font-size: 42px; }
  .journey__panel { padding: 26px; }
  .footer-top { grid-template-columns: 1fr; }
}
