﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
  --text-main: rgba(255, 255, 255, 0.96);
  --text-soft: rgba(255, 255, 255, 0.88);
  --text-muted: rgba(255, 255, 255, 0.82);
  --line-soft: rgba(255, 255, 255, 0.30);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Arial, sans-serif;
  color: #fff;
  background: #333;
  overflow-x: hidden;
}

.photo-layer {
  position: fixed;
  inset: 0;
  background-image: url("kabina-desktop.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -3;
}

.overlay-layer {
  position: fixed;
  inset: 0;
  background: linear-gradient(rgba(60, 60, 60, 0.50), rgba(40, 40, 40, 0.60));
  z-index: -2;
}

.mobile-page,
.tablet-page,
.desktop-page {
  display: none;
}

.desktop-page {
  display: flex;
}

@media (orientation: portrait) and (max-width: 767px) {
  .photo-layer { background-image: url("kabina-mobile.jpg"); }
  .mobile-page { display: flex; }
  .tablet-page, .desktop-page { display: none; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .photo-layer { background-image: url("kabina-mobile.jpg"); background-position: 25% center; }
  .mobile-page { display: flex; }
  .tablet-page, .desktop-page { display: none; }
}

@media (orientation: portrait) and (min-width: 768px) and (max-width: 1100px) {
  .photo-layer { background-image: url("kabina-tablet.jpg"); }
  .tablet-page { display: flex; }
  .mobile-page, .desktop-page { display: none; }
}

@media (orientation: landscape) and (min-height: 501px) and (max-width: 1100px) {
  .photo-layer { background-image: url("kabina-tablet.jpg"); }
  .tablet-page { display: flex; }
  .mobile-page, .desktop-page { display: none; }
}

@media (min-width: 1101px) {
  .photo-layer { background-image: url("kabina-desktop.jpg"); }
  .desktop-page { display: flex; }
  .mobile-page, .tablet-page { display: none; }
}

.page {
  min-height: 200vh;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

ul {
  list-style: none;
}

.nowrap {
  white-space: nowrap;
}

.seo-text {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ========================= MOBILE ========================= */

.mobile-page .hero {
  min-height: 100svh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mobile-page .hero-inner {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-20px);
}

.mobile-page h3 {
  font-size: clamp(1.48rem, 5.9vw, 1.88rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 1px;
}

.mobile-page .titles {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
  margin-top: 0;
}

.mobile-page .info-block {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.20;
  color: var(--text-muted);
}

.mobile-page .info-block span {
  display: block;
}

.mobile-page .contact {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.20;
  color: var(--text-muted);
}

.mobile-page .contact a {
  color: inherit;
  text-decoration: none;
}

.mobile-page .contact a:hover,
.mobile-page .contact a:active {
  text-decoration: underline;
}

.mobile-page .portrait-layout { display: block; }
.mobile-page .landscape-layout { display: none; }

.mobile-page .scroll-indicator {
  position: absolute;
  bottom: calc(28px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 54px;
  background: var(--line-soft);
}

.mobile-page .scroll-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  animation: mobileScrollDotLine 2.3s infinite;
}

@keyframes mobileScrollDotLine {
  0%   { top: 0; opacity: 0; }
  20%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 46px; opacity: 0; }
}

@keyframes mobileScrollDotLineLandscape {
  0%   { top: 0; opacity: 0; }
  20%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 22px; opacity: 0; }
}

.mobile-page .services {
  min-height: 100vh;
  width: 88%;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
}

.mobile-page .services-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.mobile-page .col {
  width: 100%;
  max-width: 360px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
  transition: opacity 1.9s ease, transform 1.9s ease;
}

.mobile-page .col.col-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-page li {
  font-size: 1rem;
  line-height: 1.20;
  font-weight: 600;
}

@media (orientation: landscape) and (max-height: 500px) {
  .mobile-page .portrait-layout { display: none; }
  .mobile-page .landscape-layout { display: block; }

  .mobile-page .scroll-indicator { height: 28px; bottom: 20px; }
  .mobile-page .scroll-dot { width: 6px; height: 6px; animation: mobileScrollDotLineLandscape 2.3s infinite; }
  .mobile-page .titles { margin-top: -3px; }
  .mobile-page .hero-inner { transform: translateY(0); padding-bottom: 56px; }
  .mobile-page .info-block { font-size: 1rem; }
  .mobile-page .contact { font-size: 0.93rem; }

  .mobile-page .services-container {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
  }

  .mobile-page #mobile-left,
  .mobile-page #mobile-right {
    width: 48%;
    max-width: 220px;
  }

  .mobile-page #mobile-left { text-align: right; }
  .mobile-page #mobile-right { text-align: left; }
}

/* ========================= TABLET ========================= */

.tablet-page .hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 28px;
  width: 100%;
}

.tablet-page .hero-inner {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-22px);
}

.tablet-page h3 {
  font-size: clamp(2.3rem, 5.5vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: -6px;
}

.tablet-page .titles {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 500;
  color: var(--text-soft);
}

.tablet-page .info-block {
  margin-top: 16px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--text-muted);
}

.tablet-page .info-block span { display: block; }

.tablet-page .contact {
  margin-top: 16px;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--text-muted);
}

.tablet-page .contact a {
  color: inherit;
  text-decoration: none;
}

.tablet-page .contact a:hover,
.tablet-page .contact a:active {
  text-decoration: underline;
}

.tablet-page .scroll-indicator {
  position: absolute;
  bottom: calc(34px + env(safe-area-inset-bottom));
  width: 2px;
  height: 62px;
  background: var(--line-soft);
}

.tablet-page .scroll-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  animation: tabletScrollDotLine 2.3s infinite;
}

@keyframes tabletScrollDotLine {
  0%   { top: 0; opacity: 0; }
  20%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 52px; opacity: 0; }
}

.tablet-page .services {
  min-height: 100vh;
  width: 90%;
  max-width: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tablet-page .services-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 100%;
  transform: translateY(-10px);
}

.tablet-page .col {
  width: 100%;
  max-width: 520px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
  transition: opacity 1.9s ease, transform 1.9s ease;
}

.tablet-page .col.col-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tablet-page li {
  font-size: 1.2rem;
  line-height: 1.28;
  font-weight: 600;
}

@media (orientation: landscape) and (min-height: 501px) and (max-width: 1100px) {
  .tablet-page .hero-inner { transform: translateY(0); }

  .tablet-page .services-container {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 42px;
    align-items: flex-start;
    justify-content: center;
    transform: translateY(-12px);
  }

  .tablet-page #tablet-left,
  .tablet-page #tablet-right {
    width: 48%;
    max-width: 360px;
  }

  .tablet-page #tablet-left { text-align: right; }
  .tablet-page #tablet-right { text-align: left; }
}

/* ========================= DESKTOP ========================= */

.desktop-page .hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 32px;
  width: 100%;
}

.desktop-page .hero-inner {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.desktop-page h3 {
  font-size: clamp(2.0rem, 3.6vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.desktop-page .titles {
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  font-weight: 500;
  color: var(--text-soft);
}

.desktop-page .info-block {
  margin-top: 18px;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-muted);
}

.desktop-page .info-block span { display: block; }

.desktop-page .contact {
  margin-top: 18px;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-muted);
}

.desktop-page .contact a {
  color: inherit;
  text-decoration: none;
}

.desktop-page .contact a:hover,
.desktop-page .contact a:active {
  text-decoration: underline;
}

.desktop-page .scroll-indicator {
  position: absolute;
  bottom: 32px;
  width: 2px;
  height: 58px;
  background: var(--line-soft);
}

.desktop-page .scroll-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  animation: desktopScrollDotLine 2.3s infinite;
}

@keyframes desktopScrollDotLine {
  0%   { top: 0; opacity: 0; }
  20%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 50px; opacity: 0; }
}

.desktop-page .services {
  min-height: 100vh;
  width: 90%;
  max-width: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop-page .services-container {
  display: flex;
  flex-direction: row;
  gap: 36px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.desktop-page .col {
  width: 420px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);
  transition: opacity 1.9s ease, transform 1.9s ease;
}

.desktop-page .col.col-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.desktop-page #desktop-left { text-align: right; }
.desktop-page #desktop-right { text-align: left; }

.desktop-page li {
  font-size: 1em;
  line-height: 1.45;
  font-weight: 600;
}
  
visited,
hover,
focus {
 none !important;
or: inherit !important!
}

