:root {
  --color-royal: #112250;
  --color-sapphire: #3c507d;
  --color-quicksand: #e0c58f;
  --color-swan: #f5f0e9;
  --color-shell: #d8cbc2;
  --color-bg: #fbf8f2;
  --color-surface: #ffffff;
  --color-text: #18233b;
  --color-muted: #66718a;
  --color-border: rgba(17, 34, 80, 0.13);
  --color-border-dark: rgba(245, 240, 233, 0.18);
  --shadow-soft: 0 22px 70px rgba(17, 34, 80, 0.12);
  --shadow-card: 0 16px 44px rgba(17, 34, 80, 0.10);
  --container: 1180px;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --space-section: 104px;
  --space-section-mobile: 64px;
  --header-height: 84px;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(224, 197, 143, 0.82);
  outline-offset: 4px;
}

::selection {
  color: var(--color-royal);
  background: var(--color-quicksand);
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--color-royal);
  background: var(--color-quicksand);
  font-weight: 800;
  transition: transform 0.2s ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section);
}

.section--tint {
  background:
    radial-gradient(circle at 15% 10%, rgba(224, 197, 143, 0.15), transparent 28%),
    linear-gradient(180deg, #f8f3eb 0%, #fbf8f2 100%);
}

.section--dark {
  color: var(--color-swan);
  background: var(--color-royal);
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.hero h1,
.final-cta h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.section-heading h2,
.final-cta h2 {
  font-size: clamp(2.05rem, 4vw, 4.2rem);
}

.section-heading p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.section--dark .section-heading p:not(.eyebrow),
.hero__lead,
.final-cta p {
  color: rgba(245, 240, 233, 0.78);
}

.section-heading--center {
  text-align: center;
  margin-inline: auto;
}

.section-heading--sticky {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--color-sapphire);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section--dark .eyebrow,
.final-cta .eyebrow {
  color: var(--color-quicksand);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.72;
}

.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

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

.btn--primary {
  color: var(--color-royal);
  background: var(--color-quicksand);
  border-color: var(--color-quicksand);
}

.btn--primary:hover {
  background: #ebd5a3;
}

.btn--ghost {
  color: var(--color-swan);
  border-color: var(--color-border-dark);
  background: rgba(245, 240, 233, 0.08);
}

.btn--ghost:hover {
  border-color: rgba(224, 197, 143, 0.72);
  background: rgba(245, 240, 233, 0.12);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: var(--header-height);
  color: var(--color-swan);
  background: rgba(17, 34, 80, 0.94);
  border-bottom: 1px solid rgba(245, 240, 233, 0.12);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__mark {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(224, 197, 143, 0.42);
  border-radius: 16px;
  object-fit: cover;
  background: var(--color-royal);
}

.brand__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand__name {
  color: var(--color-quicksand);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand__line {
  color: rgba(245, 240, 233, 0.74);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: rgba(245, 240, 233, 0.82);
  font-size: 0.92rem;
  font-weight: 750;
  transition: background 0.18s ease, color 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-royal);
  background: var(--color-quicksand);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(245, 240, 233, 0.18);
  border-radius: 999px;
  color: var(--color-swan);
  background: rgba(245, 240, 233, 0.08);
  cursor: pointer;
}

.nav-toggle__line,
.nav-toggle__line::before,
.nav-toggle__line::after {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle__line {
  position: relative;
}

.nav-toggle__line::before,
.nav-toggle__line::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__line::before {
  top: -6px;
}

.nav-toggle__line::after {
  top: 6px;
}

.nav-open .nav-toggle__line {
  transform: rotate(45deg);
}

.nav-open .nav-toggle__line::before {
  transform: translateY(6px) rotate(90deg);
}

.nav-open .nav-toggle__line::after {
  opacity: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 84px;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(224, 197, 143, 0.28);
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 580px;
  height: 580px;
  top: -190px;
  right: -120px;
}

.hero::after {
  width: 360px;
  height: 360px;
  left: -140px;
  bottom: -120px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(17, 34, 80, 0.98) 0%, rgba(17, 34, 80, 0.90) 50%, rgba(17, 34, 80, 0.78) 100%),
    url('../img/vandens-molekules.webp') right center / cover no-repeat;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(380px, 0.82fr);
  align-items: center;
  gap: clamp(38px, 5vw, 76px);
}

.hero__content {
  max-width: 620px;
}

.hero h1 {
  max-width: 600px;
  font-size: clamp(2.65rem, 4.4vw, 4.05rem);
}

.hero__lead {
  max-width: 720px;
  margin: 26px 0 0;
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__visual {
  position: relative;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(224, 197, 143, 0.35);
  border-radius: 46px;
  background: rgba(245, 240, 233, 0.08);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.28);
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border: 1px solid rgba(245, 240, 233, 0.18);
  border-radius: 36px;
  pointer-events: none;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: -40px auto 0;
  width: min(92%, 460px);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(224, 197, 143, 0.38);
  border-radius: 24px;
  background: rgba(17, 34, 80, 0.86);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-proof div {
  padding: 18px 14px;
  text-align: center;
  background: rgba(245, 240, 233, 0.06);
}

.hero-proof strong {
  display: block;
  color: var(--color-quicksand);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
}

.hero-proof span {
  display: block;
  margin-top: 6px;
  color: rgba(245, 240, 233, 0.72);
  font-size: 0.78rem;
  line-height: 1.25;
}

.trust-strip {
  position: relative;
  z-index: 4;
  margin-top: -1px;
  background: var(--color-swan);
  border-block: 1px solid var(--color-border);
}

.trust-strip__inner {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 0;
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(17, 34, 80, 0.10);
  border-radius: 999px;
  color: var(--color-sapphire);
  background: #ffffff;
  font-size: 0.89rem;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 7vw, 92px);
}

.content-stack {
  display: grid;
  gap: 22px;
  font-size: 1.08rem;
}

.content-stack p {
  margin: 0;
  color: #3b455d;
}

.content-stack .lead {
  color: var(--color-text);
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  line-height: 1.45;
}

.quote-card {
  margin-top: 14px;
  padding: clamp(24px, 4vw, 36px);
  border-left: 4px solid var(--color-quicksand);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  color: var(--color-royal);
  background:
    linear-gradient(135deg, rgba(224, 197, 143, 0.24), rgba(245, 240, 233, 0.72)),
    #fff;
}

.quote-card p {
  color: var(--color-royal);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.22;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.service-card {
  position: relative;
  min-height: 265px;
  grid-column: span 2;
  overflow: hidden;
  padding: 30px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  bottom: -90px;
  border: 1px solid rgba(224, 197, 143, 0.5);
  border-radius: 999px;
  opacity: 0.8;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 197, 143, 0.65);
  box-shadow: 0 24px 70px rgba(17, 34, 80, 0.14);
}

.card-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(224, 197, 143, 0.55);
  border-radius: 13px;
  color: var(--color-royal);
  background: rgba(224, 197, 143, 0.18);
}

.card-icon::before,
.card-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.card-icon--mentor::before {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.card-icon--mentor::after {
  width: 6px;
  height: 6px;
  right: 9px;
  top: 9px;
  border-radius: 999px;
  background: var(--color-quicksand);
}

.card-icon--strategy::before {
  width: 18px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.card-icon--strategy::after {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.card-icon--project::before {
  width: 15px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.card-icon--project::after {
  width: 8px;
  height: 2px;
  background: currentColor;
  transform: translateY(2px);
}

.card-icon--learning::before {
  width: 17px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translate(1px, -1px);
}

.card-icon--organization::before {
  width: 18px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.card-icon--organization::after {
  width: 12px;
  height: 2px;
  left: 10px;
  top: 18px;
  background: currentColor;
}

.service-card h3,
.fit-card h3,
.process-step h3 {
  margin: 26px 0 10px;
  color: var(--color-royal);
  font-size: 1.35rem;
  line-height: 1.18;
}

.service-card p,
.fit-card p,
.process-step p {
  margin: 0;
  color: var(--color-muted);
}

.service-card--accent {
  color: var(--color-swan);
  background:
    linear-gradient(135deg, rgba(17, 34, 80, 0.92), rgba(60, 80, 125, 0.88)),
    url('../img/vandens-lastele.webp') center / cover no-repeat;
  border-color: rgba(224, 197, 143, 0.42);
}

.service-card--accent .card-icon {
  color: var(--color-royal);
  background: var(--color-quicksand);
  border-color: rgba(224, 197, 143, 0.85);
}

.service-card--accent h3,
.service-card--accent p {
  color: var(--color-swan);
}

.service-card--accent p {
  opacity: 0.82;
}

.fit-grid {
  display: grid;
  gap: 18px;
}

.fit-card {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.66);
}

.fit-card h3 {
  margin-top: 0;
}

.learning {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.learning__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 34, 80, 0.96), rgba(17, 34, 80, 0.83)),
    url('../img/vandens-bendrakura.webp') center / cover no-repeat;
}

.learning__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

.learning .section-heading {
  max-width: 520px;
}

.learning .section-heading h2 {
  max-width: 460px;
  font-size: clamp(2.25rem, 3.55vw, 3.35rem);
}

.learning .section-heading p:not(.eyebrow) {
  max-width: 500px;
  font-size: 1rem;
}



.learning-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
  max-width: 650px;
}

.learning-topics__item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  padding: 18px 0;
  border-top: 1px solid rgba(245, 240, 233, 0.18);
  color: var(--color-swan);
}

.learning-topics__item:nth-last-child(-n + 2) {
  border-bottom: 1px solid rgba(245, 240, 233, 0.18);
}

.learning-topics__item span {
  flex: 0 0 auto;
  width: 34px;
  height: 1px;
  background: var(--color-quicksand);
  opacity: 0.92;
}

.learning-topics__item strong {
  display: block;
  color: var(--color-swan);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.15vw, 1.22rem);
  font-weight: 850;
  line-height: 1.28;
}

.process .section-heading h2 {
  max-width: 780px;
  margin-inline: auto;
  font-size: clamp(2.25rem, 4.2vw, 4.25rem);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
  counter-reset: step;
}

.process-step {
  position: relative;
  min-height: 285px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--color-royal);
  background: var(--color-quicksand);
  font-weight: 900;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
}

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

.testimonial-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.testimonial-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(224, 197, 143, 0.46);
  border-radius: 999px;
  color: var(--color-royal);
  background: rgba(224, 197, 143, 0.18);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
}

.testimonial-card__meta span + span {
  color: var(--color-sapphire);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--color-border);
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.36;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--color-sapphire);
  font-size: 0.92rem;
  font-weight: 850;
}

.testimonial-card figcaption::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--color-quicksand);
}

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

details {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 34, 80, 0.06);
}

summary {
  cursor: pointer;
  position: relative;
  padding: 22px 58px 22px 24px;
  color: var(--color-royal);
  font-weight: 850;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: var(--color-sapphire);
  font-size: 1.5rem;
  font-weight: 400;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: -6px 24px 24px;
  color: var(--color-muted);
}

.final-cta {
  padding-top: 0;
}

.final-cta__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: clamp(28px, 5vw, 60px);
  padding: clamp(34px, 6vw, 64px);
  overflow: hidden;
  position: relative;
  color: var(--color-swan);
  border: 1px solid rgba(224, 197, 143, 0.32);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(17, 34, 80, 0.95), rgba(60, 80, 125, 0.82)),
    url('../img/vandens-judesys.webp') center / cover no-repeat;
  box-shadow: 0 28px 90px rgba(17, 34, 80, 0.2);
}

.final-cta__card::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -190px;
  top: -170px;
  border: 1px solid rgba(224, 197, 143, 0.26);
  border-radius: 999px;
}

.final-cta h2 {
  max-width: 780px;
}

.final-cta p {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.contact-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(245, 240, 233, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(245, 240, 233, 0.10);
  backdrop-filter: blur(16px);
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(245, 240, 233, 0.16);
  border-radius: 16px;
  color: var(--color-swan);
  background: rgba(17, 34, 80, 0.24);
  font-weight: 850;
  text-align: center;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.contact-link:hover,
.social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 197, 143, 0.72);
  background: rgba(245, 240, 233, 0.13);
}

.contact-link--primary {
  color: var(--color-royal);
  background: var(--color-quicksand);
  border-color: var(--color-quicksand);
}

.social-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid rgba(245, 240, 233, 0.16);
  border-radius: 999px;
  color: var(--color-swan);
  font-weight: 850;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.site-footer {
  color: rgba(245, 240, 233, 0.75);
  background: var(--color-royal);
  border-top: 1px solid rgba(245, 240, 233, 0.12);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 112px;
  padding-block: 24px;
}

.footer-brand {
  color: var(--color-quicksand);
  font-family: var(--font-serif);
  font-size: 1.08rem;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(224, 197, 143, 0.32);
  border-radius: 14px;
  object-fit: cover;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
  text-align: right;
}

@media (max-width: 1080px) {
  .hero__inner,
  .learning__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 540px;
  }

  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto;
  }

  .process-step {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding-block: var(--space-section-mobile);
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 16px auto;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(245, 240, 233, 0.16);
    border-radius: 22px;
    background: rgba(17, 34, 80, 0.98);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

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

  .site-nav a {
    padding: 14px 16px;
  }

  .split,
  .split--about,
  .final-cta__card {
    grid-template-columns: 1fr;
  }

  .section-heading--sticky {
    position: static;
  }

  .hero {
    padding: 64px 0 62px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 8vw, 3.6rem);
  }

  .final-cta__card {
    padding: 30px;
  }

  .contact-panel {
    width: 100%;
  }

  .site-footer__inner {
    display: grid;
    justify-items: start;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .brand__line {
    display: none;
  }

  .brand__name {
    font-size: 1rem;
  }

  .brand__mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .hero__actions,
  .social-links {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 14px;
    width: 100%;
  }

  .portrait-card {
    border-radius: 32px;
  }

  .portrait-card::before {
    border-radius: 24px;
  }

  .trust-strip__inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .trust-strip__inner::-webkit-scrollbar {
    display: none;
  }

  .trust-strip span {
    flex: 0 0 auto;
  }

  .service-grid,
  .fit-grid,
  .process-grid,
  .testimonial-grid,
  .learning-topics {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 26px;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.2rem);
  }

  .service-card,
  .fit-card,
  .process-step,
  .testimonial-card,
  .final-cta__card,
  .contact-panel {
    border-radius: 22px;
  }

  .final-cta__card {
    padding: 24px;
  }
}

@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;
  }
}

/* --- v0.26 technical cleanup: footer, privacy page and cookie banner --- */
html,
body {
  overflow-x: hidden;
}

.footer-meta {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.footer-meta a {
  color: var(--color-swan);
  font-weight: 600;
}

.policy-hero {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: clamp(34px, 4vw, 48px) 0 clamp(30px, 3.6vw, 44px);
  color: var(--color-swan);
  background: var(--color-royal);
}

.policy-hero__inner {
  position: relative;
  z-index: 1;
  max-width: none;
  margin-inline: auto;
}

.policy-hero .eyebrow,
.policy-hero h1,
.policy-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.policy-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4.2vw, 3.35rem);
}

.policy-hero p:not(.eyebrow) {
  margin-top: 12px;
  color: rgba(245, 240, 233, 0.86);
}

.policy-content {
  padding-top: clamp(34px, 4vw, 50px);
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.policy-nav strong {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--color-royal);
}

.policy-nav a {
  color: var(--color-text);
  font-size: 0.96rem;
}

.policy-article {
  display: grid;
  gap: 28px;
}

.policy-article section {
  padding: 28px 30px;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.policy-article h2 {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.policy-article p,
.policy-article li {
  color: var(--color-text-soft);
}

.policy-article ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.policy-article .btn--small {
  min-height: 48px;
  padding-inline: 18px;
}

.mg-cookie-consent {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 22px;
  z-index: 9999;
  width: min(720px, calc(100vw - 36px));
  max-width: min(720px, calc(100vw - 36px));
  padding: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.mg-cookie-card {
  width: 100%;
  max-width: 100%;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
  padding: 18px 20px;
  border: 1px solid rgba(224, 197, 143, 0.26);
  border-radius: 24px;
  background: rgba(17, 32, 79, 0.96);
  box-shadow: 0 24px 70px rgba(10, 18, 41, 0.34);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.mg-cookie-main {
  min-width: 0;
}

.mg-cookie-main p {
  display: block;
  margin: 0;
  max-width: 100%;
  color: rgba(245, 240, 233, 0.84);
  font-family: var(--font-sans);
  font-size: 14.2px;
  line-height: 1.42;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.mg-cookie-main p strong {
  font-family: var(--font-sans);
  font-size: inherit;
  line-height: inherit;
  font-weight: 800;
  color: var(--color-quicksand);
  letter-spacing: 0;
}

.mg-cookie-text-mobile {
  display: none;
}

.mg-cookie-link {
  display: inline;
  width: auto;
  margin: 0 0 0 6px;
  color: var(--color-quicksand);
  font-family: var(--font-sans);
  font-size: inherit;
  line-height: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.mg-cookie-link:hover {
  color: var(--color-quicksand);
}

.mg-cookie-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  width: 100%;
}

.mg-cookie-btn {
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid rgba(224, 197, 143, 0.32);
  border-radius: 999px;
  background: rgba(245, 240, 233, 0.05);
  color: var(--color-swan);
  font: inherit;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.mg-cookie-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(224, 197, 143, 0.62);
  background: rgba(245, 240, 233, 0.1);
}

.mg-cookie-btn-primary {
  border-color: rgba(224, 197, 143, 0.9);
  background: var(--color-quicksand);
  color: var(--color-royal);
}

.mg-cookie-btn-primary:hover {
  background: #efd995;
  color: var(--color-royal);
}

.mg-cookie-btn-ghost {
  background: transparent;
}

.mg-cookie-settings {
  grid-column: 1 / -1;
}

.mg-cookie-settings[hidden],
.mg-cookie-save[hidden] {
  display: none;
}

.mg-cookie-settings:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 2px;
}

.mg-cookie-settings label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 13px 16px;
  border: 1px solid rgba(224, 197, 143, 0.18);
  border-radius: 18px;
  background: rgba(245, 240, 233, 0.06);
  color: var(--color-swan);
}

.mg-cookie-settings span {
  display: grid;
  gap: 3px;
}

.mg-cookie-settings strong {
  color: var(--color-swan);
  font-size: 14px;
  line-height: 1.2;
}

.mg-cookie-settings em {
  color: rgba(245, 240, 233, 0.68);
  font-size: 12.5px;
  line-height: 1.25;
  font-style: normal;
}

.mg-cookie-settings input {
  width: 20px;
  height: 20px;
  accent-color: var(--color-quicksand);
}

.mg-cookie-save:not([hidden]) {
  display: block;
  grid-column: 1 / -1;
}

.mg-cookie-card--expanded {
  width: 100%;
}

.mg-cookie-card--expanded .mg-cookie-actions [data-mg-cookie-action="save"] {
  grid-column: 1 / -1;
}

.mg-cookie-settings-button {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9998;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(224, 197, 143, 0.34);
  border-radius: 999px;
  background: rgba(17, 32, 79, 0.92);
  color: var(--color-swan);
  font: inherit;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(10, 18, 41, 0.22);
}

.mg-cookie-settings-button:hover {
  border-color: rgba(224, 197, 143, 0.7);
  color: var(--color-quicksand);
}

@media (max-width: 900px) {
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-nav {
    position: static;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .policy-hero {
    padding: 28px 0;
  }

  .policy-hero h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .policy-hero p:not(.eyebrow) {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .mg-cookie-consent {
    bottom: 12px;
    width: min(calc(100vw - 24px), 520px);
    max-width: min(calc(100vw - 24px), 520px);
  }

  .mg-cookie-card {
    padding: 15px 16px 16px;
    gap: 11px;
    border-radius: 22px;
  }

  .mg-cookie-main p {
    font-size: 13px;
    line-height: 1.38;
  }

  .mg-cookie-link {
    margin-left: 4px;
  }

  .mg-cookie-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .mg-cookie-actions [data-mg-cookie-action="accept"],
  .mg-cookie-actions [data-mg-cookie-action="save"] {
    grid-column: 1 / -1;
  }

  .mg-cookie-actions [data-mg-cookie-action="reject"],
  .mg-cookie-actions [data-mg-cookie-action="settings"] {
    grid-column: auto;
  }

  .mg-cookie-actions .mg-cookie-btn {
    min-height: 48px;
    font-size: 0.95rem;
    padding-inline: 8px;
  }

  .mg-cookie-settings:not([hidden]) {
    grid-template-columns: 1fr;
  }

  .mg-cookie-settings label {
    min-height: auto;
    padding: 10px 12px;
  }
}

@media (max-width: 380px) {
  .mg-cookie-actions .mg-cookie-btn {
    font-size: 0.88rem;
  }
}

