/* --- CSS RESET & NORMALIZATION (based on modern-reset/normalize) --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #234957;
  min-height: 100vh;
  font-family: 'Lato', Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  background: none;
}
img,
picture {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  background: none;
  border: none;
}

/* --- BRAND FONTS (Montserrat for headings, Lato for body) --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');
:root {
  --color-primary: #234957;
  --color-secondary: #8ED1C6;
  --color-accent: #F5F0ED;
  --color-white: #fff;
  --color-black: #181C1E;
  --color-grey: #F3F4F6;
  --color-border: #e1e4e8;
  --header-height: 80px;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Lato', Arial, sans-serif;
  --radius: 14px;
  --shadow-card: 0 2px 24px rgba(35, 73, 87, 0.05);
  --shadow-soft: 0 1px 3px 0 rgba(0,0,0,0.04);
  --transition: 0.25s cubic-bezier(.3,.7,.4,1);
  --gap-section: 60px;
}

/* 1. Layout / Containers / Spacing */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* 2. Typography Scale & Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; }
p, li, td, th {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-primary);
}
p, ul, ol { margin-bottom: 0.8em; }
.text-section p, .text-section ul, .text-section li {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0.8em;
}
strong { font-weight: 700; }

/* 3. Button Styles, Links, Transitions */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  border: none;
  min-width: 120px;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-top: 20px;
  text-align: center;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: translateY(-1px) scale(1.025);
  box-shadow: 0 4px 16px rgba(35,73,87,0.08);
}
a {
  transition: color var(--transition), opacity var(--transition);
}
a:hover {
  color: var(--color-secondary);
}

/* --- HEADER/NAVIGATION --- */
header {
  width: 100vw;
  background: var(--color-white);
  box-shadow: 0 1px 8px rgba(35, 73, 87, 0.03);
  z-index: 20;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
}
header img {
  height: 40px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  text-transform: none;
  font-weight: 500;
  opacity: 0.88;
  padding: 8px 2px;
  border-radius: 5px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  background: var(--color-accent);
  opacity: 1;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2rem;
  color: var(--color-primary);
  border: none;
  cursor: pointer;
  padding: 7px 12px 5px 12px;
  border-radius: 8px;
  line-height: 1;
  transition: background var(--transition);
  z-index: 30;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-accent);
}

/* --- MOBILE MENU ------ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  right: 0;
  background: var(--color-white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100vw);
  transition: transform 0.33s cubic-bezier(.3,.7,.4,1.1);
  box-shadow: -32px 0 32px rgba(35,73,87,0.08);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 16px 0 0;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: 6px 18px;
  border-radius: 8px;
  transition: background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 32px 24px 24px 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-primary);
  padding: 12px 0;
  border-radius: 4px;
  width: 100%;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/* --- HERO SECTION --- */
.hero {
  background: var(--color-accent);
  border-radius: 0 0 var(--radius) var(--radius);
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
}
.hero .container {
  min-height: 310px;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  font-size: 2.0rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.07rem;
  margin-bottom: 10px;
}

/* --- FEATURES SECTION PATTERNS --- */
.features {
  margin-bottom: 60px;
}
.features .container {
  gap: 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
  justify-content: flex-start;
}
.feature-grid > div,
.feature-grid > li {
  flex: 1 1 200px;
  min-width: 210px;
  max-width: 290px;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  padding: 28px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-grid > div:hover,
.feature-grid > li:hover {
  box-shadow: 0 8px 28px rgba(35,73,87,0.10);
  transform: translateY(-4px) scale(1.02);
}
.feature-grid img {
  height: 38px;
}
.feature-grid h3 {
  font-size: 1.13rem;
  color: var(--color-primary);
}

/* --- CARDS/CONTAINERS SPACING PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  position: relative;
  padding: 24px;
  transition: box-shadow var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-card);
}
.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;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px;
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 420px;
  font-size: 1.06rem;
  color: var(--color-primary);
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(35,73,87,0.10);
  transform: translateY(-2px) scale(1.015);
}
.testimonial-meta {
  font-size: 0.98rem;
  color: var(--color-secondary);
  opacity: 0.93;
  padding-left: 5px;
}
.testimonial-slider,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* -- Service Cards Layout -- */
.service-overview-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.service-card {
  flex: 1 1 230px;
  min-width: 210px;
  max-width: 290px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  padding: 24px 18px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card img {
  height: 38px;
  margin-bottom: 6px;
}
.service-card h3 {
  margin-bottom: 4px;
  font-size: 1.11rem;
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(35,73,87,0.11);
  transform: scale(1.018);
}

/* -- Service List Styles -- */
.service-list li {
  padding-left: 5px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--color-primary);
}
.service-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.service-categories li {
  background: var(--color-accent);
  border-radius: 16px;
  padding: 6px 16px;
  font-size: 0.98rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

/* --- ABOUT / CONTACT CARDS --- */
.about ul,
.about-wellness ul,
.features ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 8px;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.contact-info img {
  height: 20px;
  width: 20px;
}
.map-embed {
  background: var(--color-accent);
  border-radius: var(--radius);
  padding: 16px 15px;
  margin-top: 16px;
  font-size: 1rem;
  color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

/* --- PRICING TABLE / TABS --- */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  margin-top: 8px;
}
.category-tabs a {
  padding: 8px 20px;
  background: var(--color-accent);
  border-radius: 18px;
  color: var(--color-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.category-tabs a:hover, .category-tabs a.active {
  background: var(--color-secondary);
  color: var(--color-white);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: var(--color-white);
  margin-top: 16px;
  overflow: hidden;
  font-size: 1rem;
}
.pricing-table th, .pricing-table td {
  border-bottom: 1px solid var(--color-border);
  padding: 14px 12px;
  text-align: left;
}
.pricing-table th {
  background: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* --- DETAILS / TREATMENTS --- */
.treatments-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.treatments-list details {
  background: var(--color-accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px 20px;
  margin-bottom: 12px;
  transition: box-shadow var(--transition);
}
.treatments-list details[open] {
  box-shadow: var(--shadow-card);
}
.treatments-list summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.09rem;
  cursor: pointer;
  outline: none;
  color: var(--color-primary);
  user-select: none;
  margin-bottom: 6px;
  padding: 4px 0;
  transition: color var(--transition);
}
.treatments-list summary:hover,
.treatments-list summary:focus {
  color: var(--color-secondary);
}
.treatments-list ul {
  margin-bottom: 6px;
}
.treatments-list p {
  color: var(--color-primary);
  font-size: 1rem;
}

/* --- CTA --- */
.cta {
  background: var(--color-secondary);
  border-radius: var(--radius);
  margin-bottom: 50px;
  box-shadow: 0 2px 24px rgba(142, 209, 198, 0.10);
  padding: 40px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta h2, .cta p {
  color: var(--color-primary);
}
.cta .btn-primary {
  margin-top: 20px;
  background: var(--color-primary);
  color: var(--color-white);
}

/* --- FOOTER --- */
footer {
  background: var(--color-accent);
  padding: 48px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-radius: var(--radius) var(--radius) 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: var(--color-primary);
}
.footer-nav {
  flex: 1 1 170px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-size: .97rem;
  color: var(--color-primary);
  opacity: 0.8;
  transition: color var(--transition);
}
.footer-nav a:hover {
  color: var(--color-secondary);
  opacity: 1;
}
.footer-contact {
  flex: 2 1 260px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .98rem;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--color-primary);
}
.footer-contact img {
  height: 18px;
}
.footer-contact a {
  color: var(--color-primary);
  opacity: 0.8;
}
.footer-contact a:hover { color: var(--color-secondary); opacity: 1; }
.footer-social {
  flex: 1 1 90px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.footer-social a img {
  height: 32px;
  width: 32px;
  opacity: 0.8;
  transition: opacity var(--transition), transform var(--transition);
}
.footer-social a:hover img {
  opacity: 1;
  transform: scale(1.11);
}

/* --- THANK YOU / POLICY / TERMS PAGES Layout --- */
.thank-you-message,
.privacy-policy,
.rodo-policy,
.cookies-policy,
.terms-of-use {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38vh;
  background: var(--color-accent);
  border-radius: var(--radius);
  margin-bottom: 52px;
  box-shadow: var(--shadow-soft);
}
.text-section {
  margin-top: 12px;
}


/* --- Cookie Consent Banner + Modal --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px 18px 20px;
  box-shadow: 0 -2px 24px rgba(35,73,87,0.07);
  z-index: 1200;
  animation: showCookieBanner 0.5s cubic-bezier(.3,.7,.4,1);
  gap: 18px;
}
@keyframes showCookieBanner {
  from { transform: translateY(70px); opacity: 0.7; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: var(--color-white);
  font-size: 1.03rem;
  margin-bottom: 5px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-actions button {
  padding: 8px 26px;
  font-size: 1rem;
  border-radius: var(--radius);
  border: none;
  margin: 0;
  font-family: var(--font-display);
  cursor: pointer;
  background: var(--color-white);
  color: var(--color-primary);
  transition: background 0.2s, color 0.2s, transform .2s;
  font-weight: 600;
}
.cookie-actions button.accept {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-actions button.reject {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-actions button.settings {
  background: transparent;
  color: var(--color-white);
  border: 1.3px solid var(--color-white);
}
.cookie-actions button:hover, .cookie-actions button:focus {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.04);
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35,73,87,0.14);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: initial;
  animation: fadeCookieModal .22s;
}
@keyframes fadeCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: var(--radius);
  max-width: 380px;
  min-width: 310px;
  padding: 32px 20px 22px 26px;
  box-shadow: 0 10px 48px rgba(35,73,87,0.21);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: popCookieModal 0.24s cubic-bezier(.6,1.5,.71,1.1);
}
@keyframes popCookieModal {
  from { transform: scale(.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal-category label {
  font-size: 1rem;
}
.cookie-modal-category input[type='checkbox'] {
  width: 18px; height: 18px;
  accent-color: var(--color-secondary);
  border-radius: 4px;
  margin-right: 8px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal button {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  padding: 10px 22px;
  font-size: 1rem;
  background: var(--color-accent);
  color: var(--color-primary);
  transition: background 0.2s, color 0.2s, transform .2s;
}
.cookie-modal button.save {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-modal button.close {
  background: transparent;
  color: var(--color-primary);
  border: 1.2px solid var(--color-secondary);
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.05);
}

/* --- MEDIA QUERIES & RESPONSIVENESS --- */
@media (max-width: 1024px) {
  .container { max-width: 960px; }
  .footer-contact { min-width: 180px; }
  .service-overview-cards, .feature-grid { gap: 20px; }
}
@media (max-width: 900px) {
  .container { max-width: 780px; }
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  :root { --header-height: 62px; }
  header .container {
    height: var(--header-height);
    padding: 0 14px;
    gap: 8px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    min-height: 180px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .feature-grid, .service-overview-cards, .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-grid > div, .feature-grid > li,
  .service-card, .testimonial-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .service-overview-cards .service-card {
    max-width: 100%;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section { flex-direction: column; gap: 15px; }
  .testimonial-card { max-width: 100%; }
  .cta {
    margin-bottom: 36px;
    padding: 22px 14px;
  }
  footer { padding: 24px 0 8px 0; }
}
@media (max-width: 520px) {
  .container { padding: 0 7px; }
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.18rem; }
  .hero .container { min-height: unset; }
  .footer-contact div { font-size: 0.97rem; }
  .footer-nav a, .footer-brand, .footer-brand p { font-size: 0.95rem; }
  .category-tabs a { font-size: .93rem; padding: 7px 10px; }
}

/* --- Focus Accessibility --- */
a:focus,
button:focus,
input[type="checkbox"]:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  z-index: 50;
}

/* --- TRANSITION OVERLAY for modal/menus --- */
.mobile-menu, .cookie-consent-banner, .cookie-modal, .cookie-modal-overlay {
  will-change: transform, opacity;
}
