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

:root {
  --primary: #1a3a5c;
  --secondary: #d4a853;
  --text: #2c3e50;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
  --border: #e0e0e0;
}

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

header {
  background: var(--primary);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

.logo {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
}

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

nav {
  display: none;
}

nav.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--primary);
  padding: 20px;
}

nav ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

nav a {
  color: var(--white);
  font-size: 1rem;
  transition: color 0.3s;
}

nav a:hover,
nav a:focus {
  color: var(--secondary);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  transition: all 0.3s;
}

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

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

main {
  margin-top: 70px;
}

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

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

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s;
}

.btn:hover,
.btn:focus {
  background: #c49943;
  transform: translateY(-2px);
}

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

.btn-outline:hover,
.btn-outline:focus {
  background: var(--secondary);
  color: var(--primary);
}

section {
  padding: 60px 0;
}

.section-title {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 40px;
  text-align: center;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

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

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

.service-card p {
  color: var(--gray);
  margin-bottom: 15px;
}

.service-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-text p {
  margin-bottom: 20px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--light);
  border-radius: 10px;
  min-width: 140px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.stat-label {
  color: var(--gray);
  font-size: 0.9rem;
}

.testimonials {
  background: var(--light);
}

.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--gray);
}

.cta-section {
  background: var(--primary);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.cta-section p {
  margin-bottom: 30px;
  opacity: 0.9;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: var(--light);
  border-radius: 10px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}

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

.contact-details p,
.contact-details a {
  color: var(--gray);
}

.contact-details a:hover {
  color: var(--secondary);
}

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

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h4 {
  color: var(--secondary);
  margin-bottom: 15px;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}

.footer-section a:hover,
.footer-section a:focus {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

.legal-content {
  padding: 40px 0;
}

.legal-content h1 {
  color: var(--primary);
  margin-bottom: 30px;
}

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

.legal-content p {
  margin-bottom: 15px;
}

.legal-content ul {
  margin: 15px 0 15px 20px;
  list-style: disc;
}

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

.thank-you-content {
  text-align: center;
  padding: 100px 0;
}

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

.thank-you-content p {
  margin-bottom: 30px;
  color: var(--gray);
}

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

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

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

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

.cookie-btn.accept {
  background: var(--secondary);
  color: var(--primary);
}

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

.cookie-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

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

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

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

.modal-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: var(--primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
}

.modal-body {
  padding: 20px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

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

.cookie-option-info h4 {
  color: var(--primary);
  margin-bottom: 5px;
}

.cookie-option-info p {
  font-size: 0.9rem;
  color: var(--gray);
}

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

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

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border);
  border-radius: 26px;
  transition: 0.3s;
}

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

.toggle input:checked + .toggle-slider {
  background: var(--secondary);
}

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

.toggle input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.modal-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  nav {
    display: flex;
  }

  nav ul {
    flex-direction: row;
    gap: 30px;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    padding: 120px 0;
  }

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

  .services-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 calc(50% - 15px);
  }

  .testimonials-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .testimonial-card {
    flex: 1 1 calc(50% - 15px);
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-section {
    flex: 1;
  }

  .cookie-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-buttons {
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.2rem;
  }

  .service-card {
    flex: 1 1 calc(33.333% - 20px);
  }

  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-item {
    flex: 1 1 calc(50% - 10px);
  }
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--secondary);
  color: var(--primary);
  padding: 8px 16px;
  z-index: 1001;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

*:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}