/* CSS RESET & BASICS */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #273043;
  line-height: 1.6;
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #273043;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* VARIABLES – fallback for older browsers */
:root {
  --color-primary: #273043;
  --color-secondary: #EFA8B8;
  --color-accent: #FFFFFF;
  --color-grey: #F4F6F8;
  --color-shadow: rgba(39,48,67,0.06);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* TYPOGRAPHY */
h1, .h1 { font-family: var(--font-display), serif; font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; letter-spacing: -1px; line-height: 1.15; }
h2, .h2 { font-family: var(--font-display), serif; font-size: 2rem; font-weight: 600; margin-bottom: 16px; line-height: 1.2; }
h3, .h3 { font-family: var(--font-display), serif; font-size: 1.25rem; font-weight: 500; margin-bottom: 10px; }
h4, .h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }

p, li, address, cite, blockquote {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--color-primary);
}
strong { font-weight: 600; }
cite { font-style: normal; color: #222; font-size: 0.98em; margin-top: 10px; display: block; }
blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.5;
}

/* CONTAINER & SPACING */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
section, .section { /* MANDATORY SPACING */
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 900px) {
  section, .section { padding: 30px 10px; }
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 10px var(--color-shadow);
  position: relative;
  z-index: 10;
}
.logo-header {
  display: flex;
  align-items: center;
  height: 70px;
  padding: 10px 20px 10px 10px;
}
.logo-header img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 1rem;
  padding-right: 20px;
}
.main-nav a {
  color: var(--color-primary);
  padding: 8px 0;
  position: relative;
  transition: color 0.18s, background 0.18s;
}
.main-nav a.cta-btn {
  background: var(--color-secondary);
  color: #fff;
  padding: 9px 18px;
  border-radius: 24px;
  font-weight: 600;
  box-shadow: 0 1px 8px var(--color-shadow);
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
  margin-left: 14px;
  border: none;
}
.main-nav a.cta-btn:hover,
.main-nav a.cta-btn:focus {
  background: #D98CA6;
  color: #fff;
  box-shadow: 0 3px 12px rgba(239,168,184,0.08);
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-secondary);
}

header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 0;
  height: 70px;
}
@media (max-width: 1000px) {
  .main-nav {
    gap: 14px;
    padding-right: 5px;
  }
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  padding: 6px 13px;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 51;
  border-radius: 6px;
  margin-right: 16px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-grey);
}

/* slide-in mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-accent);
  box-shadow: 0 4px 32px rgba(39,48,67,0.06);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 24px 0 0 0;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 25px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 1020;
  border-radius: 6px;
  transition: background 0.13s;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-grey);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 62px 0 0 36px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: var(--color-primary);
  padding: 9px 14px;
  border-radius: 6px;
  transition: background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-grey);
  color: var(--color-secondary);
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* HERO BLOCK & MAIN CTA */
.hero-block, .cta-block {
  background: var(--color-grey);
  border-radius: 18px;
  box-shadow: 0 2px 14px var(--color-shadow);
  margin-bottom: 60px;
}
.hero-block .content-wrapper, .cta-block .content-wrapper {
  align-items: flex-start;
  text-align: left;
}
.hero-block h1 {
  font-size: 2.5rem;
  max-width: 680px;
}
.hero-block p {
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 18px;
}
.cta-block .cta-btn {
  font-size: 1.08rem;
}

@media (max-width: 700px) {
  .hero-block h1 { font-size: 1.7rem; }
  .hero-block p { font-size: 0.99rem; }
  .hero-block, .cta-block {
    padding: 22px 10px;
  }
}

/* BUTTON & CTA */
.cta-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-secondary);
  color: #fff !important;
  border: none;
  border-radius: 28px;
  font-family: var(--font-body);
  font-size: 1.11rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.15s, transform 0.15s;
  box-shadow: 0 2px 13px var(--color-shadow);
  margin-top: 6px;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #D98CA6;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(239,168,184,0.10);
  transform: translateY(-1px) scale(1.03);
}

/* FLEXBOX LAYOUT CLASSES (MANDATORY) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px;
  flex: 1;
  min-width: 275px;
  transition: box-shadow 0.19s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 10px 32px rgba(39,48,67,0.11);
  transform: translateY(-2px) scale(1.01);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    text-align: left;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px var(--color-shadow);
  margin-bottom: 24px;
  min-width: 240px;
  max-width: 560px;
  border-left: 5px solid var(--color-secondary);
  transition: box-shadow 0.13s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 10px 40px rgba(239,168,184,0.13);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* List grids & features blocks */
.feature-grid, .usp-list, .service-overview-list, .treatment-highlight-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 22px;
}
.feature-grid li, .usp-list li, .service-overview-list li, .treatment-highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f7f8fa;
  border-radius: 8px;
  padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(39,48,67,0.05);
  min-width: 180px;
  font-size: 1rem;
}
.feature-grid img, .usp-list img {
  width: 28px; height: 28px; margin-right: 4px;
}

.detailed-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
}
.detailed-service-list .text-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 7px var(--color-shadow);
  padding: 24px 20px;
  min-width: 220px;
  flex: 1 1 250px;
  margin-bottom: 20px;
}
.detailed-service-list .text-section ul {
  margin-left: 8px;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .detailed-service-list, .feature-grid, .usp-list, .service-overview-list, .treatment-highlight-list {
    flex-direction: column;
    gap: 15px;
  }
}

/* TABLES & PRICING */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  margin-top: 12px;
}
.price-table th, .price-table td {
  padding: 14px 10px;
  font-size: 1rem;
  text-align: left;
}
.price-table th {
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--color-grey);
  color: var(--color-primary);
}
.price-table tr:not(:last-child) {
  border-bottom: 1px solid #ececec;
}
.price-table td {
  color: var(--color-primary);
}
.pricing-note {
  font-size: 0.97rem;
  color: #666;
  margin-top: 8px;
}

/* FOOTER */
footer {
  background: #fff;
  padding: 36px 0 18px 0;
  border-top: 1px solid #ececec;
  box-shadow: 0 -2px 10px var(--color-shadow);
  margin-top: 50px;
  position: relative;
  z-index: 5;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1rem;
}
.footer-nav a {
  color: #8D99A7;
  font-weight: 500;
  transition: color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #555b6e;
  font-size: 0.97rem;
  margin-top: 10px;
}
.footer-contact a { color: var(--color-primary); }
.footer-contact address {
  font-style: normal;
  color: #81899c;
  margin-bottom: 2px;
}

/* LEGAL BLOCKS */
.legal-block .text-section {
  margin-bottom: 32px;
}
.legal-block h1 { margin-bottom: 18px; }
.legal-block h2, .legal-block h3 { margin-bottom: 12px; }

/* GALERIE & TESTIMONIAL SPECIAL BLOCKS */
.testimonials-gallery-block, .testimonials-block {
  background: var(--color-grey);
  border-radius: 14px;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.experience-descriptions, .benefits-descriptions {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 7px var(--color-shadow);
  padding: 18px 16px;
  margin-top: 20px;
}

/* TEAM PROFILES */
.team-member-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}
.team-member-profiles .text-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 7px var(--color-shadow);
  padding: 18px 16px;
  flex: 1 1 220px;
  min-width: 180px;
}
.team-experience ul {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.team-experience li {
  background: #f7f8fa;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.98rem;
}
@media (max-width: 900px) {
  .team-member-profiles {
    flex-direction: column;
    gap: 8px;
  }
}

/* CONTACT BLOCK */
.contact-block .content-wrapper {
  gap: 12px;
  align-items: flex-start;
}
.contact-block .text-section {
  background: #f7f8fa;
  border-radius: 7px;
  padding: 10px 16px;
  margin-bottom: 0;
}
.contact-block strong {
  color: var(--color-primary);
  font-weight: 600;
}
.contact-block a {
  color: var(--color-secondary);
  font-weight: 600;
}
.contact-block a:hover { text-decoration: underline; }

/* MODAL & BANNER – COOKIE CONSENT */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 -2px 18px rgba(39,48,67,0.11), 0 1px 4px var(--color-shadow);
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 14px 20px 14px;
  opacity: 1;
  transition: opacity 0.22s, transform 0.35s cubic-bezier(.75,0,.18,1);
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-banner p {
  color: var(--color-primary);
  font-size: 1rem;
}
.cookie-consent-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 2px;
}
.cookie-btn {
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 9px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.15s, color 0.13s;
  cursor: pointer;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #D98CA6;
  color: #fff;
}
.cookie-btn.secondary {
  background: #f4f4fa;
  color: var(--color-primary);
  border: 1px solid #ececec;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #fbe8ee;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 3100;
  background: rgba(39,48,67,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.26s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(239,168,184,0.07), 0 1.5px 6px var(--color-shadow);
  padding: 30px 22px 22px 22px;
  min-width: 325px;
  max-width: 95vw;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.2rem;
  font-weight: 700;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 19px; height: 19px;
}
.cookie-essential-label {
  color: #888;
  font-size: 0.97rem;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 10px;
}
.cookie-modal .cookie-close-btn {
  position: absolute;
  top: 10px;
  right: 13px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--color-secondary);
  cursor: pointer;
  border-radius: 6px;
}
.cookie-modal .cookie-close-btn:hover, .cookie-modal .cookie-close-btn:focus { background: #f7ecf2; }

/* MEDIA & RESPONSIVE */
@media (max-width: 720px) {
  .container {
    max-width: 100%;
    padding: 0 8px;
  }
  .footer-nav { gap: 13px; }
  .pricing-block, .services-list-block, .legal-block {
    padding: 20px 0 !important;
  }
}
@media (max-width: 600px) {
  .card, .testimonial-card {
    min-width: 0;
    padding: 18px 10px;
  }
  .hero-block, .cta-block {
    padding: 14px 3px;
    border-radius: 10px;
  }
  .price-table th, .price-table td { padding: 8px 6px; font-size: 0.95rem; }
}

/* LIST SPACING & STYLES */
ul, ol {
  margin-left: 0;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 4px;
  padding-left: 0;
  font-size: 1rem;
}

/* MICRO-INTERACTIONS & TRANSITIONS */
.card, .testimonial-card, .cta-btn, .main-nav a, .feature-grid li, .usp-list li, .service-overview-list li, .treatment-highlight-list li {
  transition: box-shadow 0.14s, background 0.15s, color 0.14s, transform 0.13s;
}
.feature-grid li:hover, .usp-list li:hover, .service-overview-list li:hover, .treatment-highlight-list li:hover {
  background: #fff4fa;
  color: var(--color-secondary);
  box-shadow: 0 2px 12px rgba(239,168,184,0.09);
  transform: translateY(-1.5px);
}

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

/* Z-INDEX for overlays */
.mobile-menu, .cookie-modal-overlay, .cookie-consent-banner {
  z-index: 1051;
}

/* Utilities */
.hidden { display: none !important; }

/* ----- END OF CSS ----- */
