/* DR MOSCOVCIUC — GLOBAL STYLES */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream: #FAF8F5;
  --slate: #2C3E50;
  --teal: #2B6CB0;
  --teal-light: #EBF2FA;
  --teal-dark: #1E5594;
  --warm-gray: #6B7B8D;
  --border: #E8E4DF;
  --white: #FFFFFF;
  --gold: #C9A96E;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.06); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 2rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem; color: var(--slate);
  text-decoration: none; letter-spacing: -0.02em;
}
.nav-logo span { color: var(--teal); }
.nav-links {
  display: flex; gap: 1.5rem; list-style: none; align-items: center;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  text-decoration: none; color: var(--warm-gray);
  font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.03em; transition: color 0.25s; padding: 0.5rem 0;
}
.nav-links > li > a:hover { color: var(--teal); text-decoration: none; }
.has-dropdown > a::after {
  content: ''; display: inline-block; width: 0; height: 0; margin-left: 4px;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 4px solid currentColor; vertical-align: middle;
}
.dropdown {
  display: none; position: absolute; top: 100%; left: -1rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.5rem 0;
  min-width: 240px; list-style: none;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08); z-index: 200;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
  display: block; padding: 0.55rem 1.25rem;
  color: var(--slate); font-size: 0.85rem;
  text-decoration: none; transition: background 0.2s;
}
.dropdown li a:hover { background: var(--teal-light); color: var(--teal); }
.nav-cta {
  background: var(--teal) !important; color: var(--white) !important;
  padding: 0.55rem 1.2rem !important; border-radius: 6px;
  font-weight: 500 !important; transition: background 0.25s, transform 0.2s;
}
.nav-cta:hover { background: var(--teal-dark) !important; transform: translateY(-1px); }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative;
  flex-direction: column; justify-content: space-between;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--slate); transition: all 0.3s;
}

/* PAGE HERO */
.page-hero {
  padding: 8rem 2rem 3rem;
  background: linear-gradient(160deg, var(--cream) 0%, var(--teal-light) 50%, var(--cream) 100%);
}
.page-hero-inner { max-width: 800px; margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2; margin-bottom: 1.25rem; letter-spacing: -0.02em;
}
.page-hero-intro {
  font-size: 1.05rem; color: var(--warm-gray);
  line-height: 1.7; max-width: 700px; font-weight: 300;
}

/* BREADCRUMB */
.breadcrumb ol {
  display: flex; gap: 0.5rem; list-style: none;
  font-size: 0.8rem; color: var(--warm-gray); margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li + li::before { content: '›'; margin-right: 0.5rem; color: var(--border); }

/* PAGE CONTENT */
.page-content { padding: 3rem 2rem; }
.page-content-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 320px; gap: 3rem;
}
article { min-width: 0; }
.content-block { margin-bottom: 2.5rem; }
.content-block h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; line-height: 1.3;
  margin-bottom: 1rem; color: var(--slate); letter-spacing: -0.01em;
}
.content-block h3 {
  font-size: 1.1rem; font-weight: 600;
  margin: 1.5rem 0 0.6rem; color: var(--slate);
}
.content-block p {
  color: var(--warm-gray); font-size: 0.95rem; line-height: 1.75; margin-bottom: 0.75rem;
}

/* SIDEBAR */
.sidebar { position: sticky; top: 5rem; align-self: start; }
.sidebar-cta {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 2rem; margin-bottom: 1.5rem; text-align: center;
}
.sidebar-cta h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 0.5rem; }
.sidebar-cta p { color: var(--warm-gray); font-size: 0.85rem; margin-bottom: 1.25rem; }
.sidebar-nav {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.5rem;
}
.sidebar-nav h4 {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--teal);
  margin-bottom: 0.75rem; font-weight: 600;
}
.sidebar-nav h4:not(:first-child) { margin-top: 1.25rem; }
.sidebar-nav ul { list-style: none; }
.sidebar-nav li { margin-bottom: 0.4rem; }
.sidebar-nav a { color: var(--warm-gray); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.sidebar-nav a:hover { color: var(--teal); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.5rem; border-radius: 8px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.3s ease; justify-content: center;
}
.btn-primary {
  background: var(--teal); color: var(--white);
  box-shadow: 0 4px 16px rgba(43,108,176,0.2);
}
.btn-primary:hover {
  background: var(--teal-dark); transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(43,108,176,0.25);
  text-decoration: none; color: var(--white);
}
.btn-outline {
  background: transparent; color: var(--slate); border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); text-decoration: none; }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; width: 100%; margin-bottom: 0.5rem; }
.btn-arrow { transition: transform 0.3s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* FAQ */
.faq-section { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.faq-section h2 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.5rem; }
.faq-item {
  border: 1px solid var(--border); border-radius: 10px;
  margin-bottom: 0.75rem; overflow: hidden; background: var(--white);
}
.faq-question {
  padding: 1rem 1.5rem; cursor: pointer; font-weight: 500; font-size: 0.95rem;
  list-style: none; position: relative; padding-right: 3rem;
}
.faq-question::after {
  content: '+'; position: absolute; right: 1.5rem; top: 50%;
  transform: translateY(-50%); font-size: 1.3rem; color: var(--teal);
  font-weight: 300; transition: transform 0.3s;
}
details[open] .faq-question::after { content: '−'; }
.faq-question::-webkit-details-marker { display: none; }
.faq-answer { padding: 0 1.5rem 1rem; color: var(--warm-gray); font-size: 0.9rem; line-height: 1.7; }

/* RELATED */
.related-section {
  max-width: 1200px; margin: 2rem auto 0;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.related-section h2 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 1.25rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-card {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: 1.5rem; border-radius: 12px;
  border: 1px solid var(--border); background: var(--white);
  text-decoration: none; transition: all 0.3s;
}
.related-card:hover {
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  border-color: var(--teal-light); text-decoration: none;
}
.related-cat { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); font-weight: 600; }
.related-title { font-family: var(--font-display); font-size: 1.05rem; color: var(--slate); }
.related-arrow { color: var(--teal); font-size: 1.1rem; transition: transform 0.3s; }
.related-card:hover .related-arrow { transform: translateX(4px); }

/* PAGE CTA */
.page-cta {
  background: linear-gradient(135deg, var(--slate) 0%, #1a2a3a 100%);
  padding: 4rem 2rem; text-align: center; position: relative;
}
.page-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(43,108,176,0.15) 0%, transparent 60%);
}
.page-cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.page-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white); margin-bottom: 0.75rem; line-height: 1.2;
}
.page-cta p { color: rgba(255,255,255,0.55); font-size: 0.95rem; margin-bottom: 1.5rem; font-weight: 300; }
.page-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.page-cta .btn-outline { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.2); }
.page-cta .btn-outline:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

/* FOOTER */
.footer {
  background: var(--slate); color: rgba(255,255,255,0.55);
  padding: 3.5rem 2rem 0; font-size: 0.85rem;
}
.footer a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-logo { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); margin-bottom: 1rem; }
.footer-logo span { color: var(--teal); }
.footer-col h4 {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.35);
  margin-bottom: 0.75rem; font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col p { margin-bottom: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0; text-align: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.35);
}

/* RESPONSIVE */
@media (max-width: 968px) {
  .page-content-inner { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 0; max-height: 80vh; overflow-y: auto;
  }
  .nav-links.open > li { border-bottom: 1px solid var(--border); }
  .nav-links.open > li > a { display: block; padding: 0.75rem 0; }
  .nav-links.open .dropdown {
    display: block; position: static; box-shadow: none; border: none;
    border-radius: 0; padding: 0 0 0.5rem 1rem; background: transparent; min-width: auto;
  }
  .nav-links.open .has-dropdown > a::after { display: none; }
  .related-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 7rem 1.25rem 2.5rem; }
  .page-content { padding: 2rem 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}
