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

:root {
  --color-primary: #4A90A4;
  --color-primary-dark: #2C5F6E;
  --color-secondary: #6BB5C9;
  --color-accent: #E8A838;
  --color-text: #2D3748;
  --color-text-light: #4A5568;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F7FAFC;
  --color-border: #E2E8F0;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

ul {
  list-style: none;
}

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.logo-icon {
  width: 40px;
  height: 40px;
}

/* Navigation */
.nav {
  display: none;
}

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

.nav-link {
  font-weight: 500;
  color: var(--color-text);
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-primary);
}

/* Mobile Menu Button */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-nav {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--color-bg);
  box-shadow: var(--shadow-md);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.mobile-nav-link {
  display: block;
  padding: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.mobile-nav-link:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

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

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

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-text);
}

.btn-primary:hover {
  background: #d4962e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

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

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

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

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

.section-subtitle {
  color: var(--color-text-light);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

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

.service-card {
  background: var(--color-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

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

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

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

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

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px;
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

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

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

.testimonial {
  background: var(--color-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 15px;
  padding-left: 30px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-primary-dark);
  padding-left: 30px;
}

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

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

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-member {
  background: var(--color-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  border-radius: 50%;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-avatar svg {
  width: 40px;
  height: 40px;
}

.team-member h3 {
  color: var(--color-primary-dark);
  margin-bottom: 5px;
}

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

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

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

.contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1rem;
  color: var(--color-primary-dark);
  margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
  color: var(--color-text-light);
}

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

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

.legal-content h1 {
  font-size: 2rem;
  color: var(--color-primary-dark);
  margin-bottom: 30px;
  text-align: center;
}

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

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

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

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

/* Thank You Page */
.thank-you {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 30px;
}

.thank-you h1 {
  font-size: 2rem;
  color: var(--color-primary-dark);
  margin-bottom: 15px;
}

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

/* Footer */
.footer {
  background: var(--color-primary-dark);
  color: white;
  padding: 50px 20px 25px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-brand p {
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 25px;
}

.footer-link {
  opacity: 0.8;
  transition: opacity var(--transition);
}

.footer-link:hover {
  opacity: 1;
}

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

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

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

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

.cookie-text {
  font-size: 0.95rem;
  line-height: 1.5;
}

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

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

.cookie-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

.cookie-btn-accept:hover {
  background: #d4962e;
}

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

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

/* Cookie Modal */
.cookie-modal-overlay {
  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-overlay.show {
  display: flex;
}

.cookie-modal {
  background: var(--color-bg);
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.cookie-modal-header {
  padding: 25px;
  border-bottom: 1px solid var(--color-border);
}

.cookie-modal-header h2 {
  font-size: 1.3rem;
  color: var(--color-primary-dark);
  margin-bottom: 5px;
}

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

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

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

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

.cookie-option-info h3 {
  font-size: 1rem;
  color: var(--color-primary-dark);
  margin-bottom: 5px;
}

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

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
  margin-left: 15px;
}

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

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

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

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--color-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(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-modal-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
}

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

.cookie-modal-btn-save:hover {
  background: var(--color-primary-dark);
}

.cookie-modal-btn-all {
  background: var(--color-accent);
  color: var(--color-text);
  border: none;
}

.cookie-modal-btn-all:hover {
  background: #d4962e;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  padding: 10px 15px;
  background: var(--color-primary-dark);
  color: white;
  z-index: 9999;
  transition: top var(--transition);
}

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

/* Focus styles */
a:focus,
button:focus,
input:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Responsive - Tablet */
@media (min-width: 600px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

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

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

  .feature {
    flex: 1 1 calc(50% - 20px);
  }

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

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

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

  .team-member {
    flex: 1 1 calc(50% - 15px);
  }

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

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

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

  .cookie-text {
    flex: 1;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-brand {
    text-align: left;
  }
}

/* Responsive - Desktop */
@media (min-width: 900px) {
  .nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

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

  .hero {
    padding: 100px 20px;
  }

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

  .section {
    padding: 80px 20px;
  }

  .section-title {
    font-size: 2.2rem;
  }

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

  .feature {
    flex: 1 1 calc(25% - 25px);
  }

  .team-member {
    flex: 1 1 calc(33.333% - 20px);
  }

  .contact-item {
    flex: 1 1 calc(33.333% - 20px);
  }
}
