:root {
  --primary: #2c5f7d;
  --secondary: #4a8ba6;
  --accent: #6bb3cc;
  --light: #e8f4f8;
  --dark: #1a3a4a;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --border: #ddd;
  
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Merriweather', serif;
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
  
  --transition: 0.3s ease;
}

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

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

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition);
}

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

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%);
  transition: var(--transition);
}

header.scrolled {
  position: fixed;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

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

nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
}

nav a:hover {
  color: var(--primary);
  background: var(--light);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  padding: var(--space-xs);
}

.burger span {
  width: 1.5rem;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

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

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

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

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: var(--space-md);
  font-family: var(--font-secondary);
}

.hero-image {
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background: var(--secondary);
  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);
}

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

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

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

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

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

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

.feature-icon {
  font-size: 1.8rem;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: var(--space-xs);
}

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

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  transition: var(--transition);
}

.pricing-card:hover {
  border-color: var(--primary);
  transform: scale(1.03);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

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

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

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

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

.contact-section {
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.info-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.info-icon {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

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

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

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

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

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

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

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

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

.checkbox-group input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

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

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

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

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
}

.faq-question:hover {
  background: var(--light);
}

.faq-icon {
  transition: var(--transition);
  font-size: 1.2rem;
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-answer-content {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

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

.footer-links a:hover {
  opacity: 1;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

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

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

.modal h3 {
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

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

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md);
}

.error-content h1 {
  font-size: 6rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.error-content h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.error-content p {
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.thank-you-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
  padding: var(--space-md);
}

.thank-you-content {
  text-align: center;
  max-width: 600px;
}

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

.thank-you-content h1 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.thank-you-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

.policy-page {
  padding: var(--space-xl) 0;
  min-height: 100vh;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h1 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: var(--space-md);
  margin-top: var(--space-md);
}

.policy-content h2 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.policy-content h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-xs);
}

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

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

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

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .burger {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    padding: var(--space-xl) var(--space-md);
    display: none;
  }
  
  nav.active {
    right: 0;
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  nav a {
    display: block;
    padding: var(--space-sm);
  }
  
  .hero-grid,
  .grid-2,
  .grid-3,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --space-sm: 0.75rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 2.5rem;
  }
  
  .hero-text h1 {
    font-size: 1.75rem;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .error-content h1 {
    font-size: 4rem;
  }
}
