/* ============================================================
   ELENA OCHER MEDICAL — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

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

/* ------------------------------------------------------------
   TOKENS
------------------------------------------------------------ */
:root {
  --gold:        #B8986A;
  --gold-light:  #D4B98A;
  --gold-dark:   #8C6E42;
  --cream:       #FAF8F4;
  --cream-dark:  #F0EDE6;
  --ink:         #1A1714;
  --ink-mid:     #3D3830;
  --ink-soft:    #6B6358;
  --border:      rgba(184,152,106,0.25);
  --border-soft: rgba(184,152,106,0.12);
}

/* ------------------------------------------------------------
   BASE
------------------------------------------------------------ */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

ul { list-style: none; }

/* ------------------------------------------------------------
   TYPOGRAPHY HELPERS
------------------------------------------------------------ */
.font-serif {
  font-family: 'Cormorant Garamond', serif;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow--line::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.page-title em {
  font-style: italic;
  color: var(--gold-dark);
}

.body-text {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-soft);
  font-weight: 300;
}

/* ------------------------------------------------------------
   BUTTONS
------------------------------------------------------------ */
.btn-primary {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--cream);
  padding: 14px 32px;
  border: 1px solid var(--gold);
  transition: background 0.25s, border-color 0.25s;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--cream);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color 0.2s;
}

.btn-ghost::after {
  content: '→';
  font-size: 14px;
  transition: transform 0.2s;
}

.btn-ghost:hover { color: var(--gold); }
.btn-ghost:hover::after { transform: translateX(4px); }

/* ------------------------------------------------------------
   NAV
------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  height: 72px;
  background: rgba(250,248,244,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 1px 24px rgba(0,0,0,0.06);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  line-height: 1.2;
}

.nav-logo span {
  display: block;
  font-size: 11px;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

/* More dropdown */
.nav-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  line-height: 1;
  vertical-align: middle;
}

.nav-more-toggle:not(.nav-dropdown-arrow)::after {
  content: ' ›';
  font-size: 11px;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--cream);
  border: 1px solid var(--border);
  border-top: none;
  min-width: 260px;
  z-index: 200;
  flex-direction: column;
  padding: 0.5rem 0;
  padding-top: 16px;
  margin-top: 0;
}

.nav-more:hover .nav-dropdown,
.nav-more.open .nav-dropdown {
  display: flex;
}

.nav-dropdown li { list-style: none; }

.nav-dropdown a {
  display: block;
  padding: 0.65rem 1.4rem;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown li:last-child a { border-bottom: none; }

.nav-dropdown a:hover {
  background: var(--cream-dark);
  color: var(--gold);
}

.nav-cta {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 9px 20px;
  transition: background 0.25s, color 0.25s;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--cream);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: all 0.3s;
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 1rem 4vw 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-mobile-menu.open { display: flex; }

.nav-mobile-menu a {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-soft);
  transition: color 0.2s;
}

.nav-mobile-menu a:last-child { border-bottom: none; }

.nav-mobile-menu a:hover { color: var(--gold); }

/* ------------------------------------------------------------
   PAGE HERO (inner pages)
------------------------------------------------------------ */
.page-hero {
  padding-top: 72px;
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border-soft);
}

.page-hero-inner {
  padding: 6vh 8vw;
  max-width: 760px;
}

.page-hero-inner .eyebrow {
  margin-bottom: 1.5rem;
}

.page-hero-inner .page-title {
  margin-bottom: 1.5rem;
}

.page-hero-inner .body-text {
  max-width: 560px;
}

/* ------------------------------------------------------------
   SECTION HEADER
------------------------------------------------------------ */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.section-link {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s;
  white-space: nowrap;
}

.section-link:hover { color: var(--gold); }

/* ------------------------------------------------------------
   MARQUEE BAR
------------------------------------------------------------ */
.marquee-bar {
  background: var(--ink);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  animation: marquee 28s linear infinite;
}

.marquee-item {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: 0 3rem;
}

.marquee-dot {
  color: var(--gold);
  padding: 0 0.5rem;
}

/* ------------------------------------------------------------
   TESTIMONIAL BAND
------------------------------------------------------------ */
.testimonial-band {
  padding: 8vh 8vw;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.testimonial-band::before {
  content: '\201C';
  position: absolute;
  top: -60px;
  left: 6vw;
  font-family: 'Cormorant Garamond', serif;
  font-size: 400px;
  color: rgba(184,152,106,0.07);
  line-height: 1;
  pointer-events: none;
}

.testimonial-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.55;
  margin-bottom: 2rem;
}

.testimonial-author {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ------------------------------------------------------------
   CTA BAND
------------------------------------------------------------ */
.cta-band {
  padding: 9vh 8vw;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4vw;
  align-items: center;
  border-top: 1px solid var(--border-soft);
}

.cta-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
}

.cta-heading em {
  font-style: italic;
  color: var(--gold-dark);
}

.cta-sub {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-top: 1rem;
  font-weight: 300;
  max-width: 460px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  min-width: 200px;
}

.cta-actions .btn-primary {
  width: 100%;
  text-align: center;
}

.cta-phone {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.cta-phone strong {
  font-weight: 400;
  color: var(--gold);
}

/* ------------------------------------------------------------
   FOOTER
------------------------------------------------------------ */
.footer {
  background: var(--ink);
  padding: 6vh 8vw 3vh;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 3vw;
  padding-bottom: 4vh;
  border-bottom: 1px solid rgba(184,152,106,0.15);
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.footer-brand-tag {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-brand-text {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(250,248,244,0.4);
  font-weight: 300;
}

.footer-chuda {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184,152,106,0.15);
}

.footer-chuda-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.footer-chuda-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(250,248,244,0.75);
  margin-bottom: 0.75rem;
}

.footer-chuda a {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(184,152,106,0.3);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.footer-chuda a:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.footer-col-title {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 13px;
  color: rgba(250,248,244,0.45);
  font-weight: 300;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2.5vh;
  font-size: 11px;
  color: rgba(250,248,244,0.28);
  letter-spacing: 0.06em;
}

.footer-accred {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.65;
}

.footer-location-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(250,248,244,0.75);
  margin-bottom: 0.5rem;
}

.footer-location-detail {
  font-size: 12px;
  line-height: 1.85;
  color: rgba(250,248,244,0.38);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.footer-location-detail a {
  color: rgba(250,248,244,0.38);
  transition: color 0.2s;
}

.footer-location-detail a:hover { color: var(--gold-light); }

.footer-emergency {
  margin-top: 0;
}

.footer-emergency-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.footer-emergency-number:hover { color: var(--gold-light); }

.footer-emergency-doctor {
  font-size: 11px;
  color: rgba(250,248,244,0.38);
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------------
   TESTIMONIAL CAROUSEL
------------------------------------------------------------ */
.carousel {
  position: relative;
}

.carousel-slides {
  position: relative;
  min-height: 180px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(184,152,106,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.carousel-dot.active {
  background: var(--gold);
}

/* ------------------------------------------------------------
   SCROLL REVEAL
------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta { display: none; }

  .nav-mobile-toggle { display: flex; }

  .cta-band {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-sub { max-width: 100%; }

  .cta-actions {
    flex-direction: row;
    justify-content: center;
  }

  .section-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .footer-top { grid-template-columns: 1fr; }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ── EXPERTISE SUB-DROPDOWN ── */
.nav-expertise-dropdown > .nav-dropdown { min-width: 200px; }
.nav-pm-dropdown { position: relative; }
.nav-dropdown-sub {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  min-width: 300px;
  max-height: 420px;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  z-index: 300;
  padding: 0.5rem 0;
}
.nav-pm-dropdown:hover > .nav-dropdown-sub { display: block; }
.nav-dropdown-sub li a {
  display: block;
  padding: 0.45rem 1.2rem;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown-sub li a:hover { color: var(--gold); background: var(--cream-dark); }

/* ── EXPERTISE: link + separate dropdown arrow ── */
.nav-dropdown-arrow {
  background: none;
  border: none;
  padding: 0 2px;
  font-size: 11px;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1;
  vertical-align: middle;
  transition: color 0.2s;
}
.nav-dropdown-arrow:hover { color: var(--gold); }
.nav-expertise-dropdown:hover .nav-dropdown-arrow,
.nav-expertise-dropdown.open .nav-dropdown-arrow { color: var(--gold); }
