:root {
  --ink: #14333f;
  --ink-2: #1f4654;
  --ink-soft: #4d6871;
  --teal: #0a837b;
  --teal-dark: #075f5b;
  --mint: #dff5ef;
  --mint-2: #effaf7;
  --coral: #ef765f;
  --coral-dark: #a64634;
  --coral-soft: #ffe2d9;
  --gold: #edc15c;
  --gold-soft: #fff2c7;
  --blue: #315d9c;
  --lavender: #ebe8ff;
  --paper: #fffdf8;
  --cream: #f7f0e6;
  --white: #ffffff;
  --line: rgba(20, 51, 63, 0.14);
  --line-strong: rgba(20, 51, 63, 0.23);
  --shadow: 0 24px 70px rgba(12, 42, 52, 0.17);
  --soft-shadow: 0 16px 42px rgba(12, 42, 52, 0.11);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(223, 245, 239, 0.42), rgba(255, 253, 248, 0) 420px),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 50;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid rgba(20, 51, 63, 0.08);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 14px 36px rgba(12, 42, 52, 0.08);
}

.nav-shell {
  width: var(--container);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 14px 30px rgba(10, 131, 123, 0.22);
}

.brand-mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  object-fit: cover;
}

.brand-text strong,
.brand-text small {
  display: block;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1.1rem;
}

.brand-text small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 750;
}

.main-nav > a,
.nav-dropdown > button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  padding: 0 13px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.main-nav > a:hover,
.nav-dropdown:hover > button,
.nav-dropdown > button:focus-visible {
  background: var(--mint);
  color: var(--teal-dark);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 240px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.dropdown-panel a {
  display: block;
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--ink);
}

.dropdown-panel a:hover,
.dropdown-panel a:focus-visible {
  background: var(--cream);
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-cta {
  background: var(--ink) !important;
  color: var(--white) !important;
  box-shadow: 0 12px 26px rgba(20, 51, 63, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  place-items: center;
  padding: 0;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(820px, calc(100vh - 78px));
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 76px 0 66px;
}

.hero-media,
.hero-overlay,
.hero-shapes {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.93) 38%, rgba(255, 253, 248, 0.48) 69%, rgba(20, 51, 63, 0.14) 100%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.08), rgba(20, 51, 63, 0.16));
}

.hero-shapes {
  pointer-events: none;
}

.hero-shapes span {
  position: absolute;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
}

.hero-shapes span:nth-child(1) {
  width: 250px;
  height: 72px;
  right: 6vw;
  top: 18%;
  transform: rotate(-9deg);
}

.hero-shapes span:nth-child(2) {
  width: 180px;
  height: 58px;
  right: 34vw;
  bottom: 14%;
  background: rgba(239, 118, 95, 0.22);
  transform: rotate(8deg);
}

.hero-shapes span:nth-child(3) {
  width: 112px;
  height: 112px;
  right: 22vw;
  top: 9%;
  border-radius: var(--radius);
  background: rgba(237, 193, 92, 0.24);
  transform: rotate(18deg);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.56fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.hero-copy {
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
summary {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.05rem, 6.2vw, 5.85rem);
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.8vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0 23px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 15px 34px rgba(10, 131, 123, 0.25);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(12, 42, 52, 0.08);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid rgba(20, 51, 63, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
  padding: 0 15px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 26px rgba(12, 42, 52, 0.07);
}

.hero-proof strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.callback-card,
.contact-form,
.dashboard-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.callback-card {
  padding: clamp(24px, 4vw, 34px);
}

.callback-card h2 {
  margin-top: 12px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.callback-card > p {
  margin: 12px 0 20px;
  color: var(--ink-soft);
}

.form-badge,
.package-label,
.post-date {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 0.8rem;
  font-weight: 900;
}

.form-badge {
  background: var(--coral-soft);
  color: var(--coral-dark);
}

.mini-form,
.contact-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(20, 51, 63, 0.16);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(10, 131, 123, 0.12);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 900;
}

.form-honeypot {
  display: none !important;
}

.form-privacy-note {
  margin: -4px 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.45;
}

.signal-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding: 28px 0;
}

.signal-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(10, 131, 123, 0.55), rgba(10, 131, 123, 0) 38%),
    linear-gradient(290deg, rgba(239, 118, 95, 0.42), rgba(239, 118, 95, 0) 45%);
}

.signal-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.signal-grid p {
  margin: 0;
  max-width: 780px;
  font-size: clamp(1.35rem, 2.7vw, 2.3rem);
  font-weight: 900;
  line-height: 1.14;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link-light {
  color: var(--white);
}

.section-pad {
  padding: clamp(76px, 9vw, 124px) 0;
}

.section-heading,
.section-kicker {
  max-width: 790px;
  margin-bottom: 40px;
}

.section-heading h2,
.section-kicker h2,
.dashboard-card h2,
.faq h2,
.contact h2 {
  font-size: clamp(2.15rem, 4.7vw, 4.1rem);
}

.section-heading p:last-child,
.split-heading > p,
.intro-panel p,
.dashboard-card p,
.faq p,
.contact p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.split-heading,
.intro-grid,
.visual-grid,
.faq-grid,
.contact-grid,
.footer-grid,
.footer-bottom {
  display: grid;
  gap: 32px;
  align-items: center;
}

.split-heading {
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  max-width: none;
}

.intro {
  background:
    linear-gradient(90deg, rgba(237, 193, 92, 0.16), rgba(255, 253, 248, 0) 46%),
    var(--paper);
}

.intro-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.75fr);
}

.intro-panel {
  position: relative;
  border-left: 5px solid var(--coral);
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--soft-shadow);
}

.intro-panel::after {
  content: "balansenbeleid.nl";
  position: absolute;
  right: 20px;
  bottom: 14px;
  color: rgba(20, 51, 63, 0.15);
  font-weight: 900;
}

.services {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 51, 63, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 51, 63, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, transparent, black 18%, black 82%, transparent);
  pointer-events: none;
}

.services .container {
  position: relative;
}

.service-grid,
.audience-grid,
.package-grid,
.review-grid,
.post-grid {
  display: grid;
  gap: 22px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.audience-card,
.audience-grid article,
.package-card,
.review-card,
.post-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(12, 42, 52, 0.08);
}

.service-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  padding: 28px;
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: var(--accent, var(--teal));
}

.service-card:hover,
.package-card:hover,
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(12, 42, 52, 0.13);
}

.service-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--icon-bg, var(--mint));
  color: var(--accent, var(--teal-dark));
}

.service-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.audience-grid h3,
.package-card h3,
.post-card h3 {
  margin-top: 22px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.service-card p,
.audience-grid p,
.package-card p,
.post-card p,
.review-card p {
  color: var(--ink-soft);
}

.service-card ul,
.package-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li,
.package-card li {
  position: relative;
  padding-left: 25px;
  color: var(--ink);
  font-weight: 750;
}

.service-card li::before,
.package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent, var(--teal));
  transform: translateY(-50%) rotate(45deg);
}

.service-teal {
  --accent: var(--teal);
  --icon-bg: var(--mint);
}

.service-coral {
  --accent: var(--coral);
  --icon-bg: var(--coral-soft);
}

.service-gold {
  --accent: var(--gold);
  --icon-bg: var(--gold-soft);
}

.service-blue {
  --accent: var(--blue);
  --icon-bg: #e7efff;
}

.service-mint {
  --accent: #3e9f75;
  --icon-bg: #e8f7df;
}

.service-ink {
  --accent: var(--ink);
  --icon-bg: #e9eef0;
}

.visual-story {
  background:
    linear-gradient(180deg, var(--cream), var(--paper));
}

.visual-grid {
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 0.82fr);
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--ink);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  padding: 18px;
  backdrop-filter: blur(14px);
}

.image-caption span {
  color: var(--ink-soft);
}

.dashboard-card {
  padding: clamp(26px, 4vw, 40px);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.metric-grid span {
  display: grid;
  gap: 4px;
  min-height: 100px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(223, 245, 239, 0.74), rgba(255, 255, 255, 0.88)),
    var(--white);
  padding: 16px;
  color: var(--ink-soft);
}

.metric-grid strong {
  color: var(--ink);
  font-size: 2.05rem;
  line-height: 1;
}

.progress-list {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
}

.progress-list div {
  display: grid;
  gap: 8px;
}

.progress-list span {
  color: var(--ink);
  font-weight: 850;
}

.progress-list strong {
  position: relative;
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(20, 51, 63, 0.09);
}

.progress-list strong::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--coral), var(--gold));
}

.audience {
  background: var(--paper);
}

.audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.audience-grid article {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 26px;
}

.audience-grid article::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border: 18px solid rgba(10, 131, 123, 0.11);
  border-radius: var(--radius);
  transform: rotate(22deg);
}

.audience-grid span {
  color: var(--coral);
  font-weight: 950;
}

.process {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.process .eyebrow {
  color: var(--gold);
}

.process .split-heading > p {
  color: rgba(255, 255, 255, 0.75);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--coral), var(--gold));
}

.timeline article {
  position: relative;
  min-height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
  padding: 28px;
}

.timeline span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  padding: 0 12px;
  font-size: 0.8rem;
  font-weight: 950;
}

.timeline h3 {
  margin-top: 36px;
  font-size: 1.45rem;
}

.timeline p {
  color: rgba(255, 255, 255, 0.72);
}

.packages {
  background:
    linear-gradient(135deg, rgba(235, 232, 255, 0.72), rgba(255, 253, 248, 0) 44%),
    var(--paper);
}

.package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.package-card {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 30px;
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.package-card .button {
  width: fit-content;
  margin-top: auto;
}

.package-label {
  background: var(--mint);
  color: var(--teal-dark);
}

.package-featured {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-18px);
}

.package-featured:hover {
  transform: translateY(-22px);
}

.package-featured p,
.package-featured li {
  color: rgba(255, 255, 255, 0.8);
}

.package-featured .package-label {
  background: var(--gold);
  color: var(--ink);
}

.package-featured li::before {
  background: var(--gold);
}

.reviews {
  background: var(--cream);
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  position: relative;
  min-height: 380px;
  padding: clamp(28px, 4vw, 38px);
}

.featured-review {
  background: var(--ink);
  color: var(--white);
}

.featured-review p {
  color: rgba(255, 255, 255, 0.82);
}

.quote-mark {
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 4.2rem;
  line-height: 1;
}

.review-card p {
  margin: 4px 0 34px;
  font-size: clamp(1.02rem, 1.7vw, 1.23rem);
}

.review-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-person span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 950;
}

.featured-review .review-person span {
  background: var(--gold);
  color: var(--ink);
}

.review-person strong,
.review-person small {
  display: block;
}

.review-person small {
  color: var(--ink-soft);
}

.featured-review .review-person small {
  color: rgba(255, 255, 255, 0.68);
}

.knowledge {
  background: var(--paper);
}

.post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card {
  min-height: 310px;
  padding: 26px;
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.post-card:nth-child(1) {
  background:
    linear-gradient(180deg, rgba(223, 245, 239, 0.88), rgba(255, 255, 255, 0.9)),
    var(--white);
}

.post-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 226, 217, 0.88), rgba(255, 255, 255, 0.9)),
    var(--white);
}

.post-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 242, 199, 0.92), rgba(255, 255, 255, 0.9)),
    var(--white);
}

.post-date {
  background: var(--white);
  color: var(--teal-dark);
  box-shadow: 0 10px 22px rgba(12, 42, 52, 0.06);
}

.faq {
  background:
    linear-gradient(180deg, rgba(247, 240, 230, 0.75), rgba(255, 253, 248, 0)),
    var(--paper);
}

.faq-grid {
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 950;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 1.2rem;
}

.faq-list details[open] summary::after {
  content: "-";
  background: var(--coral-soft);
  color: var(--coral-dark);
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px;
}

.contact {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--ink), #205765 58%, #24446d),
    var(--ink);
  color: var(--white);
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.contact .container {
  position: relative;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.82fr);
}

.contact .eyebrow {
  color: var(--gold);
}

.contact p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.contact-details a,
.contact-details span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(24px, 4vw, 34px);
  color: var(--ink);
}

.full-field,
.contact-form .button,
.contact-form .form-note,
.contact-form .form-privacy-note {
  grid-column: 1 / -1;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 20px 72px;
  background:
    linear-gradient(135deg, rgba(10, 131, 123, 0.08), rgba(49, 93, 156, 0.08)),
    var(--cream);
}

.thank-you-card {
  width: min(720px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(30px, 5vw, 54px);
  box-shadow: var(--soft-shadow);
}

.thank-you-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  margin-bottom: 24px;
}

.thank-you-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.02;
}

.thank-you-card p:not(.eyebrow) {
  max-width: 590px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.site-footer {
  background: #102832;
  color: rgba(255, 255, 255, 0.78);
  padding: 54px 0 24px;
}

.footer-grid {
  grid-template-columns: 1.15fr repeat(3, minmax(160px, 0.5fr));
  align-items: start;
}

.footer-brand .brand-mark {
  box-shadow: none;
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.66);
}

.footer-grid p {
  max-width: 380px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 1rem;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin: 8px 0;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  grid-template-columns: 1fr auto auto;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(239, 118, 95, 0.34);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1120px) {
  .menu-toggle {
    display: inline-grid;
  }

  .main-nav {
    position: fixed;
    inset: 78px 16px auto;
    display: grid;
    gap: 6px;
    max-height: calc(100vh - 98px);
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.menu-open .main-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav > a,
  .nav-dropdown > button {
    width: 100%;
    justify-content: space-between;
    border-radius: 7px;
  }

  .dropdown-panel {
    position: static;
    min-width: 100%;
    margin-top: 6px;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .hero-grid,
  .intro-grid,
  .visual-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .callback-card,
  .dashboard-card {
    max-width: 680px;
  }

  .service-grid,
  .audience-grid,
  .package-grid,
  .review-grid,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 15px;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .main-nav {
    inset: 68px 14px auto;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 44px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 253, 248, 0.9) 48%, rgba(255, 253, 248, 0.76) 100%),
      rgba(255, 253, 248, 0.7);
  }

  .hero-media img {
    opacity: 0.34;
    object-position: 68% center;
  }

  .hero-shapes {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11vw, 3.45rem);
    line-height: 1.02;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
  }

  .signal-grid,
  .split-heading,
  .service-grid,
  .audience-grid,
  .package-grid,
  .review-grid,
  .post-grid,
  .timeline,
  .metric-grid,
  .footer-grid,
  .footer-bottom,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .package-featured {
    transform: none;
  }

  .package-featured:hover {
    transform: translateY(-4px);
  }

  .service-card,
  .audience-grid article,
  .package-card,
  .review-card,
  .post-card,
  .timeline article {
    min-height: auto;
  }

  .image-frame {
    aspect-ratio: 5 / 4;
  }

  .image-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
  }

  .footer-bottom {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
