/* ==========================================================
   AvenIQ Learning — design tokens
   ========================================================== */
:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --tint: #efe9e0;
  --ink: #232326;
  --ink-2: #55555c;
  --ink-3: #77777e;
  --line: #e4ddd2;
  --brand: #d3222c;
  --brand-deep: #a91d25;
  --brand-soft: #fbe8e9;
  --amber: #d9a43b;
  --amber-soft: #f8edd6;
  --dark: #1b1b1e;
  --dark-2: #26262a;
  --dark-line: #38383e;
  --on-dark: #f5f2ed;
  --on-dark-2: #b7b4ae;

  --font-display: 'Lexend', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgb(35 35 38 / 0.06);
  --shadow: 0 10px 30px -12px rgb(35 35 38 / 0.18);
  --shadow-lg: 0 30px 60px -24px rgb(35 35 38 / 0.28);

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 10vw, 8rem);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

button {
  cursor: pointer;
}

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

::selection {
  background: var(--brand);
  color: #fff;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.icon--sm {
  width: 1.05rem;
  height: 1.05rem;
}
.icon--xs {
  width: 0.85rem;
  height: 0.85rem;
}

[data-icon] {
  display: inline-flex;
}

/* Hide hero items until the GSAP timeline takes over (removed by JS or timeout). */
.motion [data-hero-item],
.motion [data-hero-title],
.motion [data-hero-visual],
.motion .scroll-cue {
  visibility: hidden;
}

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  --btn-bd: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn .icon {
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  --btn-bd: var(--brand);
  box-shadow: 0 8px 20px -10px rgb(211 34 44 / 0.7);
}

.btn--primary:hover {
  --btn-bg: var(--brand-deep);
  --btn-bd: var(--brand-deep);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-bd: rgb(35 35 38 / 0.2);
}

.btn--ghost:hover {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--brand-deep);
  --btn-bd: #fff;
}

.btn--light:hover {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgb(255 255 255 / 0.55);
}

.btn--outline-light:hover {
  --btn-bg: rgb(255 255 255 / 0.12);
  --btn-bd: #fff;
}

.btn--sm {
  min-height: 40px;
  padding: 0.55rem 1.05rem;
  font-size: 0.9rem;
}

.btn--lg {
  min-height: 52px;
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

/* ==========================================================
   Header
   ========================================================== */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition:
    background-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  margin-right: auto;
  border-radius: 8px;
}

.brand__logo {
  height: 46px;
  width: auto;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  gap: 0.25rem;
}

.nav__link {
  position: relative;
  display: inline-flex;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.94rem;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav__link:hover {
  color: var(--ink);
  background: rgb(35 35 38 / 0.05);
}

.nav__link.is-active {
  color: var(--brand-deep);
}

.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
  transform: translateX(-50%);
}

.site-header__cta {
  display: none;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.menu-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.menu-toggle__bars i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle__bars i:nth-child(1) { top: 0; }
.menu-toggle__bars i:nth-child(2) { top: 5px; }
.menu-toggle__bars i:nth-child(3) { top: 10px; }

.menu-toggle[aria-expanded='true'] .menu-toggle__bars i:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] .menu-toggle__bars i:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded='true'] .menu-toggle__bars i:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  padding: 1.5rem var(--gutter) 2rem;
  background: var(--surface);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: none;
}

.mobile-menu__list {
  margin-bottom: 1.5rem;
}

.mobile-menu__list a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.mobile-menu__list li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.mobile-menu.is-open .mobile-menu__list li {
  opacity: 1;
  transform: none;
}

.mobile-menu.is-open .mobile-menu__list li:nth-child(2) { transition-delay: 0.04s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) { transition-delay: 0.12s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) { transition-delay: 0.16s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(6) { transition-delay: 0.2s; }

@media (min-width: 640px) {
  .site-header__cta {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .nav {
    display: block;
  }
  .menu-toggle,
  .mobile-menu {
    display: none;
  }
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 4rem));
  padding-bottom: clamp(4rem, 8vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 85% 20%, rgb(211 34 44 / 0.06), transparent 70%),
    var(--bg);
}

.hero__inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem 0.4rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.7);
  color: var(--ink-2);
  font-size: 0.85rem;
  font-weight: 500;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgb(211 34 44 / 0.15);
}

.hero__title {
  margin-top: 1.25rem;
  font-size: clamp(2.35rem, 5.6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero__title em {
  font-style: normal;
  color: var(--brand);
}

.hero__title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.hero__title .word__inner {
  display: inline-block;
}

.hero__lead {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 2.25rem;
  color: var(--ink-3);
  font-size: 0.88rem;
  font-weight: 500;
}

.hero__pillars li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__pillars li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--brand);
  transform: rotate(45deg);
}

.hero__visual {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  width: 100%;
}

.hero__frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero__frame img {
  width: 100%;
  aspect-ratio: 1200 / 896;
  object-fit: cover;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.9rem 0.6rem 0.6rem;
  border: 1px solid rgb(255 255 255 / 0.7);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  line-height: 1.25;
}

.float-card strong {
  display: block;
  font-weight: 600;
}

.float-card small {
  color: var(--ink-3);
  font-size: 0.75rem;
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.float-card__icon--dark {
  background: var(--ink);
  color: #fff;
}

.float-card__icon--amber {
  background: var(--amber-soft);
  color: #8a5f10;
}

.float-card--a { top: 8%; left: -4%; }
.float-card--b { bottom: 12%; right: -3%; }
.float-card--c { display: none; }

@media (min-width: 768px) {
  .float-card--c {
    display: flex;
    bottom: -4%;
    left: 10%;
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue__track {
  position: relative;
  width: 22px;
  height: 34px;
  border: 1.5px solid rgb(35 35 38 / 0.3);
  border-radius: 999px;
}

.scroll-cue__dot {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 7px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--brand);
  animation: scroll-cue 1.8s var(--ease) infinite;
}

@keyframes scroll-cue {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  80% { transform: translateY(12px); opacity: 0; }
  100% { opacity: 0; }
}

@media (min-width: 960px) {
  .hero {
    min-height: min(100svh, 900px);
    display: flex;
    align-items: center;
  }
  .hero__inner {
    grid-template-columns: 1.05fr 1fr;
  }
  .scroll-cue {
    display: flex;
  }
}

/* ==========================================================
   Sections
   ========================================================== */
.section {
  padding-block: var(--section-y);
}

.section--tint {
  background: var(--tint);
}

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

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--split {
  display: grid;
  gap: 1.25rem;
  max-width: none;
  align-items: end;
}

@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: currentColor;
}

.kicker--light {
  color: #ff8a8f;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.section-lead {
  margin-top: 1rem;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.section-head--split .section-lead {
  margin-top: 0;
}

.section--dark .section-lead {
  color: var(--on-dark-2);
}

/* ==========================================================
   Services
   ========================================================== */
.service-groups {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}

.service-group {
  --accent: var(--brand);
  --accent-soft: var(--brand-soft);
  --accent-ink: var(--brand-deep);
  display: grid;
  gap: 1.5rem;
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.service-group--ai {
  --accent: var(--ink);
  --accent-soft: #e9e7e3;
  --accent-ink: var(--ink);
}

.service-group--studio {
  --accent: var(--amber);
  --accent-soft: var(--amber-soft);
  --accent-ink: #7a5310;
}

.service-group--digital {
  --accent: #6b6b72;
  --accent-soft: #ecebe8;
  --accent-ink: #3d3d42;
}

.service-group__head {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.service-group__index {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.service-group--studio .service-group__index {
  color: var(--ink);
}

.service-group__title {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

.service-group__summary {
  color: var(--ink-2);
  max-width: 28rem;
}

.service-group__count {
  color: var(--ink-3);
  font-size: 0.85rem;
  font-weight: 500;
}

.service-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .service-group {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
    gap: 3rem;
  }
  .service-group__head {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
  .service-group--ai .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 1.5rem;
  width: 40px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  transition: transform 0.35s var(--ease);
}

.service-card:hover .service-card__icon {
  transform: rotate(-6deg) scale(1.05);
}

.service-card__num {
  color: var(--ink-3);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
}

.service-card__title {
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.service-card__desc {
  color: var(--ink-2);
  font-size: 0.95rem;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.5rem;
  color: var(--brand-deep);
  font-weight: 600;
  font-size: 0.92rem;
  align-self: flex-start;
}

.service-card__cta .icon {
  transition: transform 0.25s var(--ease);
}

.service-card__cta:hover .icon {
  transform: translateX(4px);
}

.service-card__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

/* ==========================================================
   AI Showcase
   ========================================================== */
.ai-showcase {
  display: grid;
  gap: 1.5rem;
}

.ai-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.35rem;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  background: var(--dark-2);
  scrollbar-width: none;
  justify-self: start;
  max-width: 100%;
}

.ai-tabs::-webkit-scrollbar {
  display: none;
}

.ai-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-height: 44px;
  padding: 0.55rem 1.1rem 0.55rem 0.6rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark-2);
  font-weight: 500;
  font-size: 0.92rem;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.ai-tab:hover {
  color: var(--on-dark);
}

.ai-tab__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.06);
}

.ai-tab[aria-selected='true'] {
  background: var(--on-dark);
  color: var(--ink);
}

.ai-tab[aria-selected='true'] .ai-tab__icon {
  background: var(--brand);
  color: #fff;
}

.ai-tab:focus-visible {
  outline-color: #ff8a8f;
}

.ai-panel {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--dark-2), var(--dark));
}

.ai-panel:focus-visible {
  outline-color: #ff8a8f;
}

.ai-panel[hidden] {
  display: none;
}

@media (min-width: 960px) {
  .ai-panel {
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
  }
}

.ai-panel__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.ai-panel__desc {
  margin-top: 1rem;
  color: var(--on-dark-2);
  font-size: 1.05rem;
}

.ai-panel__features {
  display: grid;
  gap: 0.75rem;
  margin: 1.75rem 0 2rem;
}

.ai-panel__features li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.ai-panel__features .icon {
  margin-top: 0.2rem;
  padding: 2px;
  border-radius: 50%;
  background: rgb(211 34 44 / 0.2);
  color: #ff8a8f;
}

.ai-panel__visual {
  margin: 0;
}

/* Mockup UI */
.mock {
  overflow: hidden;
  border-radius: 18px;
  background: #fbfaf8;
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.6);
  font-size: 0.85rem;
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #ece8e1;
  background: #fff;
}

.mock__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e3ded6;
}

.mock__bar i:first-child {
  background: var(--brand);
}

.mock__bar span {
  margin-left: 0.6rem;
  color: var(--ink-3);
  font-size: 0.78rem;
  font-weight: 500;
}

.mock__body {
  padding: 1.25rem;
  min-height: 300px;
}

.mock__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mock__chip {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.75rem;
  font-weight: 600;
}

.mock__chip--muted {
  background: #efece7;
  color: var(--ink-2);
}

.mock__caption {
  margin-top: 0.9rem;
  color: var(--on-dark-2);
  font-size: 0.8rem;
  text-align: center;
}

.mock__lab {
  display: grid;
  gap: 1rem;
}

@media (min-width: 520px) {
  .mock__lab {
    grid-template-columns: 1.1fr 1fr;
  }
}

.mock__stage {
  position: relative;
  min-height: 200px;
  border-radius: 14px;
  background: linear-gradient(180deg, #2a2a2f, #3a3a40);
  overflow: hidden;
}

.mock__sun {
  position: absolute;
  top: 18%;
  left: 14%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 40px 10px rgb(217 164 59 / 0.55);
}

.mock__object {
  position: absolute;
  bottom: 26%;
  left: 46%;
  width: 26px;
  height: 52px;
  border-radius: 6px 6px 2px 2px;
  background: var(--brand);
}

.mock__shadow {
  position: absolute;
  bottom: 22%;
  left: 54%;
  width: 70px;
  height: 10px;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.5);
  transform: skewX(-30deg);
}

.mock__stage::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  background: #4a4a50;
}

.mock__label {
  margin-bottom: 0.5rem;
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mock__step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed #e5e0d8;
  color: var(--ink-2);
}

.mock__step span {
  width: 14px;
  height: 14px;
  border: 2px solid #d8d2c8;
  border-radius: 50%;
}

.mock__step.is-done span {
  border-color: var(--brand);
  background: var(--brand);
}

.mock__step.is-active {
  color: var(--ink);
  font-weight: 600;
}

.mock__step.is-active span {
  border-color: var(--brand);
}

.mock__hint {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 0.9rem;
  padding: 0.7rem;
  border-radius: 10px;
  background: var(--amber-soft);
  color: #6a4810;
  font-size: 0.8rem;
}

.mock__hint .icon {
  margin-top: 0.15rem;
}

.mock__plan {
  display: grid;
  gap: 0.6rem;
}

.mock__plan li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.8rem;
  border: 1px solid #ece8e1;
  border-radius: 12px;
  background: #fff;
}

.mock__plan li:nth-child(2) {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.mock__time {
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  background: #f1ede7;
  color: var(--ink-2);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
}

.mock__plan strong {
  font-size: 0.88rem;
}

.mock__plan p {
  color: var(--ink-3);
  font-size: 0.8rem;
}

.mock__sheet {
  padding: 1.1rem;
  border: 1px solid #ece8e1;
  border-radius: 12px;
  background: #fff;
}

.mock__sheet-title {
  margin-bottom: 0.9rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
}

.mock__q {
  display: flex;
  gap: 0.6rem;
  padding: 0.55rem 0;
}

.mock__q > span {
  color: var(--brand-deep);
  font-weight: 700;
}

.mock__q > div {
  flex: 1;
}

.mock__line {
  display: block;
  height: 1px;
  margin-top: 1.1rem;
  background: #cfc8bd;
}

.mock__pairs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.mock__pairs i {
  flex: 1;
  height: 24px;
  border: 1px dashed #cfc8bd;
  border-radius: 6px;
}

.mock__table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.mock__table th,
.mock__table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #f0ece6;
  text-align: left;
}

.mock__table th {
  background: #f6f3ee;
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mock__lvl {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

.mock__lvl--1 { background: #e8f3ea; color: #24663a; }
.mock__lvl--2 { background: var(--amber-soft); color: #7a5310; }
.mock__lvl--3 { background: var(--brand-soft); color: var(--brand-deep); }

.mock__chat {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 230px;
}

.mock__bubble {
  display: flex;
  gap: 0.45rem;
  max-width: 82%;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  line-height: 1.45;
}

.mock__bubble .icon {
  margin-top: 0.2rem;
  color: var(--brand);
}

.mock__bubble--user {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: var(--ink);
  color: #fff;
}

.mock__bubble--bot {
  align-self: flex-start;
  border: 1px solid #ece8e1;
  border-bottom-left-radius: 4px;
  background: #fff;
}

.mock__bubble--typing {
  gap: 4px;
  padding: 0.85rem 1rem;
}

.mock__bubble--typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
  animation: typing 1.2s infinite ease-in-out;
}

.mock__bubble--typing i:nth-child(2) { animation-delay: 0.15s; }
.mock__bubble--typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.mock__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.9rem;
  padding: 0.65rem 0.65rem 0.65rem 1rem;
  border: 1px solid #e5e0d8;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-3);
}

.mock__input .icon {
  box-sizing: content-box;
  padding: 6px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

/* ==========================================================
   Gallery
   ========================================================== */
.gallery {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery__item--wide {
    grid-column: span 2;
  }
}

@media (min-width: 960px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .gallery__item--wide {
    grid-column: span 2;
  }
}

.gallery__btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: none;
  text-align: left;
}

.gallery__media {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--tint);
  height: 100%;
}

.gallery__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery__item--wide .gallery__media img {
  aspect-ratio: auto;
  min-height: 100%;
}

@media (max-width: 959px) {
  .gallery__item--wide .gallery__media img {
    aspect-ratio: 16 / 9;
  }
}

.gallery__btn:hover img,
.gallery__btn:focus-visible img {
  transform: scale(1.05);
}

.gallery__meta {
  position: absolute;
  inset: auto 0.75rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.6rem 0.6rem 1rem;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gallery__title {
  font-weight: 600;
  font-size: 0.95rem;
}

.gallery__zoom {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transition: background-color 0.25s var(--ease);
}

.gallery__btn:hover .gallery__zoom {
  background: var(--brand);
}

.video-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 260px;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--brand);
  color: #fff;
}

.video-tile__play {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
}

.video-tile__play .icon {
  margin-left: 3px;
  fill: currentColor;
}

.video-tile__title {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 1.4rem;
}

.video-tile__text {
  margin-top: 0.6rem;
  color: rgb(255 255 255 / 0.88);
  font-size: 0.95rem;
}

.video-tile__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.video-tile__link:focus-visible {
  outline-color: #fff;
}

/* Lightbox */
.lightbox {
  width: min(1100px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: var(--on-dark);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgb(15 15 17 / 0.8);
  backdrop-filter: blur(4px);
}

.lightbox[open] {
  animation: lightbox-in 0.35s var(--ease);
}

@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.97); }
}

.lightbox__inner {
  position: relative;
}

.lightbox__figure {
  margin: 0;
}

.lightbox__figure img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #111;
}

.lightbox__figure figcaption {
  padding: 1.25rem 1.5rem 0.25rem;
}

.lightbox__figure h2 {
  font-size: 1.2rem;
}

.lightbox__figure p {
  margin-top: 0.3rem;
  color: var(--on-dark-2);
  font-size: 0.92rem;
}

.lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.92);
  color: var(--ink);
}

.lightbox__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem 1.25rem;
}

.lightbox__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--dark-line);
  border-radius: 50%;
  background: transparent;
  color: var(--on-dark);
  transition: background-color 0.2s var(--ease);
}

.lightbox__arrow:hover {
  background: var(--dark-2);
}

.lightbox__count {
  color: var(--on-dark-2);
  font-size: 0.85rem;
}

.lightbox :focus-visible {
  outline-color: #ff8a8f;
}

/* ==========================================================
   Studio
   ========================================================== */
.studio {
  display: grid;
  gap: 1rem;
}

.studio__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.studio__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.studio__media:hover img {
  transform: scale(1.04);
}

.studio__tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.studio__tag .icon {
  color: var(--brand);
}

.studio__list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .studio__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .studio {
    grid-template-columns: 1.5fr 1fr;
  }
  .studio__list {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.studio-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.studio-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.studio-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.4rem;
  border-radius: 12px;
  background: var(--amber-soft);
  color: #7a5310;
}

.studio-card h3 {
  font-size: 1.08rem;
}

.studio-card p {
  color: var(--ink-2);
  font-size: 0.95rem;
}

.studio-card--cta {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.studio-card--cta p {
  color: var(--on-dark-2);
}

.studio-card--cta .btn {
  align-self: flex-start;
  margin-top: auto;
}

.studio-card--cta :focus-visible {
  outline-color: #ff8a8f;
}

/* ==========================================================
   Schools
   ========================================================== */
.schools {
  display: grid;
  gap: 3rem;
}

.schools__intro .btn {
  margin-top: 2rem;
  white-space: normal;
  text-align: left;
}

@media (min-width: 960px) {
  .schools {
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
  }
  .schools__intro {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.schools__list {
  display: grid;
  border-top: 1px solid var(--line);
}

.school-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease), padding 0.3s var(--ease);
}

.school-item:hover {
  background: var(--surface);
  padding-inline: 1rem;
  border-radius: var(--radius);
}

.school-item__num {
  padding-top: 0.15rem;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
}

.school-item h3 {
  font-size: 1.15rem;
}

.school-item p {
  margin-top: 0.4rem;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.school-item__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-deep);
}

/* ==========================================================
   Benefits
   ========================================================== */
.benefits {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

@media (min-width: 640px) {
  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.benefit {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
  transition: background-color 0.3s var(--ease);
}

.benefit:hover {
  background: #fffdfa;
}

.benefit__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.benefit:hover .benefit__icon {
  background: var(--brand);
  transform: translateY(-2px);
}

.benefit h3 {
  font-size: 1.1rem;
}

.benefit p {
  margin-top: 0.5rem;
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* ==========================================================
   Enquiry form
   ========================================================== */
.enquiry {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .enquiry {
    grid-template-columns: 0.8fr 1.4fr;
    gap: 4rem;
    align-items: start;
  }
  .enquiry__intro {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.enquiry__points {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.enquiry__points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-2);
}

.enquiry__points .icon {
  box-sizing: content-box;
  padding: 4px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.form-card {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  gap: 1.5rem;
}

.form[hidden] {
  display: none;
}

.form__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field > label,
.field legend {
  font-weight: 600;
  font-size: 0.92rem;
}

.field legend {
  padding: 0;
  margin-bottom: 0.4rem;
}

.req {
  color: var(--brand);
}

.opt {
  color: var(--ink-3);
  font-weight: 400;
}

.field input[type='text'],
.field input[type='email'],
.field input[type='tel'],
.field input[type='number'],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid #d7d0c5;
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8d8a85;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgb(35 35 38 / 0.08);
}

.field [aria-invalid='true'] {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 4px rgb(211 34 44 / 0.1) !important;
}

.field__hint {
  color: var(--ink-3);
  font-size: 0.82rem;
}

.field__hint--end {
  text-align: right;
}

.field__error {
  color: var(--brand-deep);
  font-size: 0.84rem;
  font-weight: 500;
}

.field__error:empty {
  display: none;
}

.phone {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 0.5rem;
}

.phone select,
.select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355555c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 16px;
}

.select {
  position: relative;
}

.select > span {
  display: none;
}

.check-groups {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .check-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.check-group {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fcfbf9;
}

.check-group__title {
  margin-bottom: 0.25rem;
  color: var(--ink-3);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.35rem 0.4rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.93rem;
  transition: background-color 0.3s var(--ease);
}

.check:hover {
  background: rgb(35 35 38 / 0.04);
}

.check.is-flash {
  background: var(--brand-soft);
}

.check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.check__box {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  border: 1.5px solid #bfb7ab;
  border-radius: 6px;
  background: #fff;
  color: transparent;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.check input:checked + .check__box {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.check input:focus-visible + .check__box {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.check--consent {
  padding: 0;
  color: var(--ink-2);
}

.check--consent:hover {
  background: none;
}

.check--consent a {
  color: var(--brand-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.has-error .check__box {
  border-color: var(--brand);
}

.radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.radio {
  position: relative;
  cursor: pointer;
}

.radio input {
  position: absolute;
  opacity: 0;
}

.radio span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border: 1px solid #d7d0c5;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.93rem;
  transition: all 0.2s var(--ease);
}

.radio input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.radio input:focus-visible + span {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
}

.form__note {
  color: var(--ink-3);
  font-size: 0.85rem;
}

.form__status {
  padding: 0.85rem 1rem;
  border: 1px solid rgb(211 34 44 / 0.35);
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 500;
  font-size: 0.92rem;
}

.form__result:empty {
  display: none;
}

.alert {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.93rem;
}

.alert--error {
  border: 1px solid rgb(211 34 44 / 0.35);
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.alert__icon {
  margin-top: 0.1rem;
}

.spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgb(255 255 255 / 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.is-loading .spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-success {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  padding: 1rem 0 0.5rem;
}

.form-success[hidden] {
  display: none;
}

.form-success:focus {
  outline: none;
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f3ea;
  color: #24663a;
}

.form-success h3 {
  font-size: 1.5rem;
}

.form-success p {
  color: var(--ink-2);
  margin-bottom: 0.75rem;
}

.privacy {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.86rem;
}

.privacy__title {
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-size: 0.95rem;
}

/* ==========================================================
   Final CTA
   ========================================================== */
.final-cta {
  padding-bottom: var(--section-y);
}

.final-cta__card {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.5rem, 6vw, 5rem);
  border-radius: calc(var(--radius-lg) + 8px);
  background:
    radial-gradient(80% 120% at 100% 0%, rgb(255 255 255 / 0.14), transparent 60%),
    linear-gradient(135deg, #b3262e, #e0313a);
  color: #fff;
  text-align: center;
}

.final-cta__card::before,
.final-cta__card::after {
  content: '';
  position: absolute;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.final-cta__card::before {
  width: 520px;
  height: 520px;
  left: -180px;
  bottom: -320px;
}

.final-cta__card::after {
  width: 340px;
  height: 340px;
  right: -120px;
  top: -200px;
}

.final-cta__plane {
  position: absolute;
  top: 14%;
  right: 10%;
  width: clamp(48px, 7vw, 84px);
  color: #fff;
  opacity: 0.9;
}

.final-cta__title {
  position: relative;
  max-width: 50rem;
  margin-inline: auto;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 700;
}

.final-cta__text {
  position: relative;
  max-width: 40rem;
  margin: 1.25rem auto 0;
  color: rgb(255 255 255 / 0.9);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.final-cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.final-cta :focus-visible {
  outline-color: #fff;
}

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
  padding-top: clamp(3.5rem, 7vw, 5rem);
  background: var(--dark);
  color: var(--on-dark-2);
  font-size: 0.94rem;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.8fr repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }
  .site-footer__brand {
    grid-column: auto;
  }
}

.site-footer__logo {
  display: inline-flex;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: #fff;
}

.site-footer__logo img {
  height: 44px;
  width: auto;
}

.site-footer__brand p {
  max-width: 26rem;
  margin-top: 1.25rem;
}

.site-footer__col h2 {
  margin-bottom: 1rem;
  color: var(--on-dark);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
}

.site-footer__col ul {
  display: grid;
  gap: 0.6rem;
}

.site-footer__col a {
  transition: color 0.2s var(--ease);
}

.site-footer__col a:hover {
  color: #fff;
}

.site-footer :focus-visible {
  outline-color: #ff8a8f;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--dark-line);
  font-size: 0.85rem;
}

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