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

:root {
  --primary: #1e3a5f;
  --accent: #2d8a4e;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --text: #444444;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: var(--primary);
  color: var(--white);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
}

.logo span {
  color: var(--accent);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--accent);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2a4a6f 100%);
  color: var(--white);
  padding: 140px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s;
}

.hero-cta:hover {
  background: #247540;
  transform: translateY(-2px);
}

section {
  padding: 80px 0;
}

section h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 20px;
  text-align: center;
}

section .subtitle {
  text-align: center;
  color: #666;
  max-width: 600px;
  margin: 0 auto 50px;
}

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

.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: center;
}

.client-type h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.client-type ul {
  list-style: none;
  text-align: left;
  max-width: 300px;
  margin: 0 auto;
}

.client-type li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.client-type li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

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

.problem-card {
  background: var(--light-gray);
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid var(--accent);
}

.problem-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

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

.benefit {
  text-align: center;
  padding: 30px 20px;
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--white);
}

.benefit h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.lead-form-section {
  background: var(--light-gray);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

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

.checkbox-group label {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.disclaimer {
  font-size: 0.85rem;
  color: #888;
  margin-top: 15px;
  text-align: center;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #247540;
}

.btn-submit:disabled {
  background: #999;
  cursor: not-allowed;
}

footer {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.footer-section p,
.footer-section a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-disclaimer {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: var(--white);
  padding: 20px;
  z-index: 2000;
  display: none;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}

.cookie-banner.show {
  display: block;
}

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

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  font-size: 0.95rem;
}

.cookie-text a {
  color: var(--accent);
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-cookie {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

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

.btn-accept:hover {
  background: #247540;
}

.btn-reject {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-reject:hover {
  background: rgba(255,255,255,0.1);
}

.btn-customize {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-customize:hover {
  background: rgba(255,255,255,0.1);
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: var(--white);
  max-width: 500px;
  width: 100%;
  border-radius: 10px;
  padding: 30px;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal-content h3 {
  color: var(--primary);
  margin-bottom: 20px;
}

.cookie-option {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cookie-option h4 {
  color: var(--dark-gray);
  font-size: 1rem;
}

.cookie-option p {
  font-size: 0.85rem;
  color: #666;
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 26px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 26px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  transition: 0.4s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
  background-color: var(--accent);
}

.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-slider {
  background-color: var(--primary);
  opacity: 0.7;
}

.cookie-modal-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.cookie-modal-buttons .btn-cookie {
  flex: 1;
}

.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, #2a4a6f 100%);
  color: var(--white);
  padding: 120px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.page-header p {
  opacity: 0.9;
  font-size: 1.1rem;
}

.content-section {
  padding: 60px 0;
}

.content-section h2 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.content-section h3 {
  color: var(--primary);
  margin: 30px 0 15px;
  font-size: 1.4rem;
}

.content-section p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.content-section ul {
  margin: 15px 0 15px 30px;
}

.content-section li {
  margin-bottom: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--dark-gray);
  margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
  color: #666;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--accent);
}

.map-container {
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.about-story {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  align-items: center;
}

.about-story img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  text-align: center;
  padding: 30px;
  background: var(--light-gray);
  border-radius: 10px;
}

.value-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.service-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.thank-you {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
}

.thank-you-content {
  max-width: 500px;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 3rem;
  color: var(--white);
}

.thank-you h1 {
  color: var(--primary);
  margin-bottom: 20px;
}

.thank-you p {
  color: #666;
  margin-bottom: 30px;
}

.error-message {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #dc3545;
}

.form-group.error .error-message {
  display: block;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .mobile-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
  }

  nav {
    display: none;
    width: 100%;
  }

  nav.active {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section {
    padding: 50px 0;
  }

  section h2 {
    font-size: 1.8rem;
  }

  .form-container {
    padding: 25px;
  }

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

  .cookie-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .btn-cookie {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}
