/* ════════════════════════════════════════════
   CORE STYLES — drvladpostelnicu.ro
   Loaded on ALL pages (homepage + inner)
   ════════════════════════════════════════════ */

/* ════ LOCAL FONTS ════ */
/* Cormorant Garamond — headings (italic 400, normal 400-700) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/cormorant-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/cormorant-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/cormorant-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Outfit — body text (300-700, variable font) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ════ TOKENS & RESET ════ */
:root {
  /* Palette */
  --white       : #ffffff;
  --off-white   : #f8fafb;
  --bg-warm     : #f1f4f6;
  --border-light: #e8ecf1;
  --border-soft : #d4dbe3;

  --txt-dark    : #0f172a;
  --txt-mid     : #475569;
  --txt-light   : #94a3b8;

  /* Accent – Smarald */
  --accent      : #0d6b66;
  --accent-dark : #094f4c;
  --accent-soft : #e8f5f4;
  --accent-hover: #0b5955;

  /* Gold */
  --gold        : #c9985a;
  --gold-soft   : #faf5ec;

  /* Radii */
  --rad-s : 10px;
  --rad-m : 16px;
  --rad-l : 24px;
  --rad-xl: 32px;

  /* Shadows — layered for realism */
  --shadow-s : 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  --shadow-m : 0 4px 12px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --shadow-l : 0 12px 32px rgba(15,23,42,.07), 0 4px 8px rgba(15,23,42,.03);
  --shadow-xl: 0 24px 64px rgba(15,23,42,.08), 0 8px 16px rgba(15,23,42,.04);

  /* Spacing scale */
  --sp-xs: 4px;
  --sp-s : 8px;
  --sp-m : 16px;
  --sp-l : 24px;
  --sp-xl: 32px;
  --sp-2xl: 48px;
  --sp-3xl: 64px;
  --sp-4xl: 96px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; }
body {
  font-family:'Outfit', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--txt-dark);
  overflow-x: hidden;
  line-height: 1.65;
  font-size: 16px;
}
img { display:block; max-width:100%; height:auto; }
a { text-decoration:none; color:inherit; transition: color .2s ease, opacity .2s ease; }

/* Selection & focus */
::selection { background: var(--gold); color: var(--txt-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Skip to content (accessibility) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 10px 20px;
  background: var(--accent);
  color: var(--white);
  font-size: .85rem;
  font-weight: 600;
  border-radius: var(--rad-s);
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-warm); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 5px; border: 2px solid var(--bg-warm); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); }

/* ════ TYPOGRAPHY ════ */
h1, h2, h3, h4, h5, .nav-logo { font-family:'Cormorant Garamond', Georgia, serif; color: var(--txt-dark); }
h2 { letter-spacing: -0.02em; }
p { font-weight: 300; color: var(--txt-mid); line-height: 1.7; }

/* ════ UI ELEMENTS ════ */
.tag { display:flex; align-items:center; gap:12px; margin-bottom:var(--sp-m); }
.tag-line { width:32px; height:1.5px; background: var(--accent); opacity:.6; border-radius: 1px; }
.tag span { font-size:.72rem; font-weight:600; letter-spacing:2.5px; text-transform:uppercase; color:var(--accent); }

/* ════ BUTTONS ════ */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 15px 34px; border-radius: var(--rad-s);
  font-family: 'Outfit', sans-serif;
  font-size:.78rem; font-weight:600; letter-spacing:.6px;
  text-transform:uppercase; border:none; cursor:pointer;
  transition: all .35s var(--ease-out);
  position:relative; overflow:hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 80px at var(--x, 50%) var(--y, 50%), rgba(255,255,255,.2), transparent);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.btn:hover::after { opacity: 1; }
.btn-fill {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-s), 0 2px 8px rgba(13,107,102,.2);
}
.btn-fill:hover {
  box-shadow: var(--shadow-m), 0 4px 16px rgba(13,107,102,.25);
  transform: translateY(-2px);
}
.btn-fill:active { transform: translateY(0); }
.btn-out {
  background: transparent; color: var(--txt-dark);
  border: 1.5px solid var(--border-soft);
}
.btn-out:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-soft);
}

/* ════ TOPBAR ════ */
.topbar {
  background: linear-gradient(90deg, var(--accent-dark) 0%, #07403d 100%);
  color: rgba(255,255,255,.8);
  font-size: .73rem;
  font-weight: 500;
  letter-spacing: .5px;
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1001;
  height: 36px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.topbar-in {
  max-width: 1300px; margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.topbar-left span { opacity: .85; letter-spacing: .8px; }
.topbar-right {
  display: flex; align-items: center; gap: 16px;
}
.topbar-right a {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,.9); font-weight: 600;
  transition: color .2s;
}
.topbar-right a:hover { color: var(--white); }
.topbar-right svg { opacity: .7; }
.topbar-sep { color: rgba(255,255,255,.25); }

/* Topbar hides on scroll down */
.topbar.hidden { transform: translateY(-100%); opacity: 0; }

/* Topbar hover dropdowns — desktop only */
.topbar-hover-trigger { position: relative; cursor: default; }
.topbar-hover-trigger .topbar-trigger-link { color: rgba(255,255,255,.9); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; transition: color .2s; }
.topbar-hover-trigger:hover .topbar-trigger-link { color: var(--white); }
.topbar-dropdown { display: none; }

@media (min-width: 1024px) {
    .topbar-dropdown {
        display: block;
        position: absolute;
        top: 100%;
        right: -20px;
        padding-top: 14px;
        z-index: 1100;
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition: opacity .25s, visibility .25s, transform .25s;
        pointer-events: none;
    }
    .topbar-hover-trigger:hover .topbar-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    .topbar-dropdown-inner {
        background: var(--white);
        border-radius: 12px;
        box-shadow: 0 12px 40px rgba(0,0,0,.18);
        padding: 22px 24px;
        min-width: 300px;
        color: var(--txt-dark);
    }
    .topbar-dropdown-inner h4 {
        font-size: 1rem;
        font-weight: 700;
        color: var(--accent-dark);
        margin: 0 0 14px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--border-light);
    }
    .tbd-address {
        font-size: .92rem;
        color: var(--txt-mid);
        margin: 0 0 14px;
        line-height: 1.5;
    }
    .tbd-map { margin-bottom: 16px; border-radius: 8px; overflow: hidden; }
    .tbd-schedule {
        margin-bottom: 14px;
    }
    .tbd-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 0;
        font-size: .85rem;
        border-bottom: 1px solid var(--border-light);
        color: var(--txt-dark);
    }
    .tbd-row:last-child { border-bottom: none; }
    .tbd-row span:first-child { color: var(--txt-dark); font-weight: 400; }
    .tbd-row span:last-child { font-weight: 600; color: var(--accent); white-space: nowrap; }
    .tbd-row small { font-size: .72rem; color: var(--txt-light); }
    .tbd-btn {
        display: block;
        text-align: center;
        width: 100%;
        margin-top: 4px;
    }
    .tbd-btn-appointment {
        margin-top: 6px;
        border: 1.5px solid var(--primary);
        color: var(--primary);
        background: transparent;
    }
    .tbd-btn-appointment:hover {
        background: var(--primary);
        color: #fff;
    }
}

/* ════ NAVIGATION ════ */
#mainNav {
  position: fixed; top: 36px; left: 0; width: 100%; z-index: 1000;
  height: 68px;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  transition: all .35s var(--ease-out);
}
#mainNav.up {
  top: 0;
  height: 60px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border-bottom: 1px solid rgba(232,236,241,.6);
  box-shadow: 0 1px 3px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
}
.nav-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}

/* Logo — 2-line lockup */
.nav-logo a {
  display: flex; flex-direction: column;
  line-height: 1; gap: 3px;
  transition: opacity .2s;
}
.nav-logo a:hover { opacity: .8; }
.nav-logo-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: -0.3px;
}
.nav-logo-title {
  font-family: 'Outfit', sans-serif;
  font-size: .6rem; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold);
  opacity: .9;
}

.nav-toggle { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:10px; z-index:101; }
.nav-toggle span { display:block; width:22px; height:2px; background-color: var(--accent-dark); border-radius: 2px; transition: .3s var(--ease-out); transform-origin: center; }

.nav-links { display:flex; align-items: center; gap: clamp(16px, 2.5vw, 32px); list-style:none; }
.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-size: .78rem; font-weight: 600; letter-spacing: .8px;
  text-transform: uppercase; color: var(--txt-mid);
  position: relative; padding: 6px 0;
  transition: color .25s ease;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width .3s var(--ease-out);
  border-radius: 1px;
}
.nav-links a:hover { color: var(--accent-dark); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--accent-dark); font-weight: 700; }
.nav-links a.active::after { width: 100%; }

/* Nav CTA button — pill shape */
.nav-cta-btn {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%) !important;
  color: var(--white) !important;
  padding: 10px 26px !important;
  border-radius: 100px !important;
  letter-spacing: .6px !important;
  font-size: .75rem !important;
  box-shadow: 0 2px 12px rgba(13,107,102,.25) !important;
  transition: all .3s var(--ease-out) !important;
}
.nav-cta-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(13,107,102,.3) !important;
}
.nav-cta-btn::after { display: none !important; }

/* ════ SECTIONS ════ */
.sec { padding: var(--sp-4xl) clamp(20px, 6vw, 80px); scroll-margin-top: 80px; }
.sec-in { max-width: 1100px; margin: 0 auto; }
.sec-head { margin-bottom: var(--sp-3xl); text-align:center; max-width:680px; margin: 0 auto var(--sp-3xl); }
.sec-head .tag { justify-content:center; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight:700; margin-bottom: var(--sp-m); line-height: 1.15; }
.sec-head p { font-size: 1.02rem; }
.sec-alt { background: var(--bg-warm); }
.sec-more { text-align: center; margin-top: var(--sp-2xl); }

/* Hidden legacy elements */
.trust-strip { display: none; }
.trust-dot { display: none; }

/* ════ CTA ════ */
.cta-sec {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 60%, #10847e 100%);
  padding: var(--sp-3xl) clamp(20px, 6vw, 80px);
  text-align: center; color: white;
  position: relative; overflow: hidden;
  scroll-margin-top: 80px;
}
.cta-sec::before {
  content: ''; position: absolute; top: -40%; right: -20%; width: 60%; height: 160%;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-in { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.cta-in h2 { color: white; margin-bottom: var(--sp-m); font-size: clamp(2rem, 4vw, 2.6rem); }
.cta-in p { color: rgba(255,255,255,.82); margin-bottom: var(--sp-xl); font-size: 1rem; }
.cta-btns { display:flex; justify-content:center; gap: 12px; flex-wrap:wrap; }
.btn-w {
  background: var(--white); color: var(--accent-dark);
  padding: 16px 36px; border-radius: var(--rad-s); font-weight:700;
  display:inline-flex; align-items:center; gap:8px;
  box-shadow: var(--shadow-m); transition: all .35s var(--ease-out);
  font-size: .82rem; letter-spacing: .3px;
}
.btn-w:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); }
.btn-gh {
  background: rgba(255,255,255,.08); color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
  padding: 16px 36px; border-radius: var(--rad-s); font-weight:700;
  display:inline-flex; align-items:center; gap:8px;
  transition: all .35s var(--ease-out);
  font-size: .82rem; letter-spacing: .3px;
}
.btn-gh:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); border-color: rgba(255,255,255,.5); }

/* ════ FOOTER ════ */
footer { background: var(--txt-dark); color: var(--txt-light); padding: 80px clamp(20px, 6vw, 80px) 32px; }
.ft-in { max-width:1100px; margin:0 auto; display:flex; justify-content:space-between; flex-wrap:wrap; gap:48px; }
.ft-brand .ft-logo { font-size:1.35rem; color:var(--white); margin-bottom:12px; font-family:'Cormorant Garamond', serif; font-weight: 700; }
.ft-brand p { font-size: .88rem; line-height: 1.6; max-width: 300px; color: var(--txt-light); }
.ft-links { display:flex; gap: clamp(32px, 5vw, 64px); }
.ft-heading { font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing: 1.5px; color:var(--white); margin-bottom: var(--sp-l); }
.ft-col a { display:block; font-size:.84rem; color:rgba(255,255,255,.6); margin-bottom: 10px; transition: color .2s; }
.ft-col a:hover { color: var(--gold); }
.ft-bot {
  max-width:1100px; margin: var(--sp-3xl) auto 0; padding-top: var(--sp-l);
  border-top: 1px solid rgba(255,255,255,.08);
  display:flex; justify-content:space-between; font-size:.72rem;
  color: rgba(255,255,255,.55);
}

/* ════ REVEAL ANIMATION ════ */
/* JS adds .rev-ready to <html> once observer is set up; until then content is visible */
.rev-ready .rev { opacity:0; transform:translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.rev-ready .rev.vis { opacity:1; transform:translateY(0); }
.rev-ready .rev-scale { opacity:0; transform:scale(.95); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.rev-ready .rev-scale.vis { opacity:1; transform:scale(1); }
.rev-ready .rev-left { opacity:0; transform:translateX(-32px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.rev-ready .rev-left.vis { opacity:1; transform:translateX(0); }
/* Reduced motion: skip all reveal animations */
@media (prefers-reduced-motion: reduce) {
  .rev, .rev-scale, .rev-left { opacity:1 !important; transform:none !important; transition:none !important; }
}

/* ════ VIDEO RESPONSIVE ════ */
.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-responsive iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ════ LIGHTBOX / MODAL ════ */
.video-modal {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items:center; justify-content:center;
  padding: 40px;
}
.video-modal.open { display: flex; }
.video-modal-inner {
  width: 100%; max-width: 960px;
  border-radius: var(--rad-l);
  overflow: hidden;
  background: var(--txt-dark);
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  animation: modalIn .35s var(--ease-out);
}
@keyframes modalIn {
  from { transform: scale(0.92) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.video-modal-close {
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: white; width: 46px; height: 46px;
  border-radius: 50%; cursor: pointer;
  display:flex; align-items:center; justify-content:center;
  transition: all .25s ease;
  font-size: 1.3rem; line-height: 1;
}
.video-modal-close:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.3); transform: scale(1.05); }

/* MP4 video player */
.video-responsive-mp4 { padding-bottom: 0; height: auto; }
.video-responsive-mp4 video {
  position: relative; width: 100%; max-height: 80vh;
  border-radius: 12px; background: #000;
}
.video-thumb-placeholder {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a3a4a, #0d2633);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4);
}

/* ════════════════════════════════════════════
   COOKIE CONSENT BANNER
   ════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 24px rgba(15,23,42,.1), 0 -1px 4px rgba(15,23,42,.06);
  transform: translateY(100%);
  opacity: 0;
  transition: transform .4s var(--ease-out), opacity .4s var(--ease-out);
  pointer-events: none;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  gap: 24px;
}
.cookie-banner-text {
  flex: 1;
}
.cookie-banner-text strong {
  font-size: .88rem;
  color: var(--txt-dark);
  display: block;
  margin-bottom: 4px;
}
.cookie-banner-text p {
  font-size: .82rem;
  color: var(--txt-mid);
  margin: 0;
  line-height: 1.5;
}
.cookie-banner-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-text a:hover {
  color: var(--accent-dark);
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: var(--rad-s);
  font-family: 'Outfit', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all .25s var(--ease-out);
  white-space: nowrap;
}
.cookie-btn-accept {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(13,107,102,.2);
}
.cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(13,107,102,.3);
}
.cookie-btn-reject {
  background: transparent;
  color: var(--txt-mid);
  border: 1.5px solid var(--border-soft);
}
.cookie-btn-reject:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* ════ FOOTER DISCLAIMER ════ */
.ft-disclaimer {
  max-width: 1100px;
  margin: 0 auto var(--sp-l);
  padding: var(--sp-m) var(--sp-l);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--rad-s);
  border-left: 3px solid rgba(201,152,90,.5);
}
.ft-disclaimer svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
  opacity: .7;
}
.ft-disclaimer span {
  font-size: .75rem;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
}
.ft-disclaimer strong {
  color: rgba(255,255,255,.8);
}
.ft-disclaimer a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ft-disclaimer a:hover {
  color: rgba(201,152,90,.8);
}

/* Footer bottom links */
.ft-bot a {
  color: rgba(255,255,255,.6);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255,255,255,.25);
  transition: color .2s, text-decoration-color .2s;
}
.ft-bot a:hover {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

/* ════ MOBILE CTA ════ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 16px rgba(15,23,42,.08);
  padding: 10px 16px;
  gap: 10px;
}
.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--rad-s);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-decoration: none;
  transition: all .2s;
}
.mobile-cta-phone {
  background: var(--accent);
  color: var(--white);
}
.mobile-cta-prog {
  background: var(--white);
  color: var(--accent-dark);
  border: 1.5px solid var(--accent);
}

/* ════ MOBILE LANG SWITCHER (inside hamburger) ════ */
.nav-lang-mobile {
  display: none;          /* hidden on desktop — topbar has it */
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.nav-lang-mobile a {
  display: inline-block;
  padding: 6px 14px !important;
  font-size: .82rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: var(--txt-light) !important;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-lang-mobile a::after { display: none !important; }
.nav-lang-mobile a:hover {
  color: var(--accent-dark) !important;
  background: rgba(13,107,102,.06);
}
.nav-lang-mobile a.active {
  color: var(--accent-dark) !important;
  background: rgba(13,107,102,.1);
  font-weight: 800 !important;
}
.nav-lang-sep {
  color: var(--txt-light);
  opacity: .3;
  font-size: .7rem;
  margin: 0 2px;
}

/* ════════════════════════════════════════════
   RESPONSIVE — CORE
   ════════════════════════════════════════════ */
@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 104px; right: -100%; width: 100%; height: calc(100vh - 104px);
    background: var(--white); flex-direction: column; align-items: center;
    padding: 48px 0; gap: 28px; transition: .4s var(--ease-out);
    box-shadow: var(--shadow-xl); overflow-y: auto;
  }
  #mainNav.up .nav-links { top: 60px; height: calc(100vh - 60px); }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: .85rem; color: var(--txt-mid); }
  .nav-cta-btn { width: 80%; text-align: center; margin-top: var(--sp-s); }
  .nav-links.active .nav-cta-btn,
  #mainNav.nav-transparent .nav-links.active .nav-cta-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%) !important;
    color: var(--white) !important;
    border: none !important;
    box-shadow: 0 2px 12px rgba(13,107,102,.25) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .nav-lang-mobile { display: flex; width: 100%; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  #mainNav { top: 0 !important; }
  .nav-links { top: 68px !important; height: calc(100vh - 68px) !important; }
  #mainNav.up .nav-links { top: 60px !important; height: calc(100vh - 60px) !important; }
  /* Cookie banner & footer responsive */
  .cookie-banner-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
  .ft-disclaimer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .sec { padding: 64px 20px; }
  .topbar { display: none; }
  #mainNav { top: 0 !important; }
  .btn { width: 100%; }
  .ft-in, .ft-links, .ft-bot, .cta-btns { flex-direction: column; }
  .ft-bot { gap: 8px; text-align: center; }
  .cta-btns .btn-w, .cta-btns .btn-gh { width: 100%; justify-content: center; }
  .video-modal { padding: 16px; }
  .video-modal-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 1.1rem; }
  /* Cookie banner */
  .cookie-banner-actions { flex-direction: column; }
  .cookie-btn { width: 100%; text-align: center; }
  .cookie-banner.show { bottom: 0; }
  /* Mobile CTA bar */
  .mobile-cta { display: flex; }
  body { padding-bottom: 70px; }
}
/* ════════════════════════════════════════════
   HOME STYLES — drvladpostelnicu.ro
   Loaded ONLY on homepage
   ════════════════════════════════════════════ */

/* ── Transparent nav (homepage hero only) ── */
#mainNav.nav-transparent {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
#mainNav.nav-transparent .nav-logo-name {
  color: var(--white);
}
#mainNav.nav-transparent .nav-logo-title {
  color: var(--gold);
}
#mainNav.nav-transparent .nav-links a {
  color: rgba(255,255,255,.8);
}
#mainNav.nav-transparent .nav-links a:hover {
  color: var(--white);
}
#mainNav.nav-transparent .nav-links a::after {
  background: var(--white);
}
#mainNav.nav-transparent .nav-links a.active {
  color: var(--white);
}
#mainNav.nav-transparent .nav-cta-btn {
  background: rgba(255,255,255,.12) !important;
  border: 1.5px solid rgba(255,255,255,.3) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none !important;
}
#mainNav.nav-transparent .nav-cta-btn:hover {
  background: var(--white) !important;
  color: var(--accent-dark) !important;
  border-color: var(--white) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#mainNav.nav-transparent .nav-toggle span {
  background-color: var(--white);
}
/* When scrolled (up class) — reset transparent to solid */
#mainNav.up.nav-transparent {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border-bottom: 1px solid rgba(232,236,241,.6);
  box-shadow: 0 1px 3px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
}
#mainNav.up.nav-transparent .nav-logo-name { color: var(--accent-dark); }
#mainNav.up.nav-transparent .nav-logo-title { color: var(--gold); }
#mainNav.up.nav-transparent .nav-links a { color: var(--txt-mid); }
#mainNav.up.nav-transparent .nav-links a:hover { color: var(--accent-dark); }
#mainNav.up.nav-transparent .nav-links a::after { background: var(--accent); }
#mainNav.up.nav-transparent .nav-links a.active { color: var(--accent-dark); }
#mainNav.up.nav-transparent .nav-cta-btn {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%) !important;
  border: none !important;
  color: var(--white) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 2px 12px rgba(13,107,102,.25) !important;
}
#mainNav.up.nav-transparent .nav-toggle span { background-color: var(--accent-dark); }

/* ════ HERO ════ */
.hero {
  position: relative;
  min-height: 90vh;
  padding: 160px clamp(20px, 6vw, 80px) 120px;
  background: linear-gradient(165deg, #0c1f2e 0%, #0f2a36 30%, var(--accent-dark) 80%, #094f4c 100%);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(13,107,102,.3), transparent),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(201,152,90,.08), transparent);
  pointer-events: none; z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none; z-index: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  max-width: 1200px;
  width: 100%;
  position: relative; z-index: 2;
}

.hero-info { padding: 0; }

.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 3/4;
  border-radius: var(--rad-l);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.2), inset 0 0 0 1px rgba(255,255,255,.08);
  margin-left: auto;
  border: none;
  transition: transform .5s var(--ease-out);
}
.hero-img-wrap::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to top, rgba(9,79,76,.4) 0%, transparent 100%);
  pointer-events: none; z-index: 1;
}
.hero-img-wrap:hover { transform: scale(1.02) rotate(0.3deg); }
.hero-img-wrap img { width:100%; height:100%; object-fit:cover; object-position:top center; }

.hero-info h1 { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight:700; line-height:1.08; margin: 0 0 16px; color: var(--white); }
.hero-info h1 em { font-style:italic; color: var(--gold); font-weight:400; }
.hero-title-sep { color: rgba(255,255,255,.25); font-weight: 300; margin: 0 2px; }
.hero-spec {
  font-size: 1.05rem; font-weight: 500; color: rgba(255,255,255,.7);
  margin-bottom: var(--sp-l); line-height: 1.5;
}
.hero-desc { font-size:1rem; line-height:1.7; color: rgba(255,255,255,.6); max-width:480px; margin-bottom: var(--sp-xl); }
.hero-btns { display:flex; gap: var(--sp-m); flex-wrap: wrap; }
/* Hero buttons — gold primary on dark */
.hero .btn-fill {
  background: var(--gold) !important;
  color: var(--txt-dark) !important;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(201,152,90,.3);
}
.hero .btn-fill:hover {
  background: #d4a563 !important;
  box-shadow: 0 8px 28px rgba(201,152,90,.4);
}
.hero .btn-out {
  border-color: rgba(255,255,255,.25) !important;
  color: rgba(255,255,255,.9) !important;
  background: rgba(255,255,255,.06) !important;
  backdrop-filter: blur(8px);
}
.hero .btn-out:hover {
  border-color: rgba(255,255,255,.5) !important;
  background: rgba(255,255,255,.12) !important;
  color: var(--white) !important;
}
.hero-trust {
  display: flex; gap: var(--sp-l); flex-wrap: wrap;
  margin-top: var(--sp-xl);
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.5);
  letter-spacing: .3px;
}
.hero-trust span {
  display: inline-flex; align-items: center; gap: 4px;
}

/* ═══ Hero Stats Bar (floating) ═══ */
.hero-stats-bar {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  background: var(--white);
  border-radius: var(--rad-l);
  box-shadow: 0 8px 32px rgba(15,23,42,.1), 0 2px 8px rgba(15,23,42,.05);
  max-width: 800px;
  width: 90%;
}
.hero-stat-item {
  flex: 1;
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid var(--border-light);
}
.hero-stat-item:last-child { border-right: none; }
.hero-stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--accent-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-number span { color: var(--gold); }
.hero-stat-label {
  font-size: .65rem; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--txt-light);
}

/* Extra space for floating stats bar */
.sec:first-of-type { padding-top: calc(var(--sp-4xl) + 48px); }

/* ════ CTA INLINE (homepage) ════ */
.sec-cta-inline {
  padding: var(--sp-2xl) clamp(20px, 6vw, 80px);
}
.cta-inline-box {
  max-width: 700px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-l);
  padding: var(--sp-xl) var(--sp-2xl);
  background: var(--accent-soft);
  border-radius: var(--rad-l);
  border: 1px solid rgba(13,107,102,.1);
}
.cta-inline-box p {
  font-size: 1.05rem; font-weight: 500; color: var(--txt-dark);
  margin: 0;
}

/* ════ ARTICLE GRID 2-col ════ */
.article-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ════ COMPETENCES HOME (compact) ════ */
.comp-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-m);
}
.comp-home-card {
  display: flex; gap: var(--sp-m); align-items: flex-start;
  padding: var(--sp-l);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--rad-m);
  box-shadow: var(--shadow-s);
  transition: all .35s var(--ease-out);
  text-decoration: none; color: inherit;
}
.comp-home-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-m);
  border-color: var(--accent-soft);
}
.comp-home-icon {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: var(--rad-s);
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
  transition: background .3s;
}
.comp-home-card:hover .comp-home-icon { background: var(--accent); }
.comp-home-icon svg { width: 20px; height: 20px; color: var(--accent); transition: color .3s; }
.comp-home-card:hover .comp-home-icon svg { color: var(--white); }
.comp-home-card h3 {
  font-size: 1rem; font-weight: 700; margin-bottom: 4px; line-height: 1.3;
}
.comp-home-card p { font-size: .85rem; margin: 0; }

/* ════ STATS ════ */
.stats-wrap {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-xl);
  max-width: 1200px; margin: 0 auto var(--sp-3xl);
  padding: 0 clamp(20px, 6vw, 80px);
  position: relative; z-index: 10;
}
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  flex: 1; max-width: 1100px;
  gap: var(--sp-l);
}
.stats-links {
  display: flex; flex-direction: column; gap: var(--sp-s);
  flex-shrink: 0;
}
.stats-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  font-size: .82rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
  color: var(--white); background: var(--accent);
  border: 1.5px solid var(--accent); border-radius: var(--rad-m);
  box-shadow: var(--shadow-s);
  transition: all .3s var(--ease-out);
  text-decoration: none; white-space: nowrap;
}
.stats-link:hover {
  background: var(--accent-dark, #0a5c52); color: var(--white);
  border-color: var(--accent-dark, #0a5c52); transform: translateY(-3px);
  box-shadow: var(--shadow-m);
}
.stats-link svg { transition: transform .3s var(--ease-out); }
.stats-link:hover svg { transform: scale(1.1); }
.stat {
  padding: var(--sp-xl) var(--sp-l); text-align:center;
  background: var(--white); border-radius: var(--rad-m);
  box-shadow: var(--shadow-m); border: 1px solid var(--border-light);
  transition: all .35s var(--ease-out);
}
.stat:hover { transform: translateY(-4px); border-color: var(--accent-soft); box-shadow: var(--shadow-l); }
.stat-n { font-family:'Cormorant Garamond',serif; font-size: 2.6rem; font-weight:700; color: var(--txt-dark); line-height:1; }
.stat-n span { color: var(--accent); font-style:italic; }
.stat-l { font-size:.72rem; font-weight:600; color: var(--txt-light); letter-spacing:1.2px; text-transform:uppercase; margin-top: var(--sp-s); }

/* ════ COMPETENTE ════ */
.sec-comp { background: var(--bg-warm); }
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-l); }
.comp-card {
  background: var(--white); border-radius: var(--rad-m); padding: 36px 28px;
  box-shadow: var(--shadow-s); border: 1px solid transparent;
  transition: all .35s var(--ease-out); position:relative; overflow:hidden;
}
.comp-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0; transition: opacity .35s ease;
}
.comp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); border-color: var(--border-light); }
.comp-card:hover::before { opacity: 1; }
.c-icon {
  width: 52px; height: 52px; border-radius: var(--rad-s);
  background: var(--accent-soft); display:flex; align-items:center; justify-content:center;
  margin-bottom: var(--sp-l);
  transition: background .3s ease;
}
.comp-card:hover .c-icon { background: var(--accent); }
.c-icon svg { width:24px; height:24px; color: var(--accent); transition: color .3s ease; }
.comp-card:hover .c-icon svg { color: var(--white); }
.comp-card h4 { font-size: 1.2rem; font-weight:700; margin-bottom: 10px; }
.comp-card p { font-size: .92rem; }

/* ════ PROGRAMARE ════ */
.sec-prog { background: var(--white); }
.prog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }
.prog-card {
  border-radius: var(--rad-l); overflow:hidden;
  box-shadow: var(--shadow-m); border: 1px solid var(--border-light);
  transition: all .35s var(--ease-out); background: var(--white);
}
.prog-card:hover { box-shadow: var(--shadow-l); border-color: var(--accent-soft); transform: translateY(-3px); }
.prog-hd { padding: var(--sp-xl) var(--sp-xl); background: var(--off-white); border-bottom: 1px solid var(--border-light); }
.prog-badge {
  display:inline-block; font-size:.68rem; font-weight:700; letter-spacing:1.2px;
  text-transform:uppercase; padding: 6px 16px; border-radius: 100px; margin-bottom: var(--sp-m);
}
.badge-g { background: var(--accent-soft); color: var(--accent-dark); }
.badge-b { background: var(--gold-soft); color: var(--gold); }
.prog-hd h3 { font-size: 1.45rem; font-weight:700; margin-bottom: 6px; }
.prog-hd p { font-size:.88rem; color: var(--txt-mid); }
.prog-body { padding: var(--sp-l) var(--sp-xl); }
.prog-row { display:flex; justify-content:space-between; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--border-light); }
.prog-row:last-of-type { border-bottom:none; }
.prog-day { font-weight: 500; font-size: .9rem; }
.prog-time { font-weight: 600; font-size: .88rem; color: var(--accent-dark); }
.prog-ft { padding: var(--sp-l) var(--sp-xl); background: var(--off-white); border-top: 1px solid var(--border-light); display:flex; gap: 12px; flex-wrap:wrap; }
.prog-btn {
  flex:1; justify-content:center; display:inline-flex; align-items:center; gap:8px;
  background: var(--white); border: 1.5px solid var(--border-soft); border-radius: var(--rad-s);
  padding: 13px; font-size:.78rem; font-weight:600; color: var(--txt-mid);
  transition: all .25s var(--ease-out); box-shadow: var(--shadow-s); min-width:140px;
}
.prog-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.prog-btn:hover { background: var(--accent); color: var(--white); border-color: var(--accent); box-shadow: var(--shadow-m); transform: translateY(-1px); }

/* ════ EDUCATIE ════ */
.sec-edu { background: var(--bg-warm); }
.edu-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 72px; align-items: start; }
.timeline { position:relative; padding-left: 40px; }
.timeline::before {
  content:''; position:absolute; left:12px; top:10px; bottom:0; width:2px;
  background: linear-gradient(to bottom, var(--accent), var(--border-light) 90%);
  border-radius:2px;
}
.tl-item {
  position:relative; margin-bottom: var(--sp-l);
  padding: var(--sp-m) var(--sp-l);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--rad-m);
  box-shadow: var(--shadow-s);
  transition: transform .25s, box-shadow .25s;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-item:hover { transform: translateX(4px); box-shadow: var(--shadow-m); }
.tl-item::before {
  content:''; position:absolute; left:-40px; top:16px; width:14px; height:14px;
  background: var(--gold); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent-soft); border-radius:50%; z-index:2;
}
.tl-yr {
  display:inline-block; font-size:.68rem; font-weight:700; color: var(--accent-dark);
  letter-spacing:1px; background: var(--accent-soft); padding: 4px 12px;
  border-radius: 100px; margin-bottom: 6px;
}
.tl-t { font-size: 1.05rem; font-weight:700; margin-bottom: 4px; }
.tl-d { font-size:.85rem; color: var(--txt-mid); line-height:1.55; }

.affil-panel {
  background: var(--white); border-radius: var(--rad-m); padding: 36px;
  box-shadow: var(--shadow-l); position: sticky; top: 100px;
  border: 1px solid var(--border-light);
}
.affil-panel h4 { font-size: 1.25rem; font-weight:700; margin-bottom: var(--sp-l); padding-bottom: 12px; border-bottom: 2px solid var(--border-light); }
.affil-row { display:flex; align-items:center; gap:12px; padding: 11px 0; border-bottom: 1px solid var(--border-light); font-size: .9rem; }
.affil-row:last-child { border-bottom: none; }
.affil-dot { width:8px; height:8px; border-radius:50%; background: var(--accent); min-width:8px; flex-shrink:0; }

/* ════ PUBLICATII ════ */
.sec-pub { background: var(--white); }
.pub-tabs {
  display:inline-flex; gap:4px; margin-bottom: 40px;
  background: var(--bg-warm); padding: 5px; border-radius: 100px;
  font-family: 'Outfit', sans-serif;
}
.pub-tab {
  padding: 10px 26px; border-radius: 100px; border:none; background: transparent;
  font-size:.73rem; font-weight:700; letter-spacing:1px; text-transform:uppercase;
  color: var(--txt-light); cursor:pointer; transition: all .3s var(--ease-out);
  font-family: inherit;
}
.pub-tab:hover { color: var(--txt-mid); }
.pub-tab.active { background: var(--white); color: var(--accent-dark); box-shadow: var(--shadow-s); }
.pub-list { display:none; flex-direction:column; gap: var(--sp-m); }
.pub-list.active { display:flex; }
.pub-item {
  display:flex; gap: var(--sp-l); align-items:flex-start; padding: var(--sp-l);
  border-radius: var(--rad-m); border: 1px solid var(--border-light);
  background: var(--white); transition: all .3s var(--ease-out);
}
.pub-item:hover { border-color: var(--accent-soft); box-shadow: var(--shadow-m); transform: translateX(4px); }
.pub-yr {
  min-width: 52px; background: var(--accent-dark); color: var(--white);
  border-radius: var(--rad-s); padding: 8px 0; text-align:center;
  font-size:.78rem; font-weight:700; flex-shrink: 0;
}
.pub-item h5 { font-size: 1.05rem; font-weight:700; margin-bottom: 5px; line-height: 1.4; }
.pub-item p { font-size: .88rem; }

/* ════ EMISIUNI TV / VIDEO ════ */
.sec-videos { background: var(--bg-warm); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-l);
}
.video-card {
  background: var(--white);
  border-radius: var(--rad-m);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  border: 1px solid var(--border-light);
  transition: all .4s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-l);
  border-color: var(--accent-soft);
}
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-warm);
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-thumb .play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items:center; justify-content:center;
  background: linear-gradient(to top, rgba(0,0,0,.3) 0%, rgba(0,0,0,.05) 50%, transparent 100%);
  opacity: 0;
  transition: opacity .35s ease;
}
.video-card:hover .play-overlay { opacity: 1; }
.play-overlay .play-btn {
  width: 54px; height: 54px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: flex; align-items:center; justify-content:center;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
  transition: transform .35s var(--ease-bounce);
}
.video-card:hover .play-btn { transform: scale(1.12); }
.play-overlay .play-btn svg { width:22px; height:22px; color: var(--accent-dark); margin-left: 3px; }

.video-thumb .duration-badge {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,.82); color: white;
  padding: 4px 10px; border-radius: 6px;
  font-size:.72rem; font-weight:700;
  letter-spacing: .5px;
  backdrop-filter: blur(4px);
}
.video-body { padding: 20px 22px; }
.video-body h4 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 8px; line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-body .video-meta {
  display: flex; align-items:center; gap: 8px;
  font-size:.72rem; color: var(--txt-light); font-weight:600;
}
.video-body .video-meta .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--border-soft);
}
.video-channel {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--txt-light);
  letter-spacing: .3px;
}

/* ════ CARD GRID (homepage conditions/procedures) ════ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-l);
}
.card-grid-4 {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.link-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--rad-m);
  box-shadow: var(--shadow-s);
  transition: all .35s var(--ease-out);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.link-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform .3s var(--ease-out);
  border-radius: 0 2px 2px 0;
}
.link-card:hover::before { transform: scaleY(1); }
.link-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-l);
  border-color: var(--accent-soft);
}
.link-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--rad-s);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-m);
  transition: background .3s;
}
.link-card:hover .link-card-icon { background: var(--accent); }
.link-card-icon svg { width: 22px; height: 22px; color: var(--accent); transition: color .3s; }
.link-card:hover .link-card-icon svg { color: var(--white); }
.link-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.link-card p {
  font-size: .88rem;
  flex: 1;
  margin-bottom: var(--sp-m);
}
.link-card-arrow {
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  transition: transform .2s;
}
.link-card:hover .link-card-arrow { transform: translateX(4px); display: inline-block; }

/* ════ ARTICLE CARDS (homepage duplicate) ════ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-l);
}
.article-grid-hub {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--rad-m);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: all .35s var(--ease-out);
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-l);
  border-color: var(--accent-soft);
}
.article-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-warm);
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.article-card:hover .article-card-img img { transform: scale(1.05); }
.article-card-body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card-cat {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.article-card-cat.cat-medici {
  color: var(--gold);
}
.article-card-body h2,
.article-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}
.article-card-body p {
  font-size: .88rem;
  flex: 1;
  margin-bottom: var(--sp-m);
}
.article-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  color: var(--txt-light);
  font-weight: 500;
}
.article-card-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-soft);
}

/* ════ HOMEPAGE — "De ce aici" section ════ */
.sec-why { background: var(--bg-warm); }
.why-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--sp-3xl);
  align-items: center;
}
.why-content h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--sp-m);
}
.why-intro {
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: var(--sp-2xl);
}
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-l);
  margin-bottom: var(--sp-2xl);
}
.why-list li {
  display: flex;
  gap: var(--sp-m);
  align-items: flex-start;
}
.why-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--rad-s);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.why-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.why-list li strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--txt-dark);
}
.why-list li span {
  font-size: .88rem;
  line-height: 1.5;
}
.why-media {
  position: relative;
  border-radius: var(--rad-l);
  overflow: hidden;
  box-shadow: var(--shadow-l);
}
.why-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ════ HOMEPAGE — Card grid 2-col for procedures ════ */
.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.link-card-wide p {
  font-size: .9rem;
}

/* ════ HOMEPAGE — TV Social Proof bar ════ */
.tv-proof {
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.tv-proof-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  flex-wrap: wrap;
  justify-content: center;
}
.tv-proof-label {
  font-size: .9rem;
  color: var(--txt-mid);
  white-space: nowrap;
}
.tv-proof-label strong {
  color: var(--txt-dark);
  font-weight: 700;
}
.tv-proof-channels {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.tv-channel-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--txt-mid);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 100px;
}
.tv-proof-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.tv-proof-link:hover { color: var(--accent-dark); }

/* ════ HOMEPAGE — Programare preview ════ */
.sec-prog-preview {
  background: linear-gradient(165deg, #0c1f2e 0%, #0f2a36 40%, var(--accent-dark) 100%);
  color: var(--white);
}
.sec-prog-preview .sec-head h2 {
  color: var(--white);
}
.sec-prog-preview .sec-head p {
  color: rgba(255,255,255,.7);
}
.prog-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  max-width: 800px;
  margin: 0 auto;
}
.prog-preview-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--rad-m);
  padding: var(--sp-xl) var(--sp-l);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all .3s var(--ease-out);
}
.prog-preview-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-3px);
}
.prog-preview-card .prog-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: var(--sp-m);
}
.prog-preview-card .badge-g {
  background: rgba(13,107,102,.3);
  color: var(--gold);
}
.prog-preview-card .badge-b {
  background: rgba(201,152,90,.2);
  color: var(--gold);
}
.prog-preview-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--sp-s);
  color: var(--white);
}
.prog-preview-addr {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 4px;
}
.prog-preview-hours {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: var(--sp-m);
}
.prog-preview-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.prog-preview-btns .btn-out {
  border-color: rgba(255,255,255,.3);
  color: var(--white);
}
.prog-preview-btns .btn-out:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}

/* ════════════════════════════════════════════
   RESPONSIVE — HOME
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { min-height: auto; padding-bottom: 100px; }
  .hero-container { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-img-wrap { margin: 0 auto; order: -1; max-width: 300px; }
  .hero-info { display: flex; flex-direction: column; align-items: center; }
  .hero-trust { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-stats-bar { max-width: 600px; }
  .cta-inline-box { flex-direction: column; text-align: center; }
  .article-grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats-wrap { flex-direction: column; }
  .stats-links { flex-direction: row; justify-content: center; }
  .comp-grid { grid-template-columns: 1fr 1fr; }
  .edu-grid { grid-template-columns: 1fr; gap: 36px; }
  .affil-panel { position: static; }
  .video-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 940px) {
  /* Force mobile menu text dark even on transparent nav */
  #mainNav.nav-transparent .nav-links a { color: var(--txt-mid); }
  #mainNav.nav-transparent .nav-links { background: var(--white); }
  /* Why section */
  .why-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }
  .why-media {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-stat-label { font-size: .6rem; letter-spacing: .8px; }
}

@media (max-width: 640px) {
  .hero { padding: 110px 20px 80px; min-height: auto; }
  .hero-info h1 { font-size: 2rem; }
  .hero-title-sep { display: none; }
  .hero-info h1 em { display: block; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-trust { display: none; }
  .hero-stats-bar { display: none; }
  .sec-cta-inline { padding: var(--sp-xl) 20px; }
  .cta-inline-box { padding: var(--sp-l); flex-direction: column; text-align: center; }
  .comp-grid, .stats, .prog-grid { grid-template-columns: 1fr; }
  .stats-links { width: 100%; }
  .stats-link { flex: 1; justify-content: center; }
  .video-grid { grid-template-columns: 1fr; }
  .prog-hd, .prog-body, .prog-ft { padding-left: 20px; padding-right: 20px; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .prog-preview-grid { grid-template-columns: 1fr; }
  .tv-proof-inner { flex-direction: column; text-align: center; }
}
/* ════════════════════════════════════════════
   PAGES STYLES — drvladpostelnicu.ro
   Loaded ONLY on inner pages (not homepage)
   ════════════════════════════════════════════ */

/* ════ BREADCRUMBS ════ */
.breadcrumbs {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px clamp(20px, 6vw, 80px) 0;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  font-size: .78rem;
  font-weight: 500;
  color: var(--txt-light);
}
.breadcrumbs li:not(:last-child)::after {
  content: '›';
  margin-left: 6px;
  color: var(--border-soft);
}
.breadcrumbs a {
  color: var(--txt-mid);
  transition: color .2s;
}
.breadcrumbs a:hover {
  color: var(--accent);
}

/* ════ ARTICLE HERO BAND (inner pages) ════ */
.article-hero-band {
  position: relative;
  background: linear-gradient(165deg, #0c1f2e 0%, var(--accent-dark) 60%, #094f4c 100%);
  padding: 0 clamp(20px, 6vw, 80px) 56px;
  overflow: hidden;
}
.article-hero-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(13,107,102,.25), transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(201,152,90,.08), transparent 60%);
  pointer-events: none;
}
.article-hero-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.article-hero-band .breadcrumbs {
  padding-top: 120px;
  padding-left: 0;
  padding-right: 0;
}
.article-hero-band .breadcrumbs ol { color: rgba(255,255,255,.5); }
.article-hero-band .breadcrumbs li:not(:last-child)::after { color: rgba(255,255,255,.3); }
.article-hero-band .breadcrumbs a { color: rgba(255,255,255,.7); }
.article-hero-band .breadcrumbs a:hover { color: var(--white); }

.band-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}
.band-inner .tag-line { background: var(--gold); opacity: .8; }
.band-inner .tag span { color: var(--gold); }
.band-inner .article-card-cat {
  background: rgba(201,152,90,.15);
  color: var(--gold);
  border: 1px solid rgba(201,152,90,.3);
}
.band-inner .article-card-cat.cat-medici {
  background: rgba(13,107,102,.2);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.15);
}
.band-inner h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin: var(--sp-m) 0;
  max-width: 720px;
}
.band-inner .article-lead {
  color: rgba(255,255,255,.7);
  border-left-color: var(--gold);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 680px;
  margin: var(--sp-l) 0 0;
  padding-left: var(--sp-l);
}
.band-inner .article-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  margin-bottom: var(--sp-s);
}
.band-inner .article-meta-top .dot {
  background: rgba(255,255,255,.3);
}

/* ════ PAGE CONTENT ════ */
.page-content {
  min-height: 60vh;
}

.page-hero-simple {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--sp-xl) clamp(20px, 6vw, 80px) var(--sp-2xl);
  text-align: center;
  position: relative;
}
.page-hero-simple::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  margin: var(--sp-l) auto 0;
  border-radius: 2px;
}
.page-hero-simple h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--sp-m);
}
.page-hero-simple p {
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Page Hero (About) */
.page-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--sp-xl) clamp(20px, 6vw, 80px) var(--sp-3xl);
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 48px;
  align-items: center;
}
/* About page: dark hero band */
.page-hero-about-band {
  position: relative;
  background: linear-gradient(165deg, #0c1f2e 0%, var(--accent-dark) 60%, #094f4c 100%);
  padding: 120px clamp(20px, 6vw, 80px) var(--sp-3xl);
  overflow: hidden;
}
.page-hero-about-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(13,107,102,.25), transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(201,152,90,.08), transparent 60%);
  pointer-events: none;
}
.page-hero-about-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.page-hero-about-band .page-hero {
  position: relative;
  z-index: 1;
  padding-top: 0;
  padding-bottom: 0;
}
.page-hero-about-band .page-hero-text .tag-line { background: var(--gold); opacity: .8; }
.page-hero-about-band .page-hero-text .tag span { color: var(--gold); }
.page-hero-about-band .page-hero-text h1 { color: var(--white); }
.page-hero-about-band .page-hero-subtitle {
  color: var(--gold) !important;
}
.page-hero-about-band .page-hero-text p {
  color: rgba(255,255,255,.7);
}
.page-hero-about-band .page-hero-img img {
  border: 3px solid rgba(255,255,255,.15);
  box-shadow: 0 12px 48px rgba(0,0,0,.3);
}
.page-hero-about-band .breadcrumbs ol { color: rgba(255,255,255,.5); }
.page-hero-about-band .breadcrumbs li:not(:last-child)::after { color: rgba(255,255,255,.3); }
.page-hero-about-band .breadcrumbs a { color: rgba(255,255,255,.7); }
.page-hero-about-band .breadcrumbs a:hover { color: var(--white); }
.page-hero-about-band .breadcrumbs { padding-top: 0; }

.page-hero-text .tag { margin-bottom: var(--sp-s); }
.page-hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: var(--sp-s);
}
.page-hero-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--sp-l) !important;
}
.page-hero-text p {
  margin-bottom: var(--sp-m);
  font-size: .98rem;
}
.page-hero-img {
  position: relative;
}
.page-hero-img img {
  border-radius: var(--rad-xl);
  box-shadow: var(--shadow-xl);
  border: 5px solid var(--white);
}

/* Page Body */
.page-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 80px) var(--sp-4xl);
}
.page-body-narrow {
  max-width: 800px;
}

/* ════ HUB GRID (listing pages) ════ */
.hub-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-m);
}
.hub-card {
  display: flex;
  gap: var(--sp-l);
  align-items: flex-start;
  padding: var(--sp-l) var(--sp-xl);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 3px solid transparent;
  border-radius: var(--rad-m);
  box-shadow: var(--shadow-s);
  transition: all .35s var(--ease-out);
  text-decoration: none;
  color: inherit;
  position: relative;
}
.hub-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-l);
  border-left-color: var(--accent);
}
.hub-card-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: var(--rad-m);
  background: linear-gradient(135deg, var(--accent-soft), rgba(13,107,102,.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  transition: all .3s;
}
.hub-card:hover .hub-card-icon {
  background: var(--accent);
}
.hub-card-icon svg { width: 24px; height: 24px; color: var(--accent); transition: color .3s; }
.hub-card:hover .hub-card-icon svg { color: var(--white); }
.hub-card-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.hub-card-content p {
  font-size: .9rem;
  margin-bottom: 8px;
}
.hub-card-link {
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  transition: transform .2s;
  display: inline-block;
}
.hub-card:hover .hub-card-link { transform: translateX(4px); }

/* ════ ARTICLE GRID ════ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-l);
}
.article-grid-hub {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--rad-m);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: all .35s var(--ease-out);
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-l);
  border-color: var(--accent-soft);
}
.article-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-warm);
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.article-card:hover .article-card-img img { transform: scale(1.05); }
.article-card-body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card-cat {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.article-card-cat.cat-medici {
  color: var(--gold);
}
.article-card-body h2,
.article-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}
.article-card-body p {
  font-size: .88rem;
  flex: 1;
  margin-bottom: var(--sp-m);
}
.article-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  color: var(--txt-light);
  font-weight: 500;
}
.article-card-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-soft);
}

/* ════ ARTICLE LAYOUT (single article/condition/procedure) ════ */
.page-content-article {
  padding-bottom: var(--sp-3xl);
}
.article-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.article-hero-band + .page-content-article .article-layout {
  padding-top: var(--sp-2xl);
}
.article-main {
  min-width: 0;
}
.article-header {
  margin-bottom: var(--sp-xl);
}
.article-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--sp-m);
}
.article-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--txt-light);
  font-weight: 500;
  margin-bottom: var(--sp-m);
}
.article-meta-top .dot {
  width: 3px; height: 3px; border-radius: 50%; background: var(--border-soft);
}
.meta-updated {
  font-style: italic;
  opacity: .75;
}
.band-inner .meta-updated {
  opacity: .85;
}
.article-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--txt-mid);
  font-weight: 400;
  border-left: 3px solid var(--accent);
  padding-left: var(--sp-l);
  margin: var(--sp-l) 0;
}
.article-featured-img {
  margin-bottom: var(--sp-xl);
  border-radius: var(--rad-m);
  overflow: hidden;
}
.article-featured-img img {
  width: 100%;
  border-radius: var(--rad-m);
}

/* ════ PROSE (article content) ════ */
.prose {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--txt-mid);
}
.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--txt-dark);
  margin: var(--sp-2xl) 0 var(--sp-m);
  padding-top: var(--sp-l);
  position: relative;
}
.prose h2::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 2px;
  margin-bottom: var(--sp-s);
}
.prose h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--txt-dark);
  margin: var(--sp-xl) 0 var(--sp-s);
}
.prose p {
  margin-bottom: var(--sp-m);
  font-weight: 300;
}
.prose ul, .prose ol {
  margin: var(--sp-m) 0;
  padding-left: var(--sp-xl);
}
.prose li {
  margin-bottom: var(--sp-s);
  line-height: 1.7;
}
.prose strong {
  color: var(--txt-dark);
  font-weight: 600;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover {
  color: var(--accent-dark);
}
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: var(--sp-m) var(--sp-l);
  margin: var(--sp-xl) 0;
  background: var(--accent-soft);
  border-radius: 0 var(--rad-s) var(--rad-s) 0;
  font-style: italic;
}
.prose img {
  border-radius: var(--rad-m);
  margin: var(--sp-l) 0;
  box-shadow: var(--shadow-s);
}
.prose figure {
  margin: var(--sp-xl) 0;
}
.prose figcaption {
  font-size: .82rem;
  color: var(--txt-light);
  text-align: center;
  margin-top: var(--sp-s);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-xl) 0;
  font-size: .9rem;
}
.prose th, .prose td {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  text-align: left;
}
.prose th {
  background: var(--bg-warm);
  font-weight: 600;
  color: var(--txt-dark);
}

/* ════ SIDEBAR ════ */
.article-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-l);
}
.sidebar-box {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--accent);
  border-radius: var(--rad-m);
  padding: var(--sp-l);
  box-shadow: var(--shadow-s);
  transition: border-left-color .3s, box-shadow .3s;
}
.sidebar-box:hover {
  border-left-color: var(--gold);
  box-shadow: 0 4px 20px rgba(15,23,42,.08);
}
.sidebar-box h4 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: var(--sp-m);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-light);
}
.sidebar-links {
  list-style: none;
  padding: 0;
}
.sidebar-links li {
  border-bottom: 1px solid var(--border-light);
}
.sidebar-links li:last-child {
  border-bottom: none;
}
.sidebar-links a {
  display: block;
  padding: 10px 0;
  font-size: .88rem;
  color: var(--txt-mid);
  transition: color .2s, padding-left .2s;
}
.sidebar-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}
.sidebar-cta {
  background: linear-gradient(160deg, var(--accent-dark), #094f4c);
  border-color: transparent;
  border-left: 3px solid var(--gold);
  text-align: center;
  color: var(--white);
}
.sidebar-cta:hover {
  border-left-color: var(--gold);
  box-shadow: 0 6px 24px rgba(13,107,102,.2);
}
.sidebar-cta h4 {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,.15);
}
.sidebar-cta p {
  font-size: .88rem;
  margin-bottom: var(--sp-m);
  color: rgba(255,255,255,.75);
}
.sidebar-cta .btn-fill {
  background: var(--white);
  color: var(--accent-dark);
}
.sidebar-cta .btn-fill:hover {
  background: var(--gold);
  color: var(--white);
}
.btn-sm {
  padding: 10px 24px;
  font-size: .73rem;
}

/* ════ AUTHOR BOX ════ */
.author-box {
  display: flex;
  gap: var(--sp-l);
  align-items: center;
  padding: var(--sp-l) var(--sp-xl);
  margin-top: var(--sp-2xl);
  background: var(--bg-warm);
  border-radius: var(--rad-m);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--gold);
  box-shadow: 0 4px 16px rgba(15,23,42,.06);
}
.author-box-img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--white);
  box-shadow: var(--shadow-s);
  flex-shrink: 0;
}
.author-box-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2px;
}
.author-box-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--txt-dark);
}
.author-box-title {
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}
.author-box-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
}
.author-box-link:hover {
  color: var(--gold);
}

/* ════ FAQ ════ */
.faq-section {
  margin-top: var(--sp-2xl);
}
.faq-section h2 {
  font-size: 1.5rem;
  margin-bottom: var(--sp-l);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-s);
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--rad-m);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(13,107,102,.08);
}
.faq-question {
  padding: var(--sp-m) var(--sp-l);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color .2s, background .2s;
  color: var(--txt-dark);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .3s;
  flex-shrink: 0;
  margin-left: var(--sp-m);
  margin-top: -3px;
}
.faq-item[open] .faq-question::after {
  transform: rotate(-135deg);
  margin-top: 3px;
}
.faq-question:hover {
  color: var(--accent);
  background: rgba(13,107,102,.02);
}
.faq-answer {
  padding: 0 var(--sp-l) var(--sp-l);
  font-size: .92rem;
  line-height: 1.7;
  color: var(--txt-mid);
  border-top: 1px solid var(--border-light);
  margin: 0 var(--sp-m);
  padding-top: var(--sp-m);
}
.faq-answer p {
  margin-bottom: var(--sp-s);
}

/* ════ RELATED VIDEOS (inline on content pages) ════ */
.related-videos {
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--border-light);
}
.related-videos h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--sp-l);
  color: var(--txt-dark);
}
.related-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-m);
}
.related-video-card {
  display: flex;
  gap: 0;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--rad-m);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  border: 1px solid var(--border-light);
  transition: all .35s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.related-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-l);
  border-color: var(--accent-soft);
}
.related-video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-warm);
}
.related-video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.related-video-card:hover .related-video-thumb img {
  transform: scale(1.06);
}
.related-video-card .play-overlay {
  opacity: 0;
}
.related-video-card:hover .play-overlay {
  opacity: 1;
}
.related-video-info {
  padding: 14px 16px;
}
.related-video-info h4 {
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-video-info .video-channel {
  font-size: .72rem;
}

/* ════ CTA INLINE ════ */
.page-cta-inline {
  text-align: center;
  padding: var(--sp-2xl);
  margin-top: var(--sp-2xl);
  background: var(--accent-soft);
  border-radius: var(--rad-l);
}
.page-cta-inline h2 {
  font-size: 1.5rem;
  margin-bottom: var(--sp-s);
}
.page-cta-inline p {
  margin-bottom: var(--sp-l);
}

.article-cta-box {
  text-align: center;
  padding: var(--sp-xl) var(--sp-2xl);
  margin-top: var(--sp-2xl);
  background: linear-gradient(160deg, var(--accent-dark), #094f4c);
  border-radius: var(--rad-l);
  border: none;
  color: var(--white);
}
.article-cta-box p {
  margin-bottom: var(--sp-m);
  font-size: .95rem;
  color: rgba(255,255,255,.8);
}
.article-cta-box .btn-fill {
  background: var(--gold);
  color: var(--white);
  border: none;
}
.article-cta-box .btn-fill:hover {
  background: #b8893e;
}
.article-cta-box strong {
  color: var(--white);
  font-weight: 700;
}
.article-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.article-cta-box .btn-out {
  border-color: rgba(255,255,255,.3);
  color: var(--white);
}
.article-cta-box .btn-out:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}

/* ════ RELATED ARTICLES ════ */
.related-articles {
  max-width: 1100px;
  margin: var(--sp-3xl) auto 0;
  padding: 0 clamp(20px, 6vw, 80px);
}
.related-articles h2 {
  font-size: 1.5rem;
  margin-bottom: var(--sp-l);
}

/* ════ PAGINATION ════ */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--sp-s);
  margin-top: var(--sp-2xl);
  flex-wrap: wrap;
}
.pagination-link {
  padding: 10px 16px;
  border-radius: var(--rad-s);
  font-size: .82rem;
  font-weight: 600;
  color: var(--txt-mid);
  border: 1px solid var(--border-light);
  transition: all .2s;
}
.pagination-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.pagination-link.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ════ ABOUT SECTIONS ════ */
.about-section {
  margin-bottom: var(--sp-3xl);
}
.about-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: var(--sp-l);
  padding-bottom: var(--sp-s);
  border-bottom: none;
  position: relative;
}
.about-section h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 2px;
  margin-top: var(--sp-s);
}
.about-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: var(--sp-xl) 0 var(--sp-m);
}
.about-skills {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-m);
}
.about-skill-item {
  padding: var(--sp-l);
  background: var(--bg-warm);
  border-radius: var(--rad-s);
}
.about-skill-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--txt-dark);
}
.about-skill-item p {
  font-size: .88rem;
}
.about-skill-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all .25s var(--ease-out);
  border: 1px solid transparent;
}
.about-skill-link:hover {
  background: var(--accent-soft);
  border-color: rgba(13,107,102,.1);
  transform: translateY(-2px);
}
.about-skill-arrow {
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-block;
  margin-top: 6px;
  transition: transform .2s;
}
.about-skill-link:hover .about-skill-arrow {
  transform: translateX(4px);
}

/* Affiliations grid */
.affil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-m);
}
.affil-card {
  padding: var(--sp-l);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--rad-m);
  box-shadow: var(--shadow-s);
  transition: transform .25s, box-shadow .25s;
}
.affil-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-m);
}
.affil-card-abbr {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-dark);
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.affil-card-name {
  font-size: .9rem;
  font-weight: 500;
  color: var(--txt-mid);
}

/* Publications static */
.pub-list-static {
  display: flex;
  flex-direction: column;
  gap: var(--sp-m);
}
.pub-item-static {
  display: flex;
  gap: var(--sp-l);
  align-items: flex-start;
  padding: var(--sp-m) var(--sp-l);
  border: 1px solid var(--border-light);
  border-radius: var(--rad-m);
  transition: transform .25s, box-shadow .25s;
}
.pub-item-static:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-s);
}
.pub-yr-static {
  min-width: 52px;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: var(--white);
  text-align: center;
  padding: 8px 0;
  border-radius: var(--rad-s);
  font-size: .78rem;
  font-weight: 700;
  flex-shrink: 0;
}
.pub-item-static strong {
  display: block;
  margin-bottom: 4px;
  font-size: .95rem;
  line-height: 1.4;
}
.pub-item-static p {
  font-size: .85rem;
}
.pub-note {
  margin-top: var(--sp-l);
  font-style: italic;
  font-size: .9rem;
}

/* ════ CONTACT ════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
}
.contact-card {
  padding: var(--sp-xl);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--rad-m);
  box-shadow: var(--shadow-m);
}
.contact-card h2 {
  font-size: 1.3rem;
  margin: var(--sp-m) 0;
}
.contact-detail {
  margin-bottom: var(--sp-m);
}
.contact-detail strong {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--txt-light);
  margin-bottom: 4px;
}
.contact-detail p, .contact-detail a {
  font-size: .95rem;
}
.contact-detail a {
  color: var(--accent);
}

/* Prep list */
.prep-section {
  margin-top: var(--sp-2xl);
}
.prep-section h2 {
  font-size: 1.3rem;
  margin-bottom: var(--sp-m);
}
.prep-list {
  padding-left: var(--sp-l);
}
.prep-list li {
  margin-bottom: var(--sp-s);
  font-size: .95rem;
  line-height: 1.6;
  color: var(--txt-mid);
}

/* ════ 404 ════ */
.page-404 {
  text-align: center;
  padding: var(--sp-4xl) clamp(20px, 6vw, 80px);
}
.page-404 h1 {
  font-size: 6rem;
  color: var(--accent-soft);
  line-height: 1;
  margin-bottom: var(--sp-s);
}
.page-404-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--txt-dark);
  margin-bottom: var(--sp-m) !important;
}
.page-404 p {
  margin-bottom: var(--sp-xl);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.page-404-links {
  display: flex;
  gap: var(--sp-m);
  justify-content: center;
  flex-wrap: wrap;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: var(--sp-3xl);
  font-size: 1.05rem;
  color: var(--txt-light);
}

/* ════ SHARED COMPONENTS (also in home.css) ════ */

/* Programare cards */
.prog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }
.prog-card {
  border-radius: var(--rad-l); overflow:hidden;
  box-shadow: var(--shadow-m); border: 1px solid var(--border-light);
  transition: all .35s var(--ease-out); background: var(--white);
}
.prog-card:hover { box-shadow: var(--shadow-l); border-color: var(--accent-soft); transform: translateY(-3px); }
.prog-hd { padding: var(--sp-xl) var(--sp-xl); background: var(--off-white); border-bottom: 1px solid var(--border-light); }
.prog-badge {
  display:inline-block; font-size:.68rem; font-weight:700; letter-spacing:1.2px;
  text-transform:uppercase; padding: 6px 16px; border-radius: 100px; margin-bottom: var(--sp-m);
}
.badge-g { background: var(--accent-soft); color: var(--accent-dark); }
.badge-b { background: var(--gold-soft); color: var(--gold); }
.prog-hd h3 { font-size: 1.45rem; font-weight:700; margin-bottom: 6px; }
.prog-hd p { font-size:.88rem; color: var(--txt-mid); }
.prog-body { padding: var(--sp-l) var(--sp-xl); }
.prog-row { display:flex; justify-content:space-between; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--border-light); }
.prog-row:last-of-type { border-bottom:none; }
.prog-day { font-weight: 500; font-size: .9rem; }
.prog-time { font-weight: 600; font-size: .88rem; color: var(--accent-dark); }
.prog-ft { padding: var(--sp-l) var(--sp-xl); background: var(--off-white); border-top: 1px solid var(--border-light); display:flex; gap: 12px; flex-wrap:wrap; }
.prog-btn {
  flex:1; justify-content:center; display:inline-flex; align-items:center; gap:8px;
  background: var(--white); border: 1.5px solid var(--border-soft); border-radius: var(--rad-s);
  padding: 13px; font-size:.78rem; font-weight:600; color: var(--txt-mid);
  transition: all .25s var(--ease-out); box-shadow: var(--shadow-s); min-width:140px;
}
.prog-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.prog-btn:hover { background: var(--accent); color: var(--white); border-color: var(--accent); box-shadow: var(--shadow-m); transform: translateY(-1px); }

/* Timeline / educatie */
.sec-edu { background: var(--bg-warm); }
.edu-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 72px; align-items: start; }
.timeline { position:relative; padding-left: 40px; }
.timeline::before {
  content:''; position:absolute; left:12px; top:10px; bottom:0; width:2px;
  background: linear-gradient(to bottom, var(--accent), var(--border-light) 90%);
  border-radius:2px;
}
.tl-item {
  position:relative; margin-bottom: var(--sp-l);
  padding: var(--sp-m) var(--sp-l);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--rad-m);
  box-shadow: var(--shadow-s);
  transition: transform .25s, box-shadow .25s;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-item:hover { transform: translateX(4px); box-shadow: var(--shadow-m); }
.tl-item::before {
  content:''; position:absolute; left:-40px; top:16px; width:14px; height:14px;
  background: var(--gold); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent-soft); border-radius:50%; z-index:2;
}
.tl-yr {
  display:inline-block; font-size:.68rem; font-weight:700; color: var(--accent-dark);
  letter-spacing:1px; background: var(--accent-soft); padding: 4px 12px;
  border-radius: 100px; margin-bottom: 6px;
}
.tl-t { font-size: 1.05rem; font-weight:700; margin-bottom: 4px; }
.tl-d { font-size:.85rem; color: var(--txt-mid); line-height:1.55; }
.affil-panel {
  background: var(--white); border-radius: var(--rad-m); padding: 36px;
  box-shadow: var(--shadow-l); position: sticky; top: 100px;
  border: 1px solid var(--border-light);
}
.affil-panel h4 { font-size: 1.25rem; font-weight:700; margin-bottom: var(--sp-l); padding-bottom: 12px; border-bottom: 2px solid var(--border-light); }
.affil-row { display:flex; align-items:center; gap:12px; padding: 11px 0; border-bottom: 1px solid var(--border-light); font-size: .9rem; }
.affil-row:last-child { border-bottom: none; }
.affil-dot { width:8px; height:8px; border-radius:50%; background: var(--accent); min-width:8px; flex-shrink:0; }

/* Publicatii */
.sec-pub { background: var(--white); }
.pub-list-static { display:flex; flex-direction:column; gap: var(--sp-m); }
.pub-item {
  display:flex; gap: var(--sp-l); align-items:flex-start; padding: var(--sp-l);
  border-radius: var(--rad-m); border: 1px solid var(--border-light);
  background: var(--white); transition: all .3s var(--ease-out);
}
.pub-item:hover { border-color: var(--accent-soft); box-shadow: var(--shadow-m); transform: translateX(4px); }
.pub-yr {
  min-width: 52px; background: var(--accent-dark); color: var(--white);
  border-radius: var(--rad-s); padding: 8px 0; text-align:center;
  font-size:.78rem; font-weight:700; flex-shrink: 0;
}
.pub-item h5 { font-size: 1.05rem; font-weight:700; margin-bottom: 5px; line-height: 1.4; }
.pub-item p { font-size: .88rem; }

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-l);
}
.video-card {
  background: var(--white);
  border-radius: var(--rad-m);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  border: 1px solid var(--border-light);
  transition: all .4s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-l);
  border-color: var(--accent-soft);
}
.video-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-warm);
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-thumb .play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items:center; justify-content:center;
  background: linear-gradient(to top, rgba(0,0,0,.3) 0%, rgba(0,0,0,.05) 50%, transparent 100%);
  opacity: 0;
  transition: opacity .35s ease;
}
.video-card:hover .play-overlay { opacity: 1; }
.play-overlay .play-btn {
  width: 54px; height: 54px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: flex; align-items:center; justify-content:center;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
  transition: transform .35s var(--ease-bounce);
}
.video-card:hover .play-btn { transform: scale(1.12); }
.play-overlay .play-btn svg { width:22px; height:22px; color: var(--accent-dark); margin-left: 3px; }
.video-thumb .duration-badge {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,.82); color: white;
  padding: 4px 10px; border-radius: 6px;
  font-size:.72rem; font-weight:700;
  letter-spacing: .5px;
  backdrop-filter: blur(4px);
}
.video-body { padding: 20px 22px; }
.video-body h4 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 8px; line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-body .video-meta {
  display: flex; align-items:center; gap: 8px;
  font-size:.72rem; color: var(--txt-light); font-weight:600;
}
.video-body .video-meta .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--border-soft);
}
.video-channel {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--txt-light);
  letter-spacing: .3px;
}

/* Video grid small (about page) */
.video-grid-small {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* ════ RESPONSIVE ════ */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }
  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-m);
  }
  .page-hero {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
    text-align: center;
  }
  .page-hero-about-band { padding-top: 84px; }
  .edu-grid { grid-template-columns: 1fr; gap: 36px; }
  .affil-panel { position: static; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-img {
    max-width: 350px;
    margin: 0 auto;
    order: -1;
  }
}

@media (max-width: 768px) {
  .breadcrumbs {
    padding-top: 84px;
  }
  .article-hero-band { padding-bottom: 40px; }
  .article-hero-band .breadcrumbs { padding-top: 84px; }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    grid-template-columns: 1fr;
  }
  .hub-card {
    flex-direction: column;
    gap: var(--sp-m);
    padding: var(--sp-l);
  }
  .about-skills {
    grid-template-columns: 1fr;
  }
  .affil-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-hero-simple {
    padding: var(--sp-l) 20px var(--sp-xl);
  }
  .page-hero-simple h1 {
    font-size: 1.8rem;
  }
  .article-header h1 {
    font-size: 1.6rem;
  }
  .article-meta-top {
    flex-wrap: wrap;
  }
  .page-body, .article-layout, .related-articles {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-404-links {
    flex-direction: column;
  }
  .author-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .prog-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .prog-hd, .prog-body, .prog-ft { padding-left: 20px; padding-right: 20px; }
}

/* ════════════════════════════════════════════
   MEDICAL DISCLAIMER (inline on content pages)
   ════════════════════════════════════════════ */
.medical-disclaimer {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: var(--sp-m) var(--sp-l);
  margin: var(--sp-2xl) 0 var(--sp-l);
  background: linear-gradient(135deg, rgba(201,152,90,.06), rgba(201,152,90,.03));
  border: 1px solid rgba(201,152,90,.2);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--rad-s) var(--rad-s) 0;
}
.medical-disclaimer-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}
.medical-disclaimer-text {
  font-size: .82rem;
  line-height: 1.65;
  color: var(--txt-mid);
}
.medical-disclaimer-text strong {
  color: var(--txt-dark);
  font-weight: 700;
}
.medical-disclaimer-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.medical-disclaimer-text a:hover {
  color: var(--accent-dark);
}

/* ════════════════════════════════════════════
   LEGAL PAGES (terms, privacy, cookies)
   ════════════════════════════════════════════ */
.legal-prose h2 {
  font-size: 1.3rem;
}
.legal-prose h3 {
  font-size: 1.1rem;
}
.legal-prose p,
.legal-prose li {
  font-size: .92rem;
}
.legal-highlight {
  background: linear-gradient(135deg, rgba(201,152,90,.08), rgba(201,152,90,.03));
  border: 1px solid rgba(201,152,90,.2);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--rad-m) var(--rad-m) 0;
  padding: var(--sp-l) var(--sp-xl);
  margin: var(--sp-l) 0;
}
.legal-highlight p {
  margin-bottom: var(--sp-s);
}
.legal-highlight ul {
  margin: var(--sp-s) 0;
  padding-left: var(--sp-xl);
}
.legal-highlight li {
  margin-bottom: 4px;
}

@media (max-width: 640px) {
  .medical-disclaimer {
    flex-direction: column;
    gap: 8px;
    padding: var(--sp-m);
  }
}

/* ════ LANGUAGE SWITCHER ════ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: 4px;
}
.lang-switch a {
  padding: 2px 7px;
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  letter-spacing: .5px;
  border-radius: 3px;
  transition: color .2s, background .2s;
}
.lang-switch a:hover {
  color: #fff;
  text-decoration: none;
}
.lang-switch a.active {
  color: #fff;
  background: rgba(255,255,255,.15);
}
.lang-sep {
  color: rgba(255,255,255,.2);
  font-size: .65rem;
  margin: 0 1px;
}


