/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Небесно-голубой французский фон, акценты под логотип (бирюза) */
  --color-cream: #E8F4F8;
  --color-warm-white: #F0F8FC;
  --color-peach: #B8DCE8;
  --color-peach-dark: #9BC9DB;
  --color-coral: #2D9D9D;
  --color-rose: #3DBDB8;
  --color-burgundy: #2A7A7A;
  --color-sage: #7BC4B8;
  --color-sage-light: #C5E8E2;
  --color-mint: #A8DDD6;
  
  --color-text: #1E3A3A;
  --color-text-soft: #2D5A5A;
  --color-text-muted: #5A7A7A;
  --color-border: #C5DDE0;
  
  --gradient-warm: linear-gradient(135deg, #9BC9DB 0%, #7BC4B8 50%, #2D9D9D 100%);
  --gradient-soft: linear-gradient(135deg, #E8F4F8 0%, #D4EDF5 100%);
  --gradient-hero: linear-gradient(135deg, #2A7A7A 0%, #2D9D9D 50%, #3DBDB8 100%);
  
  --shadow-soft: 0 4px 20px rgba(45, 157, 157, 0.12);
  --shadow-medium: 0 8px 30px rgba(45, 157, 157, 0.15);
  --shadow-large: 0 20px 60px rgba(45, 157, 157, 0.18);
  --shadow-glow: 0 0 40px rgba(61, 189, 184, 0.25);
  
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --header-height: 80px;
  --bg-header: rgba(232, 244, 248, 0.92);
  --bg-card: #ffffff;
  --bg-footer: #ffffff;
  --bg-nav-mobile: #ffffff;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--color-cream);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Animated background blobs */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  z-index: -1;
  animation: float 20s ease-in-out infinite;
}

body::before {
  width: 600px;
  height: 600px;
  background: var(--color-peach);
  top: -200px;
  right: -200px;
}

body::after {
  width: 500px;
  height: 500px;
  background: var(--color-sage-light);
  bottom: -150px;
  left: -150px;
  animation-delay: -10s;
}

/* Декоративная лоза с детьми вместо цветов + надписи по бокам */
.side-vine {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 120px;
  max-width: 18vw;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

/* Лоза: кривая утолщённая + детские силуэты, контрастный цвет */
.side-vine--left {
  left: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 1200' fill='none'%3E%3Cpath d='M85 0 Q25 120 55 250 T35 420 Q5 520 55 620 T25 820 Q55 920 15 1100' stroke='%231E5A5A' stroke-width='5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cg fill='%232A7A7A' opacity='0.95'%3E%3Ccircle cx='30' cy='198' r='8'/%3E%3Cellipse cx='30' cy='218' rx='6' ry='10'/%3E%3Ccircle cx='26' cy='196' r='1.5' fill='%231E3A3A'/%3E%3C/g%3E%3Cg fill='%232D9D9D' opacity='0.95'%3E%3Ccircle cx='70' cy='398' r='9'/%3E%3Cellipse cx='70' cy='422' rx='7' ry='11'/%3E%3Ccircle cx='66' cy='396' r='1.5' fill='%231E3A3A'/%3E%3C/g%3E%3Cg fill='%231E5A5A' opacity='0.95'%3E%3Ccircle cx='38' cy='598' r='7'/%3E%3Cellipse cx='38' cy='618' rx='5' ry='9'/%3E%3Ccircle cx='35' cy='596' r='1.2' fill='%231E3A3A'/%3E%3C/g%3E%3Cg fill='%232A7A7A' opacity='0.95'%3E%3Ccircle cx='72' cy='798' r='8'/%3E%3Cellipse cx='72' cy='818' rx='6' ry='10'/%3E%3Ccircle cx='69' cy='796' r='1.5' fill='%231E3A3A'/%3E%3C/g%3E%3Cpath d='M48 130 Q28 150 42 172' stroke='%231E5A5A' stroke-width='3' fill='none'/%3E%3Cpath d='M58 330 Q78 348 62 368' stroke='%232D9D9D' stroke-width='3' fill='none'/%3E%3Cpath d='M42 530 Q22 548 36 568' stroke='%231E5A5A' stroke-width='3' fill='none'/%3E%3Cpath d='M68 730 Q88 748 72 768' stroke='%232A7A7A' stroke-width='3' fill='none'/%3E%3C/svg%3E") top center repeat-y;
  background-size: 100% auto;
}

.side-vine--right {
  right: 0;
  transform: scaleX(-1);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 1200' fill='none'%3E%3Cpath d='M85 0 Q25 120 55 250 T35 420 Q5 520 55 620 T25 820 Q55 920 15 1100' stroke='%231E5A5A' stroke-width='5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cg fill='%232A7A7A' opacity='0.95'%3E%3Ccircle cx='30' cy='198' r='8'/%3E%3Cellipse cx='30' cy='218' rx='6' ry='10'/%3E%3Ccircle cx='26' cy='196' r='1.5' fill='%231E3A3A'/%3E%3C/g%3E%3Cg fill='%232D9D9D' opacity='0.95'%3E%3Ccircle cx='70' cy='398' r='9'/%3E%3Cellipse cx='70' cy='422' rx='7' ry='11'/%3E%3Ccircle cx='66' cy='396' r='1.5' fill='%231E3A3A'/%3E%3C/g%3E%3Cg fill='%231E5A5A' opacity='0.95'%3E%3Ccircle cx='38' cy='598' r='7'/%3E%3Cellipse cx='38' cy='618' rx='5' ry='9'/%3E%3Ccircle cx='35' cy='596' r='1.2' fill='%231E3A3A'/%3E%3C/g%3E%3Cg fill='%232A7A7A' opacity='0.95'%3E%3Ccircle cx='72' cy='798' r='8'/%3E%3Cellipse cx='72' cy='818' rx='6' ry='10'/%3E%3Ccircle cx='69' cy='796' r='1.5' fill='%231E3A3A'/%3E%3C/g%3E%3Cpath d='M48 130 Q28 150 42 172' stroke='%231E5A5A' stroke-width='3' fill='none'/%3E%3Cpath d='M58 330 Q78 348 62 368' stroke='%232D9D9D' stroke-width='3' fill='none'/%3E%3Cpath d='M42 530 Q22 548 36 568' stroke='%231E5A5A' stroke-width='3' fill='none'/%3E%3Cpath d='M68 730 Q88 748 72 768' stroke='%232A7A7A' stroke-width='3' fill='none'/%3E%3C/svg%3E") top center repeat-y;
  background-size: 100% auto;
}

/* Надписи по бокам: «Дети — цветы жизни» */
.side-quote {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(0.85rem, 1.8vw, 1.1rem);
  font-weight: 500;
  color: var(--color-coral);
  opacity: 0.55;
  letter-spacing: 0.15em;
  line-height: 1.8;
  padding: 1rem 0;
}

.side-quote--left {
  left: 2rem;
  transform: translateY(-50%) rotate(180deg);
}

.side-quote--right {
  right: 2rem;
  transform: translateY(-50%) rotate(-180deg);
}

@media (max-width: 900px) {
  .side-vine {
    width: 60px;
    opacity: 0.55;
  }
  .side-quote {
    font-size: 0.75rem;
    left: 0.6rem;
    opacity: 0.45;
  }
  .side-quote--right {
    right: 0.6rem;
  }
}

@media (max-width: 600px) {
  .side-vine {
    width: 40px;
    opacity: 0.5;
  }
  .side-quote {
    display: none;
  }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, 30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(-30px, -30px) scale(1.02); }
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

/* ========== LAYOUT ========== */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

main {
  flex: 1;
}

.section-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

/* Отступ для контента под sticky header */
.tab-section {
  min-height: calc(100vh - var(--header-height));
}

.tab-section:not(#home) {
  padding-top: 1.5rem;
}

.tab-section:not(#home) .section-header {
  padding-top: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-warm);
  border-radius: 2px;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-kicker {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ========== HEADER ========== */
.site-header {
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 2rem;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-smooth), border-color var(--transition-smooth);
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-image {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
  border: 3px solid white;
  transition: var(--transition-bounce);
}

.logo-image:hover {
  transform: scale(1.05) rotate(-3deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.logo-tagline {
  font-size: 0.8rem;
  color: var(--color-coral);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  gap: 0.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-soft);
  transition: var(--transition-smooth);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  background: transparent;
}

.nav-link:hover {
  color: var(--color-rose);
  background: rgba(255, 205, 178, 0.2);
}

.nav-link.active {
  color: white;
  background: var(--gradient-hero);
  box-shadow: 0 4px 15px rgba(181, 131, 141, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.nav-toggle span {
  width: 22px;
  height: 2.5px;
  background: var(--color-coral);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .site-header {
    padding: 0.75rem 1.5rem;
  }
  
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    background: var(--bg-nav-mobile);
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    box-shadow: var(--shadow-large);
    border-radius: var(--radius-md);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: var(--transition-smooth);
  }

  .main-nav.open {
    max-height: 400px;
    opacity: 1;
  }

  .nav-link {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
  }
}

/* ========== TABS ========== */
.tab-section {
  display: none;
  animation: fadeInUp 0.6s ease-out;
}

.tab-section.active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== HERO ========== */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - 100px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-coral);
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(255, 205, 178, 0.3) 0%, rgba(255, 180, 162, 0.3) 100%);
  border-radius: 999px;
  width: fit-content;
}

.hero-kicker::before {
  content: '✦';
  font-size: 0.75rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title br {
  display: block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-bounce);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn.primary {
  background: var(--gradient-hero);
  color: white;
  box-shadow: var(--shadow-medium), 0 4px 15px rgba(181, 131, 141, 0.4);
}

.btn.primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
}

.btn.primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-large), 0 8px 25px rgba(181, 131, 141, 0.5);
}

.btn.primary:active {
  transform: translateY(-2px) scale(0.98);
}

.btn.ghost {
  background: var(--bg-card);
  color: var(--color-text);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.btn.ghost:hover {
  border-color: var(--color-coral);
  color: var(--color-rose);
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.btn.wide {
  width: 100%;
  max-width: 400px;
}

.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-highlights li {
  padding-left: 2rem;
  position: relative;
  color: var(--color-text-soft);
  font-weight: 500;
}

.hero-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  width: 24px;
  height: 24px;
  background: var(--color-sage-light);
  color: var(--color-sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  top: 50%;
  transform: translateY(-50%);
}

/* Hero Visual Card */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--color-peach);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.hero-card {
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: white;
  box-shadow: var(--shadow-large), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.hero-card::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  bottom: -50px;
  left: -50px;
}

.hero-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-card-inner {
  position: relative;
  z-index: 1;
}

.hero-name {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.hero-role {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-phrase {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.95;
  font-style: italic;
}

.hero-card-row {
  display: flex;
  align-items: stretch;
  gap: 1rem;
}

.hero-photo {
  flex: 0 0 auto;
  width: min(280px, 100%);
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 3px solid rgba(255, 255, 255, 0.5);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-medium);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: var(--transition-bounce);
  border: 1px solid var(--color-border);
}

.stat:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 1.5rem;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-visual {
    order: -1;
  }
}

/* ========== GALLERY ========== */
.gallery-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.gallery-section > * {
  position: relative;
  z-index: 1;
}

.gallery-section .section-header {
  margin-bottom: 3rem;
}

.gallery-section .section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-bounce);
  position: relative;
  aspect-ratio: 1;
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(109, 104, 117, 0.4) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 1;
}

.gallery-item:hover {
  box-shadow: var(--shadow-large);
  transform: translateY(-8px) scale(1.02);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* ========== CTA BOT SECTION ========== */
.cta-bot-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.cta-bot-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 4rem;
  box-shadow: var(--shadow-large);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-bot-card::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--color-sage-light);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  top: -200px;
  right: -200px;
}

.cta-bot-text {
  position: relative;
  z-index: 1;
}

.cta-bot-text h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.cta-bot-text p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.cta-bot-list {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-bot-list li {
  padding-left: 2.5rem;
  position: relative;
  color: var(--color-text-soft);
  font-weight: 500;
}

.cta-bot-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  background: var(--color-peach);
  color: var(--color-rose);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  top: 50%;
  transform: translateY(-50%);
}

.cta-bot-visual {
  position: relative;
  z-index: 1;
}

.bot-badge {
  position: absolute;
  top: -0.75rem;
  right: 1.5rem;
  background: var(--gradient-hero);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-medium);
  z-index: 10;
}

.bot-screen {
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-warm-white) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.bot-bubble {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  max-width: 85%;
  font-size: 0.95rem;
  line-height: 1.6;
  animation: bubbleIn 0.5s ease-out backwards;
}

.bot-bubble:nth-child(1) { animation-delay: 0.1s; }
.bot-bubble:nth-child(2) { animation-delay: 0.3s; }
.bot-bubble:nth-child(3) { animation-delay: 0.5s; }

@keyframes bubbleIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bot-bubble--left {
  background: var(--bg-card);
  color: var(--color-text);
  align-self: flex-start;
  box-shadow: var(--shadow-soft);
  border-bottom-left-radius: 6px;
}

.bot-bubble--right {
  background: var(--gradient-hero);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 6px;
}

@media (max-width: 968px) {
  .cta-bot-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
  }
}

/* ========== ABOUT ========== */
#about {
  padding-top: 2rem;
}

#about .section-layout {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  margin: 0 auto 2rem;
  max-width: calc(1200px - 4rem);
  box-shadow: var(--shadow-large);
}

.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 640px;
}

.about-text p {
  font-family: "Times New Roman", Times, serif;
  font-size: 1.1rem; /* ≈17.5px на десктопе */
  line-height: 1.9;
  color: var(--color-text-soft);
  text-align: justify;
}

.about-text p:first-child::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  float: left;
  line-height: 1;
  margin-right: 0.75rem;
  margin-top: 0.1rem;
  color: var(--color-rose);
}

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tag-card {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.tag-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.tag-card--light {
  background: linear-gradient(135deg, rgba(255, 205, 178, 0.2) 0%, rgba(255, 180, 162, 0.2) 100%);
  border: none;
}

.tag-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.about-certificates {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.certificate-item img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.22);
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-item img:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

@media (max-width: 768px) {
  .about-certificates {
    grid-template-columns: 1fr;
  }
}

.tag-card ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tag-card li {
  padding-left: 1.75rem;
  position: relative;
  color: var(--color-text-soft);
  font-size: 1rem;
  line-height: 1.6;
}

.tag-card li::before {
  content: "♥";
  position: absolute;
  left: 0;
  color: var(--color-coral);
  font-size: 0.875rem;
}

.tag-card p {
  color: var(--color-text-soft);
  line-height: 1.8;
}

@media (max-width: 1200px) {
  #about .section-layout {
    margin: 0 1rem 1rem;
    padding: 3rem 1.5rem;
    border-radius: var(--radius-lg);
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ========== BLOG ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-bounce);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  box-shadow: var(--shadow-large);
  transform: translateY(-8px);
}

.blog-card:hover::before {
  transform: scaleX(1);
}

.blog-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--color-text);
  line-height: 1.3;
}

.blog-card p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.blog-meta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-coral);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-meta::before {
  content: '✦';
  font-size: 0.75rem;
}

@media (max-width: 968px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}


/* ========== SOCIAL STORIES ========== */
.social-stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.social-story-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-border);
  transition: var(--transition-bounce);
}

.social-story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.story-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-border);
}

.story-avatar {
  width: 56px;
  height: 56px;
  background: var(--gradient-hero);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  flex-shrink: 0;
}

.story-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
  color: var(--color-text);
}

.story-age {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.story-tag {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(255, 205, 178, 0.3) 0%, rgba(255, 180, 162, 0.3) 100%);
  color: var(--color-rose);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.story-situation,
.story-helper,
.story-strategy,
.story-content,
.story-steps,
.story-reward,
.story-tips {
  margin-bottom: 1.5rem;
}

.story-situation h4,
.story-helper h4,
.story-strategy h4,
.story-content h4,
.story-steps h4,
.story-reward h4,
.story-tips h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.story-situation h4::before { content: '📋'; }
.story-helper h4::before { content: '🤝'; }
.story-strategy h4::before { content: '🎯'; }
.story-content h4::before { content: '📖'; }
.story-steps h4::before { content: '👣'; }
.story-reward h4::before { content: '🏆'; }
.story-tips h4::before { content: '💡'; }

.story-situation p,
.story-helper p {
  color: var(--color-text-soft);
  line-height: 1.8;
  font-size: 0.95rem;
}

.story-strategy ul,
.story-tips ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.story-strategy li,
.story-tips li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.story-strategy li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-sage);
  font-weight: bold;
}

.story-tips li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-coral);
  font-weight: bold;
}

.story-text {
  background: linear-gradient(135deg, var(--color-cream) 0%, rgba(255, 229, 217, 0.5) 100%);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 4px solid var(--color-peach);
}

.story-text p {
  color: var(--color-text-soft);
  line-height: 1.9;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.story-text p:last-child {
  margin-bottom: 0;
}

.story-text p strong {
  color: var(--color-text);
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.story-steps ol {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.story-steps li {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

.step-num {
  width: 28px;
  height: 28px;
  background: var(--gradient-warm);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.reward-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.reward-item {
  background: var(--color-cream);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: var(--transition-fast);
}

.reward-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.reward-icon {
  font-size: 1.5rem;
}

.reward-item span:nth-child(2) {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.85rem;
}

.reward-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.social-story-card .blog-meta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 1100px) {
  .social-stories-grid {
    grid-template-columns: 1fr;
  }
  
  .reward-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .story-header {
    flex-wrap: wrap;
  }
  
  .story-tag {
    margin-left: 0;
    margin-top: 0.5rem;
  }
  
  .reward-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========== CASHIER ========== */
.cashier-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.cashier-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 120px;
  height: fit-content;
}

.cashier-info > p {
  color: var(--color-text-soft);
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Payment Form Card */
.payment-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-border);
}

.payment-form-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.payment-form-card > p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.payment-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-soft);
}

.amount-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.amount-input {
  width: 100%;
  padding: 1rem 1.25rem;
  padding-right: 4rem;
  font-size: 1.25rem;
  font-weight: 600;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-cream);
  color: var(--color-text);
  transition: var(--transition-fast);
  font-family: inherit;
}

.amount-input:focus {
  outline: none;
  border-color: var(--color-coral);
  background: var(--bg-card);
  box-shadow: 0 0 0 4px rgba(229, 152, 155, 0.15);
}

.amount-input::placeholder {
  color: var(--color-text-muted);
  font-weight: 400;
}

.currency-label {
  position: absolute;
  right: 1.25rem;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.payment-select {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-cream);
  color: var(--color-text);
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: inherit;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='%237A7A7A'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.payment-select:focus {
  outline: none;
  border-color: var(--color-coral);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(229, 152, 155, 0.15);
}

.payment-form .btn {
  margin-top: 0.5rem;
}

.payment-form .btn svg {
  flex-shrink: 0;
}

.payment-info-box {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.info-icon {
  font-size: 1.1rem;
}

.alternative-payment {
  padding: 1.5rem;
  background: var(--color-cream);
  border-radius: var(--radius-md);
  text-align: center;
}

.alternative-payment p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Remove spinners from number input */
.amount-input::-webkit-outer-spin-button,
.amount-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.amount-input[type=number] {
  -moz-appearance: textfield;
}

.offer-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-border);
}

.offer-wrapper h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-border);
}

.offer-box {
  max-height: 500px;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  padding-right: 1rem;
}

.offer-box::-webkit-scrollbar {
  width: 6px;
}

.offer-box::-webkit-scrollbar-track {
  background: var(--color-cream);
  border-radius: 3px;
}

.offer-box::-webkit-scrollbar-thumb {
  background: var(--color-peach);
  border-radius: 3px;
}

.offer-box p {
  margin-bottom: 1rem;
}

.offer-box strong {
  color: var(--color-text);
  font-weight: 600;
}

/* Payment Methods */
.payment-methods {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.payment-title {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.payment-card {
  width: 56px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: var(--transition-fast);
  cursor: default;
}

.payment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.payment-card svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 968px) {
  .cashier-layout {
    grid-template-columns: 1fr;
  }
  
  .cashier-info {
    position: static;
    gap: 1.25rem;
  }
  
  .cashier-info > p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

/* ========== PAYMENT MODAL ========== */
.payment-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.payment-modal-overlay.active {
  opacity: 1;
}

.payment-modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  width: calc(100% - 2rem);
  max-width: 440px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-large);
  margin: auto;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.payment-modal-overlay.active .payment-modal {
  transform: scale(1) translateY(0);
}

.payment-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-cream);
  border: none;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-modal-close:hover {
  background: var(--color-peach);
  color: var(--color-rose);
  transform: rotate(90deg);
}

.payment-modal-header {
  text-align: center;
  margin-bottom: 1rem;
}

.payment-modal-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  color: white;
}

.payment-modal-icon svg {
  width: 32px;
  height: 32px;
}

.payment-modal-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--color-text);
}

.payment-modal-amount {
  text-align: center;
  margin-bottom: 0.25rem;
}

.amount-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.amount-currency {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-left: 0.5rem;
}

.payment-modal-desc {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.payment-modal-methods {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.payment-method-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition-bounce);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.payment-method-btn.primary {
  background: var(--gradient-hero);
  color: white;
  box-shadow: var(--shadow-medium);
}

.payment-method-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-large);
}

.payment-method-btn.secondary {
  background: var(--color-cream);
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.payment-method-btn.secondary:hover {
  border-color: var(--color-coral);
  color: var(--color-rose);
}

.payment-method-btn.secondary.copied {
  background: var(--color-sage-light);
  border-color: var(--color-sage);
  color: var(--color-sage);
}

.payment-modal-info {
  background: var(--color-cream);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.85rem;
}

.info-row:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}

.info-row span {
  color: var(--color-text-muted);
}

.info-row strong {
  color: var(--color-text);
  font-weight: 600;
  text-align: right;
  max-width: 60%;
}

.payment-modal-footer {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.payment-modal-footer p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-rose);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.telegram-link:hover {
  color: var(--color-coral);
}

/* Contract Modal Styles */
.payment-modal--contract {
  max-width: 520px;
}

.contract-scroll-box {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--color-text-soft);
  position: relative;
}

.contract-scroll-box p {
  margin-bottom: 0.75rem;
}

.contract-scroll-box p:last-of-type {
  margin-bottom: 2rem;
}

.contract-scroll-box strong {
  color: var(--color-text);
  display: block;
  margin-top: 1rem;
}

.scroll-indicator {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0.5rem;
  background: linear-gradient(to top, var(--color-cream) 60%, transparent);
  color: var(--color-coral);
  font-weight: 600;
  font-size: 0.75rem;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.contract-agree {
  margin-bottom: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: not-allowed;
  opacity: 0.5;
  transition: var(--transition-fast);
}

.checkbox-label.enabled {
  cursor: pointer;
  opacity: 1;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid var(--color-border);
  border-radius: 6px;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.checkbox-label.enabled .checkmark {
  border-color: var(--color-coral);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--gradient-hero);
  border-color: var(--color-rose);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.checkbox-text {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  line-height: 1.4;
}

.payment-method-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: auto;
  background: #ccc;
  box-shadow: none;
}

.payment-method-btn.disabled:hover {
  transform: none;
}

/* Payment Notification */
.payment-notification {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.payment-notification.fade-out {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.payment-notification--error {
  background: #FEE2E2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

.payment-notification--success {
  background: #D1FAE5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.payment-notification--info {
  background: var(--color-cream);
  color: var(--color-text-soft);
  border: 1px solid var(--color-border);
}

.notification-icon {
  font-size: 1.1rem;
}

/* Spinner animation */
.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 500px) {
  .payment-modal-overlay {
    padding: 0.75rem;
    align-items: center;
    justify-content: center;
  }
  
  .payment-modal {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    max-height: calc(100vh - 1.5rem);
    width: calc(100% - 1.5rem);
    max-width: none;
    margin: 0 auto;
  }
  
  .payment-modal--contract {
    width: calc(100% - 1.5rem);
    max-width: none;
  }
  
  .payment-modal-close {
    width: 32px;
    height: 32px;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 1rem;
  }
  
  .payment-modal-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.5rem;
  }
  
  .payment-modal-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .amount-value {
    font-size: 2rem;
  }
  
  .amount-currency {
    font-size: 1rem;
  }
  
  .payment-modal-header h3 {
    font-size: 1.1rem;
  }
  
  .payment-modal-desc {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  
  .contract-scroll-box {
    max-height: 150px;
    padding: 0.75rem;
    font-size: 0.75rem;
  }
  
  .contract-agree {
    margin-bottom: 0.75rem;
  }
  
  .checkbox-label {
    gap: 0.5rem;
  }
  
  .checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }
  
  .checkbox-text {
    font-size: 0.8rem;
  }
  
  .payment-method-btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  
  .payment-method-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .payment-modal-info {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .info-row {
    font-size: 0.75rem;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.3rem 0;
  }
  
  .info-row strong {
    max-width: 100%;
    font-size: 0.75rem;
  }
  
  .payment-modal-footer {
    padding-top: 0.75rem;
  }
  
  .payment-modal-footer p {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
  }
  
  .telegram-link {
    font-size: 0.8rem;
  }
  
  .telegram-link svg {
    width: 16px;
    height: 16px;
  }
  
  .scroll-indicator {
    font-size: 0.7rem;
    padding: 0.4rem;
  }
}

/* iPhone XR, 11, 12, 13, 14 (414px - 430px) */
@media (max-width: 430px) and (min-width: 400px) {
  .payment-modal-overlay {
    padding: 0.5rem;
  }
  
  .payment-modal {
    width: calc(100% - 1rem);
    padding: 1.25rem;
    margin: 0 auto;
  }
  
  .contract-scroll-box {
    max-height: 140px;
  }
}

@media (max-width: 360px) {
  .payment-modal-overlay {
    padding: 0.5rem;
  }
  
  .payment-modal {
    padding: 1rem;
    width: calc(100% - 1rem);
  }
  
  .amount-value {
    font-size: 1.75rem;
  }
  
  .contract-scroll-box {
    max-height: 120px;
  }
  
  .payment-method-btn {
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
    gap: 0.4rem;
  }
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.footer-about p {
  color: var(--color-text-muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  color: var(--color-text-soft);
  transition: var(--transition-fast);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-peach);
  border-radius: 50%;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-rose);
}

.footer-link:hover::before {
  background: var(--color-coral);
  transform: scale(1.5);
}

.footer-contact p {
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.footer-telegram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  background: var(--gradient-hero);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-soft);
}

.footer-telegram:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

/* Developer Block */
.footer-developer {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 1.5rem 2rem;
  background: var(--color-cream);
  border-radius: var(--radius-md);
  text-align: center;
}

.developer-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.developer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.developer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--gradient-hero);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-soft);
}

.developer-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-meta {
  font-style: italic;
  color: var(--color-text-muted);
}

.footer-meta a {
  color: var(--color-coral);
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-meta a:hover {
  color: var(--color-rose);
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-developer {
    padding: 1.25rem 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* ========== ANIMATIONS & EFFECTS ========== */
@media (prefers-reduced-motion: no-preference) {
  .hero-card {
    animation: cardFloat 6s ease-in-out infinite;
  }
  
  @keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  .stat {
    animation: statPulse 4s ease-in-out infinite;
  }
  
  .stat:nth-child(2) {
    animation-delay: -2s;
  }
  
  @keyframes statPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }
}

/* Smooth scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--color-peach) var(--color-cream);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--color-peach), var(--color-coral));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--color-coral), var(--color-rose));
}

/* Selection */
::selection {
  background: var(--color-peach);
  color: var(--color-text);
}

/* ========== MOBILE STYLES ========== */
/* Все мобильные стили вынесены в отдельный файл mobile.css */
/* Этот файл содержит только десктопные стили */

/* ========== COMPREHENSIVE MOBILE OPTIMIZATION ========== */
/* ВНИМАНИЕ: Мобильные стили теперь в mobile.css */

/* Large tablets (1024px and below) */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem;
    min-height: auto;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .cta-bot-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cashier-layout {
    grid-template-columns: 1fr;
  }
  
  .social-stories-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
  :root {
    --header-height: 65px;
  }
  
  /* Header */
  .site-header {
    padding: 0.6rem 0.75rem;
  }
  
  .logo-image {
    width: 44px;
    height: 44px;
  }
  
  .logo-name {
    font-size: 1.15rem;
  }
  
  .logo-tagline {
    font-size: 0.65rem;
  }
  
  /* Hero */
  .hero {
    padding: 1.5rem 0.75rem;
  }
  
  .hero-title {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  .hero-kicker {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
    margin-bottom: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .hero-highlights {
    gap: 0.6rem;
  }
  
  .hero-highlights li {
    font-size: 0.85rem;
    padding-left: 1.75rem;
  }
  
  .hero-highlights li::before {
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
  }
  
  .hero-card {
    padding: 1.5rem;
  }
  
  .hero-name {
    font-size: 1.75rem;
  }
  
  .hero-role {
    font-size: 0.85rem;
  }
  
  .hero-phrase {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  
  .stat {
    padding: 1rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  .stat-value {
    font-size: 1.35rem;
  }
  
  .stat-note {
    font-size: 0.7rem;
  }
  
  /* Gallery */
  .gallery-section {
    padding: 2rem 0.75rem;
  }
  
  .gallery-section .section-header {
    margin-bottom: 1.5rem;
  }
  
  .gallery-section .section-header h2 {
    font-size: 1.4rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  
  /* CTA Bot */
  .cta-bot-section {
    padding: 2rem 0.75rem;
  }
  
  .cta-bot-card {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    gap: 1.5rem;
  }
  
  .cta-bot-text h2 {
    font-size: 1.3rem;
    margin-bottom: 0.875rem;
  }
  
  .cta-bot-text p {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
  }
  
  .cta-bot-list {
    margin-bottom: 1.5rem;
    gap: 0.6rem;
  }
  
  .cta-bot-list li {
    font-size: 0.85rem;
    padding-left: 2rem;
  }
  
  .cta-bot-list li::before {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
  
  .bot-screen {
    padding: 1rem;
  }
  
  .bot-bubble {
    font-size: 0.8rem;
    padding: 0.65rem 0.875rem;
    line-height: 1.5;
  }
  
  /* Section layouts */
  .section-layout {
    padding: 1.5rem 0.75rem 2rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .section-kicker {
    font-size: 0.9rem;
  }
  
  /* About */
  #about .section-layout {
    margin: 0 0.5rem 0.75rem;
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
  }
  
  .about-content {
    gap: 1.5rem;
  }
  
  .about-text p {
    font-size: 0.9rem;
    line-height: 1.7;
  }
  
  .about-text p:first-child::first-letter {
    font-size: 2.5rem;
    margin-right: 0.5rem;
  }
  
  .tag-card {
    padding: 1.25rem;
  }
  
  .tag-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .tag-card li {
    font-size: 0.9rem;
    padding-left: 1.5rem;
  }
  
  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .blog-card {
    padding: 1.5rem;
  }
  
  .blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
  }
  
  .blog-card p {
    font-size: 0.9rem;
    line-height: 1.7;
  }
  
  /* Social Stories */
  .social-stories-grid {
    gap: 1rem;
    margin-top: 1.25rem;
  }
  
  .social-story-card {
    padding: 1.25rem;
  }
  
  .story-header {
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
    padding-bottom: 0.875rem;
  }
  
  .story-avatar {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }
  
  .story-info h3 {
    font-size: 1.1rem;
  }
  
  .story-age {
    font-size: 0.8rem;
  }
  
  .story-tag {
    margin-left: 0;
    order: 3;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }
  
  .story-situation,
  .story-helper,
  .story-strategy,
  .story-content,
  .story-steps,
  .story-reward,
  .story-tips {
    margin-bottom: 1rem;
  }
  
  .story-situation h4,
  .story-helper h4,
  .story-strategy h4,
  .story-content h4,
  .story-steps h4,
  .story-reward h4,
  .story-tips h4 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }
  
  .story-text {
    padding: 1rem;
  }
  
  .story-text p {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    line-height: 1.6;
  }
  
  .story-text p strong {
    font-size: 0.95rem;
  }
  
  .story-steps li {
    font-size: 0.85rem;
    gap: 0.6rem;
  }
  
  .step-num {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }
  
  .reward-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }
  
  .reward-item {
    padding: 0.6rem;
  }
  
  .reward-icon {
    font-size: 1.25rem;
  }
  
  .reward-item span:nth-child(2) {
    font-size: 0.75rem;
  }
  
  .reward-desc {
    font-size: 0.65rem;
  }
  
  /* Cashier */
  .cashier-info {
    gap: 1rem;
  }
  
  .payment-form-card {
    padding: 1rem;
  }
  
  .payment-form-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
  }
  
  .payment-form-card > p {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 0.875rem;
  }
  
  .payment-form {
    gap: 0.875rem;
  }
  
  .form-group {
    gap: 0.4rem;
  }
  
  .form-group label {
    font-size: 0.8rem;
  }
  
  .amount-input {
    font-size: 0.95rem;
    padding: 0.65rem;
    padding-right: 2.5rem;
  }
  
  .currency-label {
    font-size: 0.75rem;
    right: 0.75rem;
  }
  
  .payment-select {
    padding: 0.65rem;
    font-size: 0.85rem;
  }
  
  .payment-info-box {
    margin-top: 0.875rem;
    padding-top: 0.875rem;
    gap: 0.5rem;
  }
  
  .info-item {
    font-size: 0.75rem;
    gap: 0.4rem;
  }
  
  .alternative-payment {
    padding: 0.875rem;
  }
  
  .alternative-payment p {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }
  
  .offer-wrapper {
    padding: 1.25rem;
  }
  
  .offer-wrapper h3 {
    font-size: 1.1rem;
    margin-bottom: 0.875rem;
    padding-bottom: 0.75rem;
  }
  
  .offer-box {
    max-height: 300px;
    font-size: 0.8rem;
    padding-right: 0.5rem;
  }
  
  /* Footer */
  .site-footer {
    padding: 2rem 0.75rem 1rem;
    margin-top: 2rem;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-logo {
    font-size: 1.2rem;
  }
  
  .footer-about p {
    font-size: 0.85rem;
  }
  
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
  }
  
  .footer-link {
    font-size: 0.9rem;
  }
  
  .footer-link::before {
    display: none;
  }
  
  .footer-telegram {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .footer-developer {
    padding: 0.875rem;
  }
  
  .developer-title {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }
  
  .developer-link {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
    font-size: 0.75rem;
    padding-top: 1.5rem;
  }
}

/* Small phones (480px and below) */
@media (max-width: 480px) {
  /* Header */
  .site-header {
    padding: 0.5rem 0.75rem;
  }
  
  .logo-block {
    gap: 0.5rem;
  }
  
  .logo-image {
    width: 40px;
    height: 40px;
  }
  
  .logo-name {
    font-size: 1.1rem;
  }
  
  .logo-tagline {
    font-size: 0.6rem;
  }
  
  .nav-toggle {
    width: 36px;
    height: 36px;
  }
  
  .nav-toggle span {
    width: 18px;
  }
  
  /* Hero */
  .hero {
    padding: 1.5rem 0.75rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .hero-card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
  }
  
  .hero-name {
    font-size: 1.75rem;
  }
  
  .hero-role {
    font-size: 0.9rem;
  }
  
  .hero-phrase {
    font-size: 0.85rem;
  }
  
  .hero-card-row {
    flex-direction: column;
  }
  
  .hero-photo {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .stat {
    padding: 1rem;
  }
  
  .stat-value {
    font-size: 1.35rem;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Gallery */
  .gallery-section {
    padding: 2rem 0.75rem;
  }
  
  .gallery-section .section-header h2 {
    font-size: 1.25rem;
  }
  
  .gallery-grid {
    gap: 0.5rem;
  }
  
  .gallery-item {
    border-radius: var(--radius-sm);
  }
  
  /* CTA Bot */
  .cta-bot-section {
    padding: 2rem 0.75rem;
  }
  
  .cta-bot-card {
    padding: 1.25rem;
  }
  
  .cta-bot-text h2 {
    font-size: 1.25rem;
  }
  
  .cta-bot-list li {
    font-size: 0.9rem;
    padding-left: 2rem;
  }
  
  .cta-bot-list li::before {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }
  
  .bot-badge {
    font-size: 0.65rem;
    padding: 0.5rem 0.875rem;
  }
  
  .bot-screen {
    padding: 1rem;
  }
  
  .bot-bubble {
    font-size: 0.8rem;
    padding: 0.6rem 0.875rem;
    max-width: 90%;
  }
  
  /* Section layouts */
  .section-layout {
    padding: 1.25rem 0.75rem 1.75rem;
  }
  
  .section-header {
    margin-bottom: 1.5rem;
  }
  
  .section-header h2 {
    font-size: 1.35rem;
  }
  
  .section-header::after {
    width: 35px;
    height: 3px;
    bottom: -0.875rem;
  }
  
  .section-kicker {
    font-size: 0.85rem;
  }
  
  /* About */
  #about .section-layout {
    margin: 0 0.25rem 0.5rem;
    padding: 1.25rem 0.875rem;
  }
  
  .about-text p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .about-text p:first-child::first-letter {
    font-size: 2.25rem;
    margin-right: 0.4rem;
  }
  
  .tag-card {
    padding: 1rem;
  }
  
  .tag-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.875rem;
  }
  
  .tag-card li {
    font-size: 0.85rem;
    padding-left: 1.25rem;
  }
  
  /* Blog */
  .blog-card {
    padding: 1.125rem;
  }
  
  .blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.875rem;
  }
  
  .blog-card p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  
  .blog-meta {
    font-size: 0.75rem;
  }
  
  /* Social Stories */
  .social-stories-grid {
    gap: 1.25rem;
    margin-top: 1.5rem;
  }
  
  .social-story-card {
    padding: 1.25rem;
  }
  
  .story-avatar {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
  
  .story-info h3 {
    font-size: 1.1rem;
  }
  
  .story-age {
    font-size: 0.8rem;
  }
  
  .story-tag {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }
  
  .story-situation h4,
  .story-helper h4,
  .story-strategy h4,
  .story-content h4,
  .story-steps h4,
  .story-reward h4,
  .story-tips h4 {
    font-size: 1rem;
  }
  
  .story-situation p,
  .story-helper p,
  .story-strategy li,
  .story-tips li {
    font-size: 0.85rem;
  }
  
  .story-text {
    padding: 1rem;
  }
  
  .story-text p {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }
  
  .story-text p strong {
    font-size: 1rem;
  }
  
  .story-steps li {
    font-size: 0.85rem;
    gap: 0.75rem;
  }
  
  .step-num {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }
  
  .reward-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }
  
  .reward-item {
    padding: 0.6rem;
  }
  
  .reward-icon {
    font-size: 1.25rem;
  }
  
  .reward-item span:nth-child(2) {
    font-size: 0.75rem;
  }
  
  .reward-desc {
    font-size: 0.65rem;
  }
  
  /* Cashier */
  .payment-form-card {
    padding: 1rem;
  }
  
  .payment-form-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
  }
  
  .payment-form-card > p {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 0.875rem;
  }
  
  .form-group {
    gap: 0.4rem;
  }
  
  .form-group label {
    font-size: 0.8rem;
  }
  
  .amount-input {
    font-size: 0.95rem;
    padding: 0.65rem;
    padding-right: 2.5rem;
  }
  
  .currency-label {
    font-size: 0.75rem;
    right: 0.75rem;
  }
  
  .payment-select {
    padding: 0.65rem;
    font-size: 0.85rem;
  }
  
  .payment-form {
    gap: 1rem;
  }
  
  .payment-info-box {
    margin-top: 0.875rem;
    padding-top: 0.875rem;
    gap: 0.5rem;
  }
  
  .info-item {
    font-size: 0.75rem;
    gap: 0.4rem;
  }
  
  .info-icon {
    font-size: 0.95rem;
  }
  
  .alternative-payment {
    padding: 0.875rem;
  }
  
  .alternative-payment p {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }
  
  .alternative-payment .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .offer-wrapper {
    padding: 1.25rem;
  }
  
  .offer-wrapper h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }
  
  .offer-box {
    max-height: 300px;
    font-size: 0.8rem;
    padding-right: 0.5rem;
  }
  
  .payment-card {
    width: 48px;
    height: 32px;
  }
  
  /* Footer */
  .site-footer {
    padding: 2rem 0.75rem 1rem;
    margin-top: 2rem;
  }
  
  .footer-logo {
    font-size: 1.25rem;
  }
  
  .footer-about p {
    font-size: 0.9rem;
  }
  
  .footer-telegram {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .developer-title {
    font-size: 0.9rem;
  }
  
  .developer-link {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .footer-bottom {
    font-size: 0.75rem;
  }
}

/* Extra small phones (360px and below) */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.35rem;
  }
  
  .hero-name {
    font-size: 1.5rem;
  }
  
  .hero-card {
    padding: 1.25rem;
  }
  
  .section-header h2 {
    font-size: 1.35rem;
  }
  
  .cta-bot-text h2 {
    font-size: 1.15rem;
  }
  
  .story-info h3 {
    font-size: 1rem;
  }
  
  .blog-card h3 {
    font-size: 1.05rem;
  }
  
  .reward-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  /* Cashier extra small */
  .payment-form-card {
    padding: 0.875rem;
  }
  
  .payment-form-card h3 {
    font-size: 1rem;
  }
  
  .payment-form-card > p {
    font-size: 0.7rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
  }
  
  .form-group label {
    font-size: 0.75rem;
  }
  
  .amount-input {
    font-size: 0.9rem;
    padding: 0.6rem;
    padding-right: 2.25rem;
  }
  
  .currency-label {
    font-size: 0.7rem;
    right: 0.65rem;
  }
  
  .payment-select {
    padding: 0.6rem;
    font-size: 0.8rem;
  }
  
  .payment-info-box {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }
  
  .info-item {
    font-size: 0.7rem;
  }
  
  .cashier-info > p {
    font-size: 0.85rem;
  }
}

/* ========== ENSURE VISIBILITY ON LOAD ========== */
/* Hero section always visible immediately */
.hero,
.hero-content,
.hero-visual,
.hero-card,
.hero-stats,
.hero-title,
.hero-subtitle,
.hero-kicker,
.hero-actions,
.hero-highlights {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Active tab content visible */
.tab-section.active {
  opacity: 1;
  visibility: visible;
}

/* Header and footer always visible */
.site-header,
.site-footer {
  opacity: 1 !important;
  transform: none !important;
}

/* Fallback: if JS doesn't load, show everything */
@media (scripting: none) {
  .reveal-element {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ========== THEMES ========== */
html {
  transition: color 0.35s ease, background-color 0.35s ease;
}

body {
  transition: background 0.35s ease, color 0.35s ease;
}

/* Тёмная тема */
[data-theme="dark"] {
  --color-cream: #1a1a1d;
  --color-warm-white: #252528;
  --color-peach: #3d2e2a;
  --color-peach-dark: #4a3532;
  --color-coral: #3DBDB8;
  --color-rose: #4DCDC8;
  --color-burgundy: #2A7A7A;
  --color-sage: #2d5a52;
  --color-sage-light: #1e3a35;
  --color-mint: #2d3d38;
  --color-text: #e8e8ea;
  --color-text-soft: #b0b0b5;
  --color-text-muted: #78787e;
  --color-border: #2d2d32;
  --bg-header: rgba(26, 26, 29, 0.95);
  --bg-card: #252528;
  --bg-footer: #1e1e22;
  --bg-nav-mobile: #252528;
  --gradient-warm: linear-gradient(135deg, #2A7A7A 0%, #2D9D9D 50%, #3DBDB8 100%);
  --gradient-soft: linear-gradient(135deg, #1a1a1d 0%, #1e2d2d 100%);
  --gradient-hero: linear-gradient(135deg, #1E5A5A 0%, #2D9D9D 50%, #3DBDB8 100%);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-large: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(61, 189, 184, 0.3);
}

[data-theme="dark"] body::before {
  background: var(--color-peach);
  opacity: 0.2;
}

[data-theme="dark"] body::after {
  background: var(--color-sage-light);
  opacity: 0.15;
}

[data-theme="dark"] .logo-image {
  border-color: var(--color-burgundy);
}

[data-theme="dark"] .nav-link.active {
  box-shadow: 0 4px 15px rgba(61, 189, 184, 0.35);
}

[data-theme="dark"] .hero-card {
  box-shadow: var(--shadow-large), 0 8px 25px rgba(61, 189, 184, 0.25);
}

/* Тема «Уют» — тёплый приглушённый тон */
[data-theme="cozy"] {
  --color-cream: #f5ebe0;
  --color-warm-white: #faf3ed;
  --color-peach: #e8d5c4;
  --color-peach-dark: #ddc4b0;
  --color-coral: #c9a89a;
  --color-rose: #a67c7a;
  --color-burgundy: #5c5460;
  --color-sage: #8fa88a;
  --color-sage-light: #e2e8dc;
  --color-mint: #c5d9d2;
  --color-text: #3d3632;
  --color-text-soft: #5a524c;
  --color-text-muted: #7a726b;
  --color-border: #e8ddd4;
  --bg-header: rgba(245, 235, 224, 0.95);
  --bg-card: #faf3ed;
  --bg-footer: #f0e6de;
  --bg-nav-mobile: #faf3ed;
  --gradient-warm: linear-gradient(135deg, #e8d5c4 0%, #ddc4b0 50%, #c9a89a 100%);
  --gradient-soft: linear-gradient(135deg, #f5ebe0 0%, #faf3ed 100%);
  --shadow-soft: 0 4px 20px rgba(92, 84, 96, 0.1);
  --shadow-medium: 0 8px 30px rgba(92, 84, 96, 0.12);
  --shadow-large: 0 20px 60px rgba(92, 84, 96, 0.15);
}

/* Переключатель темы в шапке */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-soft);
  background: transparent;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.theme-toggle:hover {
  color: var(--color-rose);
  background: rgba(255, 205, 178, 0.2);
  border-color: var(--color-coral);
}

.theme-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.theme-toggle[aria-pressed="true"] {
  color: var(--color-rose);
  background: rgba(255, 205, 178, 0.25);
  border-color: var(--color-coral);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
