@font-face {
  font-family: "Cy Grotesk Grand";
  src:
    url("assets/fonts/cy-grotesk-grand-7.woff2") format("woff2"),
    url("assets/fonts/cy-grotesk-grand-7.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cy Grotesk Grand";
  src:
    url("assets/fonts/cy-grotesk-grand-5.woff2") format("woff2"),
    url("assets/fonts/cy-grotesk-grand-5.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cy Grotesk Grand";
  src:
    url("assets/fonts/cy-grotesk-grand-5.woff2") format("woff2"),
    url("assets/fonts/cy-grotesk-grand-5.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cy Grotesk Grand";
  src:
    url("assets/fonts/cy-grotesk-grand-3.woff2") format("woff2"),
    url("assets/fonts/cy-grotesk-grand-3.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ===== DESIGN TOKENS: Typography & Spacing ===== */
/* Figma desktop: section headings ~32px, sub ~24px, body ~15px  */
/* Figma mobile:  section headings ~17-20px, body ~14-15px        */
:root {
  /* Section headings (Figma: 32px desktop) */
  --fs-section-heading: clamp(18px, 2.0vw, 30px);
  /* Sub-headings / italic text blocks (Figma: 24-32px) */
  --fs-section-sub:     clamp(15px, 1.5vw, 22px);
  /* Standard body text */
  --fs-body:            15px;
  /* Labels, small text */
  --fs-body-sm:         13px;
  /* Disclaimers */
  --fs-tiny:            12px;

  /* Line heights */
  --lh-heading: 1.2;
  --lh-body:    1.6;

  /* Spacing */
  --section-pad-v: clamp(40px, 5vw, 70px);
  --section-pad-h: clamp(20px, 4.5vw, 60px);
  --card-radius: 16px;
  --card-radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

html {
  scroll-behavior: smooth;
  /* Prevent font scaling on orientation change in iOS */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Cy Grotesk Grand", sans-serif;
  background: #e7efe8;
  color: #1a2a25;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}


/* ===== ANCHOR SCROLL OFFSET (fixed header compensation) ===== */
[id] {
  scroll-margin-top: calc(var(--header-h, 88px) + 12px);
}

/* ===== GLOBAL FOCUS STYLES ===== */
:focus-visible {
  outline: 2px solid #5E8272;
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) {
  outline: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  transform: translateY(-150%);
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(20, 37, 29, 0.96);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: transform 0.2s ease;
}

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #AAC0B6;
}

.header-inner {
  max-width: 1728px;
  margin: 0 auto;
  padding: 18px 60px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  text-decoration: none;
  color: inherit;
}

.header-logo-img {
  width: 85px;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
  gap: clamp(22px, 3vw, 50px);
}

.header-nav a {
  color: #1a2a25;
  text-decoration: none;
  font-size: var(--fs-body);
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
  white-space: nowrap;
  text-transform: lowercase;
}

.header-nav a:hover {
  opacity: 0.65;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  --header-h: 88px;
  /* Fill the complete viewport on every screen, every device */
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.hero picture {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}
.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.3);
}

.hero-overlay {
  will-change: transform;
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1728px;
  margin: 0 auto;
  /* Column layout: padding-top offsets fixed header, then content centered */
  padding: calc(var(--header-h) + clamp(18px, 3vh, 42px)) clamp(20px, 3vw, 60px) 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Right side is free; contact box lives in the upper-right, different vertical level */
  padding-right: clamp(20px, 18vw, 280px);
}

.hero-text-1 {
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.55;
  margin-bottom: clamp(20px, 3vw, 50px);
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
  max-width: 650px;
}

.hero-title {
  font-size: clamp(32px, 5.5vw, 82px);
  font-weight: 700;
  letter-spacing: clamp(2px, 0.4vw, 7px);
  margin-bottom: 20px;
  text-shadow: 0 4px 28px rgba(0,0,0,0.55);
  line-height: 1.05;
  white-space: nowrap;
}

.hero-text-2 {
  font-size: clamp(13px, 1.4vw, 20px);
  font-weight: 400;
  margin-bottom: clamp(20px, 3vw, 50px);
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}

.hero-text-3 {
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 55px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
  max-width: 600px;
}

.hero-btn {
  display: inline-block;
  padding: 16px 50px;
  background: rgba(182, 199, 187, 0.85);
  color: #1a2a25;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s;
  text-transform: lowercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.28);
  align-self: flex-start;
}

.hero-btn:hover {
  background: rgba(220, 229, 229, 0.96);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(0,0,0,0.38);
}

/* Contact block on hero - upper right, with proportional gap from header */
.hero-right {
  position: absolute;
  top: calc(var(--header-h) + clamp(40px, 10vh, 100px));
  right: clamp(16px, 3vw, 45px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.hero-contact-box {
  background: rgba(140, 165, 150, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hero-phone {
  font-family: 'Cy Grotesk Grand', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a2a25;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.hero-city {
  font-family: 'Cy Grotesk Grand', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #1a2a25;
}

.hero-icons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.hero-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(40, 65, 50, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s;
}

.hero-icon-btn:hover {
  background: rgba(30, 55, 40, 0.95);
  transform: scale(1.08);
}

/* Phone call icon — visible only on mobile */
.hero-icon-phone-mobile { display: none; }

.hero-arrow {
  position: absolute;
  bottom: clamp(20px, 3vh, 40px);
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  animation: bounce 2.4s ease-in-out infinite;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* ===== ANIMATIONS ===== */

/* Hero entrance: gentle fade + slide-up, staggered */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Two clean entrance animations — content block rises, contact box fades in */
.hero-content { animation: fadeSlideUp 0.75s ease-out 0.1s both; }
.hero-right   { animation: fadeIn      0.65s ease-out 0.4s both; }

/* Scroll-reveal base state */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delays for grid children */
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-content, .hero-right { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.9; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.6; }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(170, 192, 182, 0.9);
  color: #1a2a25;
  border: none;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: rgba(150, 175, 165, 0.95);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.28);
}



/* ===== ABOUT SECTION (block 2) ===== */
.about {
  background: #AAC0B6;
  padding: 80px 45px 90px;
}

.about-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-icon {
  width: 90px;
  height: auto;
  margin-bottom: 35px;
}

.about-title {
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 500;
  color: #1a2a25;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.about-desc {
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 300;
  color: #1a2a25;
  line-height: 1.65;
  margin-bottom: 50px;
  max-width: 700px;
}

.about-photo {
  width: 100%;
  max-width: 1300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== FUN SECTION (block 3) ===== */
.fun-section {
  background: #dce5e0;
}

.fun-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 70px 60px 60px;
  text-align: center;
}

.fun-title {
  font-size: var(--fs-section-heading);
  font-weight: 500;
  color: #1a2a25;
  margin-bottom: 40px;
}

.fun-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 45px;
}

.fun-cards {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 45px;
}

.fun-cards-left {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.fun-cards-row {
  display: flex;
  gap: 20px;
}

.fun-cards-row img {
  height: auto;
  max-width: 312px;
}

.fun-cards-right {
  align-self: center;
}

.fun-cards-right img {
  height: auto;
  max-width: 240px;
}

.fun-subtitle {
  font-size: var(--fs-section-sub);
  font-weight: 500;
  color: #1a2a25;
  line-height: 1.6;
  margin-top: 10px;
}

.fun-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 36px 60px 0;
  max-width: 1300px;
  margin: 0 auto;
}
.fun-mobile-label {
  font-family: 'Cy Grotesk Grand', sans-serif;
  font-size: var(--fs-section-heading);
  font-weight: 500;
  color: #1a2a25;
}
.fun-mobile-tree {
  display: none;
}

/* Tree divider */
.tree-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  padding-bottom: 60px;
}

.tree-divider img {
  width: 100%;
  height: auto;
  display: block;
}

/* Pros section */
.pros-section {
  background: #dce5e0;
  padding: 40px 60px 50px;
  max-width: 1300px;
  margin: 0 auto;
}

.pros-heading {
  font-size: var(--fs-section-heading);
  font-weight: 500;
  color: #1a2a25;
  margin-bottom: 30px;
}

.pros-card {
  display: flex;
  gap: 0;
  align-items: stretch;
  background: rgba(170, 192, 182, 0.55);
  border-radius: 20px;
  overflow: hidden;
  max-height: 450px;
}

.pros-card-text {
  flex: 1;
  padding: 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pros-card-text p {
  font-size: var(--fs-body);
  font-weight: 400;
  color: #1a2a25;
  line-height: var(--lh-body);
}

.pros-card-text strong {
  font-weight: 500;
}

.pros-card-img {
  flex: 0 0 40%;
  max-width: 40%;
}

.pros-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Solution section */
.solution-section {
  background: #dce5e0;
  padding: 40px 60px 50px;
  max-width: 1300px;
  margin: 0 auto;
}

.solution-heading {
  font-size: var(--fs-section-heading);
  font-weight: 500;
  color: #1a2a25;
  margin-bottom: 30px;
}

.solution-card {
  display: flex;
  gap: 0;
  align-items: stretch;
  background: rgba(170, 192, 182, 0.55);
  border-radius: 20px;
  overflow: hidden;
  max-height: 450px;
}

.solution-card-img {
  flex: 0 0 40%;
  max-width: 40%;
}

.solution-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.solution-card-text {
  flex: 1;
  padding: 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.solution-card-text p {
  font-size: var(--fs-body);
  font-weight: 400;
  color: #1a2a25;
  line-height: var(--lh-body);
  text-align: right;
}

.solution-card-text strong {
  font-weight: 500;
}



/* ===== SERVICES SECTION ===== */
.services-section {
  background: #dce5e0;
  overflow: hidden;
}

.services-top {
  max-width: 1300px;
  margin: 0 auto;
  padding: 50px 60px 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.services-title {
  font-size: var(--fs-section-heading);
  font-weight: 500;
  color: #1a2a25;
}

.services-tree-icon {
  width: 28px;
  height: auto;
  flex-shrink: 0;
  margin-right: -20px;
}

.services-bg-wrap {
  position: relative;
  width: 100%;
  background: url('figma/new5/Group 78.png') center top / 100% auto no-repeat;
  padding-bottom: 40px;
}

.services-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 60px 40px;
}

.services-cards {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 30px;
}

.services-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.services-card-label {
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 400;
  color: #1a2a25;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 4px;
}

.services-card img {
  width: 210px;
  height: 290px;
  object-fit: cover;
  border-radius: 12px;
}

.services-subtitle {
  font-size: var(--fs-section-sub);
  font-weight: 500;
  color: #1a2a25;
  text-align: center;
  line-height: 1.5;
}


/* ===== CATALOG SECTION ===== */
.catalog-section {
  background: #8DAB9E;
  padding: 60px 0 80px;
}

.catalog-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
}

.catalog-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 30px;
}

.catalog-title {
  font-size: clamp(18px, 2.0vw, 30px);
  font-weight: 500;
  color: #1a2a25;
}

.catalog-tree-icon {
  width: 28px;
  height: auto;
  flex-shrink: 0;
  margin-right: -20px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.catalog-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-end;
  transition: transform 0.25s ease;
}

.catalog-photo {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.catalog-item:hover {
  transform: translateY(-3px);
}

.catalog-label {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.65);
  border: 1px solid #b0c4b7;
  border-radius: 20px;
  padding: 8px 20px;
  min-height: 50px;
  font-size: clamp(12px, 0.85vw, 14px);
  font-weight: 400;
  color: #1a2a25;
  text-align: center;
  line-height: 1.35;
}

.catalog-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.catalog-buy-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 40px;
  margin-top: 16px;
}

.catalog-buy-btn {
  display: inline-block;
  background: rgba(255,255,255,0.65);
  border: 1px solid #b0c4b7;
  border-radius: 20px;
  padding: 10px 36px;
  font-size: 14px;
  font-weight: 400;
  color: #1a2a25;
  text-decoration: none;
  transition: background 0.2s;
}

.catalog-buy-btn:hover {
  background: rgba(255,255,255,0.9);
}

.catalog-extra-title {
  font-size: 16px;
  font-weight: 400;
  color: #1a2a25;
  margin-bottom: 24px;
}


/* ===== CARABINERS (поверх всего кроме текстов/фото) ===== */
.carabiner-wrap {
  position: relative;
  height: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 50;
}

.carabiner-wrap .carabiner {
  position: absolute;
  pointer-events: none;
}

.carabiner-99 {
  width: clamp(92px, 10vw, 190px);
  right: clamp(12px, 2.5vw, 44px);
  top: clamp(-156px, -8.8vw, -100px);
}

.carabiner-98 {
  width: 190px;
  left: 40px;
  top: -196px;
}


/* ===== RENTAL SECTION ===== */
.rental-section {
  overflow: visible;
}

.rental-bg-wrap {
  position: relative;
  background: url('figma/new7/Group 90.png') center center / cover no-repeat;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.rental-content {
  position: relative;
  z-index: 100;
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 60px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rental-title {
  font-size: var(--fs-section-heading);
  font-weight: 400;
  color: #1a2a25;
  margin-bottom: 30px;
  line-height: 1.35;
  width: 100%;
  max-width: 1200px;
  text-align: left;
}

.rental-card {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  padding: 35px 50px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rental-card p {
  font-size: var(--fs-body);
  font-weight: 400;
  color: #1a2a25;
  line-height: 1.55;
}

.rental-card ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rental-card ol li {
  font-size: var(--fs-body);
  font-weight: 400;
  color: #1a2a25;
  line-height: 1.55;
}


/* ===== RENTAL2 SECTION ===== */
.rental2-section {
  position: relative;
  background: #8DAB9E;
  padding: 70px 0 90px;
  overflow: visible;
}

.rental2-inner {
  position: relative;
  z-index: 100;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
}

.rental2-title {
  font-size: var(--fs-section-heading);
  font-weight: 400;
  color: #1a2a25;
  margin-bottom: 75px;
}

.rental2-cards {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 75px;
}

.rental2-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.rental2-label {
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 500;
  color: #0f1f1a;
  text-align: center;
  line-height: 1.3;
  min-height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-shadow: 0 0 1px rgba(255,255,255,0.6), 0 1px 3px rgba(0,0,0,0.2);
}

.rental2-card img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  border-radius: 12px;
}

.rental2-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.rental2-cta-text {
  font-size: var(--fs-section-sub);
  font-weight: 500;
  color: #1a2a25;
  text-align: center;
  line-height: 1.5;
}

.rental2-cta-btn {
  display: inline-block;
  background: rgba(255,255,255,0.65);
  border: 1px solid #b0c4b7;
  border-radius: 24px;
  padding: 14px 36px;
  font-size: var(--fs-body);
  font-weight: 400;
  color: #1a2a25;
  text-decoration: none;
  transition: background 0.2s;
  align-self: flex-end;
}

.rental2-cta-btn:hover {
  background: rgba(255,255,255,0.9);
}


/* ===== PROJECTS SECTION ===== */
.projects-section {
  overflow: visible;
}

.projects-bg-wrap {
  background: #ECECEC;
  padding: 60px 0 70px;
  overflow: visible;
}

.projects-inner {
  position: relative;
  z-index: 100;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
}

.projects-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 30px;
}

.projects-title {
  font-size: var(--fs-section-heading);
  font-weight: 500;
  color: #1a2a25;
}

.projects-tree-icon {
  width: 28px;
  height: auto;
  flex-shrink: 0;
  margin-right: -20px;
}

.projects-carousel {
  position: relative;
  margin-bottom: 30px;
}

.projects-viewport {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1349 / 730;
  max-height: 65vh;
  width: 100%;
  background: #7a9a8c;
}

.projects-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.projects-slide.active {
  opacity: 1;
}

.projects-slide picture,
.projects-slide img {
  width: 100%;
  height: 100%;
  display: block;
}
.projects-slide img {
  object-fit: cover;
  object-position: center bottom;
}

.projects-price {
  position: absolute;
  bottom: 30px;
  left: 30px;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.projects-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  transition: background 0.2s, transform 0.15s;
  line-height: 1;
  padding: 0;
}

.projects-arrow-left {
  left: 20px;
}

.projects-arrow-right {
  right: 20px;
}

.projects-arrow:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.08);
}

.projects-subtitle {
  font-size: var(--fs-section-sub);
  font-weight: 500;
  color: #1a2a25;
  text-align: center;
  line-height: 1.5;
}


/* ===== VIDEO SECTION ===== */
.video-section {
  background: #AAC0B6;
  padding: 60px 0;
  overflow: visible;
}

.video-top {
  position: relative;
  z-index: 100;
  max-width: 1300px;
  margin: 0 auto 30px;
  padding: 0 60px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.video-title {
  font-size: var(--fs-section-heading);
  font-weight: 500;
  color: #1a2a25;
}

.video-tree-icon {
  width: 28px;
  height: auto;
  flex-shrink: 0;
  margin-right: -20px;
}

.video-inner {
  position: relative;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 60px;
}

.video-player {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9 / 16;
  background: #c0c0c0;
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  overflow: hidden;
}

.video-player video {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 14px;
  object-fit: contain;
}


/* ===== QUALITY SECTION ===== */
.quality-section {
  background: #FFFFFF;
  padding: 60px 0 80px;
}

.quality-inner {
  position: relative;
  z-index: 100;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
}

.quality-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 30px;
}

.quality-title {
  font-size: var(--fs-section-heading);
  font-weight: 500;
  color: #1a2a25;
}

.quality-tree-icon {
  width: 28px;
  height: auto;
  flex-shrink: 0;
  margin-right: -20px;
}

.quality-grid-wide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 150px;
}

.quality-grid-wide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.quality-subtitle {
  font-size: var(--fs-section-heading);
  font-weight: 500;
  color: #1a2a25;
  margin-bottom: 10px;
}

.quality-gost {
  font-size: var(--fs-body);
  font-weight: 300;
  color: #1a2a25;
  margin-bottom: 30px;
}

.quality-grid-square {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quality-grid-square img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}


@media (max-width: 1100px) {
  .services-cards {
    flex-wrap: wrap;
  }
  .services-card img {
    width: 160px;
    height: 220px;
  }
  .services-card-label {
    font-size: 13px;
  }
}
/* ===== GALLERY CAROUSEL ===== */

/* Layout containment for faster rendering on weak devices */
.about, .fun-section, .gallery-section, .services-section, .catalog-section,
.rental-section, .rental2-section, .projects-section, .video-section,
.quality-section, .contacts-section {
  contain: layout style;
}
.gallery-section {
  background: #8DAB9E;
  padding: 60px 0;
}

.gallery-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
}

.gallery-carousel {
  position: relative;
}

.gallery-viewport {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1349 / 730;
  max-height: 65vh;
  width: 100%;
  background: #7a9a8c;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-slide.active {
  opacity: 1;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  transition: background 0.2s, transform 0.15s;
  line-height: 1;
  padding: 0;
}

.gallery-arrow-left {
  left: 20px;
}

.gallery-arrow-right {
  right: 20px;
}

.gallery-arrow:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.08);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1400px) {
  .header-nav {
    gap: 30px;
  }
}

@media (max-width: 1200px) {
  .header-inner {
    gap: 25px;
    padding: 14px 30px;
  }
  
  .hero-title {
    font-size: 54px;
  }
}

@media (max-width: 600px) {
  .header-nav {
    display: none;
  }
  
  .hero-title {
    font-size: 42px;
  }
  

}

/* ===== Contacts Section ===== */
.contacts-section {
  background: #8DAB9E;
  padding: 35px 0 0;
}
.contacts-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 60px;
}
.contacts-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
}
.contacts-title {
  font-family: 'Cy Grotesk Grand', sans-serif;
  font-weight: 500;
  font-size: var(--fs-section-heading);
  color: #1a2a25;
}
.contacts-phone-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid #1a2a25;
  border-radius: 10px;
  padding: 10px 20px;
  gap: 2px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
a.contacts-phone-box:hover { opacity: 0.85; }
.contacts-phone {
  font-family: 'Cy Grotesk Grand', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #1a2a25;
}
.contacts-city {
  font-family: 'Cy Grotesk Grand', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #1a2a25;
}
.contacts-qr-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 0;
}
.contacts-qr-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.contacts-qr-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.contacts-qr-card img {
  width: 160px;
  height: 160px;
  object-fit: contain;
}
.contacts-disclaimer-bar {
  background: #5E8272;
  width: 100%;
  margin-top: 25px;
  padding: 18px 60px;
}
.contacts-disclaimer {
  font-family: 'Cy Grotesk Grand', sans-serif;
  font-weight: 300;
  font-size: var(--fs-tiny);
  color: #fff;
  text-align: center;
  line-height: 1.6;
  max-width: 1100px;
  margin: 0 auto;
}

/* ============================================
   MOBILE VERSION (max-width: 768px)
   ============================================ */

.mobile-menu-btn {
  display: none;
}


/* content-visibility removed: caused sections to disappear on some browsers */
@media (max-width: 768px) {

  /* --- Header --- */
  .header-inner {
    padding: 12px 16px;
    gap: 0;
    justify-content: space-between;
  }
  .header-nav { display: none !important; }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    color: #1a2a25;
  }
  .header-logo-img { width: 55px; }

  /* --- Hero --- */
  .hero {
    --header-h: 57px;
    height: 100vh;
    height: 100svh;
    overflow-x: hidden;
  }
  .hero-bg { min-height: 100%; }
  .hero-overlay {
    padding:
      calc(var(--header-h) + clamp(30px, 6vh, 56px))
      20px
      calc(132px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    height: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
  }
  /* Text block – grows, pushes phone block to bottom via margin-top:auto on hero-right */
  .hero-content {
    max-width: 100%;
    width: 100%;
    padding: 0;
    padding-right: 0;
    margin-top: clamp(14px, 3vh, 28px);
    justify-content: flex-start;
    overflow: visible;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }
  .hero-text-1 {
    font-size: 13px;
    max-width: 85%;
    margin-bottom: 10px;
    line-height: 1.5;
  }
  .hero-title {
    font-size: clamp(24px, 9vw, 42px);
    letter-spacing: 1px;
    margin-bottom: 6px;
    white-space: normal;
    max-width: 100%;
    line-height: 1.05;
  }
  .hero-text-2 {
    font-size: clamp(12px, 3.2vw, 15px);
    margin-bottom: 10px;
    max-width: 100%;
  }
  .hero-text-3 {
    font-size: 13px;
    max-width: 100%;
    margin-bottom: 0;
    line-height: 1.55;
  }
  /* Button is now in normal flow inside hero-content */
  .hero-btn {
    font-size: 14px;
    padding: 11px 26px;
    position: static;
    align-self: flex-start;
    margin-top: 16px;
  }
  /* Bottom row: contact info aligned to the right, always at bottom */
  .hero-right {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: calc(54px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    flex-shrink: 0;
  }
  .hero-contact-box {
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(40, 65, 50, 0.82);
    min-width: 0;
    width: auto;
    max-width: calc(100% - 162px);
    align-items: flex-start;
    flex: 0 1 auto;
  }
  .hero-phone {
    font-size: clamp(11px, 3vw, 12px);
    color: #fff !important;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
    letter-spacing: 0.1px;
  }
  .hero-city {
    font-size: clamp(9px, 2.6vw, 10px);
    color: #fff !important;
    white-space: nowrap;
  }
  .hero-icons {
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: nowrap;
    flex: 0 0 auto;
  }
  .hero-icon-btn { width: 34px; height: 34px; }
  .hero-icon-phone-mobile { display: flex; }
  .hero-icon-btn svg { width: 14px; height: 14px; }
  .hero-arrow {
    bottom: 14px;
    right: 14px;
    left: auto;
    transform: none;
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  /* --- About --- */
  /* --- About – gradient photo at bottom --- */
  .about {
    padding: 0;
    overflow: hidden;
  }
  .about-inner {
    padding: 52px 28px 0;
    position: relative;
  }
  .about-title { font-size: 19px; }
  .about-desc  { font-size: 15px; margin-bottom: 0; }
  .about-photo {
    margin-top: 36px;
    margin-left: -28px;
    margin-right: -28px;
    width: calc(100% + 56px);
    border-radius: 0;
    box-shadow: none;
    position: relative;
    height: 38vh;
    min-height: 200px;
    overflow: hidden;
  }
  .about-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #AAC0B6 0%, transparent 55%);
    z-index: 1;
    pointer-events: none;
  }
  .about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  /* --- Fun section with "О нас" mobile header --- */
  .fun-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 20px 0;
  }
  .fun-mobile-label {
    font-family: 'Cy Grotesk Grand', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #1a2a25;
  }
  .fun-mobile-tree {
    display: none;
  }
  .fun-section {
    background: #e8eeea;
    border-radius: 0;
  }
  .fun-inner {
    padding: 16px 20px 24px;
    max-width: 100%;
  }
  .fun-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
  }
  .fun-cards {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .fun-cards-left {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .fun-cards-row {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: stretch;
  }
  .fun-cards-row img:nth-child(odd) {
    max-width: 75%;
    width: 75%;
    align-self: flex-start;
  }
  .fun-cards-row img:nth-child(even) {
    max-width: 75%;
    width: 75%;
    align-self: flex-end;
  }
  .fun-cards-right {
    align-self: flex-start;
    width: 58%;
  }
  .fun-cards-right img {
    max-width: 100%;
    width: 100%;
  }
  .fun-subtitle {
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    margin-top: 16px;
  }

  /* --- Pros section --- */
  .pros-section {
    padding: 24px 20px 30px;
    max-width: 100%;
  }
  .pros-heading {
    font-size: 17px;
    margin-bottom: 14px;
  }
  .pros-card {
    flex-direction: column;
    max-height: none;
    border-radius: 16px;
  }
  .pros-card-text {
    padding: 20px 16px;
    order: 1;
  }
  .pros-card-text p {
    font-size: 13px;
    line-height: 1.55;
  }
  .pros-card-img {
    flex: none;
    max-width: 100%;
    width: 100%;
    order: 2;
    height: 220px;
  }
  .pros-card-img img {
    border-radius: 0 0 16px 16px;
    height: 100%;
  }

  /* --- Solution section --- */
  .solution-section {
    padding: 24px 20px 30px;
    max-width: 100%;
  }
  .solution-heading {
    font-size: 17px;
    margin-bottom: 14px;
  }
  .solution-card {
    flex-direction: column;
    max-height: none;
    border-radius: 16px;
  }
  .solution-card-text {
    padding: 20px 16px;
    order: 1;
  }
  .solution-card-text p {
    font-size: 13px;
    text-align: left;
    line-height: 1.55;
  }
  .solution-card-img {
    flex: none;
    max-width: 100%;
    width: 100%;
    order: 2;
    height: 220px;
  }
  .solution-card-img img {
    border-radius: 0 0 16px 16px;
    height: 100%;
  }

  /* --- Tree divider --- */
  .tree-divider { display: none; }

  /* --- Gallery carousel --- */
  .gallery-section {
    padding: 60px 0;
    background: url('figma/mobnew/gallery-bg-mobile.png') center / cover no-repeat #8DAB9E;
  }
  .gallery-inner { padding: 0 55px; }
  .gallery-viewport { aspect-ratio: 3/4; border-radius: 16px; }
  .gallery-arrow { width: 32px; height: 32px; font-size: 18px; }
  .gallery-arrow-left { left: 6px; }
  .gallery-arrow-right { right: 6px; }

  /* --- Services section (trees) --- */
  .services-section { overflow: visible; }
  .services-top {
    max-width: 100%;
    padding: 24px 20px 12px;
  }
  .services-title { font-size: 18px; }
  .services-tree-icon { display: none; }
  .services-bg-wrap {
    background-image: url('figma/mobnew/Mask group.png') !important;
    background-size: cover !important;
    background-position: center !important;
  }
  .services-content {
    padding: 20px 0 20px;
  }
  .services-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 8px 20px 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .services-card {
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 14px;
    align-items: center;
    box-sizing: border-box;
  }
  .services-card img {
    width: 150px;
    height: 105px;
    border-radius: 12px;
    flex-shrink: 0;
    object-fit: cover;
  }
  .services-card-label {
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .services-subtitle {
    font-size: 14px;
    padding: 8px 20px 20px;
    text-align: center;
    line-height: 1.55;
    max-width: 34ch;
    margin: 0 auto;
  }

  /* --- Catalog section --- */
  .catalog-section { padding: 30px 0 40px; }
  .catalog-inner {
    max-width: 100%;
    padding: 0 16px;
  }
  .catalog-top { margin-bottom: 12px; }
  .catalog-title { font-size: 17px; }
  .catalog-tree-icon { display: none; }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .catalog-photo {
    aspect-ratio: 1 / 1;
    border-radius: 10px;
  }
  .catalog-photo img {
    height: 100%;
  }
  .catalog-label {
    font-size: 11px;
    min-height: 32px;
    padding: 4px 10px;
  }
  .catalog-buy-btn { font-size: 13px; padding: 10px 22px; }
  .catalog-extra-title { font-size: 16px; margin-top: 24px; }
  .catalog-grid-extra {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* --- Carabiners mobile --- */
  .carabiner-wrap,
  .carabiner-wrap-99,
  .carabiner-wrap-98,
  .carabiner {
    display: none !important;
  }


  /* --- Rental section --- */
  .rental-bg-wrap { min-height: auto; }
  .rental-content {
    padding: 30px 16px;
    max-width: 100%;
  }
  .rental-title {
    font-size: 17px;
    text-align: left;
    align-self: flex-start;
    margin-bottom: 14px;
  }
  .rental-card {
    max-width: 100%;
    padding: 20px 16px;
    border-radius: 14px;
  }
  .rental-card p,
  .rental-card ol,
  .rental-card ol li { font-size: 13px; font-weight: 400; line-height: 1.65; }

  /* --- Rental2 section --- */
  .rental2-section { padding: 30px 0 40px; }
  .rental2-inner {
    max-width: 100%;
    padding: 0 20px;
  }
  .rental2-title {
    font-size: 17px;
    margin-bottom: 14px;
  }
  .rental2-cards {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
  }
  .rental2-card {
    flex: unset;
  }
  .rental2-card:nth-child(1) { order: 1; }
  .rental2-card:nth-child(2) { order: 5; grid-column: 1 / -1; justify-self: center; max-width: 70%; }
  .rental2-card:nth-child(3) { order: 2; }
  .rental2-card:nth-child(4) { order: 3; }
  .rental2-card:nth-child(5) { order: 4; }
  .rental2-card img {
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    flex: unset;
  }
  .rental2-label {
    font-size: 14px;
    font-weight: 400;
    min-height: unset;
  }
  .rental2-bottom {
    margin-top: 24px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .rental2-cta-text { font-size: 15px; text-align: center; line-height: 1.5; }
  .rental2-cta-btn {
    font-size: 14px;
    padding: 12px 24px;
    align-self: center;
    width: 100%;
    text-align: center;
    border-radius: 30px;
    background: rgba(255,255,255,0.5);
    border: 1.5px solid #8DAB9E;
  }

  /* --- Projects section --- */
  .projects-bg-wrap { }
  .projects-inner {
    max-width: 100%;
    padding: 0 55px;
  }
  .projects-top { margin-bottom: 12px; }
  .projects-title { font-size: 17px; text-align: center; }
  .projects-tree-icon { display: none; }
  .projects-viewport { border-radius: 16px; aspect-ratio: 3/4; }
  .projects-arrow { width: 32px; height: 32px; font-size: 18px; }
  .projects-subtitle { font-size: 13px; }

  /* --- Video section --- */
  .video-section { padding: 30px 0; }
  .video-top {
    max-width: 100%;
    padding: 0 16px 16px;
  }
  .video-title { font-size: 17px; }
  .video-tree-icon { display: none; }
  .video-inner {
    padding: 0 16px;
    max-width: 100%;
  }
  .video-player {
    max-width: min(55vw, 260px);
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
  }

  /* --- Quality section --- */
  .quality-section { padding: 30px 0 40px; }
  .quality-inner {
    max-width: 100%;
    padding: 0 clamp(20px, 5.6vw, 28px);
  }
  .quality-top { margin-bottom: 16px; }
  .quality-title { font-size: 17px; }
  .quality-tree-icon { display: none; }
  .quality-grid-wide {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(10px, 2.8vw, 14px);
    margin-bottom: 28px;
  }
  .quality-grid-wide img {
    height: clamp(150px, 41vw, 186px);
    border-radius: 10px;
  }
  .quality-subtitle { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
  .quality-gost { font-size: 11px; margin-bottom: 20px; }
  .quality-grid-square {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(10px, 2.8vw, 14px);
  }
  .quality-grid-square img {
    height: clamp(150px, 41vw, 186px);
    border-radius: 10px;
  }

  /* --- Contacts section --- */
  .contacts-section { padding: 24px 0 0; }
  .contacts-inner {
    max-width: 100%;
    padding: 0 16px;
  }
  .contacts-header {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
  }
  .contacts-title { font-size: 18px; }
  .contacts-phone-box {
    align-self: flex-end;
    padding: 8px 14px;
    border-radius: 8px;
  }
  .contacts-phone { font-size: 14px; }
  .contacts-city { font-size: 12px; }
  .contacts-qr-row {
    flex-direction: row;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: center;
  }
  .contacts-qr-card {
    padding: 8px;
    border-radius: 10px;
    flex: 1;
  }
  .contacts-qr-card img {
    width: 100%;
    height: auto;
  }
  .contacts-disclaimer-bar {
    padding: 10px 16px;
    margin-top: 16px;
  }
  .contacts-disclaimer {
    font-size: 10px;
    line-height: 1.5;
  }

  /* --- Scroll top button --- */
  .scroll-top {
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

} /* end @media 768px */

@media (max-width: 768px) and (min-height: 800px) {
  .hero-content {
    margin-top: clamp(42px, 7vh, 76px);
  }
}

@media (max-width: 330px) {
  .hero-overlay {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: calc(148px + env(safe-area-inset-bottom, 0px));
  }

  .hero-right {
    left: 16px;
    right: 16px;
    bottom: calc(48px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
  }

  .hero-contact-box {
    width: auto;
    max-width: 100%;
    align-self: flex-start;
  }

  .hero-icons {
    align-self: flex-end;
  }

  .services-cards {
    gap: 18px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .services-card {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .services-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .services-card-label {
    font-size: 15px;
    line-height: 1.3;
    overflow-wrap: normal;
  }
}

@media (max-width: 768px) and (max-height: 760px) {
  .hero-overlay {
    padding-top: calc(var(--header-h) + 22px);
    padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px));
  }

  .hero-text-1 {
    font-size: 11px;
    max-width: 100%;
    margin-bottom: 8px;
    line-height: 1.35;
  }

  .hero-title {
    font-size: clamp(20px, 8vw, 34px);
    margin-bottom: 4px;
    line-height: 1;
  }

  .hero-text-2 {
    font-size: 11px;
    margin-bottom: 8px;
    line-height: 1.35;
  }

  .hero-text-3 {
    font-size: 11px;
    line-height: 1.4;
  }

  .hero-btn {
    margin-top: 12px;
    padding: 10px 22px;
    font-size: 13px;
  }

  .hero-right {
    bottom: calc(44px + env(safe-area-inset-bottom, 0px));
  }

  .hero-contact-box {
    padding: 6px 10px;
  }

  .hero-phone {
    font-size: 10px;
  }

  .hero-city {
    font-size: 9px;
  }

  .hero-icon-btn {
    width: 32px;
    height: 32px;
  }

  .hero-arrow {
    width: 34px;
    height: 34px;
    font-size: 16px;
    bottom: 10px;
    right: 10px;
  }
}

@media (max-width: 768px) and (max-height: 680px) {
  .hero-overlay {
    padding-top: calc(var(--header-h) + 36px);
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  }

  .hero-arrow {
    display: none;
  }

  .hero-right {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}

/* ===== Mobile Slide Menu ===== */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2000;
}
.mobile-menu-overlay.active { display: flex; }

.mobile-menu-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  background: #AAC0B6;
  padding: 60px 30px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu-overlay.active .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-panel::before {
  content: 'СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ  СЕТКИ & ВЕРЕВКИ ';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  font-family: 'Cy Grotesk Grand', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: rgba(255,255,255,0.12);
  line-height: 1.4;
  word-break: break-all;
  pointer-events: none;
  overflow: hidden;
  padding: 20px;
}

.mobile-menu-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  color: #1a2a25;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 5;
}

.mobile-menu-link {
  font-family: 'Cy Grotesk Grand', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #1a2a25;
  text-decoration: none;
  transition: opacity 0.2s;
}
.mobile-menu-link:hover { opacity: 0.65; }


/* ============================================
   MID DESKTOP (1025px - 1400px)
   ============================================ */
@media (min-width: 1025px) and (max-width: 1400px) {
  .hero-title { font-size: clamp(44px, 4.5vw, 76px); }
  .hero-text-1 { font-size: 15px; }
  .hero-text-2 { font-size: 17px; }
  .hero-content { padding-right: clamp(360px, 32vw, 430px); }
  .hero-right {
    top: calc(var(--header-h) + 24px);
    right: 32px;
  }
  .hero-contact-box { padding: 10px 20px; }
  .hero-phone { font-size: 16px; }
  .hero-city { font-size: 13px; }

  .header-inner { padding: 16px 40px; gap: 40px; }

  .fun-inner,
  .pros-section,
  .solution-section,
  .services-top,
  .services-content,
  .catalog-inner,
  .rental-content,
  .rental2-inner,
  .projects-inner,
  .video-top,
  .video-inner,
  .quality-inner,
  .contacts-inner { padding-left: 40px; padding-right: 40px; }

  .fun-cards-row img { max-width: 250px; }
  .fun-cards-right img { max-width: 190px; }
}

@media (min-width: 1025px) and (max-width: 1400px) and (max-aspect-ratio: 5/4) {
  .hero-content { padding-right: clamp(390px, 35vw, 470px); }
  .hero-right { top: calc(var(--header-h) + 12px); }
}

@media (min-width: 1025px) and (max-aspect-ratio: 4/3) {
  .hero-text-1 {
    max-width: clamp(420px, 34ch, 560px);
  }
}

/* ============================================
   TABLET (769px - 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {

  .header-inner { padding: 14px 30px; gap: 30px; }
  .header-logo-img { width: 70px; }
  .header-nav a { font-size: 13px; }

  .hero {
    --header-h: 70px;
    height: 100vh;
    height: 100svh;
  }
  .hero-title { font-size: clamp(32px, 5vw, 56px); }
  .hero-text-1 { font-size: 14px; }

  .fun-inner { padding: 50px 30px 40px; }
  .fun-cards-row img { max-width: 220px; }
  .fun-cards-right img { max-width: 170px; }

  .pros-section, .solution-section {
    padding: 30px 30px 40px;
  }
  .pros-card, .solution-card { max-height: 380px; }

  .gallery-inner { padding: 0 30px; }

  .services-top { padding: 40px 30px 20px; }
  .services-cards { padding: 0 30px 30px; }
  .services-card img { width: 140px; height: 200px; }

  .catalog-inner { padding: 0 30px; }
  .catalog-grid { gap: 14px; }

  .rental-content { padding: 50px 30px; }
  .rental-card { max-width: 90%; }

  .rental2-inner { padding: 0 30px; }

  .projects-inner { padding: 0 30px; }
  .projects-viewport { aspect-ratio: 16/10; }

  .video-top, .video-inner { padding: 0 30px; }
  .video-player { max-width: min(55vw, 280px); aspect-ratio: 9 / 16; }

  .quality-inner { padding: 0 30px; }

  .contacts-inner { padding: 0 30px; }
  .contacts-qr-card img { width: 160px; height: 160px; }
}

/* ============================================
   SMALL DESKTOP (1025px - 1300px)
   ============================================ */
@media (min-width: 1025px) and (max-width: 1300px) {

  .header-inner { padding: 16px 40px; gap: 40px; }

  .fun-cards-row img { max-width: 240px; }
  .fun-cards-right img { max-width: 190px; }

  .pros-card, .solution-card { max-height: 400px; }

  .services-card img { width: 160px; height: 220px; }

  .contacts-qr-card img { width: 180px; height: 180px; }
}

/* ============================================
   VERY LARGE SCREENS (1800px+)
   ============================================ */
@media (min-width: 1800px) {
  .header-inner { max-width: 1800px; }
  .hero-title { font-size: 80px; }
  .hero-text-1, .hero-text-2, .hero-text-3 { font-size: 18px; }
}

/* --- Ensure no horizontal overflow --- */
html, body {
  overflow-x: hidden;
}
img {
  max-width: 100%;
}
