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

:root {
  --color-primary: #d4759a;
  --color-primary-dark: #8b4d6e;
  --color-primary-light: #e8a4c9;
  --color-accent: #f4d03f;
  --color-green: #5d8a3c;
  --color-bg: #fdfbfc;
  --color-bg-alt: #f9f5f7;
  --color-text: #3d3d3d;
  --color-text-light: #6b6b6b;
  --color-white: #ffffff;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --shadow: 0 2px 12px rgba(139, 77, 110, 0.12);
  --shadow-lg: 0 8px 32px rgba(139, 77, 110, 0.18);
  --radius: 8px;
  --radius-lg: 16px;
  --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 {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

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

/* Header */
.header {
  background: var(--color-white);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 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 {
  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;
  list-style: none;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  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%;
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary-dark);
  transition: all var(--transition);
}

.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(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 999;
  overflow-y: auto;
}

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

.mobile-nav-list {
  list-style: none;
  padding: 20px;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--color-bg-alt);
}

.mobile-nav-link {
  display: block;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 500;
}

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

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

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

.hero h1 {
  font-size: 2rem;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 30px;
}

.hero-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 30px;
}

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

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

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

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

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

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

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

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

.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Features */
.features {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

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

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

/* Services */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 900px;
  margin: 0 auto;
}

.service-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-item h3 {
  font-size: 1.2rem;
  color: var(--color-primary-dark);
}

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

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

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}

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

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

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

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

/* About Page */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.values-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.value-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.value-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

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

.value-item p {
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* Contact Page */
.contact-info {
  max-width: 600px;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-bg-alt);
}

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

.contact-item strong {
  display: block;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}

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

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

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

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

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

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

.legal-content h1 {
  color: var(--color-primary-dark);
  margin-bottom: 10px;
  font-size: 1.75rem;
}

.legal-content .last-updated {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

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

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

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

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

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

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

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

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

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

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

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

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

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

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

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

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

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

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

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

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

.cookie-btn-settings:hover {
  background: var(--color-bg-alt);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--color-text-light);
  border: 1px solid var(--color-text-light);
}

.cookie-btn-decline:hover {
  background: var(--color-bg-alt);
}

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

.cookie-modal-overlay.active {
  display: flex;
}

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

.cookie-modal-header {
  padding: 25px 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

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

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

.cookie-category {
  padding: 15px 0;
  border-bottom: 1px solid var(--color-bg-alt);
}

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

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

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

.cookie-toggle {
  position: relative;
  width: 48px;
  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: #ccc;
  border-radius: 26px;
  transition: var(--transition);
}

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

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

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

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

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

.cookie-modal-footer {
  padding: 0 25px 25px;
  display: flex;
  gap: 10px;
}

/* 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-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Tablet and up */
@media (min-width: 768px) {
  .nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

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

  .hero {
    padding: 100px 20px;
  }

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

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

  .section {
    padding: 80px 20px;
  }

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

  .features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .services-list {
    gap: 30px;
  }

  .service-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
  }

  .service-header {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

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

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

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

  .footer-section {
    flex: 1;
  }

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

  .cookie-banner p {
    flex: 1;
    margin-right: 20px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }

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

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