:root {
  --primary-color: #2C5F8D;
  --secondary-color: #E8833A;
  --accent-color: #4A90A4;
  --dark-color: #1A1A2E;
  --light-color: #F8F9FA;
  --text-color: #2D3436;
  --text-light: #636E72;
  --border-color: #DFE6E9;
  --success-color: #00B894;
  --error-color: #D63031;
  --white: #FFFFFF;

  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 1rem 2rem rgba(0, 0, 0, 0.15);

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  --container-width: 75rem;
  --header-height: 4.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  font-size: 0.938rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark-color);
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  border: 0.125rem solid transparent;
  line-height: 1.5;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  color: var(--white);
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #d67430;
  color: var(--white);
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transform: translateY(0);
  transition: transform var(--transition-base);
}

.header.hide {
  transform: translateY(-100%);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  gap: var(--space-md);
}

.logo {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  transition: color var(--transition-fast);
}

.logo:hover {
  color: var(--secondary-color);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-list {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-list li {
  padding: 15px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-color);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);

}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 0.375rem;
  cursor: pointer;
  padding: var(--space-xs);
}

.burger-line {
  width: 1.75rem;
  height: 0.188rem;
  background-color: var(--primary-color);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

.main-content {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--white);
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>') repeat;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
  opacity: 0.95;
}

.section {
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  max-width: 50rem;
  margin: 0 auto var(--space-xl);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 0.063rem solid var(--border-color);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-0.25rem);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--text-light);
  font-size: 0.875rem;
  line-height: 1.7;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: var(--space-md) 0;
}

.product-features {
  flex: 1;
  margin-bottom: var(--space-md);
}

.product-features li {
  padding: var(--space-xs) 0;
  font-size: 0.875rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.product-features li::before {
  content: '✓';
  color: var(--success-color);
  font-weight: 700;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--dark-color);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 0.063rem solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  background-color: var(--white);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.188rem rgba(44, 95, 141, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 7.5rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-size: 0.813rem;
}

.form-checkbox input {
  margin-top: 0.25rem;
  cursor: pointer;
}

.form-error {
  color: var(--error-color);
  font-size: 0.813rem;
  margin-top: var(--space-xs);
  display: none;
}

.form-error.show {
  display: block;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background-color: var(--white);
  border-radius: var(--radius-md);
  border-left: 0.25rem solid var(--primary-color);
  transition: all var(--transition-base);
}

.contact-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(0.25rem);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  min-width: 2rem;
}

.contact-details h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.contact-details p {
  color: var(--text-light);
  font-size: 0.875rem;
  margin: 0;
}

.map-container {
  width: 100%;
  height: 25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: var(--space-lg) 0 var(--space-md);
  font-size: 0.813rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-link {
  color: var(--light-color);
  font-size: 0.813rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--secondary-color);
}

.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.privacy-popup.show {
  transform: translateY(0);
}

.privacy-popup-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  max-width: var(--container-width);
  margin: 0 auto;
  flex-wrap: wrap;
}

.privacy-popup-text {
  flex: 1;
  font-size: 0.813rem;
  color: var(--text-color);
  min-width: 15.625rem;
}

.privacy-popup-actions {
  display: flex;
  gap: var(--space-sm);
}

.error-page {
  text-align: center;
  padding: var(--space-xxl) 0;
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.error-message {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--text-color);
}

.thank-you-page {
  text-align: center;
  padding: var(--space-xxl) 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: var(--space-md);
}

.policy-content {
  max-width: 50rem;
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

.policy-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.policy-content h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.policy-content p,
.policy-content li {
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.policy-content ul {
  list-style: disc;
  margin-left: var(--space-lg);
}

.requirements-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.requirement-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.requirement-icon {
  font-size: 1.5rem;
  color: var(--secondary-color);
  min-width: 2rem;
}

.requirement-content h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.requirement-content p {
  color: var(--text-light);
  font-size: 0.875rem;
  margin: 0;
}

@media (max-width: 62rem) {
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-lg);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-link {
    width: 100%;
    padding: var(--space-md);
    border-radius: var(--radius-md);
  }

  .burger-menu {
    display: flex;
  }
}

@media (max-width: 48rem) {
  :root {
    --header-height: 4rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .logo {
    font-size: 1rem;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .error-code {
    font-size: 4rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .privacy-popup-content {
    flex-direction: column;
  }
}

@media (max-width: 30rem) {
  body {
    font-size: 0.875rem;
  }

  .container {
    width: 95%;
  }

  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.813rem;
  }

  .card {
    padding: var(--space-md);
  }

  .map-container {
    height: 18.75rem;
  }

  .hero {
    padding: var(--space-lg) 0;
  }
}