/* ═══════════════════════════════════════════════════════════════
   TANTALYA DENTAL CLINIC — Custom Styles
   Layered on top of Bootstrap 5.3 to deliver the brand identity.
   ═══════════════════════════════════════════════════════════════ */

/* ───────────────── DESIGN TOKENS ───────────────── */
:root {
  --midnight: #14213D;
  --midnight-90: rgba(20, 33, 61, 0.9);
  --midnight-70: rgba(20, 33, 61, 0.7);
  --midnight-30: rgba(20, 33, 61, 0.3);
  --gold: #D4AF37;
  --gold-hover: #B8941F;
  --gold-soft: rgba(212, 175, 55, 0.12);
  --platinum: #E5E5E5;
  --cream: #FAF7F2;
  --cream-deep: #F2EBDD;
  --charcoal: #2C2C2C;
  --white: #FFFFFF;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-card: 0 1px 2px rgba(20, 33, 61, 0.04), 0 4px 16px rgba(20, 33, 61, 0.04);
  --shadow-card-hover: 0 12px 32px rgba(20, 33, 61, 0.08);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Override Bootstrap variables */
  --bs-body-font-family: var(--sans);
  --bs-body-font-size: 1.0625rem;
  --bs-body-line-height: 1.6;
  --bs-body-color: var(--midnight);
  --bs-body-bg: var(--white);
  --bs-link-color: var(--midnight);
  --bs-link-hover-color: var(--gold-hover);
  --bs-border-radius: 0;
}

/* ───────────────── BASE ───────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--midnight);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
p { line-height: 1.7; color: var(--charcoal); }

a { color: inherit; text-decoration: none; transition: color 240ms; }

.section-pad { padding: 96px 0; }
@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
}

.section-head {
  max-width: 760px;
  margin-bottom: 72px;
}
.section-head p { font-size: 1.0625rem; }

/* ───────────────── SHARED ELEMENTS ───────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.gold { color: var(--gold); }

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
}
.ornament span {
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.ornament svg { color: var(--gold); }

/* ───────────────── BUTTONS (override Bootstrap) ───────────────── */
.btn {
  --bs-btn-border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 280ms var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  border-radius: 0;
}
.btn:focus { box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3); }

.btn-gold {
  background: var(--gold);
  color: var(--midnight);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--midnight);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-ghost-light:hover {
  background: var(--white);
  color: var(--midnight);
  border-color: var(--white);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--midnight);
  border-color: var(--midnight);
}
.btn-ghost-dark:hover {
  background: var(--midnight);
  color: var(--white);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--midnight);
  letter-spacing: 0.3px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  transition: gap 240ms var(--ease);
  width: fit-content;
}
.btn-text:hover { gap: 14px; color: var(--midnight); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ───────────────── HEADER ───────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  padding: 20px 0;
  transition: all 320ms var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 1px 0 rgba(20, 33, 61, 0.06);
  padding: 14px 0;
}
.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.header-logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 220px;
  filter: brightness(0) invert(1);
  transition: filter 320ms var(--ease);
}
.site-header.scrolled .header-logo-img {
  filter: none;
}
@media (max-width: 768px) {
  .header-logo-img {
    height: 36px;
    max-width: 180px;
  }
}

.nav-list a {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: var(--white);
  position: relative;
}
.nav-list a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 280ms var(--ease);
}
.nav-list a:hover::after { width: 100%; }
.nav-list a:hover { color: var(--gold); }
.site-header.scrolled .nav-list a { color: var(--midnight); }
.site-header.scrolled .nav-list a:hover { color: var(--gold); }

.header-phone {
  font-size: 0.875rem;
  color: var(--white);
  font-weight: 500;
}
.header-phone:hover { color: var(--gold); }
.site-header.scrolled .header-phone { color: var(--midnight); }
.site-header.scrolled .header-phone:hover { color: var(--gold); }

/* Language dropdown (Bootstrap dropdown overrides) */
.btn-lang {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--white);
  padding: 8px 12px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  border-radius: 2px;
}
.btn-lang::after { display: none; }
.btn-lang:hover, .btn-lang:focus {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.site-header.scrolled .btn-lang { color: var(--midnight); border-color: rgba(20, 33, 61, 0.2); }
.site-header.scrolled .btn-lang:hover { color: var(--gold); border-color: var(--gold); }

.lang-menu {
  --bs-dropdown-border-radius: 0;
  --bs-dropdown-padding-y: 8px;
  --bs-dropdown-min-width: 160px;
  --bs-dropdown-link-active-bg: var(--cream);
  --bs-dropdown-link-active-color: var(--gold-hover);
  border: none;
  box-shadow: var(--shadow-card-hover);
  margin-top: 8px !important;
}
.lang-menu .dropdown-item {
  padding: 10px 18px;
  font-size: 0.85rem;
  color: var(--midnight);
  transition: all 200ms;
}
.lang-menu .dropdown-item:hover {
  background: var(--cream);
  color: var(--gold-hover);
}

.nav-toggle { color: var(--white); }
.site-header.scrolled .nav-toggle { color: var(--midnight); }

/* Mobile drawer (Bootstrap offcanvas overrides) */
.mobile-drawer {
  --bs-offcanvas-bg: var(--midnight);
  --bs-offcanvas-color: var(--white);
  --bs-offcanvas-width: 320px;
  --bs-offcanvas-border-width: 0;
}
.mobile-drawer .offcanvas-header {
  padding: 24px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.mobile-drawer .offcanvas-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 1px;
  font-weight: 500;
}
.mobile-drawer .btn-close-custom {
  color: var(--white);
  background: none;
  border: none;
  padding: 4px;
}
.mobile-drawer .offcanvas-body { padding: 12px 24px 24px; }
.mobile-drawer ul a {
  display: block;
  padding: 16px 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-drawer ul a:hover { color: var(--gold); }
.mobile-drawer .border-top-gold { border-top: 1px solid rgba(212, 175, 55, 0.2); }
.mobile-drawer .mobile-contact {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.5px;
}
.mobile-drawer .mobile-contact:hover { color: var(--gold); }
.mobile-drawer .mobile-contact i { color: var(--gold); }

/* ───────────────── HERO ───────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}
.hero-image {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1570840934347-4dc56c98b8ef?auto=format&fit=crop&w=2880&q=90') center/cover no-repeat;
  z-index: 0;
  animation: heroZoom 28s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 33, 61, 0.88) 0%, rgba(20, 33, 61, 0.55) 32%, rgba(20, 33, 61, 0.15) 65%, transparent 100%);
}
@keyframes heroZoom {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image { animation: none; }
}
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3CfeColorMatrix values='0 0 0 0 0.08, 0 0 0 0 0.13, 0 0 0 0 0.24, 0 0 0 0.13 0' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
  opacity: 0.5;
  mix-blend-mode: overlay;
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 140px 0 60px;
}
.hero-eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  animation: fadeUp 800ms var(--ease) 200ms both;
}
.hero-eyebrow::before {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 4.75rem);
  line-height: 1.05;
  margin-bottom: 28px;
  animation: fadeUp 800ms var(--ease) 350ms both;
  font-weight: 400;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
  animation: fadeUp 800ms var(--ease) 500ms both;
}
.hero-ctas { animation: fadeUp 800ms var(--ease) 650ms both; }
.hero-trust {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
  animation: fadeUp 800ms var(--ease) 800ms both;
}
.hero-trust .dot { color: var(--gold); }

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

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fadeUp 800ms var(--ease) 1000ms both;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

@media (max-width: 768px) {
  .hero-image::after {
    background: linear-gradient(180deg, rgba(20, 33, 61, 0.85) 0%, rgba(20, 33, 61, 0.7) 100%);
  }
  .hero-content { padding: 120px 0 80px; }
}

/* ───────────────── TRUST BAR ───────────────── */
.trust-bar {
  background: var(--cream);
  padding: 36px 0;
  border-top: 1px solid var(--cream-deep);
  border-bottom: 1px solid var(--cream-deep);
}
.trust-item {
  position: relative;
  padding: 8px 16px;
}
.trust-row > div:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 36px;
  background: var(--gold);
  opacity: 0.4;
}
@media (max-width: 768px) {
  .trust-row > div::after { display: none !important; }
}
.trust-num {
  font-family: var(--serif);
  font-size: 1.85rem;
  color: var(--midnight);
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1;
}
.trust-num span { color: var(--gold); }
.trust-label {
  font-size: 0.78rem;
  color: var(--charcoal);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 500;
}

/* ───────────────── HERITAGE ───────────────── */
.heritage-head {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
}
.heritage-head h2 { margin-bottom: 24px; }
.heritage-head p { font-size: 1.125rem; }

.pillars {
  border-top: 1px solid var(--platinum);
  border-bottom: 1px solid var(--platinum);
}
.pillar {
  padding: 56px 40px;
  border-right: 1px solid var(--platinum);
}
.pillar:last-child { border-right: none; }
@media (max-width: 768px) {
  .pillar {
    border-right: none;
    border-bottom: 1px solid var(--platinum);
    padding: 48px 24px;
  }
  .pillar:last-child { border-bottom: none; }
}
.pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.pillar h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.pillar p {
  font-size: 0.95rem;
  color: var(--charcoal);
  max-width: 280px;
  margin: 0 auto;
}

/* ───────────────── CARE CHARTER ───────────────── */
.charter { background: var(--cream); }
.charter-grid { margin-top: 64px; }

.charter-card {
  background: var(--white);
  padding: 40px 36px;
  border: 1px solid rgba(20, 33, 61, 0.08);
  border-radius: 0;
  position: relative;
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 320ms var(--ease);
}
.charter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 60px -28px rgba(20, 33, 61, 0.28);
  border-color: rgba(212, 175, 55, 0.4);
}
.charter-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.16em;
  margin-bottom: 20px;
  display: inline-block;
}
.charter-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--midnight);
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.charter-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 0;
}

.charter-cta {
  background: var(--midnight);
  border-color: var(--midnight);
}
.charter-cta:hover {
  border-color: var(--gold);
}
.charter-cta .eyebrow {
  color: var(--gold);
  margin-bottom: 16px;
}
.charter-cta h3 { color: var(--white); }
.charter-cta p { color: rgba(255, 255, 255, 0.78); }

@media (max-width: 768px) {
  .charter-card { padding: 32px 28px; }
  .charter-card h3 { font-size: 19px; }
  .charter-grid { margin-top: 40px; }
}

/* ───────────────── TREATMENTS ───────────────── */
.treatments { background: var(--platinum); }
.treatments .section-head { margin-left: auto; margin-right: auto; }
.treatments .section-head h2 { margin-bottom: 24px; }

.treatment-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.treatment-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.treatment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.treatment-card:hover .treatment-image img { transform: scale(1.04); }
.treatment-body {
  padding: 36px 32px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.treatment-body h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.treatment-body p {
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 24px;
}

/* ───────────────── CLEAR ALIGNERS ───────────────── */
.aligners-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  max-width: 540px;
}
.aligners-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.aligners-image::before {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 140px; height: 140px;
  border: 1px solid var(--gold);
  z-index: 1;
}
.aligners h2 { margin-bottom: 24px; }
.aligners p { margin-bottom: 32px; }
.aligners-list { margin-bottom: 36px; }
.aligners-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--platinum);
  font-size: 1rem;
  color: var(--charcoal);
}
.aligners-list li:last-child { border-bottom: none; }
.aligners-list svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ───────────────── SMILE GALLERY ───────────────── */
.gallery h2 { margin-bottom: 24px; }

.filter-chip {
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: 1px solid var(--platinum);
  background: var(--white);
  color: var(--midnight);
  transition: all 240ms;
  border-radius: 28px;
  cursor: pointer;
}
.filter-chip:hover { border-color: var(--gold); color: var(--gold); }
.filter-chip.active {
  background: var(--midnight);
  color: var(--white);
  border-color: var(--midnight);
}

.gallery-cell {
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}
.gallery-cell.hidden {
  display: none;
}

.gallery-card {
  cursor: pointer;
}
.gallery-image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--platinum);
}
.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.gallery-card:hover .gallery-image img {
  transform: scale(1.03);
}

/* Legacy ba-split styles retained in case before/after splits are added later */
.ba-split {
  position: absolute;
  inset: 0;
  display: flex;
}
.ba-half {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.ba-half img { width: 100%; height: 100%; object-fit: cover; }
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(20, 33, 61, 0.1);
  z-index: 2;
}
.ba-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(20, 33, 61, 0.2);
}
.ba-divider::before {
  content: '⇄';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: var(--midnight);
  font-size: 1rem;
}
.ba-label {
  position: absolute;
  top: 12px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  padding: 6px 12px;
  background: rgba(20, 33, 61, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1;
}
.ba-label.before { left: 12px; }
.ba-label.after {
  right: 12px;
  background: rgba(212, 175, 55, 0.95);
  color: var(--midnight);
}

.gallery-meta {
  padding: 20px 4px 0;
  font-size: 0.85rem;
}
.gallery-meta strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--midnight);
}
.gallery-meta span {
  color: var(--charcoal);
  opacity: 0.7;
}
.gallery-disclaimer {
  font-size: 0.8125rem;
  color: var(--charcoal);
  opacity: 0.6;
}

/* ───────────────── WELLNESS RETREAT ───────────────── */
.retreat {
  background: var(--platinum);
  position: relative;
  overflow: hidden;
}
.retreat-grid { margin-bottom: 80px; }

.retreat-visual {
  position: relative;
  aspect-ratio: 10/7;
  overflow: hidden;
  max-width: 100%;
  box-shadow: 0 16px 40px rgba(20, 33, 61, 0.12), 0 2px 8px rgba(20, 33, 61, 0.04);
  background: var(--white);
}
.retreat-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.retreat-caption {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--charcoal);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.7;
}
.retreat-caption strong {
  color: var(--gold);
  font-weight: 600;
}
.retreat-badge-card {
  position: absolute;
  bottom: 24px; right: -24px;
  background: var(--white);
  padding: 20px 24px;
  box-shadow: var(--shadow-card-hover);
  max-width: 240px;
}
.retreat-badge-card .crest {
  width: 44px; height: 44px;
  flex-shrink: 0;
}
.retreat-badge-card .badge-text {
  font-size: 0.78rem;
  line-height: 1.4;
}
.retreat-badge-card .badge-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--midnight);
  font-weight: 500;
  margin-bottom: 4px;
}
@media (max-width: 992px) {
  .retreat-visual { max-width: 600px; margin-left: auto; margin-right: auto; }
  .retreat-badge-card { right: 24px; }
}
.retreat h2 { margin-bottom: 24px; }
.retreat p { font-size: 1.0625rem; }

.retreat-timeline {
  position: relative;
  padding-top: 32px;
}
.retreat-timeline::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
  z-index: 0;
}
@media (max-width: 992px) {
  .retreat-timeline::before { display: none; }
}
.timeline-step { position: relative; }
.timeline-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.125rem;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}
.timeline-step h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.timeline-step p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ───────────────── OUR TEAM ───────────────── */
.team .section-head { margin-left: auto; margin-right: auto; }
.team .section-head p { font-size: 1rem; }

.doctor-card {
  transition: transform 360ms var(--ease);
}
.doctor-card:hover { transform: translateY(-4px); }
.doctor-portrait {
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--cream);
  position: relative;
}
.doctor-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}
.doctor-card:hover .doctor-portrait img { transform: scale(1.04); }
.doctor-portrait.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.doctor-portrait.placeholder::before {
  content: '';
  position: absolute;
  top: 24px; left: 24px;
  width: 28px; height: 1px;
  background: var(--gold);
}
.doctor-portrait.placeholder::after {
  content: '';
  position: absolute;
  bottom: 24px; right: 24px;
  width: 28px; height: 1px;
  background: var(--gold);
}
.doctor-portrait.placeholder .initials {
  font-family: var(--serif);
  font-size: 3.5rem;
  color: var(--midnight);
  font-weight: 400;
  letter-spacing: -2px;
  opacity: 0.85;
}
.doctor-name {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--midnight);
  margin-bottom: 4px;
  line-height: 1.3;
}
.doctor-role {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
}
.lang-pill {
  font-size: 0.65rem;
  letter-spacing: 1px;
  padding: 3px 8px;
  border: 1px solid var(--platinum);
  color: var(--charcoal);
  border-radius: 2px;
  font-weight: 500;
}

/* ───────────────── INSTAGRAM CTA ───────────────── */
.instagram-cta { background: var(--cream); }
.instagram-cta h2 { margin-bottom: 24px; }
.instagram-cta p { margin-bottom: 8px; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  text-decoration: none;
}
.ig-tile {
  position: relative;
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  transition: transform 320ms var(--ease);
}
.ig-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 33, 61, 0);
  transition: background 320ms var(--ease);
  z-index: 1;
}
.ig-tile:hover::before {
  background: rgba(20, 33, 61, 0.55);
}
.ig-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transition: opacity 320ms var(--ease);
  z-index: 2;
}
.ig-tile:hover .ig-overlay {
  opacity: 1;
}
.ig-grid:hover .ig-tile:not(:hover) {
  filter: brightness(0.7);
}

/* ───────────────── PRICING ───────────────── */
.pricing { background: var(--platinum); }
.pricing .section-head { margin-left: auto; margin-right: auto; }
.pricing .section-head p { font-size: 1.0625rem; }

.price-card {
  background: var(--white);
  padding: 40px 36px;
  position: relative;
  transition: all 360ms var(--ease);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.price-card.featured {
  background: var(--midnight);
  color: var(--white);
}
.price-card.featured h3,
.price-card.featured .price-amount { color: var(--white); }
.price-card.featured .price-amount em { color: rgba(255, 255, 255, 0.6); }
.price-card.featured .price-includes li {
  color: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.price-card.featured .price-amount sub { color: rgba(255, 255, 255, 0.6); }

.price-tag {
  position: absolute;
  top: 0; right: 32px;
  transform: translateY(-50%);
  background: var(--gold);
  color: var(--midnight);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  text-transform: uppercase;
}
.price-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.price-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  opacity: 0.7;
  margin-bottom: 28px;
}
.price-amount {
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}
.price-amount em {
  font-style: normal;
  font-size: 1rem;
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 400;
  margin-right: 4px;
  letter-spacing: 1px;
}
.price-amount sub {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--charcoal);
  letter-spacing: 0.5px;
  font-weight: 400;
  margin-left: 4px;
  vertical-align: baseline;
  bottom: 0;
}
.price-includes { margin: 32px 0; }
.price-includes li {
  padding: 12px 0;
  font-size: 0.9rem;
  color: var(--charcoal);
  border-bottom: 1px solid var(--platinum);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.price-includes li::before {
  content: '';
  width: 12px; height: 1px;
  background: var(--gold);
  margin-top: 12px;
  flex-shrink: 0;
}

/* ───────────────── FAQ (Bootstrap accordion overrides) ───────────────── */
.faq h2 { margin-bottom: 16px; }
.accordion {
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-border-color: var(--platinum);
  --bs-accordion-active-bg: transparent;
  --bs-accordion-active-color: var(--midnight);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-focus-border-color: var(--platinum);
  max-width: 880px;
}
.accordion-button {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--midnight);
  font-weight: 400;
  padding: 28px 0;
  background: transparent !important;
  box-shadow: none !important;
  letter-spacing: -0.3px;
}
.accordion-button:not(.collapsed) {
  color: var(--gold-hover);
  background: transparent;
}
.accordion-button::after {
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='%2314213D' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M3 6l5 5 5-5'/%3e%3c/svg%3e");
  background-size: 1rem;
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='%2314213D' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M3 6l5 5 5-5'/%3e%3c/svg%3e");
}
.accordion-flush .accordion-item {
  border-color: var(--platinum) !important;
}
.accordion-flush .accordion-item:first-child {
  border-top: 1px solid var(--platinum) !important;
}
.accordion-body {
  padding: 0 0 28px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--charcoal);
  max-width: 760px;
}

/* ───────────────── CONTACT CTA ───────────────── */
.contact-cta {
  background: var(--midnight);
  color: var(--white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.contact-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--gold-soft) 0%, transparent 60%);
  pointer-events: none;
}
.contact-cta-inner {
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.contact-cta h2 {
  color: var(--white);
  margin-bottom: 24px;
}
.contact-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

/* ───────────────── FOOTER ───────────────── */
.site-footer {
  background: var(--midnight);
  color: var(--platinum);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.site-footer h4 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.footer-logo-link {
  display: inline-block;
  margin-bottom: 20px;
  text-decoration: none;
  line-height: 0;
}
.footer-logo-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 240px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 240ms;
}
.footer-logo-link:hover .footer-logo-img {
  opacity: 1;
}
.footer-tagline {
  font-style: italic;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-about {
  font-size: 0.9rem;
  color: rgba(229, 229, 229, 0.7);
  line-height: 1.7;
  max-width: 320px;
}
.footer-list li { margin-bottom: 12px; }
.footer-list a {
  font-size: 0.9rem;
  color: rgba(229, 229, 229, 0.75);
}
.footer-list a:hover { color: var(--gold); }

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: rgba(229, 229, 229, 0.85);
  margin-bottom: 14px;
}
.footer-contact li svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact a:hover { color: var(--gold); }

.health-turkiye-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 16px 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  transition: all 280ms var(--ease);
  text-decoration: none;
}
.health-turkiye-badge:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.health-turkiye-badge img {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
}

.footer-badge {
  padding: 12px 16px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  font-weight: 500;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all 240ms;
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--midnight);
  transform: translateY(-2px);
}

.footer-newsletter {
  margin: 56px 0 32px;
  padding: 32px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.newsletter-text strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}
.newsletter-text p {
  font-size: 0.875rem;
  color: rgba(229, 229, 229, 0.7);
  margin: 0;
}
.newsletter-form { min-width: 320px; }
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 240ms;
}
.newsletter-form input::placeholder { color: rgba(229, 229, 229, 0.5); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  padding: 14px 24px;
  background: var(--gold);
  color: var(--midnight);
  border: 1px solid var(--gold);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 240ms;
}
.newsletter-form button:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
@media (max-width: 640px) {
  .newsletter-form { width: 100%; min-width: auto; }
  .newsletter-form input { flex: 1; min-width: 0; }
}

.footer-bottom {
  padding-top: 8px;
  font-size: 0.78rem;
  color: rgba(229, 229, 229, 0.6);
  letter-spacing: 0.5px;
}
.footer-legal a:hover { color: var(--gold); }

.footer-disclaimer {
  max-width: 980px;
  margin: 32px auto 0;
  padding: 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(229, 229, 229, 0.55);
  text-align: center;
  line-height: 1.7;
}

/* ───────────────── FLOATING WHATSAPP ───────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--midnight);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(20, 33, 61, 0.2);
  z-index: 1020;
  transition: all 240ms var(--ease);
  animation: whatsappPulse 6s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: var(--gold-hover);
  transform: scale(1.05);
  color: var(--midnight);
}
@keyframes whatsappPulse {
  0%, 92%, 100% { box-shadow: 0 8px 24px rgba(20, 33, 61, 0.2), 0 0 0 0 rgba(212, 175, 55, 0.5); }
  96% { box-shadow: 0 8px 24px rgba(20, 33, 61, 0.2), 0 0 0 16px rgba(212, 175, 55, 0); }
}
.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 16px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--midnight);
  color: var(--white);
  padding: 8px 14px;
  font-size: 0.8rem;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 240ms;
  pointer-events: none;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--midnight);
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Mobile Sticky CTA Bar */
.mobile-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 -2px 16px rgba(20, 33, 61, 0.1);
  padding: 12px;
  gap: 8px;
  z-index: 1010;
}
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  .whatsapp-float { bottom: 80px; }
  body { padding-bottom: 60px; }
}
.mobile-cta-bar a {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-cta-bar .wa { background: var(--gold); color: var(--midnight); }
.mobile-cta-bar .call {
  border: 1px solid var(--midnight);
  color: var(--midnight);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--midnight);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  z-index: 1015;
  transform: translateY(100%);
  transition: transform 400ms var(--ease);
  font-size: 0.85rem;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-banner button {
  padding: 8px 18px;
  background: var(--gold);
  color: var(--midnight);
  border: none;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 240ms;
}
.cookie-banner button:hover { background: var(--gold-hover); }
@media (max-width: 768px) {
  .cookie-banner { padding-bottom: 80px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
