/* ==========================================================================
   Психолог-консультант Алина Короленя — Landing Page Styles
   Design: Premium Minimalist Soft-Glassmorphism (Warm Nude & Sage)
   Typography: Manrope & Inter
   ========================================================================== */

/* ==========================================================================
   1. Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* WebP с JPEG-fallback через <picture>: обёртка не влияет на раскладку,
   все стили и object-fit остаются на самом <img> (по классу). */
picture {
  display: contents;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-nude);
  color: var(--text-graphite);
  line-height: 1.8;
  overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-nude-light);
}
::-webkit-scrollbar-thumb {
  background: var(--border-glass-dark);
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg-nude-light);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-sage-light);
}

/* Selection */
::selection {
  background-color: var(--accent-sage-light);
  color: var(--accent-sage-dark);
}

/* ==========================================================================
   2. Design Tokens (Custom Properties)
   ========================================================================== */

:root {
  /* Colors */
  --bg-nude-light: #FFFFFF;
  --bg-nude: #F9F9F9;         /* Clean Light Gray */
  --bg-nude-dark: #F0F0F0;    /* Light Gray */
  --bg-glass: rgba(255, 255, 255, 0.45);
  --bg-glass-hover: rgba(255, 255, 255, 0.7);
  --border-glass: rgba(255, 255, 255, 0.5);
  --border-glass-dark: rgba(94, 122, 104, 0.08);
  
  --text-graphite: #2C2B29;
  --text-secondary: #5A5A57;  /* Pure neutral graphite-grey */
  --text-light: #FFFFFF;

  --accent-sage: #5E7A68;      /* Sage Green */
  --accent-sage-light: #E9EFEA;
  --accent-sage-dark: #455C4D;

  /* Border Radii */
  --radius-xs: 8px;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 4px 20px -2px rgba(44, 43, 41, 0.03);
  --shadow-md: 0 12px 32px -4px rgba(44, 43, 41, 0.05);
  --shadow-lg: 0 20px 48px -6px rgba(44, 43, 41, 0.07);
  --shadow-accent: 0 8px 24px -4px rgba(94, 122, 104, 0.2);
  --shadow-accent-hover: 0 16px 36px -2px rgba(94, 122, 104, 0.35);

  /* Layout */
  --max-w: 1240px;
  --header-h: 88px;
  --section-padding: 140px;
}

/* ==========================================================================
   3. Typography & Helper Elements
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--text-graphite);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.serif-italic {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

p {
  color: var(--text-secondary);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section__label {
  display: inline-block;
  background: var(--accent-sage-light);
  color: var(--accent-sage);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section__title {
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.section__subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.6;
}

/* ==========================================================================
   4. Background SVG blobs & Abstract Shapes
   ========================================================================== */

.bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.bg-shape--1 {
  width: 550px;
  height: 550px;
  background: var(--accent-sage-light);
  top: 5%;
  right: -100px;
  animation: floatShape1 24s ease-in-out infinite alternate;
}

.bg-shape--2 {
  width: 450px;
  height: 450px;
  background: rgba(94, 122, 104, 0.05);
  top: 35%;
  left: -150px;
  animation: floatShape2 28s ease-in-out infinite alternate;
}

.bg-shape--3 {
  width: 600px;
  height: 600px;
  background: rgba(94, 122, 104, 0.08);
  bottom: 8%;
  right: 10%;
  animation: floatShape1 32s ease-in-out infinite alternate-reverse;
}

@keyframes floatShape1 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(60px, 40px) scale(1.08) rotate(15deg); }
  100% { transform: translate(-30px, 80px) scale(0.92) rotate(-15deg); }
}

@keyframes floatShape2 {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  50% { transform: translate(-40px, 60px) scale(1.1) rotate(-10deg); }
  100% { transform: translate(50px, -30px) scale(0.95) rotate(10deg); }
}

/* ==========================================================================
   5. Custom Cursor (Visual Followers)
   ========================================================================== */

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--accent-sage);
  background-color: rgba(94, 122, 104, 0.02);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease,
              border-color 0.3s ease;
}

.custom-cursor__inner {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: var(--accent-sage);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

/* Hover State */
.custom-cursor--hover {
  width: 58px;
  height: 58px;
  border-color: var(--accent-sage-dark);
  background-color: rgba(94, 122, 104, 0.08);
}

.custom-cursor--hover + .custom-cursor__inner {
  background-color: var(--accent-sage-dark);
  transform: translate(-50%, -50%) scale(1.5);
}

@media (max-width: 1024px) {
  .custom-cursor,
  .custom-cursor__inner {
    display: none !important;
  }
}

/* ==========================================================================
   6. Scroll Progress Bar
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent-sage);
  width: 0%;
  z-index: 9999;
  border-radius: 0 3px 3px 0;
  pointer-events: none;
}

/* ==========================================================================
   7. Header & Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--header-h);
  background: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease, height 0.4s ease;
  display: flex;
  align-items: center;
}

.header--scrolled {
  height: 76px;
  background-color: rgba(245, 240, 234, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px -15px rgba(44, 43, 41, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.header__logo-img {
  height: 48px;
  width: auto;
  filter: grayscale(15%) sepia(5%);
  transition: transform 0.3s ease;
}

.header__logo:hover .header__logo-img {
  transform: scale(1.05);
}

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

.header__logo-name {
  color: var(--text-graphite);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.2;
}

.header__logo-sub {
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 1px;
}

/* Nav Links */
.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__nav a {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s ease;
  padding: 6px 0;
}

.header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-sage);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--radius-pill);
}

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

.header__nav a:hover {
  color: var(--accent-sage-dark);
}

.header__phone {
  color: var(--accent-sage-dark) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
}

.header__phone::after {
  display: none !important;
}

.header__hours {
  color: var(--text-secondary);
  font-size: 0.8rem;
  opacity: 0.85;
  font-weight: 500;
}

/* Mobile Burger Menu Button */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 1001;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-graphite);
  border-radius: var(--radius-pill);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease,
              background-color 0.4s ease;
}

.header__burger--open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__burger--open span:nth-child(2) {
  opacity: 0;
}

.header__burger--open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   8. Hero Section
   ========================================================================== */

.hero {
  padding-top: calc(var(--header-h) + 60px);
  min-height: 98vh;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 640px;
}

.hero__tag {
  display: inline-block;
  background: var(--bg-nude-dark);
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__title {
  font-size: 3.8rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--text-graphite);
}

.hero__title span {
  color: var(--accent-sage);
}

.hero__subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Stat Blocks */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  margin-bottom: 44px;
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-graphite);
}

.hero__stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.hero__stat-num {
  font-weight: 800;
  color: var(--accent-sage-dark);
  font-size: 1.25rem;
}

.hero__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* Directions Block (Hero Services) */
.hero__services {
  margin-top: 28px;
  max-width: 560px;
}

.hero__services-title {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-sage-dark);
  margin-bottom: 12px;
  text-align: left;
  opacity: 0.85;
}

.hero__services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  padding: 16px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.hero__service-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__service-item:hover {
  transform: translateX(4px);
}

.hero__service-icon {
  color: var(--accent-sage);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  margin-top: 4px;
}

.hero__service-item:hover .hero__service-icon {
  transform: scale(1.2);
}

.hero__service-text {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-graphite);
  line-height: 1.35;
}

@media (max-width: 992px) {
  .hero__services {
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
  }
  .hero__services-title {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero__services-list {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 16px;
  }
}

/* Hero Photo container */
.hero__image {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 440px;
  height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-glass);
  background: var(--bg-nude-dark);
  transition: transform 0.2s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.hero__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__image:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   9. About Section
   ========================================================================== */

.about {
  background-color: var(--bg-nude-light);
  z-index: 1;
}

.about__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}

/* Double-Bezel Nested Architecture */
.double-bezel-wrapper {
  background: rgba(94, 122, 104, 0.03); /* Soft sage tint */
  border: 1px solid rgba(44, 43, 41, 0.05);
  border-radius: 2.25rem;
  padding: 8px;
  transition: all 0.7s cubic-bezier(0.32, 0.72, 0, 1);
}

.double-bezel-wrapper:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(94, 122, 104, 0.12);
  background: rgba(94, 122, 104, 0.05);
}

.double-bezel-inner {
  background: #FFFFFF;
  border: 1px solid rgba(44, 43, 41, 0.03);
  border-radius: 1.75rem;
  box-shadow: 0 4px 24px -6px rgba(44, 43, 41, 0.03), 
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
  padding: 2.5rem;
  height: 100%;
  box-sizing: border-box;
  transition: all 0.7s cubic-bezier(0.32, 0.72, 0, 1);
}

.double-bezel-wrapper:hover .double-bezel-inner {
  box-shadow: 0 12px 30px -10px rgba(44, 43, 41, 0.06);
}

.about__image-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2.25rem;
}

.about__image-wrapper .double-bezel-inner {
  padding: 0;
  overflow: hidden;
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.75rem;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about__image-wrapper:hover .about__img {
  transform: scale(1.04);
}

.about__text {
  max-width: 600px;
}

.about__text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Highlights Card & Grid */
.about__highlights-card {
  margin-top: 2.5rem;
}

.highlights-card__inner {
  padding: 1.75rem 2.25rem !important;
}

.highlights-card__grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hl-card__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.hl-card__icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-top: 2px;
}

.hl-card__item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-graphite);
  margin-bottom: 2px;
}

.hl-card__item p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.3;
  margin: 0;
}

/* ==========================================================================
   10. Requests Section (Translucent elegant cards, no shadows)
   ========================================================================== */

.requests {
  background: #E8EEEC; /* Noble muted sage-grey */
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 120px 0 var(--section-padding);
}

.requests__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  margin-top: 52px;
}

.requests__card {
  height: 100%;
}

.requests__card-inner {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.requests__card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.requests__card-icon {
  font-size: 2.25rem;
  line-height: 1;
}

.requests__card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--accent-sage-dark);
}

.requests__card-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 28px;
  line-height: 1.5;
}

.requests__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.requests__list li {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-graphite);
  padding-left: 28px;
  position: relative;
}

.requests__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-sage);
  font-weight: bold;
  font-size: 1.15rem;
}

.requests__list--limits li::before {
  content: '✕';
  color: var(--text-secondary);
  font-size: 0.95rem;
  top: 1px;
}

.requests__list li strong {
  color: var(--accent-sage-dark);
  font-weight: 700;
}

/* ==========================================================================
   11. Problems Section
   ========================================================================== */

.problems__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 52px;
}

/* Bento Column Spans */
.col-span-8 {
  grid-column: span 8;
}
.col-span-6 {
  grid-column: span 6;
}
.col-span-4 {
  grid-column: span 4;
}

.problem-card {
  height: 100%;
  text-decoration: none;
  color: inherit;
  display: block;
}

.problem-card__inner {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.problem-card__icon {
  font-size: 2.25rem;
  margin-bottom: 20px;
  line-height: 1;
  display: block;
}

.problem-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--accent-sage-dark);
  margin-bottom: 12px;
  line-height: 1.25;
}

.problem-card__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
}

/* ==========================================================================
   12. Pricing Section
   ========================================================================== */

.pricing {
  background-color: var(--bg-nude-light);
  z-index: 1;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 52px;
}

.pricing-card {
  background: var(--bezel-outer-bg);
  border: var(--bezel-outer-border);
  border-radius: var(--bezel-outer-radius);
  padding: var(--bezel-outer-padding);
  transition: var(--transition-fluid);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(94, 122, 104, 0.15);
  background: rgba(94, 122, 104, 0.05);
}

.pricing-card:hover .pricing-card__inner {
  box-shadow: 0 12px 30px -10px rgba(44, 43, 41, 0.06);
}

.pricing-card__inner {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  text-align: left;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass-dark);
  border-radius: var(--radius-md);
  height: 100%;
  box-sizing: border-box;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card__badge {
  background-color: var(--accent-sage-light);
  color: var(--accent-sage);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  border: 1px solid var(--border-glass-dark);
  display: inline-block;
  line-height: 1.2;
}

.pricing-card__title {
  font-size: 2.2rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  color: var(--text-graphite);
  margin-bottom: 8px;
  line-height: 1.15;
}

.pricing-card__format {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.pricing-card__features {
  list-style: none;
  margin-bottom: 48px;
  width: 100%;
}

.pricing-card__features li {
  font-size: 0.95rem;
  color: var(--text-graphite);
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  line-height: 1.5;
}

.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-sage);
  font-weight: bold;
  font-size: 1.1rem;
}

.pricing-card__price {
  margin-bottom: 36px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto; /* Push price and button to bottom of card */
}

.price-prefix {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-secondary);
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  margin-right: 4px;
}

.price-val {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.8rem;
  color: var(--accent-sage-dark);
  line-height: 1;
}

.price-currency {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Island Button matching Kovaleva Anna but using Alina's colors */
.btn-island {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: var(--accent-sage);
  color: var(--text-light) !important;
  padding: 8px 8px 8px 24px;
  border-radius: var(--radius-pill);
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px -4px rgba(94, 122, 104, 0.2);
}

.btn-island__icon-bubble {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-light);
}

.btn-island__icon-bubble svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-island:hover {
  background-color: var(--accent-sage-dark);
  box-shadow: var(--shadow-accent-hover);
}

.btn-island:hover .btn-island__icon-bubble {
  transform: scale(1.08) rotate(45deg);
  background-color: rgba(255, 255, 255, 0.28);
}

.btn-island:active {
  transform: scale(0.97);
}

/* ==========================================================================
   13. FAQ Section (Elegant Rubber-like Accordion)
   ========================================================================== */

#faqList {
  max-width: 820px;
  margin: 52px auto 0;
}

.faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  background: var(--bg-glass-hover);
  border-color: rgba(94, 122, 104, 0.18);
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 26px 36px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-graphite);
  cursor: pointer;
  text-align: left;
  line-height: 1.5;
  gap: 20px;
}

.faq-item__icon-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-nude-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item__icon-wrap span {
  font-size: 1.6rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  transform-origin: center;
  margin-top: -2px;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  /* Rubber-elastic height animation logic in JS. Transition set here */
  transition: max-height 0.6s cubic-bezier(0.25, 1, 0.2, 1);
}

.faq-item[open] .faq-item__answer {
  max-height: 1000px;
}

.faq-item__answer-inner {
  padding: 0 36px 30px;
}

.faq-item__answer p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

/* Open State classes */
.faq-item--open {
  background-color: #FAF8F5;
  border-color: rgba(94, 122, 104, 0.25);
  box-shadow: var(--shadow-md);
}

.faq-item--open .faq-item__icon-wrap {
  background-color: var(--accent-sage);
  transform: rotate(45deg);
}

.faq-item--open .faq-item__icon-wrap span {
  color: var(--text-light);
}

/* ==========================================================================
   13b. Blog/Articles Section (Modern Bento/Grid Cards)
   ========================================================================== */

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card__inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

/* Инфографика в карточке блога — целиком, на своём фоне (без обрезки) */
.blog-card__img--full {
  object-fit: contain;
  background: #FFD4C1;
}

.blog-card__date {
  font-size: 0.75rem;
  color: var(--accent-sage);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.blog-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-graphite);
  margin-bottom: 12px;
}

.blog-card__excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.blog-card__link {
  color: var(--accent-sage-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.blog-card__link:hover {
  color: var(--accent-sage);
  transform: translateX(4px);
}

/* ==========================================================================
   14. Contacts Section (Separated Map and Form)
   ========================================================================== */

.contacts__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: stretch; /* Stretch columns to equal height */
  margin-top: 52px;
}

.contacts__form-side {
  display: flex;
  flex-direction: column;
}

.contacts__subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 580px;
}

/* Form Styles */
.contacts__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  position: relative;
}

.form__input {
  width: 100%;
  padding: 10px 0;
  border-radius: 0;
  border: none;
  border-bottom: 1.5px solid rgba(44, 43, 41, 0.15);
  background: transparent;
  font-size: 1.05rem;
  font-family: inherit;
  color: var(--text-graphite);
  outline: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form__label {
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left top;
}

/* Floating behavior */
.form__input:focus ~ .form__label,
.form__input:not(:placeholder-shown) ~ .form__label {
  transform: translateY(-20px) scale(0.75);
  color: var(--accent-sage-dark);
  font-weight: 700;
}

.form__input:focus {
  border-bottom-color: var(--accent-sage);
}

/* Right Side: Photo + Contact Cards */
.contacts__info-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts__photo-wrapper {
  height: 200px; /* Limit height on desktop to keep it small and prevent stretching */
  display: flex;
  flex-direction: column;
}

.contacts__photo-wrapper .double-bezel-inner {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.contacts__photo-small {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%; /* фото уже кадрировано под лицо */
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.contacts__photo-wrapper:hover .contacts__photo-small {
  transform: scale(1.03);
}

.contacts__methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contacts__method {
  text-decoration: none;
  color: var(--text-graphite);
  display: block;
}

.method__inner {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.method__icon {
  font-size: 1.15rem; /* Smaller icons as requested */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(94, 122, 104, 0.06);
  border-radius: 50%;
  flex-shrink: 0;
}

.method__inner h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 2px 0;
  color: var(--text-graphite);
}

.method__inner p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   15. Footer Section
   ========================================================================== */

.footer {
  background-color: var(--bg-nude-light);
  border-top: 1px solid var(--border-glass-dark);
  padding: 48px 24px 32px;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer__name {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-graphite);
}

.footer__phone {
  color: var(--accent-sage-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.footer__phone:hover {
  color: var(--accent-sage);
}

.footer__hours {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.footer__divider {
  width: 40px;
  height: 1px;
  background-color: var(--border-glass-dark);
  margin: 8px 0;
}

.footer__socials {
  display: flex;
  gap: 24px;
  margin-top: 4px;
}

.footer__socials a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer__socials a:hover {
  color: var(--accent-sage);
}

.footer__copy {
  color: var(--text-secondary);
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 16px;
}

.footer__unp {
  color: var(--text-secondary);
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 12px;
  letter-spacing: 0.03em;
}

/* Footer navigation links */
.footer__links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer__links a:hover {
  color: var(--accent-sage);
}

/* Inline "other cities" note under formats grid */
.formats__cities-note a {
  color: var(--accent-sage);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-decoration-color: rgba(94, 122, 104, 0.35);
  font-weight: 600;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.formats__cities-note a:hover {
  color: var(--accent-sage-dark);
  text-decoration-color: var(--accent-sage-dark);
}

/* ==========================================================================
   16. Buttons & Interactive States
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 42px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.4s ease, 
              color 0.4s ease, 
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  overflow: hidden;
}

/* Primary Button (Sage Filled) */
.btn--primary {
  background-color: var(--accent-sage);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
  background-color: var(--accent-sage-dark);
  transform: translateY(-3px) scale(1.015);
  box-shadow: var(--shadow-accent-hover);
}

.btn--primary:active {
  transform: translateY(0) scale(1);
  box-shadow: var(--shadow-accent);
}

/* Outline Button (Rose Bordered) */
.btn--outline {
  background-color: transparent;
  color: var(--accent-sage-dark);
  border: 1.5px solid var(--accent-sage);
}

.btn--outline:hover {
  background-color: rgba(94, 122, 104, 0.06);
  border-color: var(--accent-sage-dark);
  color: var(--accent-sage-dark);
  transform: translateY(-3px) scale(1.015);
  box-shadow: var(--shadow-sm);
}

.btn--outline:active {
  transform: translateY(0) scale(1);
}

/* Arrow sliding effect */
.btn .btn__arrow {
  display: inline-flex;
  align-items: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.2, 1), opacity 0.3s ease;
}

.btn--primary .btn__arrow {
  opacity: 0.85;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* Breathing animation for special call-to-actions */
.btn--pulse {
  animation: btnPulseBreath 4s ease-in-out infinite;
}

@keyframes btnPulseBreath {
  0%, 100% { box-shadow: 0 8px 24px -4px rgba(94, 122, 104, 0.2); }
  50% { box-shadow: 0 8px 30px 4px rgba(94, 122, 104, 0.35), 0 0 0 6px rgba(94, 122, 104, 0.05); }
}

/* Primary Shimmer Effect */
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-25deg);
  transition: left 0.8s ease;
}

.btn--primary:hover::after {
  left: 150%;
}

/* ==========================================================================
   17. Scroll Reveal & Performance Utilities
   ========================================================================== */

/* Pre-animation states */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transition-delay 1.2s;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transition-delay 1.2s;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transition-delay 1.2s;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transition-delay 1.2s;
}

/* Stagger targets */
[data-stagger] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Revealed active states */
.revealed,
.a-visible,
[data-stagger].a-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1) !important;
}

/* Counter completions pop */
@keyframes statPopCompleted {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); color: var(--accent-rose); }
  100% { transform: scale(1); }
}

.hero__stat-num.anim-done {
  animation: statPopCompleted 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Disable transitions for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  .reveal-up, .reveal-left, .reveal-right, .reveal-scale, [data-stagger] {
    opacity: 1 !important;
    transform: none !important;
  }
  .custom-cursor, .custom-cursor__inner {
    display: none !important;
  }
}

/* ==========================================================================
   18. Responsive Adaptation
   ========================================================================== */

/* ---------- 1200px ---------- */
@media (max-width: 1200px) {
  :root {
    --section-padding: 100px;
  }
  .container {
    padding: 0 32px;
  }
  .hero__title {
    font-size: 3.2rem;
  }
  .problems__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .col-span-8,
  .col-span-6,
  .col-span-4 {
    grid-column: span 1 !important;
  }
}

/* ---------- 992px (Tablets) ---------- */
@media (max-width: 992px) {
  :root {
    --header-h: 76px;
    --section-padding: 80px;
  }
  .container {
    padding: 0 24px;
  }
  
  /* Header burger menu */
  .header__burger {
    display: flex;
  }
  
  .header__nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-nude-light);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border-glass-dark);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }
  
  .header__nav--open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  .header__hours {
    display: none;
  }
  
  /* Hero */
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-top: 20px;
  }
  
  .hero__content {
    max-width: 100%;
  }
  
  .hero__title {
    font-size: 2.8rem;
  }
  
  .hero__stats {
    justify-content: center;
    max-width: 500px;
    margin: 0 auto 32px;
  }
  
  .hero__btns {
    justify-content: center;
  }
  
  .hero__services {
    justify-content: center;
  }
  
  .hero__image {
    justify-self: center;
    height: 480px;
    max-width: 360px;
  }
  
  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  
  .about__image-wrapper {
    max-width: 440px;
    margin: 0 auto;
  }
  
  .about__text {
    max-width: 100%;
  }


  /* Requests */
  .requests__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .requests__card-inner {
    padding: 2.5rem 2rem;
  }
  
  /* Pricing */
  .pricing__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pricing-card__inner {
    padding: 2.5rem 2rem;
  }

  /* Blog */
  .blog__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* Contacts */
  .contacts__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contacts__photo-wrapper {
    height: 320px;
    flex: none;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ---------- 576px (Mobile phones) ---------- */
@media (max-width: 576px) {
  :root {
    --section-padding: 70px;
  }
  .container {
    padding: 0 16px;
  }
  
  .section__title {
    font-size: 2rem;
  }
  
  /* Hero */
  .hero__title {
    font-size: 2.2rem;
  }
  
  .hero__stats {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: start;
    max-width: 280px;
    margin: 0 auto 32px;
  }
  
  .hero__btns {
    flex-direction: column;
    width: 100%;
  }
  
  .hero__btns .btn {
    width: 100%;
  }
  
  .hero__image {
    height: 380px;
  }
  
  /* About */
  .about__image-wrapper {
    max-width: 100%;
  }
  
  /* Problems */
  .problems__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .problem-card__inner {
    padding: 2.25rem 1.75rem;
  }
  
  /* FAQ */
  .faq-item__question {
    padding: 20px 24px;
    font-size: 1rem;
  }
  .faq-item__answer-inner {
    padding: 0 24px 20px;
  }
  .faq-item__answer p {
    font-size: 0.9rem;
  }
  
  /* Form & Map */
  .contacts__photo-wrapper {
    height: 300px;
  }
  .method__inner {
    padding: 14px 18px;
    gap: 12px;
  }
  .method__icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  
  .footer {
    padding: 32px 16px 24px;
  }
}

/* ==================== ФОРМАТЫ РАБОТЫ (карточки) ==================== */
.formats__tag {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-sage-dark);
  margin-bottom: 8px;
}
.formats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.format-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  background: var(--bg-nude-light);
  border: 1px solid var(--border-glass-dark);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.format-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-sage);
}
.format-card__icon {
  font-size: 1.9rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-sage-light);
  border-radius: 50%;
  margin-bottom: 20px;
}
.format-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-graphite);
  margin: 0 0 10px;
  line-height: 1.2;
}
.format-card__desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 20px;
  flex-grow: 1;
}
.format-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-sage-dark);
}
.format-card__link svg { transition: transform 0.3s ease; }
.format-card:hover .format-card__link svg { transform: translateX(4px); }

@media (max-width: 1024px) {
  .formats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .formats__grid { grid-template-columns: 1fr; }
}

/* ==================== Ambient warm glow (рамка + верх) ==================== */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  /* тёплое свечение: верх + боковые полосы слева/справа + углы */
  background:
    radial-gradient(140% 320px at 50% -70px, rgba(255, 130, 95, 0.22), transparent 60%),
    linear-gradient(to right, rgba(255, 134, 98, 0.15), transparent 18%),
    linear-gradient(to left,  rgba(255, 134, 98, 0.15), transparent 18%),
    radial-gradient(42% 80% at 0% 50%, rgba(255, 140, 102, 0.11), transparent 60%),
    radial-gradient(42% 80% at 100% 50%, rgba(255, 140, 102, 0.11), transparent 60%);
  /* тёплая рамка по всем краям (видна и поверх контента) */
  box-shadow: inset 0 0 180px 46px rgba(255, 134, 98, 0.10);
  opacity: 0.85;
  animation: ambientGlow 14s ease-in-out infinite alternate;
}

@keyframes ambientGlow {
  0%   { opacity: 0.62; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-glow { animation: none; }
}
