/* Compiled stylesheets. Do not modify directly. Make edits in /src/css/ */

/* ==========================================================================
   Design System & Tokens (CSS Variables)
   ========================================================================== */
:root {
  /* Enforced Psychological Color Palette */
  --primary-teal: #1A5F7A;      /* Trust, professional health, calm */
  --primary-teal-rgb: 26, 95, 122;
  --secondary-sage: #86A789;    /* Nature, freshness, wellness */
  --secondary-sage-rgb: 134, 167, 137;
  --accent-coral: #FF9B82;      /* Appetite appeal, motivation, CTAs */
  --accent-coral-dark: #E6856C;
  --bg-white: #FFFFFF;
  --bg-light-grey: #F5F7F8;
  --bg-sage-light: #F0F4F1;
  --text-dark: #1E293B;         /* Slate 800 */
  --text-muted: #64748B;        /* Slate 500 */
  --border-light: rgba(26, 95, 122, 0.08);
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout & Spacing */
  --container-max-width: 1200px;
  --header-height-large: 90px;
  --header-height-small: 70px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;     /* Friendly, modern rounded corners */
  --border-radius-lg: 16px;
  --border-radius-pill: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26, 95, 122, 0.04);
  --shadow-md: 0 10px 30px rgba(26, 95, 122, 0.06);
  --shadow-lg: 0 20px 45px rgba(26, 95, 122, 0.1);
  
  /* Animation Speed */
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height-small);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--primary-teal);
  line-height: 1.25;
  font-weight: 700;
}

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

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

button, select, input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* Common Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ==========================================================================
   Reusable UI Components & Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-smooth);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent-coral);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(255, 155, 130, 0.3);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--accent-coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 155, 130, 0.4);
  outline: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-teal);
  border-color: var(--primary-teal);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  background-color: rgba(26, 95, 122, 0.05);
  transform: translateY(-2px);
  outline: none;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-teal), var(--secondary-sage));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Common Section Typography */
.section-header {
  max-width: 650px;
  margin-inline: auto;
  margin-bottom: 4rem;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary-sage);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}


/* ==========================================================================
   Header & Navigation Layout
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-block: 1.5rem;
  transition: padding-block 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Native CSS Scroll-driven shrinking header */
@supports ((animation-timeline: scroll()) and (animation-range: entry)) {
  @keyframes shrink-header {
    to {
      padding-block: 0.8rem;
      background-color: rgba(255, 255, 255, 0.95);
      border-color: var(--border-light);
      box-shadow: 0 4px 25px rgba(26, 95, 122, 0.05);
    }
  }
  
  .site-header {
    animation: shrink-header auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 80px;
  }
}

/* JS Fallback Scrolled State Class */
.site-header.scrolled {
  padding-block: 0.8rem;
  background-color: rgba(255, 255, 255, 0.95);
  border-color: var(--border-light);
  box-shadow: 0 4px 25px rgba(26, 95, 122, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Branding Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary-teal);
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-coral);
}

.logo-suffix {
  color: var(--secondary-sage);
  font-weight: 500;
}

/* Nav Menu */
.primary-navigation {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding-block: 0.5rem;
}

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

.nav-link:hover, .nav-link:focus-visible {
  color: var(--primary-teal);
}

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

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

.mobile-nav-toggle {
  display: none;
  position: relative;
  z-index: 1010;
  width: 30px;
  height: 30px;
}

/* ==========================================================================
   Hero Section Layout
   ========================================================================== */
.hero-section {
  padding-top: calc(var(--header-height-large) + 4rem);
  padding-bottom: 6rem;
  background: radial-gradient(circle at 80% 20%, rgba(134, 167, 137, 0.05) 0%, transparent 60%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  background-color: var(--bg-sage-light);
  color: var(--primary-teal);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(134, 167, 137, 0.2);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 4rem;
  width: 100%;
}

.hero-trust {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  width: 100%;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-count {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-teal);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.trust-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Portrait Visual Frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.image-frame-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
}

/* Blur shapes behind the portrait frame */
.image-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
  opacity: 0.35;
}

.bg-shape-sage {
  width: 280px;
  height: 280px;
  background-color: var(--secondary-sage);
  top: -20px;
  right: -20px;
}

.bg-shape-teal {
  width: 250px;
  height: 250px;
  background-color: var(--primary-teal);
  bottom: -10px;
  left: -30px;
}

.image-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--bg-white);
}

.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--transition-smooth);
}

.image-frame-wrapper:hover .hero-portrait {
  transform: scale(1.05);
}

/* Floating interactive glass badge */
.floating-badge {
  position: absolute;
  bottom: 25px;
  left: -40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--border-radius-lg);
  max-width: 260px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--primary-teal);
  color: var(--bg-white);
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-size: 0.9rem;
  color: var(--primary-teal);
  font-weight: 700;
}

.badge-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Services Section Layout
   ========================================================================== */
.services-section {
  padding-block: 7rem;
  background-color: var(--bg-light-grey);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.5rem;
  overflow: hidden;
  transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth), border-color 0.4s var(--transition-smooth);
  border: 1px solid rgba(26, 95, 122, 0.04);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 95, 122, 0.08);
}

.service-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  margin-bottom: 2rem;
  transition: transform var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.service-icon-wrapper svg {
  width: 32px;
  height: 32px;
}

/* Custom icon themes */
.icon-orange {
  background-color: rgba(255, 155, 130, 0.12);
  color: var(--accent-coral-dark);
}

.icon-teal {
  background-color: rgba(26, 95, 122, 0.1);
  color: var(--primary-teal);
}

.icon-sage {
  background-color: rgba(134, 167, 137, 0.12);
  color: #5e8061;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-text {
  display: block;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.service-summary-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.service-summary-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--border-radius-pill);
  background-color: var(--bg-light-grey);
  color: var(--text-dark);
  font-size: 0.82rem;
  line-height: 1.3;
}

.service-bullet-list {
  list-style: none;
  width: 100%;
  margin-bottom: 2rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.service-bullet-list li {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.service-bullet-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--secondary-sage);
}

.service-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-teal);
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.service-link:hover {
  color: var(--accent-coral-dark);
}

/* ==========================================================================
   About Section Layout & College Frame
   ========================================================================== */
.about-section {
  padding-block: 8rem;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.collage-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 480px;
}

.collage-bg {
  position: absolute;
  top: 40px;
  left: -40px;
  width: 100%;
  height: 100%;
  background-color: var(--bg-sage-light);
  border-radius: 24px;
  z-index: 1;
}

.collage-image-card {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--primary-teal), #124357);
  border-radius: 24px;
  padding: 3rem;
  color: var(--bg-white);
  display: flex;
  align-items: flex-end;
}

.clinical-preview {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.clinical-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-lg);
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--accent-coral);
}

.clinical-preview h3 {
  color: var(--bg-white);
  font-size: 1.6rem;
  font-weight: 700;
}

.clinical-preview p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.philosophy-quote {
  border-left: 4px solid var(--accent-coral);
  padding: 1.5rem 2rem;
  background-color: var(--bg-light-grey);
  border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
  margin-block: 2rem;
  width: 100%;
}

.philosophy-quote p {
  font-family: var(--font-heading);
  font-weight: 600;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--primary-teal);
  margin-bottom: 0.75rem;
}

.philosophy-quote cite {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.certifications-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
}

.cert-item {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius-pill);
}

/* ==========================================================================
   Blog Section Layout
   ========================================================================== */
.blog-section {
  padding-block: 7rem;
  background-color: var(--bg-light-grey);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.blog-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
  border: 1px solid rgba(26, 95, 122, 0.04);
}

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

.blog-badge {
  position: absolute;
  top: 2rem;
  left: 2rem;
  padding: 0.4rem 1rem;
  background-color: rgba(26, 95, 122, 0.08);
  color: var(--primary-teal);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--border-radius-pill);
  z-index: 2;
}

.blog-card-content {
  padding: 4rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-card-title a:hover {
  color: var(--secondary-sage);
}

.blog-card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.blog-card-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary-teal);
  margin-top: auto;
}

.blog-card-link:hover {
  color: var(--accent-coral-dark);
}

/* ==========================================================================
   Consultation Booking Modal (Native HTML5 <dialog>)
   ========================================================================== */
.booking-dialog {
  margin: auto;
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 650px;
  width: 90%;
  background-color: var(--bg-white);
  padding: 0;
  max-block-size: 90dvh;
  overflow-y: auto;
}

.booking-dialog::backdrop {
  background-color: rgba(26, 95, 122, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

/* Handle opening animation states */
.booking-dialog[open] {
  animation: slide-up-modal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.booking-dialog[open]::backdrop {
  opacity: 1;
}

@keyframes slide-up-modal {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.dialog-wrapper {
  padding: 3rem 2.5rem;
  position: relative;
}

.dialog-header {
  margin-bottom: 2.5rem;
  padding-right: 2rem;
}

.booking-context {
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(180deg, rgba(26, 95, 122, 0.06), rgba(134, 167, 137, 0.06));
  border: 1px solid rgba(26, 95, 122, 0.08);
  border-radius: var(--border-radius-lg);
}

.booking-context-kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--secondary-sage);
  margin-bottom: 0.5rem;
}

.booking-context-title {
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.booking-context-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.booking-context-body p:last-child {
  margin-bottom: 0;
}

.dialog-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.dialog-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.dialog-close-btn {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-smooth), transform var(--transition-smooth);
  width: 36px;
  height: 36px;
  background-color: var(--bg-light-grey);
  border-radius: 50%;
}

.dialog-close-btn:hover {
  color: var(--primary-teal);
  transform: rotate(90deg);
}

/* Booking Form Elements */
.booking-form {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-teal);
}

.required {
  color: var(--accent-coral-dark);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(26, 95, 122, 0.15);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--bg-white);
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 4px rgba(26, 95, 122, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #A0AEC0;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.form-actions .btn {
  width: 100%;
}

/* ==========================================================================
   Footer Section Layout
   ========================================================================== */
.site-footer {
  background-color: var(--bg-light-grey);
  border-top: 1px solid var(--border-light);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  color: var(--primary-teal);
  background-color: var(--bg-white);
  transition: all var(--transition-smooth);
}

.social-link:hover {
  background-color: var(--primary-teal);
  color: var(--bg-white);
  border-color: var(--primary-teal);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.75rem;
  color: var(--primary-teal);
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-menu a {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-menu a:hover {
  color: var(--primary-teal);
  padding-left: 4px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary-sage);
  margin-bottom: 0.25rem;
}

.contact-value {
  color: var(--primary-teal);
  font-size: 1.05rem;
}

.contact-value strong {
  font-weight: 700;
}

.contact-value:hover {
  color: var(--accent-coral-dark);
}

.clinic-address {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.clinic-address strong {
  color: var(--primary-teal);
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
  max-width: 800px;
}

/* ==========================================================================
   Micro-Animations / Scroll-Driven Entry Effects
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Scroll Reveal animation using anonymous view-timeline */
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes fade-in-up {
      from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .scroll-reveal {
      animation: fade-in-up auto linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 35%;
    }
  }
}

/* Active class for JS observer fallback */
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-reveal {
  /* Initial hidden state for browsers with JS fallback */
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Disable initial opacity transition when native timeline works */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .scroll-reveal {
    opacity: unset;
    transform: unset;
    transition: none;
  }
}

/* ==========================================================================
   Sticky Social Action Bar (Fixed, Left Side)
   ========================================================================== */
.sticky-social-bar {
  position: fixed;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.sticky-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--bg-white);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.sticky-social-btn:hover,
.sticky-social-btn:focus-visible {
  transform: translateY(-3px) scale(1.06);
  box-shadow: var(--shadow-lg);
  outline: none;
}

.sticky-whatsapp {
  background-color: #25D366;
}

.sticky-instagram {
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* Subtle pulse to draw attention without being distracting */
@keyframes sticky-pulse {
  0%, 100% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(37, 211, 102, 0.35); }
  50% { box-shadow: var(--shadow-md), 0 0 0 8px rgba(37, 211, 102, 0); }
}

.sticky-whatsapp {
  animation: sticky-pulse 2.8s ease-in-out infinite;
}

/* Mobile: move bar to bottom-left so it never overlaps content or the hamburger menu */
@media (max-width: 768px) {
  .sticky-social-bar {
    left: 1rem;
    top: auto;
    bottom: 1.25rem;
    transform: none;
    flex-direction: column;
  }

  .sticky-social-btn {
    width: 46px;
    height: 46px;
  }
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.reviews-section {
  padding-block: 7rem;
  background: linear-gradient(180deg, var(--bg-white), #f7faf9 55%, var(--bg-light-grey));
}

.reviews-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.reviews-summary-score {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.reviews-avg {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-teal);
}

.reviews-summary-stars {
  display: flex;
  gap: 2px;
  font-size: 1.3rem;
  color: var(--accent-coral);
  letter-spacing: 1px;
}

.reviews-count {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.reviews-empty {
  color: var(--text-muted);
  font-style: italic;
}

.reviews-marquee-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  padding-block: 0.5rem;
}

.reviews-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
}

.reviews-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: review-marquee 42s linear infinite;
  will-change: transform;
}

.reviews-marquee-right .reviews-track {
  animation-direction: reverse;
}

.reviews-marquee:hover .reviews-track,
.reviews-marquee:focus-within .reviews-track {
  animation-play-state: paused;
}

.reviews-track-empty {
  margin: 0;
  padding: 1rem 0;
}

.review-card {
  width: 320px;
  min-height: 210px;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}

@keyframes review-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.review-card {
  background-color: var(--bg-white);
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.review-card-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
}

.review-card-stars {
  color: var(--accent-coral);
  letter-spacing: 1px;
  white-space: nowrap;
}

.review-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.5rem;
}

.review-card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-clamp: 4;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Review Form */
.review-form-wrapper {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
}

.review-form-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary-teal);
  margin-bottom: 1.5rem;
}

.form-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.85em;
}

/* Star Rating Widget */
.star-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.star-btn {
  font-size: 1.9rem;
  line-height: 1;
  color: var(--border-light);
  background: transparent;
  transition: color var(--transition-smooth), transform var(--transition-smooth);
}

.star-btn:hover,
.star-btn:focus-visible {
  transform: scale(1.12);
  outline: none;
}

.star-btn.is-filled {
  color: var(--accent-coral);
}

.star-reset-btn {
  margin-left: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: underline;
}

/* Consent Checkbox */
.consent-group {
  margin-top: 0.25rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: var(--accent-coral);
  flex-shrink: 0;
}

.checkbox-label a {
  color: var(--primary-teal);
  font-weight: 600;
  text-decoration: underline;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.2em;
}

.form-status.is-success {
  color: var(--secondary-sage);
  font-weight: 600;
}

.form-status.is-error {
  color: var(--accent-coral-dark);
  font-weight: 600;
}

/* KVKK Dialog Text */
.kvkk-text {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.kvkk-text h4 {
  color: var(--primary-teal);
  font-size: 1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
}

.kvkk-text p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.kvkk-text a {
  color: var(--primary-teal);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .review-form-wrapper {
    padding: 1.75rem 1.5rem;
  }

  .review-card {
    width: 280px;
  }
}

@media (max-width: 680px) {
  .reviews-track {
    animation-duration: 56s;
  }

  .review-card {
    width: 260px;
  }

  .reviews-summary {
    flex-direction: column;
  }

  .reviews-summary-score {
    justify-content: center;
  }
}


/* ==========================================================================
   Responsive Overrides & Media Queries
   ========================================================================== */

/* Tablet Layout (under 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Mobile Layout & Navigation Fixes (under 768px) */
@media (max-width: 768px) {
  :root {
    --header-height-large: 75px;
  }
  
  .site-header {
    padding-block: 1rem;
  }
  
  /* Disable CSS scroll-driven shrinking header on mobile to prevent jitter */
  @supports ((animation-timeline: scroll()) and (animation-range: entry)) {
    .site-header {
      animation: none;
    }
  }

  /* Hamburguer Button Placement (No text overlaps) */
  .mobile-nav-toggle {
    display: block;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 32px;
    height: 32px;
    outline: none;
  }
  
  .hamburger {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 2px;
    background-color: var(--primary-teal);
    transition: background-color var(--transition-smooth);
  }
  
  .hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background-color: var(--primary-teal);
    transition: transform var(--transition-smooth), top var(--transition-smooth), bottom var(--transition-smooth);
  }
  
  .hamburger::before { top: -6px; }
  .hamburger::after { bottom: -6px; }
  
  /* Hamburger menu transforms on open */
  .mobile-nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
  }
  
  .mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
  }
  
  .mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
  }
  
  /* Sliding Drawer Menu (Locks scroll on base body) */
  .primary-navigation {
    position: fixed;
    top: var(--header-height-large);
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    padding: 3rem 2.5rem;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid var(--border-light);
    max-height: calc(100dvh - var(--header-height-large));
    overflow-y: auto;
    box-shadow: 0 16px 30px rgba(26, 95, 122, 0.08);
    border-radius: 0 0 24px 24px;
  }
  
  .primary-navigation.active {
    transform: translateX(0);
  }
  
  .nav-list {
    flex-direction: column;
    gap: 2rem;
    width: 100%;
  }
  
  .nav-link {
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
    width: 100%;
    padding-block: 0.5rem;
  }
  
  .header-actions {
    display: none; /* Hide header button on mobile bar */
  }
  
  /* Hero Grid Overrides */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-trust {
    justify-content: center;
    gap: 2.5rem;
  }
  
  .hero-visual {
    margin-top: 2rem;
  }
  
  .floating-badge {
    left: 50%;
    transform: translateX(-50%);
    animation: float-mobile 4s ease-in-out infinite;
    bottom: -20px;
    width: 90%;
    max-width: 320px;
  }
  
  @keyframes float-mobile {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -8px); }
  }
  
  /* Services responsiveness card alignments */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-card {
    padding: 2.5rem 2rem;
  }
  
  /* About Collage alignments */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .collage-wrapper {
    height: 380px;
    margin-inline: auto;
  }
  
  .collage-image-card {
    padding: 2rem;
  }
  
  .collage-bg {
    left: -20px;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  /* Blog Grid responsive rules */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .reviews-section {
    padding-block: 6rem;
  }

  .reviews-marquee-shell {
    gap: 0.75rem;
  }

  .review-card {
    min-height: 190px;
  }
  
  /* Footer Columns alignment */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* ==========================================================================
     Enforced Mobile Dialog Scroll Fixes (Prevents Freeze/Overflow Cut)
     ========================================================================== */
  .booking-dialog {
    width: 92%;
    max-block-size: 85dvb;     /* Strict height boundary */
    overflow-y: auto;          /* Make entire dialog box vertically scrollable */
    border-radius: var(--border-radius-lg);
  }
  
  .dialog-wrapper {
    padding: 2rem 1.5rem;
    overflow: visible;
  }
  
  .dialog-header {
    margin-bottom: 2rem;
  }
  
  .dialog-title {
    font-size: 1.5rem;
  }
  
  .dialog-close-btn {
    top: 1.8rem;
    right: 1.5rem;
    width: 32px;
    height: 32px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;  /* Fit cleanly into small mobile screens */
    gap: 1.25rem;
    margin-bottom: 2rem;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .form-group input, 
  .form-group select, 
  .form-group textarea {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}
