:root {
  /* Обновлённая уникальная палитра */
  --primary: #C043FF;    /* фиолетовый орхидей */
  --secondary: #F6F4FF;  /* мягкий лиловый фон */
  --accent: #12202F;     /* глубокий сине‑графитовый */
  --highlight: #FFB86C;  /* персиковый акцент */
  --success: #20C997;    /* мятно‑бирюзовый */
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
  
  --transition: all 0.3s ease;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--accent);
  background-color: var(--secondary);
  overflow-x: hidden;
}

.header-wrapper {
  background: linear-gradient(135deg, var(--secondary) 0%, rgba(129, 178, 154, 0.1) 100%);
  padding: var(--space-sm) 0;
  border-bottom: 2px solid var(--success);
  transform: translateY(-100%);
  animation: slideDown 0.6s ease forwards;
  position: relative;
  z-index: 1000;
}

@keyframes slideDown {
  to { transform: translateY(0); }
}
a{
  text-decoration: none;
  color: var(--accent);
}

header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text span{
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: var(--transition);
}
.logo-text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  font-size: 1.5rem;
  gap: 7px;
  font-weight: 700;
  color: var(--primary-color);
}
.logo-text>img{
  width: 60px;
  border-radius: 5px;
}

.logo-text:hover {
  color: var(--accent);
  transform: scale(1.05);
}

.nav-main {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-main a {
  font-size: 0.95rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-main a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-main a:hover:after {
  width: 80%;
}

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

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: var(--space-xs);
  z-index: 1000;
}

.burger-line {
  width: 1.75rem;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  border-radius: 2px;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-sm);
}

.hero-section {
  background: linear-gradient(135deg, rgba(32, 201, 151, 0.18) 0%, rgba(192, 67, 255, 0.14) 100%);
  padding: var(--space-xl) var(--space-md);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.hero-with-media {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: center;
}

.hero-copy h1,
.hero-copy p {
  text-align: left;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  margin-bottom: var(--space-sm);
}

.ghost-btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  border: 2px solid rgba(18, 32, 47, 0.24);
  background: rgba(255,255,255,0.4);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.ghost-btn:hover {
  background: white;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  box-shadow: var(--shadow-sm);
}

.hero-meta i {
  color: var(--primary);
}

.hero-media {
  position: relative;
  display: grid;
  gap: var(--space-sm);
}

.hero-main-image,
.hero-secondary-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-main-image img,
.hero-secondary-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-main-image {
  height: 260px;
}

.hero-secondary-image {
  height: 170px;
  max-width: 75%;
  justify-self: end;
  margin-top: -4rem;
  border: 3px solid rgba(255, 255, 255, 0.9);
}

.hero-section:before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 184, 108, 0.26) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-20px, 20px) rotate(5deg); }
}

.hero-section h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
  position: relative;
}

.hero-section p {
  font-size: 1.1rem;
  color: var(--accent);
  max-width: 700px;
  margin: 0 auto var(--space-md);
  opacity: 0.9;
  position: relative;
}

.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  position: relative;
}

.cta-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.section-standard {
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: var(--space-lg);
  align-items: start;
}

.section-split-highlight {
  background: radial-gradient(circle at top, rgba(192,67,255,0.12), transparent 60%),
              radial-gradient(circle at bottom, rgba(32,201,151,0.12), transparent 65%);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
}

.pill-list {
  list-style: none;
  margin-top: var(--space-sm);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.pill-list li {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--secondary);
  font-size: 0.85rem;
  border: 1px solid rgba(18, 32, 47, 0.08);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.metric-card {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.metric-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.9rem;
  opacity: 0.85;
}

.section-note {
  font-size: 0.85rem;
  opacity: 0.8;
  margin: 0;
}

.section-standard:nth-child(1) { animation-delay: 0.1s; }
.section-standard:nth-child(2) { animation-delay: 0.2s; }
.section-standard:nth-child(3) { animation-delay: 0.3s; }
.section-standard:nth-child(4) { animation-delay: 0.4s; }
.section-standard:nth-child(5) { animation-delay: 0.5s; }

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

.section-standard h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-bottom: var(--space-xs);
}

.section-standard h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4rem;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.section-standard h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: var(--space-xs);
  margin-top: var(--space-md);
}

.section-standard p {
  color: var(--accent);
  margin-bottom: var(--space-sm);
  opacity: 0.85;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.feature-card {
  background: linear-gradient(135deg, var(--secondary) 0%, white 100%);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--success);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  display: block;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: var(--space-xs);
  margin-top: 0;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--accent);
  opacity: 0.8;
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.product-item {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid var(--secondary);
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.product-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--success) 0%, var(--highlight) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
}

.product-content {
  padding: var(--space-md);
}

.product-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: var(--space-xs);
  margin-top: 0;
}

.product-content p {
  font-size: 0.9rem;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: var(--space-sm);
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.section-steps .steps-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.step-card {
  position: relative;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(246,244,255,1) 0%, #ffffff 100%);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(18,32,47,0.06);
}

.step-index {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(192,67,255,0.25);
}

.step-card h3 {
  margin-top: 0;
}

.step-card p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.section-testimonials .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(192,67,255,0.08), rgba(32,201,151,0.05));
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(18,32,47,0.06);
}

.testimonial-card blockquote {
  margin: 0 0 var(--space-sm);
  font-style: italic;
}

.testimonial-card figcaption {
  font-size: 0.85rem;
  opacity: 0.9;
}

.contact-section {
  background: linear-gradient(135deg, rgba(192, 67, 255, 0.12) 0%, rgba(32, 201, 151, 0.12) 100%);
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.contact-info p {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: var(--space-md);
  opacity: 0.85;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  background: white;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 0.2rem;
}

.info-item div h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.25rem;
  margin-top: 0;
}

.info-item div p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.8;
}

.contact-form {
  background: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--secondary);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--accent);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(192, 67, 255, 0.14);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
  margin: 0;
}

.map-container {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

footer {
  background: var(--accent);
  color: white;
  padding: var(--space-md) var(--space-sm);
  margin-top: var(--space-xl);
}

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

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  opacity: 0.9;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--highlight);
}

.footer-copyright {
  font-size: 0.85rem;
  opacity: 0.8;
}

.thankyou-container {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 700px;
  margin: var(--space-xl) auto;
  background: linear-gradient(135deg, rgba(32, 201, 151, 0.18) 0%, rgba(192, 67, 255, 0.12) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.thankyou-container i {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: var(--space-md);
  animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.thankyou-container h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.thankyou-container p {
  font-size: 1.1rem;
  color: var(--accent);
  opacity: 0.85;
  margin-bottom: var(--space-md);
}

.error-container {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 700px;
  margin: var(--space-xl) auto;
}

.error-container h1 {
  font-family: var(--font-display);
  font-size: 8rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.error-container h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.error-container p {
  font-size: 1.1rem;
  color: var(--accent);
  opacity: 0.85;
  margin-bottom: var(--space-md);
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
  border: solid red;
}

.popup-overlay.active {
  display: flex;
}

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

.popup-content {
  background: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.4s ease;
  position: relative;
}

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

.popup-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: var(--secondary);
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  transition: var(--transition);
}

.popup-close:hover {
  background: var(--primary);
  color: white;
  transform: rotate(90deg);
}

.popup-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.popup-content p {
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
  opacity: 0.85;
}

.popup-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.btn-accept,
.btn-decline {
  flex: 1;
  padding: var(--space-sm);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.btn-accept {
  background: var(--success);
  color: white;
}

.btn-accept:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

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

.btn-decline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}
@media (max-width: 900px) {
  .nav-main{
    gap: 1rem;
  }
.logo-text span{
  font-size: 21px;
}
}
@media (max-width: 768px) {
 
  html {
    font-size: 14px;
  }

  .hero-with-media {
    grid-template-columns: 1fr;
  }

  .hero-main-image {
    height: 220px;
  }

  .hero-secondary-image {
    margin-top: -2.5rem;
  }
  
  .section-split {
    grid-template-columns: 1fr;
  }
  
  .nav-main {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: var(--space-xl) var(--space-md);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1100;
    align-items: flex-start;
  }
  
  .nav-main.active {
    display: flex;
    right: 0;
  }
  
  .nav-main a {
    width: 100%;
    padding: var(--space-sm);
    font-size: 1.1rem;
  }
  
  .burger-menu {
    display: flex;
    z-index: 33333333333;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .section-standard h2 {
    font-size: 1.6rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-nav {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .logo-text span{
    display: none;
  }
  .contact-section{
    padding: 5px;
  }
  .section-standard{
    padding: 11px!important;
  }
  html {
    font-size: 13px;
  }
  
  .hero-section {
    padding: var(--space-md);
  }
  
  .hero-section h1 {
    font-size: 1.75rem;
  }
  
  .feature-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .popup-content {
    padding: var(--space-md);
    width: 95%;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 12px;
  }
  
  .logo-text {
    font-size: 1.4rem;
  }
  
  .cta-btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.9rem;
  }
}