:root {
  --primary: #2D5F8D;
  --secondary: #F4A261;
  --accent: #E76F51;
  --dark: #264653;
  --light: #F8F9FA;
  --white: #FFFFFF;
  --text: #2C3E50;
  --text-light: #6C757D;
  --border: #E0E6ED;

  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;

  --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 32px rgba(0, 0, 0, 0.16);

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-sm) 0;
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.95);
}

header.scrolled {
  position: fixed;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-xs) 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-primary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: var(--space-md);
  align-items: center;
}

nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-base);
}

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

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  transition: var(--transition-base);
  border-radius: 2px;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  animation: float 20s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-100px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  animation: fadeInUp 1s ease;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  margin-bottom: var(--space-md);
  color: var(--white);
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
  opacity: 0.95;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

section {
  padding: var(--space-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.section-header h2 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--border);
}

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

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

.card h3 {
  color: var(--dark);
  margin-bottom: var(--space-xs);
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.price-card {
  text-align: center;
  position: relative;
}

.price-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

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

.price-features {
  list-style: none;
  margin: var(--space-md) 0;
  text-align: left;
}

.price-features li {
  padding: var(--space-xs) 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.price-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  margin-right: var(--space-xs);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--dark);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 95, 141, 0.1);
}

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

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

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.map-container {
  width: 100%;
  height: 400px;
  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;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-item {
  text-align: center;
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.contact-item h4 {
  color: var(--dark);
  margin-bottom: var(--space-xs);
  font-size: 1rem;
}

.contact-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}

footer {
  background: var(--dark);
  color: var(--white);
  padding: var(--space-md) 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  opacity: 0.8;
  font-size: 0.85rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-base);
}

.modal-close:hover {
  background: var(--light);
  color: var(--dark);
}

.modal h3 {
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.modal p {
  margin-bottom: var(--space-sm);
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md);
  z-index: 1500;
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.cookie-banner.active {
  transform: translateY(0);
}

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

.cookie-text {
  flex: 1;
  min-width: 250px;
  font-size: 0.9rem;
  color: var(--text);
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  padding: 0.625rem 1.5rem;
  font-size: 0.85rem;
}

.thank-you-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
  animation: fadeInUp 1s ease;
  margin: 0 auto;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.error-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-content {
  max-width: 600px;
  margin: 0 auto;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.steps-container {
  position: relative;
}

.step {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  align-items: flex-start;
}

.step-number {
  min-width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--dark);
  margin-bottom: var(--space-xs);
}

.step-content p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.product-card {
  text-align: center;
}

.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

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

.policy-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.policy-content h2 {
  color: var(--primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.policy-content h3 {
  color: var(--dark);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.policy-content p {
  margin-bottom: var(--space-sm);
  color: var(--text-light);
  line-height: 1.8;
}

.policy-content ul {
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
}

.policy-content li {
  margin-bottom: var(--space-xs);
  color: var(--text-light);
}

@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: var(--space-xl) var(--space-md);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    align-items: flex-start;
  }

  nav ul.active {
    right: 0;
  }

  .burger {
    display: flex;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .step {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  :root {
    --space-lg: 2rem;
    --space-xl: 2.5rem;
  }

  .logo {
    font-size: 1.0rem;
  }

  .section-header h2 {
    font-size: 1.2rem;
  }

  .contact-form {
    padding: var(--space-md);
  }

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

  .error-code {
    font-size: 5rem;
  }
}