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

:root {
  --cream: #FDF1D6;
  --cream-deep: #F7E6C0;
  --paper: #FFFAEC;
  --line: #E4D2AE;
  --ink: #1F1B16;
  --ink-soft: #5F5648;
  --ink-mute: #857A68;
  --terracotta: #EE6D3B;
  --terracotta-dark: #C9491D;
  --olive: #A6A952;
  --plum: #6E4C73;
  --teal: #418D91;
  --grass: #4E9A51;
  --sky: #4A90DC;
  --rose: #CC5C5C;
  --amber: #EFA522;
  --gradient: linear-gradient(135deg, #EE6D3B 0%, #C9491D 100%);
  --gradient-soft: linear-gradient(135deg, rgba(238, 109, 59, 0.14) 0%, rgba(110, 76, 115, 0.12) 100%);
  --font-head: 'Bitter', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 2px 10px rgba(31, 27, 22, 0.06);
  --shadow-md: 0 10px 30px rgba(31, 27, 22, 0.09);
  --shadow-lg: 0 24px 60px rgba(31, 27, 22, 0.14);
  --radius: 20px;
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.fixed {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
}

h2 {
  font-size: clamp(30px, 3.6vw, 44px);
}

h3 {
  font-size: 21px;
}

p + p {
  margin-top: 16px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

html.hide #preloader {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  padding: 17px 34px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #FFF7EC;
  box-shadow: 0 12px 26px rgba(201, 73, 29, 0.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(201, 73, 29, 0.36);
}

.btn-sm {
  padding: 13px 26px;
  font-size: 15px;
}

.section {
  position: relative;
  padding: 108px 0;
}

.section-paper {
  background: var(--paper);
}

.section-deep {
  background: var(--cream-deep);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-mute);
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  background: rgba(253, 241, 214, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#header.scrolled {
  background: rgba(253, 241, 214, 0.97);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  width: 42px;
  height: 42px;
}

.logo span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
  transition: width 0.28s ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  width: 100%;
}

.header-cta {
  flex-shrink: 0;
}

.burger-btn {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.burger-btn.act span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.burger-btn.act span:nth-child(2) {
  opacity: 0;
}

.burger-btn.act span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 890;
  background: var(--cream);
  padding: calc(var(--header-h) + 32px) 24px 48px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#mobile-menu.opened {
  opacity: 1;
  pointer-events: auto;
}

#mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#mobile-menu ul a {
  display: block;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

#mobile-menu .btn {
  margin-top: 32px;
  width: 100%;
}

.hero {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 96px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 109, 59, 0.16) 0%, rgba(238, 109, 59, 0) 68%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  left: -220px;
  bottom: -260px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(65, 141, 145, 0.14) 0%, rgba(65, 141, 145, 0) 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 26px;
}

.hero-content p {
  font-size: 18px;
  max-width: 560px;
}

.hero-actions {
  margin-top: 38px;
}

.hero .btn-primary {
  animation: levitate 3s ease-in-out infinite;
}

.hero .btn-primary:hover {
  animation-play-state: paused;
}

@keyframes levitate {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.shot {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.shot img {
  width: 100%;
  height: auto;
}

.hero-visual {
  position: relative;
  max-width: 400px;
  margin-inline: auto;
}

.hero-visual .shot {
  transform: rotate(1.6deg);
  transition: transform 0.5s ease;
}

.hero-visual .shot:hover {
  transform: rotate(0deg);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.split-reverse .split-visual {
  order: 2;
}

.split-visual {
  max-width: 380px;
  margin-inline: auto;
  width: 100%;
}

.split-visual .shot {
  transform: rotate(-1.8deg);
  transition: transform 0.5s ease;
}

.split-visual .shot:hover {
  transform: rotate(0deg);
}

.split-content p {
  font-size: 18px;
}

.split-content h2 {
  margin-bottom: 22px;
}

.lead {
  font-size: 19px;
  color: var(--ink-soft);
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.mode-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mode-card.accent-1 { --accent: var(--grass); }
.mode-card.accent-2 { --accent: var(--sky); }
.mode-card.accent-3 { --accent: var(--rose); }
.mode-card.accent-4 { --accent: var(--amber); }
.mode-card.accent-5 { --accent: var(--olive); }
.mode-card.accent-6 { --accent: var(--plum); }
.mode-card.accent-7 { --accent: var(--teal); }
.mode-card.accent-8 { --accent: var(--terracotta); }

.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent);
}

.mode-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.mode-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--accent);
  color: #FFF9EA;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 20px;
}

.mode-card h3 {
  margin-bottom: 10px;
}

.mode-card p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-mute);
}

.reasons {
  margin-top: 32px;
  display: grid;
  gap: 14px;
}

.reasons li {
  position: relative;
  padding-left: 40px;
  font-size: 17px;
  color: var(--ink-soft);
}

.reasons li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--gradient-soft);
  border: 1px solid rgba(238, 109, 59, 0.35);
}

.reasons li::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 11px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--terracotta-dark);
  border-bottom: 2px solid var(--terracotta-dark);
  transform: rotate(-45deg);
}

.reasons-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 34px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.detail-pill {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
}

.detail-pill dt {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 7px;
}

.detail-pill dd {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.cta-block {
  margin-top: 44px;
}

#footer {
  background: var(--ink);
  color: rgba(253, 241, 214, 0.72);
  padding: 76px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(253, 241, 214, 0.16);
}

.footer-brand .logo span {
  color: var(--cream);
}

.footer-brand p {
  margin-top: 20px;
  max-width: 440px;
  font-size: 16px;
}

.footer-nav h4 {
  color: var(--cream);
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}

.footer-nav ul a {
  font-size: 15.5px;
  transition: color 0.25s ease;
}

.footer-nav ul a:hover {
  color: var(--terracotta);
}

.footer-contact {
  margin-top: 26px;
  font-size: 15.5px;
}

.footer-contact a {
  color: var(--cream);
  border-bottom: 1px solid currentColor;
  transition: border-color 0.25s ease;
}

.footer-contact a:hover {
  border-bottom-color: transparent;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14.5px;
}

.footer-bottom nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-bottom a:hover {
  color: var(--terracotta);
}

.legal-page {
  padding: calc(var(--header-h) + 72px) 0 96px;
}

.legal-page h1 {
  font-size: clamp(32px, 4vw, 46px);
  margin-bottom: 12px;
}

.legal-intro {
  color: var(--ink-mute);
  font-size: 16px;
  margin-bottom: 40px;
}

.legal-content {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 52px 56px;
  box-shadow: var(--shadow-sm);
}

.legal-content h4 {
  font-size: 20px;
  margin: 34px 0 14px;
  color: var(--ink);
}

.legal-content h4:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 16.5px;
  margin-bottom: 14px;
}

.legal-content p + p {
  margin-top: 0;
}

.legal-content a {
  color: var(--terracotta-dark);
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  transition: border-color 0.25s ease;
}

.legal-content a:hover {
  border-bottom-color: transparent;
}

.legal-content strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-content ul {
  margin: 0 0 18px;
  display: grid;
  gap: 9px;
}

.legal-content li {
  position: relative;
  padding-left: 26px;
  font-size: 16.5px;
}

.legal-content li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--terracotta);
}

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

  .burger-btn {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .section {
    padding: 84px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-content p {
    margin-inline: auto;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .split-reverse .split-visual {
    order: 0;
  }

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

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 72px;
  }

  body {
    font-size: 16px;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding: calc(var(--header-h) + 52px) 0 72px;
  }

  .section-head {
    margin-bottom: 42px;
  }

  .legal-content {
    padding: 34px 26px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .logo span {
    font-size: 17px;
  }

  .logo img {
    width: 36px;
    height: 36px;
  }

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

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

  .footer-nav ul {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    padding: 16px 24px;
  }

  #mobile-menu ul a {
    font-size: 22px;
  }
}
