/* ========================================
   BIBLIOTECA LUMII - SOFT PASTEL DESIGN
   CSS Reset & Base Styles
   ======================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
  line-height: 1.7;
  color: #5a4a42;
  background: linear-gradient(135deg, #fef9f3 0%, #fdf4f0 100%);
  overflow-x: hidden;
}

/* ========================================
   SOFT PASTEL COLOR PALETTE
   ======================================== */

:root {
  --pastel-rose: #f7d4d6;
  --pastel-lavender: #e8d5f2;
  --pastel-mint: #d5f2e8;
  --pastel-peach: #fce4d6;
  --pastel-sky: #d6e8f7;
  --pastel-cream: #fef9f3;
  --pastel-beige: #f4e8d8;
  --text-primary: #5a4a42;
  --text-secondary: #8b7a6f;
  --brown-soft: #b89a89;
  --green-soft: #7ba898;
  --white: #ffffff;
  --shadow-soft: rgba(139, 69, 19, 0.08);
}

/* ========================================
   TYPOGRAPHY - SOFT & DREAMY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 20px;
}

h1 {
  font-size: 48px;
  letter-spacing: 0.5px;
}

h2 {
  font-size: 32px;
  letter-spacing: 0.3px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 18px;
}

p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

a {
  color: var(--brown-soft);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--green-soft);
}

/* ========================================
   LAYOUT CONTAINERS
   ======================================== */

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ========================================
   HEADER - SOFT PASTEL STYLE
   ======================================== */

header {
  background: linear-gradient(135deg, var(--white) 0%, var(--pastel-cream) 100%);
  box-shadow: 0 4px 20px var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 16px 0;
  border-bottom: 2px solid var(--pastel-beige);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 25px;
  transition: all 0.3s ease;
  background: transparent;
}

.main-nav a:hover {
  background: var(--pastel-rose);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.phone-link {
  font-weight: 600;
  color: var(--brown-soft);
  padding: 10px 20px;
  background: var(--pastel-peach);
  border-radius: 25px;
  transition: all 0.3s ease;
}

.phone-link:hover {
  background: var(--pastel-rose);
  transform: scale(1.05);
}

/* ========================================
   MOBILE MENU - SOFT PASTEL
   ======================================== */

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: var(--pastel-rose);
  border: none;
  font-size: 28px;
  color: var(--text-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--shadow-soft);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: var(--pastel-lavender);
  transform: scale(1.1);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: linear-gradient(135deg, var(--pastel-cream) 0%, var(--pastel-peach) 100%);
  z-index: 1002;
  padding: 80px 30px 30px;
  box-shadow: -5px 0 30px var(--shadow-soft);
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--pastel-lavender);
  border: none;
  font-size: 32px;
  color: var(--text-primary);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover {
  background: var(--pastel-rose);
  transform: rotate(90deg);
}

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

.mobile-nav a {
  font-size: 18px;
  color: var(--text-primary);
  padding: 14px 20px;
  background: var(--white);
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px var(--shadow-soft);
}

.mobile-nav a:hover {
  background: var(--pastel-mint);
  transform: translateX(10px);
}

/* ========================================
   HERO SECTION - DREAMY PASTEL
   ======================================== */

.hero {
  background: linear-gradient(135deg, var(--pastel-sky) 0%, var(--pastel-lavender) 50%, var(--pastel-rose) 100%);
  padding: 80px 20px;
  text-align: center;
  border-radius: 0 0 50px 50px;
  margin-bottom: 60px;
  box-shadow: 0 10px 40px var(--shadow-soft);
}

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

.hero h1 {
  font-size: 56px;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
}

.hero-subheadline {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

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

/* ========================================
   BUTTONS - SOFT PASTEL STYLE
   ======================================== */

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  font-family: 'Lora', serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pastel-rose) 0%, var(--pastel-lavender) 100%);
  color: var(--text-primary);
  box-shadow: 0 4px 15px var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px var(--shadow-soft);
  background: linear-gradient(135deg, var(--pastel-lavender) 0%, var(--pastel-mint) 100%);
}

.btn-secondary {
  background: var(--white);
  color: var(--text-primary);
  border: 2px solid var(--pastel-rose);
}

.btn-secondary:hover {
  background: var(--pastel-mint);
  border-color: var(--pastel-mint);
  transform: translateY(-3px);
}

/* ========================================
   CARDS & GRID LAYOUTS - FLEXBOX ONLY
   ======================================== */

.categories-grid,
.services-grid,
.benefits-grid,
.testimonials-grid,
.stats-grid,
.plans-grid,
.membership-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 32px;
}

.category-card,
.service-item,
.benefit-item,
.testimonial-card,
.stat-item,
.plan-card,
.membership-card {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 20px var(--shadow-soft);
  transition: all 0.3s ease;
  flex: 1 1 calc(50% - 12px);
  min-width: 280px;
  margin-bottom: 20px;
  position: relative;
}

.category-card:hover,
.service-item:hover,
.plan-card:hover,
.membership-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px var(--shadow-soft);
  background: linear-gradient(135deg, var(--white) 0%, var(--pastel-cream) 100%);
}

.category-card h3,
.service-item h3 {
  color: var(--text-primary);
  margin-bottom: 16px;
  font-size: 22px;
}

.category-card p,
.service-item p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.category-link {
  color: var(--brown-soft);
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.category-link:hover {
  color: var(--green-soft);
  transform: translateX(5px);
}

.price {
  display: inline-block;
  background: var(--pastel-peach);
  color: var(--text-primary);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  margin-top: 12px;
}

/* ========================================
   TESTIMONIALS - HIGH CONTRAST
   ======================================== */

.testimonials {
  background: linear-gradient(135deg, var(--pastel-lavender) 0%, var(--pastel-sky) 100%);
  padding: 60px 20px;
  border-radius: 30px;
  margin-bottom: 60px;
}

.testimonials h2 {
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 40px;
}

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 20px var(--shadow-soft);
  flex: 1 1 calc(50% - 12px);
  min-width: 300px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--pastel-rose);
}

.testimonial-author strong {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
}

.testimonial-author span {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ========================================
   FEATURES & BENEFITS
   ======================================== */

.features-list ul,
.plan-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.features-list li,
.plan-features li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.6;
}

.features-list li:before,
.plan-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-soft);
  font-weight: bold;
  font-size: 18px;
}

/* ========================================
   PROCESS STEPS
   ======================================== */

.steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 40px;
}

.step-item {
  flex: 1 1 calc(25% - 18px);
  min-width: 220px;
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 20px var(--shadow-soft);
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.step-item:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, var(--pastel-mint) 0%, var(--pastel-sky) 100%);
}

.step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: linear-gradient(135deg, var(--pastel-rose) 0%, var(--pastel-lavender) 100%);
  color: var(--text-primary);
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px var(--shadow-soft);
}

/* ========================================
   PRICING PLANS - SOFT PASTEL
   ======================================== */

.plan-card,
.membership-card {
  text-align: center;
  flex: 1 1 calc(33.333% - 16px);
  min-width: 280px;
  position: relative;
}

.plan-featured,
.membership-featured {
  border: 3px solid var(--pastel-rose);
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: linear-gradient(135deg, var(--pastel-rose) 0%, var(--pastel-lavender) 100%);
  color: var(--text-primary);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 15px var(--shadow-soft);
}

.plan-price,
.membership-price {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-primary);
  margin: 20px 0;
}

/* ========================================
   LOCATION & CONTACT
   ======================================== */

.location-content {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 20px var(--shadow-soft);
}

.location-info p {
  margin-bottom: 24px;
  line-height: 1.8;
}

.location-info strong {
  color: var(--text-primary);
  font-size: 18px;
  display: block;
  margin-bottom: 8px;
}

/* ========================================
   CTA SECTIONS
   ======================================== */

.cta-section,
.cta-final {
  background: linear-gradient(135deg, var(--pastel-rose) 0%, var(--pastel-lavender) 50%, var(--pastel-mint) 100%);
  padding: 60px 20px;
  text-align: center;
  border-radius: 30px;
  margin: 60px 0;
  box-shadow: 0 8px 30px var(--shadow-soft);
}

.cta-section h2,
.cta-final h2 {
  color: var(--text-primary);
  margin-bottom: 16px;
  font-size: 36px;
}

.cta-section p,
.cta-final p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ========================================
   PAGE HERO - SOFT STYLE
   ======================================== */

.page-hero {
  background: linear-gradient(135deg, var(--pastel-cream) 0%, var(--pastel-peach) 100%);
  padding: 60px 20px 40px;
  border-radius: 0 0 30px 30px;
  margin-bottom: 40px;
}

.breadcrumb {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--brown-soft);
}

.page-intro {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 800px;
  line-height: 1.7;
}

.price-highlight {
  display: inline-block;
  background: var(--pastel-rose);
  color: var(--text-primary);
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 20px;
  font-weight: 600;
  margin-top: 16px;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
  margin: 60px 0;
}

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

.faq-item {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 20px var(--shadow-soft);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 25px var(--shadow-soft);
  transform: translateX(5px);
}

.faq-item h3 {
  color: var(--text-primary);
  margin-bottom: 12px;
  font-size: 20px;
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   FOOTER - SOFT PASTEL
   ======================================== */

footer {
  background: linear-gradient(135deg, var(--pastel-lavender) 0%, var(--pastel-sky) 100%);
  padding: 60px 20px 20px;
  margin-top: 80px;
  border-radius: 30px 30px 0 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1 1 220px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 16px;
}

.footer-col h4 {
  color: var(--text-primary);
  margin-bottom: 16px;
  font-size: 18px;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: var(--brown-soft);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 2px solid var(--pastel-rose);
  padding-top: 24px;
  text-align: center;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 16px;
}

.legal-links a {
  color: var(--text-secondary);
  font-size: 14px;
}

.copyright {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--pastel-rose) 0%, var(--pastel-lavender) 100%);
  padding: 20px;
  box-shadow: 0 -4px 20px var(--shadow-soft);
  z-index: 1000;
  display: none;
  border-radius: 20px 20px 0 0;
}

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

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

.cookie-text {
  flex: 1 1 300px;
  color: var(--text-primary);
}

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

.cookie-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Lora', serif;
}

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

.cookie-accept:hover {
  background: var(--pastel-mint);
  transform: scale(1.05);
}

.cookie-reject,
.cookie-settings {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--white);
}

.cookie-reject:hover,
.cookie-settings:hover {
  background: var(--white);
  transform: scale(1.05);
}

/* ========================================
   COOKIE SETTINGS MODAL
   ======================================== */

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

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

.cookie-modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px var(--shadow-soft);
}

.cookie-modal h2 {
  color: var(--text-primary);
  margin-bottom: 24px;
}

.cookie-category {
  padding: 20px;
  background: var(--pastel-cream);
  border-radius: 15px;
  margin-bottom: 16px;
}

.cookie-category h3 {
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 18px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
  background: var(--pastel-beige);
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch.active {
  background: var(--green-soft);
}

.toggle-switch:before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  top: 3px;
  left: 3px;
  transition: transform 0.3s ease;
}

.toggle-switch.active:before {
  transform: translateX(24px);
}

.modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ========================================
   THANK YOU PAGE
   ======================================== */

.thankyou-hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--pastel-mint) 0%, var(--pastel-sky) 100%);
  border-radius: 30px;
  margin-bottom: 40px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--green-soft);
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px var(--shadow-soft);
}

.thankyou-message {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================== */

@media (max-width: 768px) {
  /* Show mobile menu */
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu {
    display: block;
  }

  /* Hide desktop nav */
  .main-nav {
    display: none;
  }

  /* Typography adjustments */
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .hero h1 {
    font-size: 36px;
  }

  /* Layout adjustments */
  .category-card,
  .service-item,
  .testimonial-card,
  .plan-card,
  .membership-card,
  .step-item {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .hero-cta {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
  }

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

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .plan-featured,
  .membership-featured {
    transform: scale(1);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .category-card,
  .service-item,
  .step-item {
    flex: 1 1 calc(50% - 12px);
  }

  .plan-card,
  .membership-card {
    flex: 1 1 calc(50% - 12px);
  }
}

/* ========================================
   ANIMATIONS & TRANSITIONS
   ======================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  animation: fadeIn 0.6s ease-out;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-banner,
  .cookie-modal,
  header,
  footer {
    display: none;
  }

  body {
    background: white;
  }

  .section {
    page-break-inside: avoid;
  }
}