:root {
  --bg: #f5f6f2;
  --surface: #ffffff;
  --surface-2: #edf1eb;
  --ink: #18231d;
  --muted: #657168;
  --green: #0f3829;
  --green-2: #15523c;
  --mint: #9dd7b3;
  --silver: #e8ebe6;
  --line: rgba(24, 35, 29, .12);
  --shadow: 0 22px 60px rgba(15, 34, 25, .16);
  --container: 1160px;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(15, 56, 41, .08), transparent 34%),
    linear-gradient(315deg, rgba(157, 215, 179, .13), transparent 30%),
    var(--bg);
}

body.no-scroll,
body.gallery-lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid #77d79f;
  outline-offset: 3px;
}

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

.topbar {
  background: #09261c;
  color: rgba(255, 255, 255, .78);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.topbar__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brandline {
  display: flex;
  gap: 18px;
  align-items: center;
  text-align: center;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.brandline__name {
  font-weight: 700;
}

.brandline__tag {
  color: rgba(255, 255, 255, .62);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 42, 31, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 16px 38px rgba(6, 27, 19, .28);
  backdrop-filter: blur(14px);
}

.header__inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 300px;
  align-items: center;
  gap: 34px;
}

.header .container {
  width: min(1880px, calc(100% - 72px));
}

.logo-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: 178px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .32));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 2.2vw, 48px);
  margin: 0;
  min-width: 0;
}

.navlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(235, 247, 240, .84);
  background: transparent;
  text-decoration: none;
  font-size: 16px;
  box-shadow: none;
  transition: transform .18s ease, color .18s ease, opacity .18s ease;
}

.navlink:hover,
.navlink.is-active {
  transform: translateY(-1px);
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.header .navlink.is-active {
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.header__actions .btn--ghost {
  min-width: 168px;
  min-height: 48px;
  padding-inline: 25px;
}

.header__actions .btn--solid {
  min-width: 84px;
  min-height: 48px;
  padding-inline: 22px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid rgba(157, 215, 179, .26);
  border-radius: 999px;
  color: rgba(240, 249, 244, .9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .018)),
    rgba(7, 38, 27, .56);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 24px rgba(0, 0, 0, .12);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(157, 215, 179, .42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .025)),
    rgba(12, 55, 39, .72);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.btn--solid {
  color: #fff;
  background:
    radial-gradient(120% 180% at 20% 0%, rgba(157, 215, 179, .32), transparent 42%),
    linear-gradient(135deg, #247753 0%, #125139 46%, #08271d 100%);
  border-color: rgba(157, 215, 179, .38);
  box-shadow: 0 14px 34px rgba(9, 45, 32, .3), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.btn--solid:hover {
  background:
    radial-gradient(120% 180% at 20% 0%, rgba(185, 235, 200, .38), transparent 42%),
    linear-gradient(135deg, #2a8a60 0%, #155a40 46%, #092b20 100%);
  box-shadow: 0 18px 42px rgba(9, 45, 32, .36), inset 0 1px 0 rgba(255, 255, 255, .14);
}

.btn--ghost {
  color: rgba(17, 61, 44, .92);
  border-color: rgba(47, 104, 78, .24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .18)),
    rgba(157, 188, 173, .62);
  box-shadow: 0 12px 26px rgba(31, 70, 52, .12), inset 0 1px 0 rgba(255, 255, 255, .38);
}

.btn--ghost:hover {
  color: #fff;
  border-color: rgba(74, 135, 101, .34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04)),
    rgba(76, 126, 98, .84);
  box-shadow: 0 16px 34px rgba(31, 70, 52, .2), inset 0 1px 0 rgba(255, 255, 255, .2);
}

.header .btn--solid,
.header .btn--ghost {
  color: rgba(235, 247, 240, .84);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
    rgba(6, 34, 24, .24);
  border-color: rgba(157, 215, 179, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.header .btn--solid:hover,
.header .btn--ghost:hover {
  border-color: rgba(157, 215, 179, .42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .025)),
    rgba(12, 55, 39, .72);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.btn--lg {
  min-height: 46px;
  padding: 0 22px;
}

.btn--reset {
  color: #fff;
  border-color: rgba(198, 144, 88, .46);
  background:
    linear-gradient(135deg, rgba(148, 82, 42, .88), rgba(76, 44, 27, .94)),
    #6f4429;
  box-shadow: 0 16px 34px rgba(92, 48, 26, .24), inset 0 1px 0 rgba(255, 255, 255, .16);
}

.btn--reset:hover {
  border-color: rgba(222, 174, 117, .7);
  background:
    linear-gradient(135deg, rgba(170, 96, 51, .96), rgba(92, 52, 31, .96)),
    #7b492b;
}

.iconbtn {
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.iconbtn:hover,
.iconbtn.is-open {
  transform: translateY(-1px);
  background:
    linear-gradient(135deg, rgba(36, 119, 83, .52), rgba(9, 45, 32, .88)),
    rgba(8, 43, 31, .72);
  border-color: rgba(157, 215, 179, .44);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.burger,
.x {
  position: relative;
  width: 18px;
  height: 18px;
}

.burger::before,
.burger::after,
.x::before,
.x::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .18s ease, top .18s ease, bottom .18s ease;
}

.burger::before {
  top: 5px;
}

.burger::after {
  bottom: 5px;
}

.iconbtn.is-open .burger::before,
.x::before {
  top: 8px;
  transform: rotate(45deg);
}

.iconbtn.is-open .burger::after,
.x::after {
  bottom: 8px;
  transform: rotate(-45deg);
}

.fab {
  display: none;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, .52);
  opacity: 0;
  transition: opacity .25s ease;
}

.menu-overlay.is-open {
  opacity: 1;
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 90;
  width: min(392px, 92vw);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: #101110;
  border-left: 0;
  box-shadow: -28px 0 80px rgba(0, 0, 0, .56);
  transform: translateX(105%);
  transition: transform .42s cubic-bezier(.16, 1, .3, 1);
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 48px 12px;
  border-bottom: 0;
}

.drawer__brand {
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(255, 255, 255, .36);
}

.drawer__content {
  padding: 36px 48px 48px;
  display: grid;
  gap: 30px;
}

.drawer__label {
  margin: 0;
  color: rgba(255, 255, 255, .3);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.drawer__nav {
  display: grid;
  gap: 8px;
}

.drawer__link {
  min-height: 48px;
  padding: 0 34px 0 0;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, .35);
  background: transparent;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 22px;
  font-weight: 760;
  letter-spacing: 0;
  position: relative;
  transition: color .2s ease, transform .2s ease, background .2s ease;
}

.drawer__link::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) translateX(-4px) rotate(45deg);
  color: rgba(255, 255, 255, .32);
  opacity: 0;
  transition: opacity .2s ease, color .2s ease, transform .2s ease;
}

.drawer__link:hover,
.drawer__link.is-active {
  transform: translateX(2px);
  color: rgba(255, 255, 255, .94);
  background: transparent;
}

.drawer__link:hover::after,
.drawer__link.is-active::after {
  opacity: 1;
  color: rgba(255, 255, 255, .95);
  transform: translateY(-50%) translateX(0) rotate(45deg);
}

.drawer .iconbtn {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.drawer .iconbtn:hover {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.drawer__actions {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.drawer__actions .btn {
  justify-content: flex-start;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, .42);
  padding: 0;
  min-height: 42px;
  font-size: 16px;
}

.drawer__actions .btn:hover {
  color: #fff;
  transform: translateX(2px);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #0b2118;
}

.hero__bg,
.photo__image,
.pageHero__image,
.model__img {
  background-size: cover;
  background-position: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(4, 17, 12, .94), rgba(4, 17, 12, .5) 52%, rgba(4, 17, 12, .74)),
    linear-gradient(180deg, rgba(4, 17, 12, .22), rgba(4, 17, 12, .6)),
    url("images/Padel-Hub-Padel-Alba.jpg");
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__videoOverlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 17, 12, .9), rgba(4, 17, 12, .42) 52%, rgba(4, 17, 12, .62)),
    linear-gradient(180deg, rgba(4, 17, 12, .16), rgba(4, 17, 12, .62));
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(4, 17, 12, .9), rgba(4, 17, 12, .48)),
      url("images/home-hero-wow-cup-poster.jpg") center / cover;
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 64px;
  display: grid;
  gap: 22px;
}

.eyebrow {
  margin: 0;
  color: var(--mint);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
}

.hero__title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7vw, 92px);
  line-height: .92;
  text-shadow: 0 18px 50px rgba(0, 0, 0, .42);
}

.hero__text {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
  text-shadow: 0 10px 30px rgba(0, 0, 0, .38);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  margin-top: 26px;
}

.stat {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.stat strong {
  display: block;
  font-size: 25px;
}

.stat span {
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.section {
  padding: 74px 0;
}

.section--light {
  background: rgba(255, 255, 255, .52);
}

.section__head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}

.section__title,
.page__title,
.courts__title,
.showroom__title,
.contact__title,
.config__title {
  margin: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -.02em;
}

.section__text,
.page__text,
.courts__sub,
.showroom__sub,
.contact__subtitle,
.config__text {
  margin: 10px 0 0;
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.65;
}

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

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

.card,
.model,
.ctaCard,
.contact__card,
.contact__form,
.configCard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature {
  padding: 24px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.feature:hover,
.model:hover,
.gallery__item:hover,
.configCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(15, 34, 25, .2);
}

.feature__kicker {
  margin: 0 0 20px;
  color: var(--green-2);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
}

.feature__title,
.model__title,
.ctaCard__title,
.configCard__title {
  margin: 0;
  font-size: 22px;
}

.model__eyebrow {
  margin: 0 0 8px;
  color: var(--green-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.feature__text,
.model__meta,
.ctaCard__text,
.configCard__text {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.model__description {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: start;
  margin-top: 10px;
}

.model__description .model__meta {
  margin: 0;
  max-height: 76px;
  overflow: hidden;
  position: relative;
  transition: max-height .55s cubic-bezier(.16, 1, .3, 1);
}

.model__description .model__meta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .96));
  opacity: 1;
  transition: opacity .25s ease;
  pointer-events: none;
}

.model.is-expanded .model__description .model__meta {
  max-height: 260px;
}

.model.is-expanded .model__description .model__meta::after {
  opacity: 0;
}

.model__toggle {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 56, 41, .08);
  color: var(--green);
  cursor: pointer;
  position: relative;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}

.model__toggle::before {
  content: "";
  position: absolute;
  inset: 11px 12px 13px 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .28s cubic-bezier(.16, 1, .3, 1);
}

.model__toggle:hover {
  background: rgba(27, 103, 72, .14);
  color: var(--green-2);
  transform: translateY(-1px);
}

.model.is-expanded .model__toggle::before {
  transform: translateY(3px) rotate(225deg);
}

.model__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.model__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(15, 56, 41, .12);
  border-radius: 999px;
  background: rgba(237, 241, 235, .74);
  color: rgba(15, 56, 41, .78);
  font-size: 12px;
  font-weight: 760;
}

.photo-strip {
  display: grid;
}

.photo-panel {
  position: relative;
  min-height: 74vh;
  overflow: hidden;
  color: #fff;
  display: grid;
  align-items: end;
}

.photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .68));
}

.photo__image {
  position: absolute;
  inset: 0;
  transform: scale(1.03);
  transition: transform 1.6s cubic-bezier(.16, 1, .3, 1);
}

.photo__image--built {
  background-position: center 58%;
}

.photo-panel:hover .photo__image {
  transform: scale(1.08);
}

.photo__content {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
}

.photo__content h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: .98;
}

.photo__content p {
  max-width: 56ch;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.65;
}

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360vh;
  background: #081d15;
  color: #fff;
}

.story__media {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #081d15 url("images/home-story-pacos-poster.jpg?v=4") center / cover no-repeat;
}

.story__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (prefers-reduced-motion: reduce) {
  .story__video {
    display: none;
  }
}

.story__content {
  display: flex;
  flex-direction: column;
  gap: 34vh;
  padding: 22vh 10% 12vh;
}

.story-step {
  opacity: .5;
  transform: translateY(18px);
  transition: opacity .75s cubic-bezier(.16, 1, .3, 1), transform .75s cubic-bezier(.16, 1, .3, 1);
}

.story-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.story-step__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
}

.story-step__text {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .76);
  line-height: 1.7;
}

.band {
  padding: 76px 0;
  background: #0b2b20;
  color: #fff;
}

.band__inner {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 28px;
  align-items: center;
}

.band__title {
  margin: 0;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1;
}

.band__text {
  color: rgba(255, 255, 255, .72);
  line-height: 1.65;
}

.band__media {
  min-height: 360px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .22)),
    url("images/home-ready-to-start.png") center / cover;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.footer {
  background: #071b14;
  color: rgba(255, 255, 255, .7);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px 0;
}

.footer__brand {
  display: grid;
  gap: 6px;
}

.footer__brand strong {
  color: #fff;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer__brand small {
  color: rgba(255, 255, 255, .52);
  font-size: 12px;
}

.footer__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__links a {
  text-decoration: none;
}

.footer__links a:hover,
.footer__links a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pageHero {
  position: relative;
  color: #fff;
  min-height: 360px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #09261c;
}

.pageHero__image {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(4, 17, 12, .82), rgba(4, 17, 12, .3)),
    url("images/Padel-Alba-Installation-New-Jersey.jpg");
}

.pageHero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pageHero__videoOverlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 17, 12, .88), rgba(4, 17, 12, .38) 62%, rgba(4, 17, 12, .5)),
    linear-gradient(180deg, rgba(4, 17, 12, .14), rgba(4, 17, 12, .48));
}

@media (prefers-reduced-motion: reduce) {
  .pageHero__video {
    display: none;
  }

  .pageHero--video {
    background: url("images/services-hero-poster.jpg") center / cover;
  }
}

.pageHero__inner {
  position: relative;
  z-index: 1;
  padding: 86px 0 46px;
}

.courts,
.showroom,
.contact,
.configurator,
.page {
  padding: 54px 0 80px;
}

.courts__head,
.showroom__head,
.config__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.form__input,
.select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, .86);
  outline: none;
}

.form__textarea {
  min-height: 130px;
  padding-top: 12px;
  resize: vertical;
}

.courts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.model {
  transition: transform .22s ease, box-shadow .22s ease;
}

.model__img {
  height: 210px;
  background-image: url("images/court-roma.jpg");
  background-position: center 64%;
}

.model:nth-child(2) .model__img {
  background-image: url("images/court-world-panoramic.jpg");
  background-position: center 62%;
}

.model:nth-child(3) .model__img {
  background-image: url("images/court-full-panoramic-optimized.jpg");
  background-position: center 55%;
}

.model__body {
  padding: 18px;
}

.model__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.courts__cta {
  margin-top: 24px;
}

.ctaCard {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.ctaCard__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery__item {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #0a1d16;
  box-shadow: 0 18px 50px rgba(8, 31, 22, .16);
  position: relative;
  isolation: isolate;
  transition: transform .46s cubic-bezier(.16, 1, .3, 1), box-shadow .46s ease;
}

.gallery__item--hero {
  grid-column: span 8;
  grid-row: span 2;
}

.gallery__item--tall {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery__item--compact {
  grid-column: span 5;
}

.gallery__item--wide {
  grid-column: span 7;
}

.gallery__item--portrait {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery__item--feature {
  grid-column: span 8;
  grid-row: span 2;
}

.gallery__item--panorama {
  grid-column: span 12;
  grid-row: span 2;
}

.gallery__open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 15, 10, .02) 36%, rgba(3, 15, 10, .82) 100%),
    linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .18) 46%, transparent 68%);
  background-size: 100% 100%, 220% 100%;
  background-position: center, 100% 0;
  transition: background-position .9s cubic-bezier(.16, 1, .3, 1);
}

.gallery__item:hover::after {
  background-position: center, -70% 0;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s cubic-bezier(.16, 1, .3, 1), filter .46s ease;
}

.gallery__item--tall .gallery__img,
.gallery__item--portrait .gallery__img,
.gallery__item--panorama .gallery__img {
  object-position: center 44%;
}

.gallery__item:hover .gallery__img {
  transform: scale(1.045);
  filter: saturate(1.1) contrast(1.04);
}

.gallery__cap {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  padding: 24px;
  color: #fff;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
}

.gallery__place {
  font-size: clamp(19px, 2vw, 28px);
  font-weight: 760;
  letter-spacing: -.02em;
}

.gallery__meta {
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  letter-spacing: .08em;
  text-align: right;
  text-transform: uppercase;
}

.gallery__index {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  min-width: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  color: #fff;
  background: rgba(6, 30, 21, .38);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: center;
}

.galleryLightbox {
  width: min(1320px, calc(100% - 40px));
  max-width: none;
  height: min(88vh, 900px);
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  background: #07140f;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55);
}

.galleryLightbox::backdrop {
  background: rgba(3, 12, 8, .84);
  backdrop-filter: blur(14px);
}

.galleryLightbox[open] {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
  align-items: center;
}

.galleryLightbox__figure {
  min-width: 0;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.galleryLightbox__img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.galleryLightbox__caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 4px 22px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  letter-spacing: .04em;
}

.galleryLightbox__caption span:first-child {
  color: #fff;
  font-size: 18px;
  font-weight: 750;
}

.galleryLightbox__close,
.galleryLightbox__nav {
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.galleryLightbox__close:hover,
.galleryLightbox__nav:hover {
  background: rgba(255, 255, 255, .16);
  transform: scale(1.04);
}

.galleryLightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 27px;
  line-height: 1;
}

.galleryLightbox__nav {
  width: 48px;
  height: 48px;
  margin: auto;
  border-radius: 50%;
  font-size: 21px;
}

.galleryLightbox__count {
  position: absolute;
  top: 18px;
  left: 20px;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  letter-spacing: .12em;
}

.contact__layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.contact__card,
.contact__form,
.configCard {
  padding: 24px;
}

.contact__grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact__item {
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid rgba(15, 56, 41, .14);
  border-radius: 0;
  background: transparent;
}

.contact__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact__label {
  color: var(--green-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact__value {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.contact__hint,
.form__note {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
}

.form__status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
}

.form__status[data-status="success"] {
  color: var(--green-2);
}

.form__status[data-status="error"] {
  color: #9b3f2e;
}

.form__status[data-status="pending"] {
  color: rgba(15, 56, 41, .68);
}

.contact__cta,
.form__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.contact__formTitle {
  margin: 0;
  font-size: 24px;
}

.contact__formText {
  margin: 8px 0 18px;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 13px;
}

.form__row {
  display: grid;
  gap: 6px;
}

.form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form__label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.form__optional {
  font-weight: 500;
}

.form__consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 13px 14px;
  border: 1px solid rgba(15, 56, 41, .16);
  border-radius: 12px;
  background: rgba(237, 241, 235, .58);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.form__consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--green-2);
}

.form__consent a {
  color: var(--green-2);
  font-weight: 800;
  text-underline-offset: 3px;
}

.legalPage {
  padding: clamp(54px, 8vw, 100px) 0;
}

.legalPage__layout {
  max-width: 900px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(15, 56, 41, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}

.legalPage__header {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.legalPage__header h1 {
  max-width: 760px;
  margin: 10px 0 16px;
  color: var(--ink);
  font-size: clamp(42px, 7vw, 76px);
  line-height: .98;
  letter-spacing: -.04em;
}

.legalPage__header p,
.legalPage__section p,
.legalPage__section li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.legalPage__updated {
  font-size: 14px !important;
  font-weight: 700;
}

.legalPage__section {
  padding-top: 30px;
}

.legalPage__section h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 32px);
}

.legalPage__section p {
  margin: 10px 0 0;
}

.legalPage__section a {
  color: var(--green-2);
  font-weight: 750;
  text-underline-offset: 3px;
}

.configStudio {
  --court-turf: #1a694c;
  --court-frame: #0f3829;
  --court-lines: #f7faf4;
  --line-width: 4px;
  --light-color: 245, 255, 246;
  --light-power: .7;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: 20px;
  align-items: start;
}

.configPreviewPanel,
.configPanel,
.configSummary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(238, 242, 236, .82));
  box-shadow: var(--shadow);
}

.configPreviewPanel {
  position: sticky;
  top: 104px;
  overflow: hidden;
}

.configPreviewTop {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding: 22px 22px 0;
}

.configBadge {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background:
    radial-gradient(120% 180% at 20% 0%, rgba(157, 215, 179, .32), transparent 42%),
    linear-gradient(135deg, #247753, #08271d);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.courtScene {
  position: relative;
  min-height: 620px;
  margin-top: 10px;
  padding: 48px 22px 24px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(800px 360px at 50% 8%, rgba(var(--light-color), calc(var(--light-power) * .28)), transparent 62%),
    linear-gradient(180deg, #10291f 0%, #071811 100%);
  overflow: hidden;
}

.courtScene--three {
  min-height: 640px;
  padding: 0;
  display: block;
  background:
    radial-gradient(700px 320px at 50% 8%, rgba(var(--light-color), calc(var(--light-power) * .25)), transparent 66%),
    linear-gradient(180deg, #10291f 0%, #06140f 100%);
}

.courtCanvas {
  display: block;
  width: 100%;
  height: 580px;
  cursor: grab;
  touch-action: none;
}

.courtCanvas:active {
  cursor: grabbing;
}

.courtTools {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 58px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.courtTools span {
  padding: 8px 10px;
  border: 1px solid rgba(157, 215, 179, .2);
  border-radius: 999px;
  color: rgba(235, 247, 240, .76);
  background: rgba(6, 34, 24, .58);
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.viewControls {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: calc(100% - 36px);
}

.viewControls button {
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid rgba(157, 215, 179, .28);
  border-radius: 999px;
  color: rgba(235, 247, 240, .88);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .018)),
    rgba(6, 34, 24, .58);
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.viewControls button:hover {
  background:
    radial-gradient(120% 180% at 20% 0%, rgba(157, 215, 179, .2), transparent 42%),
    linear-gradient(135deg, #247753, #08271d);
}

.viewControls button[aria-pressed="true"] {
  border-color: rgba(180, 239, 202, .72);
  background: linear-gradient(135deg, #247753, #08271d);
  color: #fff;
}

.courtGlow {
  position: absolute;
  top: 42px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(var(--light-color), calc(var(--light-power) * .52));
  filter: blur(54px);
  opacity: var(--light-power);
  pointer-events: none;
}

.courtGlow--left {
  left: 12%;
}

.courtGlow--right {
  right: 12%;
}

.courtShell {
  position: relative;
  width: min(100%, 680px);
  aspect-ratio: 1.24;
  margin: 0 auto;
  perspective: 900px;
  filter: drop-shadow(0 34px 50px rgba(0, 0, 0, .34));
}

.courtSurface {
  position: absolute;
  inset: 25% 8% 8%;
  border: 10px solid var(--court-frame);
  border-radius: 12px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--court-turf), white 12%), var(--court-turf));
  transform: rotateX(58deg) rotateZ(-1.5deg);
  transform-origin: center bottom;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .16),
    inset 0 0 80px rgba(0, 0, 0, .14),
    0 24px 70px rgba(0, 0, 0, .35);
  overflow: hidden;
}

.courtSurface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.7%, var(--court-lines) 49.7%, var(--court-lines) 50.3%, transparent 50.3%),
    linear-gradient(180deg, transparent 49.6%, var(--court-lines) 49.6%, var(--court-lines) 50.4%, transparent 50.4%);
  opacity: .94;
}

.courtLines {
  position: absolute;
  background: var(--court-lines);
  box-shadow: 0 0 calc(var(--line-width) * 2.4) rgba(255, 255, 255, .45);
}

.courtLines--service {
  left: 0;
  right: 0;
  top: 33%;
  height: var(--line-width);
}

.courtLines--center {
  top: 33%;
  bottom: 0;
  left: calc(50% - var(--line-width) / 2);
  width: var(--line-width);
}

.courtLines--left {
  top: 0;
  bottom: 0;
  left: 18%;
  width: var(--line-width);
}

.courtLines--right {
  top: 0;
  bottom: 0;
  right: 18%;
  width: var(--line-width);
}

.courtNet {
  position: absolute;
  left: 2%;
  right: 2%;
  top: calc(50% - 7px);
  height: 14px;
  border-top: 3px solid color-mix(in srgb, var(--court-frame), white 18%);
  border-bottom: 1px solid rgba(255, 255, 255, .36);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .32) 0 1px, transparent 1px 12px),
    rgba(0, 0, 0, .24);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .24);
}

.courtBackWall {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 3%;
  height: 38%;
  border: 9px solid var(--court-frame);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .12) 1px, transparent 1px),
    rgba(193, 225, 225, .18);
  background-size: 54px 100%, 100% 45px, auto;
  opacity: var(--glass-opacity, .78);
  box-shadow:
    inset 0 0 40px rgba(255, 255, 255, .08),
    0 0 calc(50px * var(--light-power)) rgba(var(--light-color), calc(var(--light-power) * .22));
}

.courtFrame span {
  position: absolute;
  top: 12%;
  bottom: 14%;
  width: 8px;
  border-radius: 999px;
  background: var(--court-frame);
  box-shadow: 0 0 calc(30px * var(--light-power)) rgba(var(--light-color), calc(var(--light-power) * .32));
}

.courtFrame span:nth-child(1) { left: 13%; }
.courtFrame span:nth-child(2) { left: 34%; }
.courtFrame span:nth-child(3) { right: 34%; }
.courtFrame span:nth-child(4) { right: 13%; }

.courtLabels {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 0;
}

.courtLabels span {
  padding: 8px 11px;
  border: 1px solid rgba(157, 215, 179, .22);
  border-radius: 999px;
  color: rgba(235, 247, 240, .86);
  background: rgba(6, 34, 24, .5);
  font-size: 12px;
}

.configPanel {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.configGroup {
  padding: 16px;
  border: 1px solid rgba(24, 35, 29, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .58);
}

.configGroup__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.configGroup__head span {
  color: var(--green-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
}

.configGroup__title {
  margin: 0;
  font-size: 18px;
}

.configControlGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form__row--wide {
  grid-column: 1 / -1;
}

.configNote {
  width: 100%;
  margin: 10px 0 0;
  color: rgba(62, 80, 70, .78);
  font-size: 12px;
  line-height: 1.45;
}

.swatches,
.optionChips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.swatch {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .28), 0 8px 18px rgba(0, 0, 0, .14);
  transition: transform .16s ease, box-shadow .16s ease;
}

.swatch:hover,
.swatch.is-selected {
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(157, 215, 179, .52), inset 0 1px 0 rgba(255, 255, 255, .3), 0 12px 24px rgba(0, 0, 0, .18);
}

.swatch--glass {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 46%),
    linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%);
  background-size: auto, 10px 10px;
}

.range {
  width: 100%;
  accent-color: var(--green-2);
}

.rangeValue {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.toggle,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.toggle input,
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle span {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: rgba(24, 35, 29, .22);
  transition: background .18s ease;
}

.toggle span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
  transition: transform .18s ease;
}

.toggle input:checked + span {
  background: linear-gradient(135deg, #247753, #0f3829);
}

.toggle input:checked + span::after {
  transform: translateX(20px);
}

.toggle strong {
  color: var(--ink);
  font-size: 14px;
}

.chip span {
  padding: 10px 13px;
  border: 1px solid rgba(15, 56, 41, .16);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: 750;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.chip input:checked + span {
  color: #fff;
  border-color: rgba(157, 215, 179, .42);
  background:
    radial-gradient(120% 180% at 20% 0%, rgba(157, 215, 179, .24), transparent 42%),
    linear-gradient(135deg, #247753, #08271d);
}

.chip:hover span {
  transform: translateY(-1px);
}

.configSummary {
  margin-top: 20px;
  padding: 22px;
  display: grid;
  grid-template-columns: .9fr 1.1fr auto;
  gap: 22px;
  align-items: center;
}

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

.summaryList div {
  padding: 11px 12px;
  border: 1px solid rgba(24, 35, 29, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .62);
}

.summaryList dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.summaryList dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.page__inner {
  display: grid;
  gap: 20px;
}

.serviceGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.section--servicesIntro {
  padding-top: 86px;
}

.servicesIntro,
.serviceAudience__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: 28px;
  align-items: center;
}

.servicesIntro__copy {
  display: grid;
  gap: 16px;
}

.servicesIntro__copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 17px;
}

.servicesIntro__media {
  min-height: 430px;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 56, 41, .14);
  background: #0b2118;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.manageCarousel__slides {
  position: absolute;
  inset: 0;
}

.manageCarousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .7s ease, transform 5s ease;
}

.manageCarousel__slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.manageCarousel::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 55% 0 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(4, 17, 12, .42));
}

.manageCarousel__dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(4, 17, 12, .58);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.manageCarousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .46);
  cursor: pointer;
  transition: width .25s ease, border-radius .25s ease, background .25s ease, transform .2s ease;
}

.manageCarousel__dot:hover {
  transform: scale(1.18);
}

.manageCarousel__dot.is-active {
  width: 25px;
  border-radius: 999px;
  background: #d9f3df;
}

.manageCarousel__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.serviceProcess {
  background:
    linear-gradient(180deg, rgba(237, 241, 235, .56), rgba(255, 255, 255, .74));
}

.serviceSteps {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  position: relative;
}

.serviceSteps::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, rgba(15, 56, 41, .1), rgba(15, 56, 41, .36), rgba(15, 56, 41, .08));
}

.serviceStep {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(15, 56, 41, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 48px rgba(15, 34, 25, .1);
  position: relative;
  transition: transform .32s cubic-bezier(.16, 1, .3, 1), box-shadow .32s ease;
}

.serviceStep:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 68px rgba(15, 34, 25, .16);
}

.serviceStep__num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(27, 103, 72, .95), rgba(8, 43, 31, .95));
  color: #fff;
  font-weight: 850;
  box-shadow: 0 14px 32px rgba(15, 56, 41, .22);
  position: relative;
  z-index: 1;
}

.serviceStep__kicker {
  margin: 0 0 7px;
  color: var(--green-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.serviceStep h3 {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
}

.serviceStep p:not(.serviceStep__kicker) {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section--success {
  background: #fff;
}

.serviceGrid--success .feature {
  min-height: 260px;
}

.serviceAudience {
  background: #0b2b20;
  color: #fff;
}

.serviceAudience .section__title,
.serviceAudience .section__text {
  color: #fff;
}

.serviceAudience .section__text {
  color: rgba(255, 255, 255, .72);
}

.audienceGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.audienceGrid span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .88);
  font-weight: 780;
}

.serviceQuote {
  background:
    linear-gradient(180deg, rgba(237, 241, 235, .7), rgba(255, 255, 255, .9));
}

.testimonial {
  margin: 0;
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius);
  border: 1px solid rgba(15, 56, 41, .12);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow);
}

.testimonial p {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.16;
  font-weight: 760;
}

.testimonial cite {
  display: block;
  margin-top: 22px;
  color: var(--green-2);
  font-style: normal;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(-8px, -6px, 0);
  }
  to {
    transform: scale(1.09) translate3d(10px, 8px, 0);
  }
}

@keyframes mobileHeaderIn {
  from {
    opacity: 0;
    transform: translate3d(0, -14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes mobileHeroRise {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes mobileSoftFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1.04);
  }
  to {
    transform: translate3d(-10px, 8px, 0) scale(1.075);
  }
}

.page-loaded .hero__inner > *,
.page-loaded .page__head > *,
.page-loaded .courts__head > *,
.page-loaded .showroom__head > *,
.page-loaded .config__head > * {
  animation: mobileHeroRise .92s cubic-bezier(.16, 1, .3, 1) both;
}

.page-loaded .hero__inner > *:nth-child(2),
.page-loaded .page__head > *:nth-child(2),
.page-loaded .courts__head > *:nth-child(2),
.page-loaded .showroom__head > *:nth-child(2),
.page-loaded .config__head > *:nth-child(2) {
  animation-delay: .06s;
}

.page-loaded .hero__inner > *:nth-child(3),
.page-loaded .page__head > *:nth-child(3),
.page-loaded .courts__head > *:nth-child(3),
.page-loaded .showroom__head > *:nth-child(3),
.page-loaded .config__head > *:nth-child(3) {
  animation-delay: .12s;
}

.page-loaded .hero__inner > *:nth-child(4),
.page-loaded .page__head > *:nth-child(4),
.page-loaded .courts__head > *:nth-child(4),
.page-loaded .showroom__head > *:nth-child(4),
.page-loaded .config__head > *:nth-child(4) {
  animation-delay: .18s;
}

.page-loaded .hero__inner > *:nth-child(5) {
  animation-delay: .24s;
}

.teamPage {
  overflow: hidden;
  background: #f4f7f2;
}

.teamHero {
  padding: clamp(64px, 8vw, 120px) 0;
  color: #f3faf5;
  background:
    radial-gradient(circle at 84% 20%, rgba(111, 208, 145, .16), transparent 34%),
    linear-gradient(135deg, #071d15 0%, #123c2b 58%, #0b2a1f 100%);
}

.teamHero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.teamHero__copy {
  max-width: 1020px;
}

.teamHero__title {
  max-width: 760px;
  margin: 14px 0 22px;
  font-size: clamp(48px, 6vw, 92px);
  line-height: .96;
  letter-spacing: -.055em;
}

.teamHero__text {
  max-width: 640px;
  margin: 0;
  color: rgba(235, 247, 240, .72);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.55;
}

.teamQuote {
  margin: 34px 0 0;
  padding: 20px 0 20px 24px;
  border-left: 2px solid #9dd7b3;
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
  line-height: 1.6;
}

.teamOrigin {
  padding: clamp(76px, 9vw, 140px) 0;
  background: #fff;
}

.teamOrigin__grid {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 8vw, 130px);
  align-items: start;
}

.teamOrigin__head {
  position: sticky;
  top: 130px;
}

.teamOrigin__head h2,
.teamMembers__head h2 {
  margin: 14px 0 0;
  color: #10251b;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.teamOrigin__copy {
  padding-top: 4px;
}

.teamOrigin__copy p {
  margin: 0 0 26px;
  color: #506159;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.68;
}

.teamOrigin__copy p:first-child {
  color: #183629;
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.5;
}

.teamStories {
  padding: clamp(72px, 9vw, 140px) 0;
  background: #edf3ed;
}

.teamStories__head {
  max-width: 850px;
  margin-bottom: 50px;
}

.teamStories__head h2,
.teamCta h2 {
  margin: 12px 0 0;
  color: #10251b;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.teamStories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.teamStory {
  min-height: 300px;
  padding: 34px;
  border: 1px solid #dbe5dc;
  border-radius: 24px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 24px 60px rgba(18, 53, 36, .08);
}

.teamStory__num {
  color: #267653;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .18em;
}

.teamStory h3 {
  margin: 72px 0 14px;
  color: #10251b;
  font-size: 27px;
}

.teamStory p {
  margin: 0;
  color: #607068;
  font-size: 17px;
  line-height: 1.65;
}

.teamMembers {
  padding: clamp(78px, 10vw, 150px) 0;
  background:
    radial-gradient(circle at 12% 5%, rgba(124, 210, 153, .13), transparent 30%),
    linear-gradient(145deg, #071d15, #123c2b 60%, #0b2a1f);
}

.teamMembers__head {
  max-width: 760px;
  margin-bottom: 54px;
}

.teamMembers__head h2 {
  color: #f3faf5;
}

.teamMembers__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.teamMember {
  display: grid;
  grid-template-columns: minmax(360px, .86fr) minmax(0, 1.14fr);
  min-height: 530px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 32px;
  color: #eaf4ed;
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .18);
}

.teamMember:nth-child(even) .teamMember__photo {
  grid-column: 2;
  grid-row: 1;
}

.teamMember:nth-child(even) .teamMember__body {
  grid-column: 1;
  grid-row: 1;
}

.teamMember__photo {
  min-width: 0;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #183629;
}

.teamMember__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.16, 1, .3, 1);
}

.teamMember:hover .teamMember__photo img {
  transform: scale(1.03);
}

.teamMember__photo--daniil img {
  object-position: center 43%;
}

.teamMember__photo--arkhip img {
  object-position: center 45%;
}

.teamMember__photo--timofei img {
  object-position: center 40%;
}

.teamMember__photo--guy img {
  object-position: center 27%;
}

.teamMember__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  padding: clamp(38px, 5vw, 76px);
}

.teamMember__role {
  margin: 0 0 12px !important;
  color: #9dd7b3 !important;
  font-size: 12px !important;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.teamMember h3 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(34px, 3.5vw, 56px);
  line-height: 1.03;
  letter-spacing: -.035em;
}

.teamMember__body p,
.teamMember__body blockquote {
  margin: 0 0 18px;
  color: rgba(235, 247, 240, .72);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.7;
}

.teamMember__body p:last-child,
.teamMember__body blockquote:last-child {
  margin-bottom: 0;
}

.teamMember__body blockquote {
  color: rgba(255, 255, 255, .92);
  font-size: clamp(27px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.teamCta {
  padding: clamp(72px, 8vw, 118px) 0;
  background: #f4f7f2;
}

.teamCta__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-top: 0;
}

.teamCta h2 {
  max-width: 820px;
}

@media (max-width: 920px) {
  .teamHero__grid,
  .teamOrigin__grid {
    grid-template-columns: 1fr;
  }

  .teamOrigin__head {
    position: static;
  }

  .teamStories__grid {
    grid-template-columns: 1fr;
  }

  .teamStory {
    min-height: 230px;
  }

  .teamStory h3 {
    margin-top: 42px;
  }

  .teamMembers__grid {
    grid-template-columns: 1fr;
  }

  .teamMember {
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 640px) {
  .teamMember {
    grid-template-columns: 1fr;
  }

  .teamMember:nth-child(even) .teamMember__photo,
  .teamMember:nth-child(even) .teamMember__body {
    grid-column: 1;
  }

  .teamMember:nth-child(even) .teamMember__photo {
    grid-row: 1;
  }

  .teamMember:nth-child(even) .teamMember__body {
    grid-row: 2;
  }

  .teamMember__photo {
    min-height: 390px;
  }

  .teamCta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

@media (max-width: 1100px) {
  .header__inner {
    grid-template-columns: 160px minmax(0, 1fr) 230px;
    gap: 18px;
  }

  .logo-img {
    width: 148px;
    height: 62px;
  }

  .nav {
    gap: 18px;
  }

  .navlink {
    min-width: auto;
    padding: 0;
    font-size: 13px;
  }

  .header__actions .btn--ghost {
    min-width: 132px;
    padding-inline: 16px;
  }

  .header__actions .btn--solid {
    min-width: 70px;
    padding-inline: 14px;
  }

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

@media (max-width: 920px) {
  .page-loaded .header {
    animation: mobileHeaderIn .7s cubic-bezier(.16, 1, .3, 1) both;
  }

  .header {
    transition: box-shadow .35s ease, background-color .35s ease, backdrop-filter .35s ease;
  }

  body.is-scrolled .header {
    box-shadow: 0 16px 40px rgba(5, 22, 16, .38);
  }

  .nav--desktop,
  .header__actions .btn {
    display: none;
  }

  .header__inner {
    display: flex;
    justify-content: space-between;
  }

  .header__actions {
    margin-left: auto;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 230px;
  }

  .gallery__item--hero,
  .gallery__item--feature,
  .gallery__item--panorama {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery__item--tall,
  .gallery__item--portrait {
    grid-column: span 1;
    grid-row: span 2;
  }

  .gallery__item--compact,
  .gallery__item--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .hero__stats,
  .grid--3,
  .serviceGrid,
  .servicesIntro,
  .serviceAudience__inner,
  .configStudio,
  .config__grid,
  .contact__layout,
  .band__inner {
    grid-template-columns: 1fr;
  }

  .configPreviewPanel {
    position: relative;
    top: auto;
  }

  .configSummary {
    grid-template-columns: 1fr;
  }

  .section__head,
  .courts__head,
  .showroom__head,
  .config__head,
  .ctaCard,
  .footer__inner {
    display: grid;
  }

  .servicesIntro__media {
    min-height: 360px;
  }

  .serviceSteps::before {
    left: 25px;
  }

  .serviceStep {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 18px;
  }

  .serviceStep__num {
    width: 52px;
    height: 52px;
  }

  .story {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .story__media {
    position: relative;
    height: 420px;
  }

  .story__content {
    gap: 60px;
    padding: 56px 24px;
  }

  .hero__bg {
    animation: mobileSoftFloat 16s ease-in-out infinite alternate;
  }

  .page-loaded .hero__inner > * {
    animation: mobileHeroRise .86s cubic-bezier(.16, 1, .3, 1) both;
  }

  .page-loaded .hero__inner > *:nth-child(2) { animation-delay: .06s; }
  .page-loaded .hero__inner > *:nth-child(3) { animation-delay: .12s; }
  .page-loaded .hero__inner > *:nth-child(4) { animation-delay: .18s; }
  .page-loaded .hero__inner > *:nth-child(5) { animation-delay: .24s; }

  .reveal {
    transform: translateY(26px) scale(.985);
    transition:
      opacity .82s ease,
      transform .82s cubic-bezier(.16, 1, .3, 1),
      filter .82s ease;
    filter: blur(4px);
  }

  .reveal.is-visible {
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

  .drawer {
    transition: transform .56s cubic-bezier(.16, 1, .3, 1);
  }

  .drawer__label,
  .drawer__link,
  .drawer__actions .btn {
    opacity: 0;
    transform: translateX(18px);
    transition:
      opacity .46s ease,
      transform .46s cubic-bezier(.16, 1, .3, 1),
      background .18s ease,
      border-color .18s ease;
  }

  .drawer.is-open .drawer__label,
  .drawer.is-open .drawer__link,
  .drawer.is-open .drawer__actions .btn {
    opacity: 1;
    transform: translateX(0);
  }

  .drawer.is-open .drawer__link:nth-child(1) { transition-delay: .08s; }
  .drawer.is-open .drawer__link:nth-child(2) { transition-delay: .12s; }
  .drawer.is-open .drawer__link:nth-child(3) { transition-delay: .16s; }
  .drawer.is-open .drawer__link:nth-child(4) { transition-delay: .20s; }
  .drawer.is-open .drawer__link:nth-child(5) { transition-delay: .24s; }
  .drawer.is-open .drawer__link:nth-child(6) { transition-delay: .28s; }
  .drawer.is-open .drawer__actions .btn:nth-child(1) { transition-delay: .32s; }
  .drawer.is-open .drawer__actions .btn:nth-child(2) { transition-delay: .36s; }

  .card,
  .model,
  .gallery__item,
  .contact__card,
  .contact__form,
  .configPreviewPanel,
  .configPanel,
  .configSummary {
    transition:
      transform .46s cubic-bezier(.16, 1, .3, 1),
      box-shadow .46s ease,
      border-color .46s ease;
  }

  .btn,
  .iconbtn,
  .navlink,
  .drawer__link,
  .chip span,
  .swatch {
    -webkit-tap-highlight-color: transparent;
  }

  .btn:active,
  .iconbtn:active,
  .drawer__link:active,
  .chip:active span,
  .swatch:active {
    transform: scale(.975);
  }
}

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

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

  .brandline {
    display: grid;
    gap: 3px;
    padding: 7px 0;
    letter-spacing: .12em;
  }

  .header__inner {
    min-height: 66px;
  }

  .logo-img {
    width: 124px;
    height: 54px;
  }

  .hero {
    min-height: 720px;
  }

  .hero__inner {
    padding: 72px 0 42px;
  }

  .hero__title {
    text-wrap: balance;
  }

  .hero__text,
  .section__text,
  .page__text,
  .config__text {
    text-wrap: pretty;
  }

  .hero__stats,
  .courts__grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery__item,
  .gallery__item--hero,
  .gallery__item--tall,
  .gallery__item--compact,
  .gallery__item--wide,
  .gallery__item--portrait,
  .gallery__item--feature,
  .gallery__item--panorama {
    grid-column: 1;
    grid-row: auto;
    height: 320px;
  }

  .gallery__item--tall,
  .gallery__item--portrait {
    height: 430px;
  }

  .gallery__img {
    height: 100%;
  }

  .gallery__cap {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .gallery__meta {
    text-align: left;
  }

  .galleryLightbox {
    width: calc(100% - 16px);
    height: min(84vh, 760px);
    border-radius: 16px;
  }

  .galleryLightbox[open] {
    grid-template-columns: 54px minmax(0, 1fr) 54px;
  }

  .galleryLightbox__nav {
    width: 40px;
    height: 40px;
  }

  .galleryLightbox__caption {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0 18px;
  }

  .photo-panel {
    min-height: 620px;
  }

  .courtScene {
    min-height: 520px;
    padding: 28px 14px 20px;
  }

  .courtCanvas {
    height: 520px;
  }

  .courtShell {
    width: 112%;
    margin-left: -6%;
  }

  .configPreviewTop,
  .configPanel,
  .configSummary {
    padding: 16px;
  }

  .configControlGrid,
  .summaryList {
    grid-template-columns: 1fr;
  }

  .configGroup {
    padding: 14px;
  }

  .drawer__top {
    padding-inline: 28px;
  }

  .drawer__content {
    padding: 28px 28px 36px;
    gap: 22px;
  }

  .drawer__link {
    min-height: 44px;
    font-size: 20px;
  }

  .servicesIntro__media {
    min-height: 280px;
  }

  .serviceStep {
    grid-template-columns: 1fr;
  }

  .serviceSteps::before {
    display: none;
  }

  .serviceStep__num {
    width: 46px;
    height: 46px;
  }

  .audienceGrid {
    grid-template-columns: 1fr;
  }

  .swatch {
    width: 34px;
    height: 34px;
  }

  .footer__links {
    display: grid;
  }
}

/* Cookie and browser-storage consent */
.cookie-modal-open {
  overflow: hidden;
}

.cookieBanner {
  position: fixed;
  z-index: 1200;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
  color: #eef7f1;
  background: rgba(9, 35, 26, .97);
  border: 1px solid rgba(202, 227, 212, .24);
  border-radius: 22px;
  box-shadow: 0 22px 70px rgba(1, 13, 9, .34);
  backdrop-filter: blur(16px);
}

.cookieBanner[hidden],
.cookieModal[hidden] {
  display: none;
}

.cookieBanner__copy {
  max-width: 760px;
}

.cookieBanner__eyebrow {
  margin: 0 0 7px;
  color: #a8cdb7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cookieBanner h2,
.cookieModal h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(20px, 2vw, 27px);
}

.cookieBanner p,
.cookieModal p {
  margin: 0;
  color: #d3dfd7;
  line-height: 1.58;
}

.cookieBanner a,
.cookieModal a {
  color: #fff;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.cookieBanner__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(145px, 1fr));
  gap: 10px;
  width: min(100%, 360px);
}

.cookieBanner__actions .btn {
  min-height: 48px;
}

.cookieBanner__manage {
  grid-column: 1 / -1;
  min-height: 42px;
  padding: 6px 14px;
  color: #dcebe1;
  background: transparent;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookieBanner__manage:hover,
.cookieBanner__manage:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .07);
}

.cookieModal {
  position: fixed;
  z-index: 1300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .22s ease;
}

.cookieModal.is-open {
  opacity: 1;
}

.cookieModal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(2, 13, 9, .68);
  border: 0;
  cursor: default;
}

.cookieModal__panel {
  position: relative;
  width: min(100%, 680px);
  max-height: min(760px, calc(100vh - 40px));
  overflow-y: auto;
  padding: 28px;
  background: #102e23;
  border: 1px solid rgba(209, 231, 217, .22);
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(0, 10, 7, .45);
  transform: translateY(14px) scale(.99);
  transition: transform .22s ease;
}

.cookieModal.is-open .cookieModal__panel {
  transform: translateY(0) scale(1);
}

.cookieModal__header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.cookieModal__close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.cookieModal__intro {
  margin-top: 8px !important;
}

.cookieChoices {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.cookieChoice {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(219, 237, 225, .13);
  border-radius: 16px;
}

.cookieChoice strong,
.cookieChoice small {
  display: block;
}

.cookieChoice strong {
  color: #fff;
}

.cookieChoice small {
  max-width: 500px;
  margin-top: 4px;
  color: #bdd0c3;
  line-height: 1.45;
}

.cookieChoice input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  accent-color: #6fb18a;
}

.cookieModal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookieModal__actions .btn {
  flex: 1 1 190px;
  min-height: 50px;
}

.legalTableWrap {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid #d9e1db;
  border-radius: 16px;
}

.legalTable {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.legalTable th,
.legalTable td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e2e8e3;
}

.legalTable th {
  color: #173d2e;
  background: #edf3ef;
  font-size: 13px;
}

.legalTable tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 760px) {
  .cookieBanner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: 1fr;
    gap: 18px;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding: 20px;
    border-radius: 18px;
  }

  .cookieBanner__actions {
    width: 100%;
  }

  .cookieModal {
    padding: 10px;
  }

  .cookieModal__panel {
    max-height: calc(100vh - 20px);
    padding: 20px;
    border-radius: 18px;
  }
}

@media (max-width: 440px) {
  .cookieBanner__actions {
    grid-template-columns: 1fr;
  }

  .cookieBanner__manage {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookieModal,
  .cookieModal__panel {
    transition: none;
  }
}
