/*
Theme Name: Dr. Heleia Nestal Zibo - Aesthetic Surgery
Theme URI: https://heleianestalzibo.eu/
Author: Kristjan
Description: Custom luxury WordPress theme for Dr. Heleia Nestal-Zibo. Built with PHP, HTML5, ACF Pro, preserving GTM (GTM-P3HZR6BN), GA4, and Google Ads tracking.
Version: 1.3.0
Text Domain: heleia-theme
*/

.static {
  position: static;
}

.absolute {
  position: absolute;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.size-full {
  width: 100%;
  height: 100%;
}

.flex-shrink {
  flex-shrink: 1;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.flex-wrap {
  flex-wrap: wrap;
}

.border {
  border-width: 1px;
}

.font-serif {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.uppercase {
  text-transform: uppercase;
}

.capitalize {
  text-transform: capitalize;
}

.underline {
  text-decoration-line: underline;
}

.outline {
  outline-style: solid;
}

.ring {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Reset & Base */

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #FCFBFB;
  color: #1A1A1A;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100vw;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* TYPOGRAPHY */

.font-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-sans {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* HEADER & NAVBAR */

.site-header {
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid #EFE9EC;
  padding: 0 40px;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.site-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 25px;
}

.site-logo-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #111111;
  line-height: 1.1;
  white-space: nowrap;
}

.site-logo-sub {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #8C827A;
  margin-top: 2px;
  font-weight: 600;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 80px;
  flex-shrink: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav > li {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.site-nav > li > a {
  text-decoration: none;
  color: #2D2D2D;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  position: relative;
  white-space: nowrap !important;
  line-height: 1;
  transition: color 0.15s ease;
}

.site-nav > li > a:hover,
.site-nav > li.current-menu-item > a,
.site-nav > li.current-menu-ancestor > a,
.site-nav > li > a.active {
  color: #D893AA;
  font-weight: 700;
}

.site-nav > li.current-menu-item > a::before,
.site-nav > li.current-menu-ancestor > a::before,
.site-nav > li > a.active::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #D893AA;
}

/* Caret indicator for parent dropdown items */

.site-nav > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-left: 2px;
}

.site-nav > li.menu-item-has-children:hover > a::after {
  transform: rotate(-135deg);
}

/* Non-link parent of the services dropdown */

.site-nav > li > .nav-parent {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.1px;
  color: #2D2D2D;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  white-space: nowrap;
  line-height: 1;
  cursor: default;
  transition: color 0.15s ease;
}

.site-nav > li:hover > .nav-parent,
.site-nav > li:focus-within > .nav-parent {
  color: #D893AA;
}

.site-nav > li > .nav-parent:focus-visible {
  outline: 2px solid #D893AA;
  outline-offset: 4px;
  border-radius: 2px;
}

.site-nav > li > .nav-parent::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-left: 2px;
}

.site-nav > li:hover > .nav-parent::after,
.site-nav > li:focus-within > .nav-parent::after {
  transform: rotate(-135deg);
}

/* Luxury Dropdown Submenu Container */

.site-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: #FFFFFF;
  border: 1px solid #EFE9EC;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  pointer-events: none;
  margin: 0;
}

/* Invisible hover bridge to prevent cursor gap drop */

.site-nav > li.menu-item-has-children::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
}

.site-nav > li.menu-item-has-children:hover .sub-menu,
.site-nav > li.menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.site-nav .sub-menu li {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

.site-nav .sub-menu li a {
  display: block;
  height: auto;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 500;
  color: #3A3A3A;
  transition: all 0.15s ease;
  line-height: 1.4;
  white-space: nowrap !important;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.site-nav .sub-menu li a:hover {
  background: #FAF5F7;
  color: #D893AA;
  border-left-color: #D893AA;
  padding-left: 26px;
}

.site-nav .sub-menu li.is-main a {
  font-weight: 700;
  color: #2D2D2D;
}

.site-nav .sub-menu li.is-group-start {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #EFE9EC;
}

.site-nav .sub-menu li a[aria-current="page"] {
  color: #D893AA;
  border-left-color: #D893AA;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: 20px;
}

.lang-switch {
  font-size: 12px;
  font-weight: 600;
  color: #777;
  display: flex;
  align-items: center;
  gap: 6px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  white-space: nowrap;
}

.lang-switch span.active, .lang-switch a.active {
  color: #111;
  font-weight: 700;
}

.lang-switch a {
  color: #777;
  text-decoration: none;
}

.lang-switch a:hover, .lang-switch a:focus-visible {
  color: #111;
}

/* WPML-i vaikimisi jaluse keelevahetaja on peidus: keel vahetatakse päises (ET | EN). */
.wpml-ls-statics-footer { display: none !important; }


.lang-switch .lang-divider {
  color: #CCC;
  font-weight: 400;
}

.btn-header-cta {
  background: #1A1A1A;
  color: #FFFFFF !important;
  border: none;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: all 0.2s;
}

.btn-header-cta.highlighted, .btn-header-cta:hover {
  background: #D893AA;
}

/* MOBILE HAMBURGER BUTTON */

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 19px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: #1A1A1A;
  border-radius: 2px;
  transition: all 0.3s;
}

/* MOBILE DRAWER (Fixed overlay) */

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 310px;
  max-width: 85vw;
  background: #FFFFFF;
  z-index: 2000;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-direction: column;
  padding: 28px 22px;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  display: flex !important;
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid #EFE9EC;
  margin-bottom: 18px;
}

.mobile-drawer-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #111;
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #666;
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  margin: 0 0 25px 0;
  padding: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid #F0ECE4;
}

.mobile-nav-item > a,
.mobile-nav-item-row > a {
  font-size: 15px;
  font-weight: 600;
  color: #2D2D2D;
  display: block;
  padding: 12px 0;
  text-decoration: none;
  transition: color 0.15s;
  flex: 1;
}

.mobile-nav-item > a:hover,
.mobile-nav-item-row > a:hover {
  color: #D893AA;
}

.mobile-nav-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-submenu-toggle {
  background: none;
  border: none;
  padding: 10px 12px;
  cursor: pointer;
  color: #B06B82;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.mobile-submenu-toggle.is-active svg {
  transform: rotate(180deg);
}

.mobile-sub-menu {
  display: none;
  list-style: none;
  padding: 4px 0 10px 14px;
  margin: 0 0 10px 4px;
  border-left: 2px solid #EFE9EC;
}

.mobile-sub-menu.is-open {
  display: block;
}

.mobile-sub-menu li {
  margin-bottom: 6px;
}

.mobile-sub-menu li a {
  display: block;
  padding: 6px 0;
  font-size: 13.5px;
  color: #555555;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.mobile-sub-menu li a:hover {
  color: #D893AA;
}

.mobile-nav-parent {
  width: 100%;
  justify-content: space-between;
  padding: 12px 12px 12px 0;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #2D2D2D;
  text-align: left;
}

.mobile-sub-menu li.is-main a {
  font-weight: 700;
  color: #2D2D2D;
}

.mobile-sub-menu li.is-group-start {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #F0ECE4;
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #EFE9EC;
}

.mobile-drawer-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  z-index: 1999;
}

.mobile-drawer-backdrop.is-open {
  display: block !important;
}

/* HERO SECTION */

.hero {
  width: 100%;
  max-width: 1400px;
  overflow: hidden;
  margin: 0 auto;
  padding: 50px 40px 40px 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FAF0F3;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 11.5px;
  font-weight: 600;
  color: #6E3A4B;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.badge-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D893AA;
}

.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.12;
  color: #111;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: #B06B82;
}

.lead-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: #4A4A4A;
  margin-bottom: 20px;
  max-width: 580px;
}

.lead-highlight {
  background: #FAF2F4;
  border-left: 3px solid #D893AA;
  padding: 14px 18px;
  margin-bottom: 28px;
  font-size: 13.5px;
  color: #333;
  line-height: 1.55;
  border-radius: 0 6px 6px 0;
}

.lead-highlight strong {
  color: #111;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #D893AA;
  color: #FFFFFF !important;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(178, 136, 80, 0.25);
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: #C47D95;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #1A1A1A !important;
  border: 1px solid #C4BEB1;
  padding: 14px 26px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #FAF0F3;
}

.trust-strip {
  display: flex;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid #EFE9EC;
  flex-wrap: wrap;
}

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

.trust-item-wide {
  max-width: 230px;
}

.trust-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  color: #111;
  line-height: 1;
  margin-bottom: 4px;
}

.trust-label {
  font-size: 11px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.portrait-card {
  position: relative;
  width: 420px;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.11);
  border: 6px solid #FFFFFF;
  background: #fff;
}

.doctor-float-badge {
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border: 1px solid rgba(220, 215, 205, 0.6);
}

.float-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

.float-role {
  font-size: 10.5px;
  color: #7A7267;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.clinic-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid #EFE9EC;
}

.clinic-logos img {
  height: 18px;
  width: auto;
  opacity: 0.85;
}

/* CLINICS BAR */

.clinics-bar {
  background: #FFFFFF;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
  border-top: 1px solid #EBE7DC;
  border-bottom: 1px solid #EBE7DC;
}

.clinics-title {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #888;
}

.clinics-bar img {
  height: 30px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: opacity 0.2s, filter 0.2s;
}

.clinics-bar img:hover {
  opacity: 1;
  filter: none;
}

/* SERVICES SHOWCASE (HOMEPAGE) */

.section-services {
  max-width: 1400px;
  margin: 70px auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 600;
  color: #111;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

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

.service-card {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #EFE9EC;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.service-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: #D893AA;
}

.service-card h3 {
  font-size: 26px;
  font-weight: 600;
  color: #111;
  margin: 8px 0 12px 0;
}

.service-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-link {
  color: #111;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Main areas: two featured cards, then the compact aesthetic list */

.services-featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-bottom: 64px;
}

.service-feature {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #EFE9EC;
  border-radius: 12px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s;
}

.service-feature:hover,
.service-feature:focus-visible {
  border-color: #D893AA;
}

.service-feature-media {
  aspect-ratio: 16 / 9;
  background: #F6F7F8;
  overflow: hidden;
}

.service-feature-media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.service-feature-media--diagram {
  background: #FFFFFF;
  padding: 16px;
  border-bottom: 1px solid #EFE9EC;
}

.service-feature-media--diagram img {
  -o-object-fit: contain;
     object-fit: contain;
}

.service-feature-body {
  padding: 30px 32px 34px;
}

.service-feature h3 {
  font-size: 32px;
  font-weight: 600;
  color: #111;
  line-height: 1.15;
  margin: 8px 0 14px;
}

.service-feature p {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 60ch;
}

.services-subhead {
  font-size: 26px;
  font-weight: 600;
  color: #111;
  margin: 0 0 20px;
}

.services-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #E6DDE1;
}

.services-grid--compact .service-card {
  display: block;
  background: none;
  border: 0;
  border-bottom: 1px solid #E6DDE1;
  border-radius: 0;
  box-shadow: none;
  padding: 22px 24px 22px 0;
  color: inherit;
  text-decoration: none;
}

.services-grid--compact .service-card:hover {
  transform: none;
  box-shadow: none;
}

.services-grid--compact .service-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 0 0 6px;
  transition: color 0.15s;
}

.services-grid--compact .service-card:hover h4,
.services-grid--compact .service-card:focus-visible h4 {
  color: #B06B82;
}

.services-grid--compact .service-card p {
  font-size: 14px;
  margin: 0;
}

@media (max-width: 900px) {
  .services-featured {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 44px;
  }

  .services-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-feature h3 {
    font-size: 27px;
  }

  .service-feature-body {
    padding: 24px 22px 26px;
  }
}

@media (max-width: 560px) {
  .services-grid--compact {
    grid-template-columns: 1fr;
  }

  .services-grid--compact .service-card {
    padding-right: 0;
  }
}

/* DOCTOR MISSION SECTION (HOMEPAGE) */

.section-doctor-bio {
  background: #FFFFFF;
  border-top: 1px solid #EFE9EC;
  border-bottom: 1px solid #EFE9EC;
  padding: 80px 40px;
}

.doctor-mission-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.doc-photo-col img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border: 1px solid #EFE9EC;
}

.doc-info-col h2 {
  font-size: 38px;
  font-weight: 600;
  color: #111;
  margin: 12px 0 18px 0;
  line-height: 1.2;
}

.doc-info-col p {
  font-size: 15px;
  color: #4A4A4A;
  line-height: 1.7;
  margin-bottom: 16px;
}

.doc-bio-ctas {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.clinic-link {
  font-size: 13px;
  font-weight: 700;
  color: #D893AA;
  margin-left: 10px;
}

/* FEATURED RESULTS SECTION (HOMEPAGE) */

.section-featured-results {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 40px;
}

.results-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.results-header-row h2 {
  font-size: 40px;
  font-weight: 600;
  color: #111;
  margin-top: 10px;
}

.case-note {
  font-size: 13px;
  color: #666;
  margin-top: 12px;
}

/* BLOG PREVIEW SECTION (HOMEPAGE) */

.section-home-blog {
  background: #FAF9F6;
  border-top: 1px solid #EBE7DC;
  border-bottom: 1px solid #EBE7DC;
  padding: 75px 40px;
}

.blog-header-row {
  max-width: 1400px;
  margin: 0 auto 40px auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.blog-header-row h2 {
  font-size: 38px;
  font-weight: 600;
  color: #111;
  margin-top: 10px;
}

.all-articles-link {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.home-blog-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.home-blog-card {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #EFE9EC;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(0,0,0,0.02);
}

.article-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: #D893AA;
}

.home-blog-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 8px 0 12px 0;
  line-height: 1.3;
}

.home-blog-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-article-link {
  font-size: 12px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* BOTTOM HOME CTA SECTION */

.section-home-cta {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 40px;
}

.home-cta-box {
  background: #1A1A1A;
  color: #FFFFFF;
  border-radius: 16px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.badge-dark {
  background: #333;
  color: #C2A478;
}

.home-cta-box h2 {
  font-size: 40px;
  font-weight: 600;
  color: #FFF;
  margin: 14px 0 14px 0;
  line-height: 1.18;
}

.home-cta-box p {
  font-size: 15px;
  color: #AAA;
  line-height: 1.6;
  max-width: 620px;
  margin: 0;
}

.home-cta-action {
  text-align: right;
}

/* VIDEO CONSULTATION PAGE */

.booking-container {
  max-width: 1400px;
  margin: 35px auto 60px auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 45px;
  align-items: start;
}

.step-box {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #D893AA;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-info h3 {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 3px;
}

.step-info p {
  font-size: 13px;
  color: #666;
  line-height: 1.45;
}

.doctor-mini-card {
  margin-top: 26px;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid #EFE9EC;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.doctor-mini-card img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}

.booking-widget {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid #E2DDD3;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #EFECE6;
  margin-bottom: 18px;
}

.price-pill {
  background: #F3EFE6;
  color: #B06B82;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
  margin-bottom: 16px;
}

.day-label {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  padding-bottom: 4px;
}

.cal-nav-btn {
  background: #FAF2F4;
  border: 1px solid #EAD8DF;
  border-radius: 6px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #D893AA;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s ease;
}

.cal-nav-btn:hover:not(:disabled) {
  background: #D893AA;
  color: #FFF;
  border-color: #D893AA;
}

.cal-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.day-cell {
  position: relative;
  padding: 10px 0;
  font-size: 12.5px;
  border-radius: 6px;
  border: 1px solid #EBE7DF;
  text-align: center;
  transition: all 0.15s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.day-cell.inactive {
  color: #CFCBC4;
  background: #FAF9F7;
  border-color: #EFECE6;
  cursor: not-allowed;
  pointer-events: none;
}

.day-cell.available {
  background: #FFFFFF;
  color: #111;
  font-weight: 600;
  border-color: #D893AA;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(216, 147, 170, 0.12);
}

.day-cell.available:hover {
  background: #FAF0F3;
  color: #c47690;
  border-color: #c47690;
}

.day-cell.available.selected {
  background: #D893AA !important;
  color: #FFF !important;
  border-color: #D893AA !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 10px rgba(216, 147, 170, 0.35);
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.time-slot {
  padding: 10px 4px;
  text-align: center;
  border: 1px solid #EAD8DF;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: #FFF;
  color: #222;
  transition: all 0.15s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.time-slot.available:hover {
  background: #FAF0F3;
  border-color: #D893AA;
  color: #D893AA;
}

.time-slot.selected {
  background: #D893AA !important;
  color: #fff !important;
  border-color: #D893AA !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 8px rgba(216, 147, 170, 0.3);
}

.time-slot.booked {
  background: #F4F4F4;
  color: #BBB;
  border-color: #E5E5E5;
  cursor: not-allowed;
  text-decoration: line-through;
  pointer-events: none;
  opacity: 0.6;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #555;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #EFE9EC;
  border-radius: 6px;
  font-size: 13.5px;
  font-family: inherit;
  background: #FAFAFA;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: #D893AA;
  background: #FFF;
}

.btn-submit-booking {
  width: 100%;
  background: #1A1A1A;
  color: #FFFFFF;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}

.btn-submit-booking:hover {
  background: #D893AA;
}

/* GALLERY PAGE — case files: sticky category rail + editorial rows */

.gallery-section {
  --g-ink: #211C1F;
  --g-mute: #6B6165;
  --g-line: #DDD4D7;
  --g-mat: #EDE7E8;
  --g-rose: #A94B70;
  max-width: 1600px;
  margin: 56px auto 90px auto;
  padding: 0 40px;
}

.gallery-header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px 72px;
  align-items: end;
  margin: 0 0 56px 0;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--g-ink);
}

.gallery-header h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--g-ink);
  text-wrap: balance;
}

.gallery-desc {
  font-size: 15px;
  color: var(--g-mute);
  line-height: 1.7;
  max-width: 46ch;
}

.results-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

/* Category rail */

.filter-tabs {
  position: sticky;
  top: 104px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}

.filter-tab {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0 11px 16px;
  background: none;
  border: 0;
  border-left: 2px solid var(--g-line);
  border-radius: 0;
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--g-mute);
  text-align: left;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}

.filter-tab:hover {
  color: var(--g-ink);
  border-left-color: var(--g-mute);
  background: none;
}

.filter-tab.active {
  color: var(--g-ink);
  font-weight: 700;
  border-left-color: var(--g-rose);
  background: none;
}

.filter-tab:focus-visible, .case-link:focus-visible, .results-cta-btn:focus-visible {
  outline: 2px solid var(--g-rose);
  outline-offset: 3px;
}

.filter-count {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  font-variant-numeric: lining-nums;
}

/* Case rows */

.cases-grid {
  display: block;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding: 0 0 64px 0;
  margin: 0 0 64px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--g-line);
  border-radius: 0;
  box-shadow: none;
}

.case-card[hidden] {
  display: none;
}

.case-card:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.case-head {
  max-width: 680px;
  margin: 0 auto;
  width: 100%;
}

.case-title {
  max-width: 26ch;
}

.case-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--g-rose);
  margin-bottom: 10px;
  background: none;
  padding: 0;
  margin-left: 0;
  white-space: normal;
}

.case-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--g-ink);
  margin-bottom: 16px;
  text-wrap: balance;
}

.case-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--g-mute);
  margin-bottom: 0;
  max-width: 62ch;
}

.case-link {
  justify-self: center;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--g-ink);
  border-bottom: 1.5px solid var(--g-rose);
  padding-bottom: 2px;
  transition: color .2s;
}

.case-link:hover {
  color: var(--g-rose);
}

/* Photos: edge to edge, columns sized by real aspect ratio so each pair shares one height */

.case-photos {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.photos-comparison {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  align-items: flex-start;
}

.photo-col {
  flex: calc(var(--ar, 0.75) * 1000) 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.photo-frame {
  aspect-ratio: var(--ar, 0.75);
  background: var(--g-mat);
  overflow: hidden;
  border-radius: 0;
  cursor: zoom-in;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform .35s ease;
}

.photo-frame:hover img {
  transform: scale(1.025);
}

.photo-frame + .photo-frame {
  margin-top: -6px;
}

.photo-label {
  display: block;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--g-mute);
  margin: 0;
}

.photo-label.after-label {
  color: var(--g-rose);
}

.photo-label.pair-caption {
  flex-basis: 100%;
  color: var(--g-rose);
  margin-top: 6px;
}

.case-standalone {
  margin: 0;
}

.photo-frame-wide {
  aspect-ratio: var(--ar, 1.78);
  max-width: min(100%, calc(640px * var(--ar, 1.78)));
  margin-left: auto;
  margin-right: auto;
}

.case-standalone figcaption {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--g-mute);
  margin-top: 10px;
}

/* Closing call to action: the one dark band */

.results-cta {
  margin-top: 96px;
  padding: 56px;
  background: var(--g-ink);
  color: #F5F0F1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.results-cta h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  line-height: 1.12;
  max-width: 24ch;
  margin-bottom: 14px;
}

.results-cta p {
  font-size: 15px;
  line-height: 1.65;
  color: #BDB2B6;
  max-width: 56ch;
  margin: 0;
}

.results-cta-btn {
  flex-shrink: 0;
  padding: 16px 30px;
  background: #F5F0F1;
  color: var(--g-ink);
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, color .2s;
}

.results-cta-btn:hover {
  background: #E7B4C8;
}

@media (max-width: 1100px) {
  .gallery-header {
    grid-template-columns: 1fr;
  }

  .results-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .filter-tabs {
    position: static;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    margin: 0 -40px;
    padding: 0 40px 6px;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    flex-shrink: 0;
    border: 1px solid var(--g-line);
    border-radius: 30px;
    padding: 9px 16px;
    white-space: nowrap;
  }

  .filter-tab.active {
    background: var(--g-ink);
    border-color: var(--g-ink);
    color: #FFF;
  }

  .case-card {
    gap: 24px;
  }

  .case-title {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-frame img {
    transition: none;
  }

  .photo-frame:hover img {
    transform: none;
  }
}

/* CONTENT STYLING (WordPress & Scraped Pages) */

.entry-content,
.scraped-content-rendered {
  line-height: 1.85;
  font-size: 15.5px;
  color: #2D2D2D;
}

.entry-content > *:first-child,
.scraped-content-rendered > *:first-child {
  margin-top: 0 !important;
}

.entry-content h2, .scraped-content-rendered h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  color: #111;
  margin: 42px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #EFE9EC;
  line-height: 1.25;
}

.entry-content h3, .scraped-content-rendered h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: #222;
  margin: 34px 0 14px 0;
  line-height: 1.3;
}

.entry-content h4, .scraped-content-rendered h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin: 26px 0 12px 0;
  line-height: 1.35;
}

.entry-content p, .scraped-content-rendered p {
  margin-bottom: 20px;
  line-height: 1.85;
}

.entry-content ul, .scraped-content-rendered ul {
  margin: 0 0 24px 24px;
  list-style-type: disc;
}

.entry-content ol, .scraped-content-rendered ol {
  margin: 0 0 24px 24px;
  list-style-type: decimal;
}

.entry-content li, .scraped-content-rendered li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.entry-content blockquote, .scraped-content-rendered blockquote {
  border-left: 3px solid #D893AA;
  background: #FAF5F7;
  padding: 16px 22px;
  margin: 28px 0;
  font-style: italic;
  color: #444;
  border-radius: 0 8px 8px 0;
}

.entry-content table, .scraped-content-rendered table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
}

.entry-content th, .entry-content td, .scraped-content-rendered th, .scraped-content-rendered td {
  border: 1px solid #EFE9EC;
  padding: 12px 16px;
  text-align: left;
}

.entry-content th, .scraped-content-rendered th {
  background: #FAF2F4;
  font-weight: 700;
  color: #111;
}

/* GUTENBERG IMAGES & MEDIA */

.entry-content figure.wp-block-image,
.scraped-content-rendered figure.wp-block-image,
.entry-content figure,
.scraped-content-rendered figure {
  margin: 36px auto 30px auto;
  display: block;
  max-width: 100%;
  clear: both;
}

.entry-content figure.wp-block-image img,
.scraped-content-rendered figure.wp-block-image img,
.entry-content figure img,
.scraped-content-rendered figure img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.entry-content figure.aligncenter,
.scraped-content-rendered figure.aligncenter {
  text-align: center;
  margin: 36px auto 30px auto;
}

.entry-content figure.alignright,
.scraped-content-rendered figure.alignright {
  float: right;
  margin: 8px 0 24px 30px;
  max-width: 50%;
}

.entry-content figure.alignleft,
.scraped-content-rendered figure.alignleft {
  float: left;
  margin: 8px 30px 24px 0;
  max-width: 50%;
}

.entry-content figcaption,
.scraped-content-rendered figcaption {
  font-size: 13px;
  color: #777;
  margin-top: 12px;
  text-align: center;
  font-style: italic;
}

/* GUTENBERG BUTTONS & ACTIONS */

.entry-content .wp-block-buttons,
.scraped-content-rendered .wp-block-buttons {
  margin: 32px 0 38px 0;
  padding: 0;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  clear: both;
}

.entry-content .wp-block-buttons.is-content-justification-center,
.scraped-content-rendered .wp-block-buttons.is-content-justification-center {
  justify-content: center;
}

.entry-content .wp-block-buttons.is-content-justification-left,
.scraped-content-rendered .wp-block-buttons.is-content-justification-left {
  justify-content: flex-start;
}

.entry-content .wp-block-buttons.is-content-justification-right,
.scraped-content-rendered .wp-block-buttons.is-content-justification-right {
  justify-content: flex-end;
}

.entry-content .wp-block-button,
.scraped-content-rendered .wp-block-button {
  margin: 0;
}

.entry-content .wp-block-button__link,
.scraped-content-rendered .wp-block-button__link,
.entry-content .wp-element-button,
.scraped-content-rendered .wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1A1A1A;
  color: #FFFFFF !important;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  line-height: 1.3;
  text-decoration: none !important;
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-align: center;
}

.entry-content .wp-block-button__link:hover,
.scraped-content-rendered .wp-block-button__link:hover,
.entry-content .wp-element-button:hover,
.scraped-content-rendered .wp-element-button:hover {
  background: #D893AA;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216,147,170,0.3);
}

/* GUTENBERG COLUMNS & GROUPS */

.entry-content .wp-block-columns,
.scraped-content-rendered .wp-block-columns {
  margin: 36px 0;
  display: flex;
  gap: 32px;
  align-items: center;
}

.entry-content .wp-block-column,
.scraped-content-rendered .wp-block-column {
  flex: 1;
  min-width: 0;
}

.entry-content .wp-block-group,
.scraped-content-rendered .wp-block-group {
  margin: 24px 0;
}

/* UNIVERSAL PAGE & TEMPLATE LAYOUT */

.page-hero-banner {
  background: #FCFBFB;
  border-bottom: 1px solid #EFE9EC;
  padding: 50px 0 42px 0;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.page-hero-inner h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 46px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 12px;
  color: #111111;
}

.page-hero-inner p {
  font-size: 15px;
  color: #666666;
  max-width: 680px;
  line-height: 1.6;
}

.page-main-container {
  max-width: 1100px;
  margin: 40px auto 70px auto;
  padding: 0 40px;
}

.page-card-box {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #EFE9EC;
  padding: 50px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.03);
}

/* CONSULTATION CTA CARD (REUSABLE ACROSS PAGES) */

.consultation-cta-card {
  margin-top: 50px;
  padding: 35px;
  background: #FAF0F3;
  border-radius: 12px;
  border: 1px solid #EAD8DF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.consultation-cta-text {
  flex: 1;
  min-width: 260px;
}

.consultation-cta-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #111111;
  margin-bottom: 6px;
  line-height: 1.25;
}

.consultation-cta-card p {
  font-size: 14px;
  color: #666666;
  margin: 0;
  line-height: 1.5;
}

.consultation-cta-card .btn-primary {
  flex-shrink: 0;
  padding: 13px 26px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* FOOTER */

.site-footer {
  background: #111111;
  color: #A0A0A0;
  padding: 65px 40px 30px 40px;
  font-size: 13.5px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 45px;
  border-bottom: 1px solid #222;
}

.footer-col h4 {
  color: #FFFFFF;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  margin-bottom: 18px;
}

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

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

.footer-col a:hover {
  color: #D893AA;
}

.footer-bottom {
  max-width: 1400px;
  margin: 30px auto 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #666;
}

/* RESPONSIVE BREAKPOINTS (Tablets & Mobile) */

@media (max-width: 1320px) {
  .desktop-nav {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  .site-header {
    padding: 0 24px;
  }
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  .site-header {
    padding: 0 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 35px 20px;
    gap: 35px;
  }

  .portrait-card {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
  }

  .doctor-mission-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .home-cta-box {
    grid-template-columns: 1fr;
    padding: 40px 30px;
  }

  .home-cta-action {
    text-align: left;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .site-header {
    height: 68px;
    padding: 0 14px;
    width: 100%;
  }

  .site-logo {
    margin-right: 0;
    max-width: 200px;
  }

  .site-logo-title {
    font-size: 16px;
    white-space: normal;
  }

  .site-logo-sub {
    font-size: 7px;
    letter-spacing: 0.5px;
    white-space: normal;
  }

  .btn-header-cta {
    display: none !important;
  }

  .header-actions {
    margin-left: auto;
    gap: 8px;
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  .hero {
    padding: 25px 14px;
    width: 100%;
  }

  .hero h1 {
    font-size: 32px;
    word-break: break-word;
  }

  .lead-text {
    font-size: 14.5px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .hero-ctas a {
    width: 100%;
    text-align: center;
  }

  .trust-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
  }

  .trust-num {
    font-size: 24px;
  }

  .portrait-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .clinics-bar {
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
    text-align: center;
  }

  .section-services, 
  .section-doctor-bio, 
  .section-featured-results, 
  .section-home-blog, 
  .section-home-cta {
    padding: 40px 16px !important;
    margin: 35px auto !important;
  }

  .section-header h2 {
    font-size: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 28px 22px;
  }

  .doc-info-col h2 {
    font-size: 28px;
  }

  .results-header-row h2 {
    font-size: 28px;
  }

  .blog-header-row h2 {
    font-size: 28px;
  }

  .home-blog-grid {
    grid-template-columns: 1fr;
  }

  .home-cta-box {
    padding: 30px 20px;
    border-radius: 12px;
  }

  .home-cta-box h2 {
    font-size: 28px;
  }

  /* Responsive Universal Page & Content */

  .page-hero-banner {
    padding: 30px 0 25px 0 !important;
  }

  .page-hero-inner {
    padding: 0 18px !important;
  }

  .page-hero-inner h1 {
    font-size: 32px !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
  }

  .page-hero-inner p {
    font-size: 14px !important;
  }

  .page-main-container {
    margin: 20px auto 45px auto !important;
    padding: 0 16px !important;
  }

  .page-card-box {
    padding: 24px 18px !important;
    border-radius: 10px !important;
  }

  .consultation-cta-card {
    margin-top: 35px !important;
    padding: 24px 18px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    gap: 18px !important;
  }

  .consultation-cta-text {
    min-width: 0 !important;
  }

  .consultation-cta-card h3 {
    font-size: 21px !important;
  }

  .consultation-cta-card .btn-primary {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }

  .entry-content figure.alignright,
  .scraped-content-rendered figure.alignright,
  .entry-content figure.alignleft,
  .scraped-content-rendered figure.alignleft {
    float: none !important;
    margin: 22px auto !important;
    max-width: 100% !important;
  }

  .entry-content figure.wp-block-image,
  .scraped-content-rendered figure.wp-block-image {
    margin: 22px auto !important;
  }

  .entry-content .wp-block-buttons,
  .scraped-content-rendered .wp-block-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin: 24px 0 32px 0 !important;
    width: 100% !important;
  }

  .entry-content .wp-block-button,
  .scraped-content-rendered .wp-block-button {
    width: 100% !important;
  }

  .entry-content .wp-block-button__link,
  .scraped-content-rendered .wp-block-button__link,
  .entry-content .wp-element-button,
  .scraped-content-rendered .wp-element-button {
    width: 100% !important;
    display: flex !important;
    box-sizing: border-box !important;
    padding: 13px 20px !important;
    text-align: center !important;
  }

  .entry-content .wp-block-columns,
  .scraped-content-rendered .wp-block-columns {
    flex-direction: column !important;
    gap: 22px !important;
    margin: 22px 0 !important;
  }

  .booking-container {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 30px;
  }

  .booking-widget {
    padding: 20px 16px;
  }

  .time-slots {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-section {
    padding: 0 16px;
    margin: 28px auto 48px auto;
  }

  .gallery-header {
    margin-bottom: 32px;
    padding-bottom: 28px;
  }

  .filter-tabs {
    margin: 0 -16px;
    padding: 0 16px 6px;
  }

  .case-card {
    padding-bottom: 44px;
    margin-bottom: 44px;
  }

  .results-cta {
    padding: 36px 24px;
    margin-top: 56px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer {
    padding: 45px 16px 25px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* LIGHTBOX MODAL FOR MEDICAL PHOTOGRAPHY */

.photo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18, 14, 16, 0.88);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.photo-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.photo-lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.photo-lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  -o-object-fit: contain;
     object-fit: contain;
}

.photo-lightbox-caption {
  margin-top: 14px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.3px;
}

.photo-lightbox-close {
  position: absolute;
  top: -42px;
  right: -8px;
  background: transparent;
  border: none;
  color: #FFF;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  padding: 6px 12px;
}

/* DOCTOR INSIGHT & CLINICAL GUIDE BOX */

.doctor-insight-box {
  background: #FAF2F4;
  border: 1px solid #EAD8DF;
  border-radius: 12px;
  padding: 32px 36px;
  margin: 40px 0;
  box-shadow: 0 4px 20px rgba(216, 147, 170, 0.06);
}

.doctor-insight-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #EAD8DF;
}

.doctor-insight-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid #D893AA;
  flex-shrink: 0;
}

.doctor-insight-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

.doctor-insight-subtitle {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #D893AA;
  font-weight: 600;
  margin-top: 2px;
}

.doctor-insight-content {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
}

.doctor-insight-content h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 22px 0 8px 0;
}

.doctor-insight-content p {
  margin-bottom: 14px;
}

.doctor-insight-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

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

@media (max-width: 768px) {
  .doctor-insight-box {
    padding: 22px 18px;
    margin: 30px 0;
  }

  .doctor-insight-header {
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .doctor-insight-avatar {
    width: 46px;
    height: 46px;
  }

  .doctor-insight-title {
    font-size: 20px;
  }
}

/* LEGAL PAGES (MÜÜGITINGIMUSED & PRIVAATSUSPOLIITIKA) */

.legal-article h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin: 35px 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #EFE9EC;
}

.legal-article p {
  margin-bottom: 16px;
  line-height: 1.75;
  color: #333;
}

.legal-article ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-article li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.legal-article a {
  color: #D893AA;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.legal-article a:hover {
  color: #c47690;
}

.legal-highlight-box {
  background: #FFF7F9;
  border: 1px solid #EAD8DF;
  border-left: 4px solid #D893AA;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 25px 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #222;
}

@media (max-width: 600px) {
  .legal-company-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 18px !important;
  }
}

/* Before/after tables in restored procedure pages */

.procedure-ba td {
  vertical-align: top;
}

.procedure-ba td figure {
  margin: 8px 0 0;
}

.procedure-ba td img {
  width: 100%;
  height: auto;
  display: block;
}

.procedure-ba h3 {
  margin: 0;
}

/* Doctor page photos */

.doctor-portrait {
  float: right;
  margin: 4px 0 20px 28px;
  max-width: 300px;
}

.doctor-portrait img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.doctor-wide img {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 12px;
  display: block;
}

@media (max-width: 640px) {
  .doctor-portrait {
    float: none;
    margin: 0 0 20px;
    max-width: 260px;
  }
}

.entry-content figure.doctor-portrait {
  float: right;
  width: 300px;
  max-width: 100%;
  margin: 4px 0 20px 28px;
}

.entry-content figure.doctor-wide {
  width: 100%;
  max-width: 720px;
  margin: 24px 0 0;
}

@media (max-width: 640px) {
  .entry-content figure.doctor-portrait {
    float: none;
    width: 260px;
    margin: 0 0 20px;
  }
}

/* Homepage featured results: same photo size as the results page */

.section-featured-results .photos-comparison {
  max-width: 520px;
}

/* HINNAKIRI */

.price-group {
  margin-bottom: 40px;
}

.price-group h2 {
  font-size: 26px;
  font-weight: 700;
  color: #111;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #EFE9EC;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  color: #333;
}

.price-table th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #8C827A;
  padding: 0 12px 10px 0;
}

.price-table td {
  padding: 12px 12px 12px 0;
  border-top: 1px solid #F2ECEF;
  vertical-align: top;
  line-height: 1.5;
}

.price-table th:not(:first-child), .price-table .price-cell {
  text-align: right;
  white-space: nowrap;
  padding-right: 0;
  padding-left: 16px;
}

.price-table .price-cell {
  font-weight: 600;
  color: #111;
}

.price-note {
  font-size: 13px;
  color: #888;
  margin: -10px 0 30px;
}

@media (max-width: 600px) {
  .price-table {
    font-size: 13.5px;
  }

  .price-table .price-cell {
    white-space: normal;
  }
}

/* TEENUSELEHE TULEMUS (üks foto) */

.service-results {
  --g-ink: #211C1F;
  --g-mute: #6B6165;
  --g-line: #DDD4D7;
  --g-mat: #EDE7E8;
  --g-rose: #A94B70;
  margin: 40px 0 10px;
  border-top: 1px solid #EFE9EC;
  border-bottom: 1px solid #EFE9EC;
}

.service-results-title {
  margin: 0;
  padding: 24px 0 4px;
  font-size: 26px;
  font-weight: 700;
  color: #111;
}

.service-results .photos-comparison {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.entry-content figure.figure-compact {
  max-width: 480px;
}

.entry-content figure.figure-small {
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.service-results-body {
  padding: 10px 0 34px;
  display: flex;
  flex-direction: column;
}

.service-results .case-card {
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.service-results .case-card:last-of-type {
  border-bottom: 1px solid var(--g-line);
}

.service-results .case-title {
  font-size: 28px;
}

.service-results-more {
  align-self: center;
}

/* Rõhksideme foto teenuselehtedel väikseks, skeemid veeru laiuseks */

.entry-content figure.wp-block-image img[src*="marena-fm300"],
.scraped-content-rendered figure.wp-block-image img[src*="marena-fm300"] {
  max-width: 240px;
}

.entry-content figure.wp-block-image img[src*="face-lift-1"],
.scraped-content-rendered figure.wp-block-image img[src*="face-lift-1"],
.entry-content figure.wp-block-image img[src*="korvalesta-peapael"],
.scraped-content-rendered figure.wp-block-image img[src*="korvalesta-peapael"] {
  width: 100%;
  max-width: 760px;
}

/* Avaleht: Fertilitase plokk (foto paremal) */

.section-fertilitas {
  border-top: none;
  background: #FAF7F8;
}

.section-fertilitas .doctor-mission-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.section-fertilitas .doc-photo-col {
  order: 2;
}

.section-fertilitas .doc-photo-col img {
  aspect-ratio: 4 / 5;
  max-height: 560px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center 30%;
     object-position: center 30%;
}

@media (max-width: 1080px) {
  .section-fertilitas .doctor-mission-grid {
    grid-template-columns: 1fr;
  }

  .section-fertilitas .doc-photo-col {
    order: 0;
  }
}
