:root {
  --navy: #061831;
  --navy-2: #08264b;
  --ink: #0a1530;
  --blue: #0874d9;
  --blue-2: #12b9f5;
  --aqua: #72ddff;
  --white: #ffffff;
  --mist: #eef7fb;
  --line: rgba(255, 255, 255, 0.28);
  --soft-line: rgba(8, 38, 75, 0.16);
  --shadow: 0 24px 70px rgba(3, 17, 36, 0.24);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding: 20px 6vw;
  color: var(--white);
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(3, 18, 38, 0.86);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
  padding-block: 12px;
}

.brand {
  display: block;
  width: 220px;
  height: 92px;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.88);
}

.site-nav a {
  font-weight: 700;
  color: #FFF;
}

.site-nav a,
.footer-links a {
  position: relative;
}

.site-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue-2);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--white);
  font-weight: 750;
  font-size: 1rem;
  box-shadow: 0 18px 42px rgba(0, 83, 177, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta {
  padding: 0 18px;
  background: linear-gradient(135deg, #075bd3, #0a82f4);
}

.button {
  padding: 0 20px;
  cursor: pointer;
}

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

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(0, 98, 210, 0.34);
}

.button-primary {
  background: linear-gradient(135deg, #075bd3, #0b91f1);
}

.button-ghost {
  background: rgba(4, 16, 36, 0.24);
}

.button-light {
  background: var(--white);
  color: var(--navy);
  border-color: transparent;
}

.button-outline-blue {
  background: rgba(4, 16, 36, 0.16);
  border-color: rgba(18, 185, 245, 0.65);
}

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 880px;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(2, 15, 35, 0.96) 0%, rgba(4, 22, 49, 0.87) 28%, rgba(4, 22, 49, 0.24) 62%, rgba(4, 22, 49, 0.08) 100%),
    radial-gradient(circle at 22% 55%, rgba(18, 185, 245, 0.2), transparent 32%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -1px;
  z-index: 5;
  height: 120px;
  background: var(--white);
  clip-path: ellipse(58% 48% at 50% 100%);
}

.hero-media,
.hero-media img,
.contact-bg,
.contact-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 68% center;
  transform: scale(1.03);
  animation: slow-pan 18s ease-in-out infinite alternate;
}

.water-glimmer {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  background:
    linear-gradient(115deg, transparent 0%, rgba(114, 221, 255, 0.12) 35%, transparent 52%),
    repeating-radial-gradient(ellipse at 22% 65%, rgba(114, 221, 255, 0.22) 0 1px, transparent 2px 16px);
  mix-blend-mode: screen;
  animation: shimmer 8s linear infinite;
}

.water-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.82;
}

.hero-content {
  position: relative;
  z-index: 6;
  width: min(560px, 88vw);
  padding: 220px 0 190px 6vw;
  color: var(--white);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 6.6rem;
  line-height: 0.94;
  font-weight: 700;
}

.hero h1 span,
.equipment h2 span,
.section-heading em {
  color: var(--blue-2);
  font-style: normal;
}

.hero p {
  width: min(430px, 100%);
  margin: 34px 0 34px;
  font-size: 1.35rem;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 58px;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 48px;
  height: 70px;
  color: var(--white);
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 2px;
  height: 44px;
  background: linear-gradient(180deg, var(--aqua), transparent);
  animation: cue-line 1.8s ease-in-out infinite;
}

.scroll-cue svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(114, 221, 255, 0.55);
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.paths {
  position: relative;
  padding: 82px 6vw 112px;
  background: var(--white);
}

.section-heading {
  width: min(980px, 100%);
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading p,
.gallery-intro p {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.98rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h2,
.gallery-intro h2,
.equipment h2,
.financing h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.04;
  font-size: 4.6rem;
  color: var(--ink);
}

.pool-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.path-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.path-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 650ms ease;
}

.path-card::after {
  content: "";
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(180deg, transparent, rgba(4, 20, 44, 0.9));
}

.path-card:hover img {
  transform: scale(1.05);
}

.path-copy {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 34px;
  z-index: 2;
  color: var(--white);
  text-align: center;
}

.path-icon {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  margin-bottom: 14px;
}

.path-icon svg,
.process-step svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--aqua);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.path-copy h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 2rem;
}

.path-copy p {
  max-width: 470px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: -28px;
  position: relative;
  z-index: 4;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  max-width: 1200px;
  margin: 70px auto 0;
}

.process-step {
  position: relative;
  padding-top: 6px;
}

.process-step::before {
  content: "";
  position: absolute;
  left: 72px;
  right: -18px;
  top: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(8, 116, 217, 0.42), transparent);
}

.process-step:last-child::before {
  content: none;
}

.process-step span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-weight: 800;
}

.process-step svg {
  width: 72px;
  height: 72px;
  padding: 18px;
  border: 1px solid rgba(8, 116, 217, 0.32);
  border-radius: 50%;
}

.process-step h3 {
  margin: 18px 0 10px;
  font-family: var(--serif);
  font-size: 2rem;
}

.process-step p {
  margin: 0;
  line-height: 1.55;
  color: rgba(10, 21, 48, 0.72);
}

.gallery-section {
  padding: 108px 6vw;
  background: linear-gradient(180deg, #f8fcff 0%, var(--white) 100%);
}

.gallery-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 48px;
  /*max-width: 1260px;*/
  margin: 0 auto 42px;
  align-items: end;
}

.gallery-intro p {
  text-transform: none;
  color: rgba(10, 21, 48, 0.72);
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 500;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 240px;
  gap: 14px;
  /*max-width: 1260px;*/
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--navy);
  cursor: zoom-in;
  box-shadow: 0 20px 50px rgba(6, 24, 49, 0.16);
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 700ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.equipment {
  position: relative;
  overflow: hidden;
  padding: 118px 6vw 106px;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 18%, rgba(18, 185, 245, 0.22), transparent 28%),
    radial-gradient(circle at 90% 6%, rgba(114, 221, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #021126 0%, var(--navy) 54%, #041226 100%);
  isolation: isolate;
}

.equipment::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.26;
  background: repeating-radial-gradient(ellipse at 18% 46%, rgba(114, 221, 255, 0.23) 0 1px, transparent 2px 18px);
  animation: shimmer 9s linear infinite;
}

.equipment-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.74fr);
  align-items: end;
  gap: 54px;
  /*max-width: 1260px;*/
  margin: 0 auto 42px;
}

.equipment-copy {
  position: relative;
  z-index: 2;
}

.equipment h2 {
  color: var(--white);
}

.equipment-copy > p:first-child,
.financing-copy > p:first-child {
  margin: 0 0 18px;
  color: var(--blue-2);
  font-size: 0.92rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.equipment-copy > p:last-child {
  margin: 28px 0 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.14rem;
  line-height: 1.65;
}

.logo-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.logo-tile {
  display: grid;
  place-items: center;
  min-height: 102px;
  padding: 18px;
  background: rgba(255, 255, 255, 100);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.logo-tile img {
  max-height: 68px;
  object-fit: contain;
}

.feature-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  /*max-width: 1260px;*/
  margin: 0 auto;
}

.feature-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 650ms ease, filter 650ms ease;
}

.feature-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.12);
}

.feature-card div {
  padding: 24px;
}

.feature-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.34rem;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.58;
}

.equipment-actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 42px;
}

.financing {
  position: relative;
  overflow: hidden;
  padding: 108px 6vw;
  background:
    radial-gradient(circle at 8% 20%, rgba(18, 185, 245, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fcff 0%, var(--mist) 100%);
}

.financing::before {
  content: "";
  position: absolute;
  inset: auto -8% -74px -8%;
  height: 190px;
  background: rgba(8, 116, 217, 0.09);
  clip-path: ellipse(52% 45% at 50% 100%);
}

.financing-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 0.72fr);
  align-items: center;
  gap: 60px;
  /*max-width: 1260px;*/
  margin: 0 auto;
}

.financing h2 span {
  color: var(--blue);
}

.financing-copy > p:last-of-type {
  max-width: 600px;
  margin: 28px 0 34px;
  color: rgba(10, 21, 48, 0.72);
  font-size: 1.14rem;
  line-height: 1.65;
}

.financing-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(8, 38, 75, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.lyon-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 188px;
  padding: 34px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(0, 65, 190, 0.98), rgba(0, 167, 229, 0.98));
  box-shadow: 0 22px 58px rgba(0, 61, 155, 0.26);
}

.lyon-banner::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -25%;
  width: 32%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.54), transparent);
  animation: banner-sweep 4.8s ease-in-out infinite;
}

.lyon-banner::after {
  content: "";
  position: absolute;
  inset: auto -12% -34% auto;
  width: 380px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(4px);
}

.lyon-banner img {
  position: relative;
  z-index: 1;
  /*width: 310px;*/
  /*max-width: 86%;*/
  /*height: 112px;*/
  object-fit: cover;
  object-position: left center;
}

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

.finance-points span {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(8, 116, 217, 0.16);
  border-radius: 8px;
  background: #f6fbff;
  color: var(--navy);
  text-align: center;
  font-weight: 850;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.72fr);
  gap: 52px;
  min-height: 760px;
  padding: 120px 6vw 110px;
  color: var(--white);
  overflow: hidden;
}

.contact-bg img {
  object-fit: cover;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 14, 30, 0.9), rgba(3, 14, 30, 0.46), rgba(3, 14, 30, 0.32)),
    linear-gradient(180deg, rgba(4, 17, 36, 0.14), rgba(4, 17, 36, 0.7));
  z-index: 1;
}

.contact::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -54px;
  z-index: 2;
  height: 140px;
  background: var(--navy);
  clip-path: ellipse(56% 42% at 50% 100%);
}

.contact-copy,
.contact-form {
  position: relative;
  z-index: 3;
}

.contact-copy {
  align-self: center;
}

.contact-copy h2 {
  max-width: 640px;
  color: var(--white);
}

.contact-copy p {
  max-width: 560px;
  margin: 28px 0 70px;
  font-size: 1.25rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.9);
}

.contact-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 620px;
}

.contact-points span {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 12px;
  text-align: center;
  border-top: 1px solid rgba(114, 221, 255, 0.38);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.contact-form {
  align-self: start;
  padding: 34px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

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

label {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(8, 38, 75, 0.24);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  padding: 0 16px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

textarea {
  min-height: 116px;
  padding-top: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(8, 116, 217, 0.14);
}

.form-button {
  width: 100%;
  border: 0;
  margin-top: 2px;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  gap: 46px;
  align-items: center;
  padding: 52px 6vw 42px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
  width: 240px;
  height: 100px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 18px;
}

.footer-brand p {
  margin: 8px 0;
}

.footer-partners {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  max-width: 350px;
}

.footer-partners span {
  width: 100%;
  color: var(--white);
  font-weight: 800;
}

.footer-partners img {
  width: 300px;
  height: 100px;
  object-fit: contain;
  background: rgba(255, 255, 255, 100);
  padding: 8px;
}

.footer-partners img:last-child {
  object-fit: cover;
  object-position: left center;
}

.footer-links {
  display: grid;
  gap: 16px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(3, 14, 30, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1120px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes slow-pan {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, 0.8%, 0);
  }
}

@keyframes shimmer {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 220px 0, 260px 180px;
  }
}

@keyframes cue-line {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(-4px);
  }
  50% {
    opacity: 1;
    transform: translateY(6px);
  }
}

@keyframes banner-sweep {
  0% {
    transform: translateX(0) rotate(18deg);
  }
  55%,
  100% {
    transform: translateX(520%) rotate(18deg);
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    display: grid;
    gap: 7px;
    justify-self: end;
    width: 50px;
    height: 50px;
    place-content: center;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
  }

  .mobile-nav {
    position: fixed;
    top: 100px;
    left: 6vw;
    right: 6vw;
    display: grid;
    gap: 8px;
    padding: 20px;
    background: rgba(3, 18, 38, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .mobile-nav a {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-content {
    padding-top: 190px;
  }

  .hero h1,
  .section-heading h2,
  .gallery-intro h2,
  .equipment h2,
  .financing h2,
  .contact-copy h2 {
    font-size: 4.6rem;
  }

  .equipment-shell,
  .financing-shell {
    grid-template-columns: 1fr;
  }

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

  .logo-rail {
    max-width: 760px;
  }

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

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
  }

  .menu-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 36;
  }

  .mobile-nav {
    top: 94px;
  }

  .brand {
    width: 150px;
    height: 64px;
  }

  .hero {
    min-height: 780px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(2, 15, 35, 0.94) 0%, rgba(4, 22, 49, 0.76) 52%, rgba(4, 22, 49, 0.36) 100%),
      radial-gradient(circle at 22% 55%, rgba(18, 185, 245, 0.2), transparent 32%);
  }

  .hero-media img {
    object-position: 70% center;
  }

  .hero-content {
    padding: 170px 20px 160px;
    width: auto;
  }

  .hero h1,
  .section-heading h2,
  .gallery-intro h2,
  .equipment h2,
  .financing h2,
  .contact-copy h2 {
    font-size: 3.25rem;
  }

  .hero p {
    width: 330px;
    max-width: 100%;
    font-size: 1.08rem;
  }

  .hero-actions {
    width: 330px;
    max-width: 100%;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .paths,
  .gallery-section,
  .equipment,
  .financing,
  .contact,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .pool-paths,
  .process-line,
  .gallery-intro,
  .equipment-shell,
  .feature-grid,
  .financing-shell,
  .field-row,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .path-card,
  .path-card img {
    min-height: 380px;
  }

  .process-line {
    gap: 28px;
  }

  .process-step::before {
    content: none;
  }

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

  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .equipment,
  .financing {
    padding-top: 86px;
  }

  .logo-rail,
  .finance-points {
    grid-template-columns: 1fr;
  }

  .lyon-banner {
    padding: 24px;
    min-height: 150px;
  }

  .lyon-banner img {
    width: 260px;
    height: 96px;
  }

  .equipment-actions {
    flex-direction: column;
  }

  .contact-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-partners {
    align-items: flex-start;
  }
}

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

@media (max-width: 1120px) {
  .menu-toggle {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    /*left: auto !important;*/
    z-index: 80 !important;
    display: grid !important;
    width: 52px !important;
    height: 52px !important;
    place-content: center !important;
    gap: 7px !important;
    border: 1px solid rgba(255, 255, 255, 0.68) !important;
    background: rgba(3, 18, 38, 0.5) !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24) !important;
    backdrop-filter: blur(12px);
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    right: auto !important;
    margin-right: 20px;
    /*left: min(318px, calc(100vw - 72px)) !important;*/
  }
}

@media (min-width: 1121px) {
  .menu-toggle {
    display: none !important;
  }
}
