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

:root {
  --primary: #0a6e5c;
  --primary-dark: #084d40;
  --secondary: #1a1a2e;
  --accent: #16a085;
  --text: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --border: #e0e0e0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

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

ul {
  list-style: none;
}

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

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

/* Desktop Navigation */
.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: 30px;
}

.nav-desktop a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
  padding: 8px 0;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--primary);
}

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

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  transition: all 0.3s;
}

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

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

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

/* Mobile Navigation */
.nav-mobile {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.nav-mobile.active {
  display: block;
}

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

.nav-mobile a {
  display: block;
  padding: 12px 15px;
  color: var(--text);
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background: var(--light-bg);
  color: var(--primary);
}

/* Main Content */
main {
  margin-top: 65px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

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

.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

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

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

/* Sections */
section {
  padding: 60px 20px;
}

section h2 {
  font-size: 1.75rem;
  margin-bottom: 30px;
  color: var(--secondary);
}

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

/* Features */
.features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

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

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

.feature-card p {
  color: var(--text-light);
}

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

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--primary);
}

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

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

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

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

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

.testimonial blockquote {
  font-style: italic;
  color: var(--text);
  margin-bottom: 15px;
  line-height: 1.7;
}

.testimonial cite {
  color: var(--primary);
  font-weight: 600;
  font-style: normal;
}

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

.about-text p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.stat {
  flex: 1;
  min-width: 120px;
  background: var(--primary);
  color: var(--white);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

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

.contact-details h3 {
  color: var(--secondary);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-details p {
  color: var(--text-light);
}

/* Thank You Page */
.thank-you-content {
  text-align: center;
  padding: 80px 20px;
}

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

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

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.legal-content h1 {
  color: var(--secondary);
  margin-bottom: 30px;
  font-size: 2rem;
}

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

.legal-content h3 {
  color: var(--secondary);
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.legal-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.legal-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.legal-content li {
  color: var(--text-light);
  margin-bottom: 8px;
  list-style: disc;
}

/* Footer */
footer {
  background: var(--secondary);
  color: var(--white);
  padding: 50px 20px 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-section h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

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

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

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

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

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

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

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

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

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

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

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

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

.cookie-btn-accept:hover {
  background: var(--accent);
}

.cookie-btn-settings {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.cookie-btn-settings:hover {
  border-color: var(--white);
}

.cookie-btn-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
}

.cookie-btn-decline:hover {
  color: var(--white);
}

/* Cookie Modal */
.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.active {
  display: flex;
}

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

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

.cookie-modal-header h3 {
  color: var(--secondary);
  font-size: 1.25rem;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  padding: 5px;
}

.cookie-modal-close:hover {
  color: var(--text);
}

.cookie-modal-body {
  padding: 25px;
}

.cookie-option {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

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

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

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

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

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

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

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

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

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

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

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

.cookie-modal-footer {
  padding: 20px 25px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-modal-footer .cookie-btn {
  flex: 1;
  min-width: 120px;
}

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

.cookie-btn-save:hover {
  background: var(--accent);
}

/* Desktop Styles */
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav-desktop {
    display: block;
  }

  .nav-mobile {
    display: none !important;
  }

  .hero {
    padding: 120px 20px;
  }

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

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

  section {
    padding: 80px 20px;
  }

  section h2 {
    font-size: 2.25rem;
  }

  .features {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature-card {
    flex: 1;
    min-width: 280px;
  }

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

  .service-card {
    flex: 1;
    min-width: 300px;
  }

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

  .testimonial {
    flex: 1;
    min-width: 280px;
  }

  .about-content {
    flex-direction: row;
  }

  .about-text {
    flex: 2;
  }

  .about-stats {
    flex: 1;
    flex-direction: column;
  }

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

  .contact-item {
    flex: 1;
    min-width: 250px;
  }

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

  .footer-section {
    flex: 1;
    min-width: 200px;
  }

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

  .cookie-content p {
    flex: 1;
    margin-right: 30px;
  }

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

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

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

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