:root {
  --ink: #172033;
  --muted: #5c687c;
  --paper: #fffdf7;
  --cream: #fff6df;
  --green: #2fbd5f;
  --red: #f2333d;
  --yellow: #ffd447;
  --blue: #0f8de8;
  --violet: #7d4df3;
  --shadow: 0 24px 70px rgba(23, 32, 51, .14);
  --radius: 8px;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#skakaci-hrady,
#stany,
#party-vybaveni,
#kontakt {
  scroll-margin-top: 128px;
}

body {
  --mx: 50%;
  --my: 32%;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fcff 0%, var(--paper) 34%, #f4fff4 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  z-index: 1;
  inset: 0;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 212, 71, .16), transparent 18rem);
  pointer-events: none;
  transition: opacity .25s ease;
}

body.is-loading {
  overflow: hidden;
}

.page-preloader {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 212, 71, .32), transparent 22rem),
    radial-gradient(circle at 80% 24%, rgba(15, 141, 232, .22), transparent 24rem),
    linear-gradient(135deg, #fffdf7 0%, #f0fbff 46%, #f4fff4 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, visibility .45s ease;
}

.page-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(360px, 88vw);
  padding: 34px 30px 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 28px 80px rgba(23, 32, 51, .16);
  backdrop-filter: blur(18px);
}

.preloader-card::before {
  content: "";
  position: absolute;
  inset: -35% auto auto -20%;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(47, 189, 95, .2);
  filter: blur(4px);
}

.preloader-card img {
  position: relative;
  width: min(230px, 70vw);
  height: auto;
  filter: drop-shadow(0 16px 18px rgba(23, 32, 51, .14));
  animation: preloader-float 1.8s ease-in-out infinite;
}

.preloader-card p {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.preloader-bounce {
  position: relative;
  display: flex;
  gap: 8px;
  align-items: center;
}

.preloader-bounce span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
  animation: preloader-dot 1s ease-in-out infinite;
}

.preloader-bounce span:nth-child(2) {
  background: var(--yellow);
  animation-delay: .14s;
}

.preloader-bounce span:nth-child(3) {
  background: var(--red);
  animation-delay: .28s;
}

@keyframes preloader-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-8px) scale(1.03);
  }
}

@keyframes preloader-dot {
  0%,
  100% {
    transform: translateY(0);
    opacity: .55;
  }

  50% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader-card img,
  .preloader-bounce span {
    animation: none;
  }
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  min-height: 68px;
  padding: 10px 14px 10px 18px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 14px 50px rgba(0, 0, 0, .12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background .25s ease, box-shadow .25s ease, top .25s ease;
}

.site-header.is-scrolled {
  top: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 32px rgba(23, 32, 51, .14);
}

.brand img {
  width: 148px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.main-nav a,
.phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
}

.main-nav a {
  color: #263246;
  white-space: nowrap;
}

.main-nav a:hover {
  background: rgba(15, 141, 232, .1);
}

.phone-link {
  gap: 8px;
  color: white;
  background: var(--ink);
  justify-self: end;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  color: white;
  background: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .24s ease, opacity .2s ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

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

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 126px max(24px, calc((100vw - 1120px) / 2)) 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 180px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(248, 252, 255, .9));
  pointer-events: none;
}

.hero-media,
.hero-media img,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.28) contrast(1.08) hue-rotate(-4deg);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 253, 247, .72) 0%, rgba(255, 253, 247, .42) 33%, rgba(255, 253, 247, .03) 64%),
    linear-gradient(180deg, rgba(47, 189, 95, .1) 0%, rgba(255, 255, 255, 0) 48%, rgba(248, 252, 255, .72) 100%),
    radial-gradient(circle at 80% 28%, rgba(242, 51, 61, .18), transparent 23%),
    radial-gradient(circle at 42% 68%, rgba(47, 189, 95, .2), transparent 24%);
}

.hero-shine {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 16% 22%, rgba(255, 212, 71, .58), transparent 18%),
              radial-gradient(circle at 72% 84%, rgba(47, 189, 95, .32), transparent 22%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-ribbons {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-ribbons span {
  position: absolute;
  width: 280px;
  height: 10px;
  border-radius: 999px;
  opacity: .62;
  filter: blur(.2px);
  transform: rotate(-18deg);
  animation: ribbonDrift 9s ease-in-out infinite;
}

.hero-ribbons span:nth-child(1) {
  top: 26%;
  right: 14%;
  background: linear-gradient(90deg, transparent, var(--red), var(--yellow), transparent);
}

.hero-ribbons span:nth-child(2) {
  top: 58%;
  right: 34%;
  width: 220px;
  background: linear-gradient(90deg, transparent, var(--green), var(--blue), transparent);
  animation-delay: -2.4s;
}

.hero-ribbons span:nth-child(3) {
  top: 74%;
  left: 12%;
  width: 180px;
  background: linear-gradient(90deg, transparent, var(--yellow), var(--red), transparent);
  animation-delay: -4.2s;
}

.hero-content {
  align-self: center;
  width: min(650px, 100%);
  padding-bottom: clamp(28px, 8vh, 80px);
  text-shadow: 0 2px 18px rgba(255, 255, 255, .45);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 8.6ch;
  margin: 0;
  font-family: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.8rem, 7.1vw, 6.75rem);
  font-weight: 900;
  line-height: .84;
  letter-spacing: 0;
  color: var(--green);
  -webkit-text-stroke: clamp(5px, .55vw, 9px) #05070d;
  paint-order: stroke fill;
  text-shadow:
    -4px -4px 0 #05070d,
    0 -4px 0 #05070d,
    4px -4px 0 #05070d,
    -4px 0 0 #05070d,
    4px 0 0 #05070d,
    -4px 4px 0 #05070d,
    0 4px 0 #05070d,
    4px 4px 0 #05070d,
    0 8px 0 #05070d,
    0 14px 28px rgba(255, 255, 255, .7),
    0 24px 46px rgba(23, 32, 51, .18);
}

.hero-title {
  text-transform: none;
}

.hero-title span {
  display: block;
}

.hero-title-green {
  color: #50ff00;
}

.hero-title-red {
  color: #ff0000;
}

.hero-title-yellow {
  color: #ffc928;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 30px;
  color: #243247;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--red), #ff7a1a);
  box-shadow: 0 16px 36px rgba(242, 51, 61, .28);
}

.button-secondary {
  color: var(--ink);
  background: white;
  box-shadow: 0 12px 28px rgba(23, 32, 51, .12);
}

.rental-section {
  position: relative;
  padding: 82px max(24px, calc((100vw - 1120px) / 2));
  overflow: hidden;
}

.section-heading {
  position: relative;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -20px;
  width: min(420px, 78vw);
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
  filter: blur(12px);
  opacity: .5;
  transform: translateX(-50%);
}

.rental-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(15, 141, 232, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 141, 232, .08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}

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

.section-heading h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: .95;
}

.section-heading span,
.product-copy span,
.support-copy span {
  color: var(--red);
}

.product-list {
  display: grid;
  gap: 28px;
}

.product {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .88fr);
  gap: 30px;
  align-items: center;
  min-height: 410px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(23, 32, 51, .08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}

.product::after,
.support-block::after,
.equipment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, .42) 48%, rgba(255, 255, 255, 0) 64%, transparent 100%);
  transform: translateX(-130%);
  transition: transform .72s ease;
  pointer-events: none;
}

.product::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 92% 18%, rgba(47, 189, 95, .16), transparent 18rem),
              radial-gradient(circle at 8% 88%, rgba(242, 51, 61, .1), transparent 16rem);
  opacity: 0;
  transition: opacity .26s ease;
}

.product:hover {
  border-color: rgba(242, 51, 61, .22);
  box-shadow: 0 30px 82px rgba(23, 32, 51, .18);
  transform: translateY(-4px);
}

.product:hover::before {
  opacity: 1;
}

.product:hover::after,
.support-block:hover::after {
  transform: translateX(130%);
}

.product:nth-child(even) .product-copy {
  order: 2;
}

.product-copy h3,
.support-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.8vw, 3.35rem);
  line-height: 1;
}

.product-copy p:not(.tag),
.product-features,
.support-copy li,
.notice p {
  color: var(--muted);
  font-size: 1.02rem;
}

.product-features {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.15rem;
}

.product-features li::marker {
  color: var(--green);
}

.tag {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #0b5530;
  background: rgba(47, 189, 95, .18);
  font-weight: 900;
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 18px;
  overflow: hidden;
  border-radius: var(--radius);
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 16% 4% 5%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 212, 71, .55), rgba(47, 189, 95, .24), rgba(15, 141, 232, .18));
  filter: blur(12px);
}

.product-visual img {
  position: relative;
  max-height: 360px;
  object-fit: contain;
  border-radius: var(--radius);
  filter: drop-shadow(0 22px 24px rgba(23, 32, 51, .22));
  transform: rotate(-1deg);
}

.product:nth-child(even) .product-visual img {
  transform: rotate(1deg);
}

.product-gallery {
  isolation: isolate;
}

.gallery-track {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
}

.product-gallery img {
  display: none;
}

.product-gallery img.is-active {
  display: block;
}

.gallery-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 12px 24px rgba(23, 32, 51, .22);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .18s ease, box-shadow .18s ease;
}

.gallery-button:hover,
.gallery-button:focus-visible {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 16px 30px rgba(23, 32, 51, .28);
}

.gallery-button span {
  display: block;
  margin-top: -3px;
  font-size: 2.2rem;
  line-height: 1;
}

.gallery-button-prev {
  left: 22px;
}

.gallery-button-next {
  right: 22px;
}

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  margin: 36px 0;
  padding: 22px;
  border-radius: var(--radius);
  color: #5f2a00;
  background: linear-gradient(135deg, rgba(255, 212, 71, .34), rgba(255, 255, 255, .86));
  box-shadow: 0 16px 38px rgba(23, 32, 51, .08);
}

.notice p {
  margin: 0;
  color: inherit;
  font-weight: 800;
}

.support-grid {
  display: grid;
  gap: 28px;
}

.support-block {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr);
  gap: 28px;
  align-items: center;
  padding: clamp(22px, 4vw, 40px);
  border-radius: var(--radius);
  background: #172033;
  color: white;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .26s ease, box-shadow .26s ease;
}

.support-block:hover {
  box-shadow: 0 30px 86px rgba(23, 32, 51, .24);
  transform: translateY(-4px);
}

.support-block:nth-child(even) {
  background: #0b5f4f;
}

.support-block:nth-child(even) .support-copy {
  order: 2;
}

.support-copy h4 {
  margin: 18px 0 8px;
  color: var(--yellow);
  font-size: 1.08rem;
}

.support-copy ul {
  margin: 0;
  padding-left: 20px;
}

.support-copy li {
  color: rgba(255, 255, 255, .8);
}

.support-image {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: rgba(255, 255, 255, .1);
}

.support-image-stack {
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 4 / 5;
}

.support-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform .5s ease;
}

.support-image-stack img + img {
  display: block;
}

.support-block:hover .support-image img {
  transform: scale(1.05);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.equipment-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(210px, 240px) 1fr;
  overflow: hidden;
  border: 1px solid rgba(23, 32, 51, .08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 48px rgba(23, 32, 51, .1);
  backdrop-filter: blur(12px);
  transition: border-color .26s ease, box-shadow .26s ease, transform .26s ease;
}

.equipment-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 212, 71, .34), transparent 8rem),
    radial-gradient(circle at 10% 92%, rgba(15, 141, 232, .12), transparent 10rem);
  opacity: 0;
  transition: opacity .26s ease;
  pointer-events: none;
}

.equipment-card:hover {
  border-color: rgba(47, 189, 95, .24);
  box-shadow: 0 26px 64px rgba(23, 32, 51, .16);
  transform: translateY(-4px);
}

.equipment-card:hover::before {
  opacity: 1;
}

.equipment-card:hover::after {
  transform: translateX(130%);
}

.equipment-image {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(247, 252, 255, .9)),
    radial-gradient(circle at center, rgba(47, 189, 95, .14), transparent 62%);
}

.equipment-image::after {
  content: "";
  position: absolute;
  inset: auto 18% 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(23, 32, 51, .16);
  filter: blur(10px);
}

.equipment-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(23, 32, 51, .16));
  transition: transform .42s ease;
}

.equipment-card:hover .equipment-image img {
  transform: scale(1.04) rotate(-1deg);
}

.equipment-copy {
  position: relative;
  z-index: 1;
  padding: 18px;
}

.equipment-copy h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.08;
}

.equipment-copy p:not(.tag) {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

.equipment-copy .tag {
  margin-bottom: 10px;
}

.contact-section {
  padding: 88px max(24px, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(135deg, rgba(15, 141, 232, .18), rgba(47, 189, 95, .22)),
    #f5fbff;
}

.contact-card {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 32px;
  padding: clamp(24px, 5vw, 54px);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.contact-items {
  display: grid;
  gap: 12px;
}

.contact-items a {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 14px;
  border-radius: var(--radius);
  color: var(--ink);
  background: #f7f9fb;
  text-decoration: none;
  font-weight: 900;
}

.contact-items small {
  color: var(--muted);
  font-weight: 700;
}

.contact-items svg {
  width: 28px;
  height: 28px;
  color: var(--red);
}

.site-footer {
  display: grid;
  place-items: center;
  min-height: 92px;
  color: var(--muted);
  background: white;
}

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

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

.floating {
  animation: float 5.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes ribbonDrift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-18deg); opacity: .42; }
  50% { transform: translate3d(22px, -12px, 0) rotate(-12deg); opacity: .78; }
}

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

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand img {
    width: 122px;
  }

  .main-nav {
    order: 3;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height .28s ease, opacity .22s ease, padding-top .22s ease;
  }

  .main-nav a {
    justify-content: center;
    min-height: 38px;
    padding: 0 8px;
    font-size: .84rem;
    background: rgba(255, 255, 255, .46);
  }

  .site-header.is-menu-open .main-nav {
    max-height: 220px;
    padding-top: 8px;
    opacity: 1;
    pointer-events: auto;
  }

  .phone-link {
    justify-content: center;
    width: min(100%, 320px);
    min-height: 50px;
    padding: 0 18px;
    font-size: .95rem;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
  }

  .hero {
    min-height: 92svh;
    padding-top: 128px;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(255, 253, 247, .66) 0%, rgba(255, 253, 247, .36) 38%, rgba(255, 253, 247, .08) 100%),
      linear-gradient(180deg, transparent, rgba(248, 252, 255, .58));
  }

  .product,
  .support-block,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

  .product:nth-child(even) .product-copy,
  .support-block:nth-child(even) .support-copy {
    order: 0;
  }

  .product {
    min-height: 0;
  }

  .product-visual {
    min-height: 250px;
  }
}

@media (max-width: 540px) {
  .site-header {
    width: calc(100% - 20px);
    top: 10px;
    padding: 8px;
    gap: 8px;
  }

  .brand img {
    width: 100px;
  }

  .main-nav a {
    min-height: 40px;
    padding: 0 6px;
    font-size: .78rem;
  }

  .phone-link {
    min-height: 48px;
    padding: 0 12px;
    font-size: clamp(.72rem, 3.2vw, .9rem);
  }

  .phone-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }

  .menu-toggle {
    width: 44px;
    height: 48px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    max-width: 7.4ch;
    font-size: clamp(2.25rem, 13.6vw, 3.65rem);
    -webkit-text-stroke-width: 4px;
  }

  .button {
    width: 100%;
  }

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

  .equipment-card {
    grid-template-rows: auto 1fr;
  }

  .equipment-image {
    min-height: 230px;
    padding: 18px 18px 10px;
  }

  .equipment-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 210px;
  }

  .equipment-copy {
    padding-top: 20px;
  }

  .rental-section,
  .contact-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .product,
  .support-block {
    padding: 18px;
  }
}
