:root {
  /* Colors */
  --color-primary: #F5F1EB;
  --color-secondary: #282A2E;
  --color-accent: #FF7733;
  
  /* Text colors */
  --text-primary: var(--color-secondary);
  --text-secondary: #5F6368;
  --text-light: var(--color-primary);
  
  /* Backgrounds */
  --bg-primary: var(--color-primary);
  --bg-secondary: var(--color-secondary);
  --bg-accent: var(--color-accent);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Font sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-xxl: 2rem;
  --text-xxxl: 3rem;
  
  /* Font weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  
  /* Container */
  --container-width: 1200px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Dark theme variables */
[data-theme="dark"] {
  --color-primary: #282A2E;
  --color-secondary: #F5F1EB;
  
  --text-primary: var(--color-secondary);
  --text-secondary: #A1A1AA;
  --text-light: var(--color-primary);
  
  --bg-primary: var(--color-primary);
  --bg-secondary: var(--color-secondary);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.3);
}

/* Base styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: background-color var(--transition-normal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xxl) 0;
}

.section__title {
  font-size: var(--text-xxl);
  font-weight: var(--font-bold);
  text-align: center;
  margin-bottom: var(--space-sm);
  position: relative;
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--color-accent);
  margin: var(--space-sm) auto;
}

.section__subtitle {
  font-size: var(--text-lg);
  text-align: center;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.text-accent {
  color: var(--color-accent);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius-md);
  font-weight: var(--font-semibold);
  transition: all var(--transition-fast);
  text-align: center;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.btn--primary:hover {
  background-color: #E56B2E;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.btn--outline:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-primary);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: var(--font-bold);
  font-size: var(--text-xl);
}

.logo__text {
  transition: color var(--transition-fast);
}

.logo__text--studio {
  color: var(--color-accent);
}
.logo__image {
  width: 130px;
  height: 63px;
  margin-right: 10px;
}
.nav__list {
  display: flex;
  gap: var(--space-lg);
}

.nav__link {
  font-weight: var(--font-medium);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav__link:hover::after {
  width: 100%;
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__email,
.header__phone {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
}

.header__social {
  display: flex;
  gap: var(--space-sm);
}

.header__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  color: var(--color-primary);
  transition: transform var(--transition-fast);
}

.header__social-link:hover {
  transform: translateY(-2px);
}

/* Theme toggle */
.theme-toggle {
  position: relative;
}

.theme-toggle__input {
  position: absolute;
  opacity: 0;
}

.theme-toggle__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 50px;
  height: 26px;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-full);
  padding: 0 var(--space-xs);
  cursor: pointer;
  position: relative;
}

.theme-toggle__ball {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  background-color: var(--color-primary);
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.theme-toggle__input:checked + .theme-toggle__label .theme-toggle__ball {
  transform: translateX(24px);
}

.theme-toggle__label i {
  font-size: var(--text-sm);
  color: var(--color-primary);
}

.fa-sun {
  color: #FFD43B;
}

.fa-moon {
  color: #A1A1AA;
}

/* Burger menu */
.burger {
  display: none;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.burger__line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  position: absolute;
  left: 0;
  transition: all var(--transition-fast);
}

.burger__line:nth-child(1) {
  top: 0;
}

.burger__line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.burger__line:nth-child(3) {
  bottom: 0;
}

.burger.active .burger__line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger.active .burger__line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger__line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero section */
.hero {
  padding-top: 120px;
  padding-bottom: var(--space-xxl);
  background-color: var(--bg-secondary);
  color: var(--color-primary);
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.hero__content {
  flex: 1;
  max-width: 600px;
}

.hero__title {
  font-size: var(--text-xxxl);
  font-weight: var(--font-bold);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.hero__subtitle {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
  color: rgba(245, 241, 235, 0.8);
}

.hero__image {
  flex: 1;
  max-width: 500px;
}

/* Services section */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.service-card {
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-accent);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
  font-size: var(--text-xl);
}

.service-card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-sm);
}

.service-card__text {
  color: var(--text-secondary);
}

/* Process section */
.process.section{
  background-color: var(--bg-secondary);
  color: var(--color-primary);
}
.process.section h3{
    color: var(--text-primary);
}
.process.section .section__subtitle{
  color: rgba(245, 241, 235, 0.8);
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.process-step {
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast);
}

.process-step:hover {
  transform: translateY(-5px);
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--color-accent);
}

.process-step__number {
  font-size: var(--text-xxl);
  font-weight: var(--font-bold);
  color: rgba(40, 42, 46, 0.2);
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  line-height: 1;
}

.process-step__title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.process-step__text {
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

/* Portfolio section */
.portfolio-slider {
  margin-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  height: auto;
}
.swiper-wrapper {
  align-items: stretch;
}
.portfolio-slide {
  display: flex;
  height: auto;
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.portfolio-slide__image {
  flex: 1;
  min-height: 300px;
  background-color: #f0f0f0;
}

.portfolio-slide__image img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.portfolio-slide__content {
  flex: 1;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolio-slide__title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-sm);
}

.portfolio-slide__description {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  margin-right: 20px;
}

.portfolio-slide__link {
  display: inline-block;
  color: var(--color-accent);
  font-weight: var(--font-semibold);
  transition: color var(--transition-fast);
}

.portfolio-slide__link:hover {
  color: #E56B2E;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--text-secondary);
  opacity: 0.5;
  transition: all var(--transition-fast);
}

.swiper-pagination-bullet-active {
  background-color: var(--color-accent);
  opacity: 1;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--color-accent);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: var(--text-lg);
}

/* Pricing section */
.pricing__plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.pricing-card {
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pricing-card--popular {
  border: 2px solid var(--color-accent);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  right: var(--space-lg);
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius-full);
}

.pricing-card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.pricing-card__price {
  margin-bottom: var(--space-lg);
  text-align: center;
}

.pricing-card__amount {
  font-size: var(--text-xxl);
  font-weight: var(--font-bold);
  color: var(--color-accent);
}

.pricing-card__features {
  margin-bottom: var(--space-xl);
  flex-grow: 1;
}

.pricing-card__feature {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(40, 42, 46, 0.1);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pricing-card__feature::before {
  content: '✓';
  color: var(--color-accent);
  font-weight: var(--font-bold);
}

.pricing__note {
  text-align: center;
  margin-top: var(--space-xl);
  font-style: italic;
  color: var(--text-secondary);
}

/* Advantages section */
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.advantage-card {
  text-align: center;
  padding: var(--space-lg);
}

.advantage-card__icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 119, 51, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--color-accent);
  font-size: var(--text-xl);
}

.advantage-card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-sm);
}

.advantage-card__text {
  color: var(--text-secondary);
}

/* Footer */
.footer {
  background-color: var(--bg-secondary);
  color: var(--color-primary);
  padding: var(--space-xxl) 0 var(--space-lg);
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__logo {
  margin-bottom: var(--space-md);
}

.footer__text {
  color: rgba(245, 241, 235, 0.7);
  margin-bottom: var(--space-md);
}

.footer__title {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-md);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(245, 241, 235, 0.7);
}

.footer__item a {
  transition: color var(--transition-fast);
}

.footer__item a:hover {
  color: var(--color-accent);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(245, 241, 235, 0.1);
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(245, 241, 235, 0.1);
}

.footer__copyright {
  color: rgba(245, 241, 235, 0.5);
  font-size: var(--text-sm);
}

.footer__link {
  color: rgba(245, 241, 235, 0.7);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-accent);
}
.footer {
  background-color: var(--bg-secondary);
  color: var(--color-primary);
}

/* Добавить эти стили */
[data-theme="dark"] .footer {
  --bg-secondary: #1E1E1E; /* Темнее чем основной фон */
}
[data-theme="dark"] .process-step__number {
  color: rgba(210, 211, 215, 0.2);
}
.footer__item,
.footer__text,
.footer__link,
.footer__copyright,
.footer__logo .logo__text,
.footer h3,
.footer__social-link {
  color: rgba(245, 241, 235, 0.8); /* Более светлый текст */
}
.footer__logo .logo__text--studio {
  color: var(--color-accent);
}
.footer__link:hover {
  color: var(--color-accent);
}
/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 50px;
  height: 50px;
  background-color: var(--color-accent);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp var(--transition-slow) forwards;
}

/* Responsive styles */
@media (max-width: 1180px) {
   .nav {
    display: none;
  }
  .burger {
    display: block;
  }
  .burger.active .burger__line {
    background-color: var(--color-primary);
  }
  .nav.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-secondary);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
  }
  .nav__list {
    margin-top: 20%;
  }
  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
  }
  
  .nav__link {
    font-size: var(--text-xl);
    color: var(--color-primary);
  }
}
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero__content {
    max-width: 100%;
  }
  
  .portfolio-slide {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .header__contacts,
  .nav {
    display: none;
  }
  .advantages__grid {
    grid-template-columns: 1fr;
  }
  .burger {
    display: block;
  }
  .burger.active .burger__line {
    background-color: var(--color-primary);
  }
  .nav.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-secondary);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
  }
  
  .nav__link {
    font-size: var(--text-xl);
    color: var(--color-primary);
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .section__title {
    font-size: var(--text-xl);
  }
  
  .section__subtitle {
    font-size: var(--text-md);
  }
  
  .hero__title {
    font-size: var(--text-xxl);
  }
  
  .hero__subtitle {
    font-size: var(--text-md);
  }
  .portfolio-slide__description {
    margin-right: 0;
  }
  .portfolio-slide__image {
      min-height: 140px;
  }
  .portfolio-slide__title {
    font-size: var(--text-lg);
  }
  .swiper-button-next, .swiper-button-prev{
    display: none;
  }
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

@media (max-width: 576px) {
  :root {
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.25rem;
    --space-xl: 1.5rem;
    --space-xxl: 2rem;
  }
  
  .hero {
    padding-top: 100px;
  }
  
  .hero__title {
    font-size: var(--text-xl);
  }
  
  .btn {
    width: 100%;
  }
}
/* фикс */
.header__controls {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
/* Стили для контактов в мобильном меню */
.nav__contacts {
  display: none; /* Скрываем по умолчанию */
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.nav.active .nav__contacts {
  display: block; /* Показываем при активном меню */
}

.nav__phone,
.nav__email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--color-primary);
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  transition: color var(--transition-fast);
}

.nav__phone:hover,
.nav__email:hover {
  color: var(--color-accent);
}

.nav__social {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.nav__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(245, 241, 235, 0.1);
  color: var(--color-primary);
  font-size: var(--text-lg);
  transition: all var(--transition-fast);
}

.nav__social-link:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
}

/* Адаптация для мобильного меню */
@media (max-width: 768px) {
  .nav.active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav__list {
    width: 100%;
    padding: 0 var(--space-lg);
    margin-top: 20%;
  }
  
  .nav__item {
    text-align: center;
  }
  
  .nav__link {
    display: block;
    padding: var(--space-sm) 0;
    font-size: var(--text-xl);
  }
  
  .nav__contacts {
    width: 100%;
    margin-top: var(--space-xl);
    border-top: 1px solid rgba(245, 241, 235, 0.2);
  }
  [data-theme="dark"] .nav__contacts {
    border-top: 1px solid rgb(39 38 36 / 25%);
  }
  [data-theme="dark"] .nav__social-link {
    background-color: rgb(129 126 121 / 20%);
  }
}
[data-theme="dark"] .hero__subtitle {
  color: rgb(73 75 84);
}
@media (max-width: 768px) {
  .hero__image {
    margin: 15px 0;
  }
}
/* тест 3-д */
/* .d-cube {
  width: 200px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(20deg) rotateY(30deg);
  transition: transform 0.5s ease;
}

.cube__face {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: var(--color-primary);
  background: rgba(255, 119, 51, 0.1);
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255, 119, 51, 0.3);
}

.cube__face--front  { transform: rotateY(0deg) translateZ(100px); }
.cube__face--back   { transform: rotateY(180deg) translateZ(100px); }
.cube__face--right  { transform: rotateY(90deg) translateZ(100px); }
.cube__face--left   { transform: rotateY(-90deg) translateZ(100px); }
.cube__face--top    { transform: rotateX(90deg) translateZ(100px); }
.cube__face--bottom { transform: rotateX(-90deg) translateZ(100px); }

@media (max-width: 768px) {
  .d-cube {
    width: 150px;
    height: 150px;
  }
  .cube__face {
    font-size: 18px;
  }
} */
/* фикс 3д */
.d-cube {
  width: 200px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(20deg) rotateY(30deg);
  transition: transform 0.5s ease;
  /* Добавляем transform-origin */
  transform-origin: center center;
}

.cube__face {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: var(--color-primary);
  background: rgba(255, 119, 51, 0.1);
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255, 119, 51, 0.3);
  /* Для плавного изменения размера */
  transition: all 0.3s ease;
}

/* Позиционирование граней (важно обновить для мобил!) */
.cube__face--front  { transform: rotateY(0deg) translateZ(calc(100px * var(--scale-factor, 1))); }
.cube__face--back   { transform: rotateY(180deg) translateZ(calc(100px * var(--scale-factor, 1))); }
.cube__face--right  { transform: rotateY(90deg) translateZ(calc(100px * var(--scale-factor, 1))); }
.cube__face--left   { transform: rotateY(-90deg) translateZ(calc(100px * var(--scale-factor, 1))); }
.cube__face--top    { transform: rotateX(90deg) translateZ(calc(100px * var(--scale-factor, 1))); }
.cube__face--bottom { transform: rotateX(-90deg) translateZ(calc(100px * var(--scale-factor, 1))); }

@media (max-width: 768px) {
  .d-cube {
    width: 150px;
    height: 150px;
    /* Добавляем CSS-переменную для масштабирования */
    --scale-factor: 0.75; /* 150/200 = 0.75 */
  }
  
  .cube__face {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .d-cube {
    width: 120px;
    height: 120px;
    --scale-factor: 0.6; /* 120/200 = 0.6 */
  }
  
  .cube__face {
    font-size: 16px;
  }
}
/* фикс свайпер */
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: -5px;
}
/* Стили компонента уведомления о cookie */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-secondary);
    color: var(--text-light);
    padding: 20px;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    visibility: hidden;
}

.cookie-consent.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
    font-size: 15px;
    line-height: 1.6;
}

.cookie-consent-text p {
    margin: 0;
}

.cookie-consent-text a {
    color: var(--color-accent);
    text-decoration: underline;
    transition: color 0.2s;
}

.cookie-consent-text a:hover {
    color: #ff9966;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
}

.cookie-consent-button {
    background-color: var(--color-accent);
    color: var(--text-light);
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cookie-consent-button:hover {
    background-color: #e06628;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.cookie-consent-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .cookie-consent-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-consent-text {
        min-width: auto;
    }
    
    .cookie-consent-button {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .cookie-consent {
        padding: 15px;
    }
    
    .cookie-consent-text {
        font-size: 14px;
    }
}
