/* ==========================================================================
   Ordination Dr. Ivana Pogledić — PogledicTheme
   Clean Vienna-medical: navy + teal, Spectral headings, Inter body.
   ========================================================================== */

:root {
  --pg-navy: #0f2c4d;
  --pg-navy-deep: #0a2038;
  --pg-blue: #1d6fb8;
  --pg-teal: #0e9aa3;
  --pg-teal-dark: #0b7d85;
  --pg-ink: #1a2733;
  --pg-muted: #5b6b7b;
  --pg-line: #e3eaf1;
  --pg-bg: #ffffff;
  --pg-bg-alt: #f5f8fb;
  --pg-bg-navy-tint: #eef3f8;
  --pg-radius: 14px;
  --pg-shadow: 0 1px 2px rgba(15, 44, 77, .04), 0 12px 30px rgba(15, 44, 77, .07);
  --pg-maxw: 1140px;
  --pg-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pg-font-head: "Spectral", Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; }

body.pg-body {
  margin: 0;
  font-family: var(--pg-font-body);
  color: var(--pg-ink);
  background: var(--pg-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--pg-font-head); color: var(--pg-navy); line-height: 1.2; font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
a { color: var(--pg-blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--pg-teal-dark); }
img { max-width: 100%; height: auto; display: block; }

.pg-container { width: 100%; max-width: var(--pg-maxw); margin: 0 auto; padding: 0 24px; }
.pg-muted { color: var(--pg-muted); }
.pg-eyebrow {
  display: inline-block; font-family: var(--pg-font-body); font-weight: 600;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pg-teal-dark); margin-bottom: .9rem;
}
.pg-lead { font-size: 1.18rem; color: #33495d; }

/* ---------- Buttons ---------- */
.pg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 600; font-size: .95rem; line-height: 1;
  padding: .85em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.pg-btn-sm { padding: .65em 1.1em; font-size: .88rem; }
.pg-btn-primary { background: var(--pg-teal); color: #fff; }
.pg-btn-primary:hover { background: var(--pg-teal-dark); color: #fff; transform: translateY(-1px); }
.pg-btn-outline { background: transparent; border-color: var(--pg-line); color: var(--pg-navy); }
.pg-btn-outline:hover { border-color: var(--pg-teal); color: var(--pg-teal-dark); }
.pg-btn-light { background: #fff; color: var(--pg-navy); }
.pg-btn-light:hover { background: #eaf6f7; color: var(--pg-teal-dark); }

/* ---------- Header / Nav ---------- */
.pg-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--pg-line);
}
.pg-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.pg-brand { display: flex; flex-direction: column; line-height: 1.15; }
.pg-brand-name { font-family: var(--pg-font-head); font-weight: 600; font-size: 1.32rem; color: var(--pg-navy); }
.pg-brand-sub { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pg-teal-dark); font-weight: 600; }

.pg-nav { display: flex; align-items: center; gap: 2rem; }
.pg-nav-list { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.pg-nav-item { margin: 0; }
.pg-nav-link { color: var(--pg-ink); font-weight: 500; font-size: .98rem; padding: .4rem 0; position: relative; }
.pg-nav-link:hover { color: var(--pg-teal-dark); }
.pg-nav-link::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--pg-teal); transition: width .2s ease; }
.pg-nav-link:hover::after { width: 100%; }
.pg-nav-actions { display: flex; align-items: center; gap: 1.1rem; }

.pg-langs { display: flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; }
.pg-lang { color: var(--pg-muted); padding: .15rem .35rem; border-radius: 6px; }
.pg-lang-current { color: var(--pg-navy); background: var(--pg-bg-navy-tint); }
a.pg-lang:hover { color: var(--pg-teal-dark); }

.pg-nav-toggle, .pg-nav-burger { display: none; }

/* ---------- Hero ---------- */
.pg-hero { background: linear-gradient(160deg, var(--pg-navy) 0%, var(--pg-navy-deep) 100%); color: #eaf2fa; position: relative; overflow: hidden; }
.pg-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(14,154,163,.35), transparent 70%); }
.pg-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: 5.5rem 0; position: relative; z-index: 1; }
.pg-hero h1 { color: #fff; }
.pg-hero .pg-eyebrow { color: #5fd6dd; }
.pg-hero .pg-lead { color: #c4d6e8; }
.pg-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.pg-hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--pg-radius); padding: 1.6rem 1.8rem; backdrop-filter: blur(4px); }
.pg-hero-card h3 { color: #fff; font-size: 1.05rem; }
.pg-hero-card ul { margin: 0; padding-left: 1.1rem; color: #c4d6e8; }
.pg-hero-card li { margin-bottom: .4rem; }

/* Hero portrait placeholder (drop a real headshot into .pg-hero-portrait-img later) */
.pg-hero-portrait { max-width: 380px; margin: 0 0 0 auto; }
.pg-hero-portrait-img {
  position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden;
  background: linear-gradient(155deg, #163a5f 0%, #0c2440 60%, #0b3b40 100%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 24px 60px rgba(4, 16, 30, .45);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
}
.pg-hero-portrait-img::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 38%, rgba(14, 154, 163, .35), transparent 60%);
}
.pg-hero-portrait-monogram {
  position: relative; z-index: 1; width: 104px; height: 104px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--pg-font-head); font-size: 2.6rem; font-weight: 600; color: #eaf6f7;
  background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(95, 214, 221, .5);
  letter-spacing: .02em;
}
.pg-hero-portrait-tag {
  position: relative; z-index: 1; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: #8fb6cf; font-weight: 600;
}
.pg-hero-portrait-cap { text-align: center; margin-top: 1.1rem; }
.pg-hero-portrait-cap strong { display: block; font-family: var(--pg-font-head); font-size: 1.25rem; color: #fff; font-weight: 600; }
.pg-hero-portrait-cap span { display: block; margin-top: .2rem; font-size: .85rem; color: #8fd6dd; font-weight: 500; letter-spacing: .02em; }

/* ---------- Sections ---------- */
.pg-section { padding: 5rem 0; }
.pg-section-alt { background: var(--pg-bg-alt); }
.pg-section-navy { background: var(--pg-navy); color: #eaf2fa; }
.pg-section-navy h2 { color: #fff; }
.pg-section-head { max-width: 720px; margin-bottom: 2.6rem; }
.pg-section-head.pg-center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards ---------- */
.pg-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pg-card-grid.pg-2 { grid-template-columns: repeat(2, 1fr); }
.pg-card { background: #fff; border: 1px solid var(--pg-line); border-radius: var(--pg-radius); padding: 1.9rem; box-shadow: var(--pg-shadow); transition: transform .18s ease, box-shadow .18s ease; }
.pg-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15,44,77,.12); }
.pg-card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--pg-bg-navy-tint); color: var(--pg-teal-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; font-size: 1.4rem; font-weight: 700; }
.pg-card h3 { margin-bottom: .5rem; }
.pg-card p { color: var(--pg-muted); margin-bottom: 0; font-size: .97rem; }

/* ---------- About ---------- */
.pg-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.pg-portrait { background: var(--pg-bg-navy-tint); border-radius: var(--pg-radius); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; color: var(--pg-muted); font-size: .9rem; border: 1px solid var(--pg-line); }
.pg-cred-list { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.pg-cred-list li { padding: .7rem 0 .7rem 1.7rem; border-bottom: 1px solid var(--pg-line); position: relative; color: #33495d; }
.pg-cred-list li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 8px; height: 8px; border-radius: 50%; background: var(--pg-teal); }
.pg-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.3rem; }
.pg-tag { font-size: .82rem; font-weight: 600; color: var(--pg-navy); background: var(--pg-bg-navy-tint); border-radius: 999px; padding: .35rem .9rem; }

/* ---------- Publications ---------- */
.pg-pub-list { list-style: none; margin: 0; padding: 0; }
.pg-pub { padding: 1.3rem 0; border-bottom: 1px solid var(--pg-line); display: grid; grid-template-columns: 92px 1fr; gap: 1.3rem; }
.pg-pub-year { font-family: var(--pg-font-head); font-size: 1.25rem; color: var(--pg-teal-dark); font-weight: 600; }
.pg-pub-title { font-weight: 600; color: var(--pg-navy); margin-bottom: .25rem; }
.pg-pub-meta { color: var(--pg-muted); font-size: .92rem; }

/* ---------- CTA band ---------- */
.pg-cta { background: linear-gradient(120deg, var(--pg-teal-dark), var(--pg-blue)); color: #fff; border-radius: 20px; padding: 3rem; text-align: center; }
.pg-cta h2 { color: #fff; }
.pg-cta p { color: #e2f4f5; max-width: 560px; margin: 0 auto 1.6rem; }

/* ---------- Contact ---------- */
.pg-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.pg-contact-block { margin-bottom: 1.6rem; }
.pg-contact-label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pg-teal-dark); font-weight: 600; margin-bottom: .25rem; }
.pg-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.pg-steps li { counter-increment: step; padding: .6rem 0 .6rem 2.6rem; position: relative; color: #33495d; }
.pg-steps li::before { content: counter(step); position: absolute; left: 0; top: .5rem; width: 28px; height: 28px; border-radius: 50%; background: var(--pg-teal); color: #fff; font-weight: 700; font-size: .85rem; display: flex; align-items: center; justify-content: center; }

/* ---------- FAQ ---------- */
.pg-faq { border-bottom: 1px solid var(--pg-line); padding: .4rem 0; }
.pg-faq summary { cursor: pointer; font-weight: 600; color: var(--pg-navy); padding: .9rem 0; list-style: none; font-family: var(--pg-font-head); font-size: 1.1rem; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq[open] summary { color: var(--pg-teal-dark); }
.pg-faq p { color: var(--pg-muted); margin: 0 0 1rem; }

/* ---------- Footer ---------- */
.pg-footer { background: var(--pg-navy-deep); color: #c4d6e8; margin-top: 0; }
.pg-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0; }
.pg-footer .pg-muted { color: #9fb4c9; }
.pg-footer-brand { font-family: var(--pg-font-head); font-size: 1.15rem; color: #fff; margin-bottom: .6rem; }
.pg-footer-heading { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--pg-font-body); margin-bottom: .9rem; }
.pg-footer-address { font-style: normal; line-height: 1.9; }
.pg-footer a { color: #cfe0f0; }
.pg-footer a:hover { color: #fff; }
.pg-footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; font-size: .85rem; }
.pg-footer-legal .pg-container { display: flex; justify-content: space-between; gap: 1rem; }

/* ---------- Utilities ---------- */
.pg-center { text-align: center; }
.pg-mt { margin-top: 1.6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pg-hero-inner, .pg-about-grid, .pg-contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pg-card-grid, .pg-card-grid.pg-2 { grid-template-columns: 1fr; }
  .pg-footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .pg-nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; }
  .pg-nav-burger span { display: block; height: 2px; width: 24px; background: var(--pg-navy); border-radius: 2px; transition: .2s; }
  .pg-nav {
    position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 1rem 24px 1.6rem; border-bottom: 1px solid var(--pg-line);
    box-shadow: var(--pg-shadow); transform: translateY(-130%); transition: transform .25s ease; max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .pg-nav-toggle:checked ~ .pg-nav { transform: translateY(0); }
  .pg-nav-list { flex-direction: column; gap: 0; }
  .pg-nav-item { border-bottom: 1px solid var(--pg-line); }
  .pg-nav-link { display: block; padding: .9rem 0; }
  .pg-nav-actions { padding-top: 1rem; justify-content: space-between; }
  .pg-cta { padding: 2rem 1.4rem; }
  .pg-section { padding: 3.5rem 0; }
  .pg-hero-inner { padding: 3.5rem 0; }
}
