:root {
  color-scheme: light;
  --bg: #f7f3ee;
  --surface: rgba(255, 255, 255, 0.7);
  --text: #1f1f20;
  --muted: #5c5b5a;
  --accent: #333d33;
  --accent-soft: rgba(51, 61, 51, 0.1);
  --divider: #dfd8cf;
  --tile-1: linear-gradient(135deg, #fefefe, #e8e3da);
  --tile-2: linear-gradient(135deg, #efe9dd, #fdf8f1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 1000;
  font-weight: 600;
  border-radius: 0 0 4px 0;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 243, 238, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--divider);
  padding: 1rem clamp(1rem, 5vw, 6rem);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.nav-logo {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 200ms ease;
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 200ms ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 200ms ease;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::after {
  width: 100%;
}

/* Гамбургер-меню - скрыто на десктопе */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 102;
}

.menu-toggle-icon {
  display: flex;
  flex-direction: column;
  width: 24px;
  height: 18px;
  justify-content: space-between;
}

.menu-toggle-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Заголовок меню и кнопка закрытия - скрыты на десктопе */
.menu-header {
  display: none;
}

.menu-title {
  display: none;
}

.menu-close {
  display: none;
}

main {
  position: relative;
  padding-top: 0;
}

.screen {
  min-height: 100vh;
  padding: 6rem clamp(1rem, 5vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  position: relative;
}

.hero-screen {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-screen .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 2rem;
  max-width: 800px;
}

.hero-screen .hero-content h1 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 2rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0.5rem 0 1rem;
}

.hero-content .body {
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.6;
}

.eyebrow,
.subheading {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 15px 30px rgba(32, 40, 32, 0.25);
}

.btn.secondary {
  color: var(--accent);
  border-color: var(--accent);
  background: transparent;
}

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


.screen-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Manrope', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.divider {
  flex: 1;
  height: 1px;
  background: var(--divider);
}

.benefits-screen {
  gap: 3rem;
}

.benefits-description {
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.1rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  padding: 2rem 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(31, 31, 32, 0.08);
  box-shadow: 0 20px 40px rgba(31, 31, 32, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px rgba(31, 31, 32, 0.12);
}

.benefit-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 20px;
  filter: drop-shadow(0 4px 8px rgba(31, 31, 32, 0.1));
}

.benefit-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.split-screen,
.feature-grid,
.timeline-screen,
.glass-screen {
  gap: 3rem;
}

.split-screen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.benefits-grid-compact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  min-height: 320px;
}

.benefits-grid-compact .benefit-card {
  padding: 1.5rem 1rem;
}

.benefits-grid-compact .benefit-icon {
  width: 60px;
  height: 60px;
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.benefits-grid-compact .benefit-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.benefits-grid-compact .benefit-card p {
  font-size: 0.85rem;
}

.text-block h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  margin: 0 0 1rem;
}

.text-block p,
.text-block ul {
  color: var(--muted);
  line-height: 1.6;
}

.text-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.visual-block {
  min-height: 320px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  background: var(--accent-soft);
}

.visual-block.mosaic {
  display: grid;
  grid-template-areas:
    'large small'
    'large medium';
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.visual-block .tile {
  border-radius: 20px;
  background: var(--tile-1);
  filter: drop-shadow(0 20px 30px rgba(31, 31, 32, 0.1));
}

.visual-block .tile.small {
  grid-area: small;
  background: var(--tile-2);
}

.visual-block .tile.large {
  grid-area: large;
}

.visual-block .tile.medium {
  grid-area: medium;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-grid .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature-grid article {
  padding: 1.5rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(31, 31, 32, 0.05);
  box-shadow: 0 20px 40px rgba(31, 31, 32, 0.08);
}

.timeline-screen {
  align-items: center;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  gap: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--divider);
}

.timeline li {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(31, 31, 32, 0.1);
  display: grid;
  place-items: center;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(31, 31, 32, 0.08);
}

.glass-screen .spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.glass-screen article {
  padding: 1.2rem 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  text-align: center;
  font-weight: 600;
}

.booking-screen {
  width: 100%;
  background: var(--accent);
  padding: 6rem clamp(1rem, 5vw, 6rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
}

.booking-content {
  max-width: 700px;
  margin: 0 auto;
}

.booking-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 1.5rem;
  color: #fff;
  line-height: 1.2;
}

.booking-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0 0 2.5rem;
}

.btn.cta-btn {
  background: #fff;
  color: var(--accent);
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  background: #f5f5f5;
}

.dot-nav {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 10;
}

.dot-nav a {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  position: relative;
}

.dot-nav a::after {
  content: attr(data-label);
  position: absolute;
  right: 140%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(31, 31, 32, 0.85);
  color: #fff;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  font-size: 0.7rem;
  transition: opacity 200ms ease;
}

.dot-nav a:hover::after {
  opacity: 1;
}

@media (max-width: 900px) {
  .dot-nav {
    display: none;
  }

  .screen {
    padding: 4rem 1.5rem;
  }

  .timeline::before {
    left: 1rem;
  }

  .timeline li {
    align-items: flex-start;
  }

  .benefits-grid-compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  /* Показываем гамбургер на мобиле */
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Скрываем гамбургер, когда меню открыто */
  .header.menu-open .menu-toggle {
    display: none;
  }

  /* Скрываем обычное меню на мобиле */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: rgba(247, 243, 238, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 0;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 20px rgba(31, 31, 32, 0.1);
    z-index: 101;
    list-style: none;
    margin: 0;
  }

  /* Показываем меню когда открыто */
  .nav-menu.nav-menu-open {
    max-height: 100vh;
  }

  /* Показываем заголовок меню только когда меню открыто */
  .nav-menu.nav-menu-open .menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem clamp(1rem, 5vw, 6rem);
    border-bottom: 1px solid var(--divider);
    width: 100%;
  }

  .nav-menu.nav-menu-open .menu-title {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
  }

  .nav-menu.nav-menu-open .menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 2px solid var(--accent);
    color: var(--accent);
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    padding: 0;
    transition: all 0.2s ease;
  }

  .nav-menu.nav-menu-open .menu-close:hover,
  .nav-menu.nav-menu-open .menu-close:focus {
    background: var(--accent);
    color: #fff;
  }

  .nav-menu.nav-menu-open .menu-close span {
    display: block;
    margin-top: -2px;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--divider);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: block;
    padding: 1.25rem clamp(1rem, 5vw, 6rem);
    font-size: 1.1rem;
    width: 100%;
    text-align: left;
    color: var(--text);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link:focus {
    color: var(--accent);
    background: rgba(51, 61, 51, 0.05);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 0.75rem 1rem;
  }

  .nav {
    justify-content: space-between;
    align-items: center;
  }

  .nav-menu {
    width: 100%;
    right: -100%;
  }

  .cta-row {
    flex-direction: column;
  }

  .booking-screen {
    padding: 4rem 1.5rem;
  }

  .booking-content h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .booking-content p {
    margin-bottom: 2rem;
    font-size: 1rem;
  }

  .btn.cta-btn {
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .benefit-card {
    padding: 1.5rem 1rem;
  }

  .benefit-icon {
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
  }

  .benefits-grid-compact {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .benefits-grid-compact .benefit-card {
    padding: 1.25rem 1rem;
  }
}

.faq-screen {
  background: var(--bg);
}

.faq-content {
  max-width: 900px;
  margin: 0 auto;
}

.faq-content h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  padding: 1.5rem 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(31, 31, 32, 0.08);
  box-shadow: 0 20px 40px rgba(31, 31, 32, 0.08);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px rgba(31, 31, 32, 0.12);
}

.faq-question {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--text);
  line-height: 1.4;
}

.faq-answer {
  color: var(--muted);
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .faq-content h2 {
    margin-bottom: 2rem;
  }

  .faq-item {
    padding: 1.25rem 1.5rem;
  }

  .faq-question {
    font-size: 1.05rem;
  }
}

@media (max-width: 600px) {
  .faq-item {
    padding: 1rem 1.25rem;
  }

  .faq-question {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }
}

.footer {
  background: var(--bg);
  border-top: 1px solid var(--divider);
  padding: 2rem clamp(1rem, 5vw, 6rem);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 200ms ease;
}

.footer-link:hover {
  opacity: 0.7;
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
