:root {
  --navy: #10243b;
  --navy-2: #05274F;
  --navy-3: #061B35;
  --burgundy: #7c2635;
  --gold: #c9a45c;
  --cream: #f5f1e8;
  --paper: #fbfaf7;
  --ink: #182332;
  --muted: #6e7680;
  --line: #dedbd3;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(8, 24, 40, .12);
}

/* --navy-2: #061829; */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 10;
  width: 100%;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.nav-wrap {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.15;
}

.brand-mark {
  width: 70px;
  height: 70px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 1px;
}

.brand strong, .brand span { display: block; }
.brand strong { font-size: 15px; font-weight: 600; }
.brand span { font-size: 13px; color: #e5dfd3; margin-top: 4px; }

.main-nav { display: flex; gap: 25px; font-family: Arial, sans-serif; font-size: 12px; }
.main-nav a { opacity: .9; transition: .25s; }
.main-nav a:hover { color: var(--gold); }

.nav-button {
  border: 1px solid rgba(255,255,255,.55);
  padding: 10px 17px;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.hero {
  min-height: 760px;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  background: radial-gradient(circle at 78% 48%, rgba(191,157,78,.10), transparent 28%), linear-gradient(90deg, var(--navy-2) 0%, #0b1c2d 46%, #10283d 100%); 
}

.goala {
/*  min-height: 300px;*/
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  background: radial-gradient(circle at 78% 48%, rgba(191,157,78,.10), transparent 28%), linear-gradient(90deg, var(--navy-2) 0%, #0b1c2d 46%, #10283d 100%); 
}

.goala::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,21,37,.12), transparent 58%), repeating-linear-gradient(90deg, transparent 0 118px, rgba(255,255,255,.025) 119px 120px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,21,37,.12), transparent 58%), repeating-linear-gradient(90deg, transparent 0 118px, rgba(255,255,255,.025) 119px 120px);
  pointer-events: none;
}

.hero-building {
  position: absolute;
  z-index: 1;
  right: 10%;
  bottom: 50px;
  width: min(67vw, 860px);
  max-height: 96%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.hero-building::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy-3) 0%, rgba(7,21,37,.72) 15%, rgba(7,21,37,0) 30%);
  pointer-events: none;
}

.hero-building img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 20px 28px rgba(0,0,0,.20));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 55px;
  padding-bottom: 65px;
}

.eyebrow, .section-label {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font: 600 11px/1.2 Arial, sans-serif;
}

.hero h1 {
  margin-top: 22px;
  max-width: 650px;
  font-size: clamp(52px, 7vw, 92px);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -2px;
  text-shadow: 0 3px 20px rgba(0,0,0,.20);
}

.hero h1 em { color: #dfc98f; font-style: italic; }
.hero-text { max-width: 470px; margin: 28px 0; color: #e4e7ea; font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 14px 23px; font: 600 11px/1 Arial, sans-serif; text-transform: uppercase; letter-spacing: 1.2px; }
.btn-primary { background: var(--gold); color: var(--navy-2); }
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: white; }
.btn-dark { background: var(--navy); color: white; }
.btn-light { background: white; color: var(--navy); }

.hero-caption {
  position: absolute; z-index: 4; right: 28px; bottom: 150px; writing-mode: vertical-rl; transform: rotate(180deg);
  color: rgba(255,255,255,.65); font: 10px Arial, sans-serif; letter-spacing: 2px; text-transform: uppercase;
}
.pagina { 	background: var(--cream);
			padding: 50px; 
}
.section { padding: 105px 0; }
.intro { background: var(--cream); }
.intro-grid, .history-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: start; }

h2 {
  margin-top: 12px;
  font-size: clamp(35px, 4vw, 55px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -1px;
}

.lead { font-size: 21px; margin-bottom: 18px; }
.intro p:not(.section-label), .history-content > p:not(.section-label) { color: #535c66; }

.text-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--burgundy);
  font: 700 11px Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  margin-top: 70px;
  border-top: 1px solid var(--line);
}

.stat {
  padding: 27px 20px 0 0;
  display: flex;
  gap: 15px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border: 0; }
.stat strong { color: var(--burgundy); font-size: 25px; font-weight: 400; }
.stat span { font-size: 14px; line-height: 1.35; }

.news { background: white; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 45px; }
.section-heading .text-link { margin-bottom: 7px; }

.news-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 22px; }
.news-card { border: 1px solid var(--line); background: var(--paper); }
.news-image { height: 210px; display: flex; align-items: end; padding: 18px; background: linear-gradient(135deg,#5e7182,#182a3d); }
.news-card.featured .news-image { height: 260px; }
.news-image span {
  padding: 6px 9px;
  background: rgba(255,255,255,.92);
  color: var(--navy);
  font: 700 9px Arial, sans-serif;
  letter-spacing: 1.5px;
}
.image-two { background: linear-gradient(135deg,#9b8063,#34485a); }
.image-three { background: linear-gradient(135deg,#6d4350,#1c2b3b); }

.news-body { padding: 24px; }
.date { color: var(--burgundy); font: 700 9px Arial, sans-serif; letter-spacing: 1.5px; }
.news-body h3 { margin: 9px 0 10px; font-size: 23px; line-height: 1.18; font-weight: 400; }
.news-body p:not(.date) { color: var(--muted); font-size: 14px; }
.read-more { display: inline-block; margin-top: 17px; color: var(--burgundy); font: 700 10px Arial, sans-serif; text-transform: uppercase; }

.history { background: var(--cream); }
.history-portrait { text-align: center; }
.portrait-frame {
  max-width: 400px;
  margin: auto;
  aspect-ratio: 4/5;
  padding: 14px;
  background: white;
  box-shadow: var(--shadow);
}
.portrait-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg,#b7a98d,#514a42);
  color: rgba(255,255,255,.75);
  font-size: 52px;
  letter-spacing: 8px;
}
.portrait-caption { margin-top: 15px; font-style: italic; color: var(--burgundy); }
.history-content { padding-top: 25px; }
.history-content blockquote {
  margin: 28px 0;
  padding: 22px 0 22px 25px;
  border-left: 3px solid var(--gold);
  color: #4e5257;
  font-size: 22px;
  font-style: italic;
}

.projects { background: var(--navy); color: white; }
.projects h2 { margin-bottom: 45px; }
.project-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.project-card {
  position: relative;
  min-height: 300px;
  padding: 27px;
  border: 1px solid rgba(255,255,255,.14);
  transition: .3s;
}
.project-card:hover { background: rgba(255,255,255,.06); transform: translateY(-5px); }
.project-number { color: var(--gold); font: 11px Arial, sans-serif; }
.project-title { display: block; margin-top: 85px; font-size: 28px; }
.project-description { display: block; margin-top: 10px; color: #bfc7cf; font-size: 13px; }
.project-arrow { position: absolute; right: 24px; bottom: 22px; color: var(--gold); font-size: 23px; }

.gallery { background: white; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 190px 190px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  padding: 18px;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: linear-gradient(135deg,#7e8790,#283746);
}
.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 35%);
}
.gallery-item span { position: relative; z-index: 1; color: white; font-size: 14px; }
.gallery-one { grid-row: span 2; background: linear-gradient(145deg,#788797,#192c3d); }
.gallery-two { background: linear-gradient(145deg,#9b8770,#473e37); }
.gallery-three { background: linear-gradient(145deg,#704b55,#253446); }
.gallery-four { grid-column: 2 / 4; background: linear-gradient(145deg,#6b7680,#1e2b35); }

.cta { background: var(--burgundy); color: white; padding: 65px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.cta h2 { max-width: 700px; }
.cta .section-label { color: #e3c98e; margin-bottom: 5px; }

footer { background: var(--navy-2); color: white; padding: 75px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 45px; }
.footer-brand { margin-bottom: 25px; }
.footer-text { color: #8996a3; font-size: 13px; }
footer h4 { color: var(--gold); font: 700 10px Arial, sans-serif; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
footer .footer-grid a:not(.brand) { display: block; color: #aeb8c1; font-size: 13px; margin-bottom: 9px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 60px;
  padding-top: 20px;
  color: #657382;
  font: 10px Arial, sans-serif;
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero { min-height: 700px; }
  .hero-building { width: 66vw; right: -7%; }
  .hero-building::after { background: linear-gradient(90deg, #071525 0%, rgba(7,21,37,.60) 18%, rgba(7,21,37,0) 55%); }
  .hero-content { max-width: 1160px; }
  .hero h1 { max-width: 560px; }
  .intro-grid, .history-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .stat { padding-bottom: 25px; }
  .news-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 600px) {
  .container { width: min(100% - 30px, 1160px); }
  .nav-button { display: none; }
  .brand strong { font-size: 13px; }
  .hero { min-height: 720px; align-items: flex-start; }
  .hero-building { width: 125%; max-width: none; right: -33%; bottom: -10px; opacity: .82; }
  .hero-building::after { background: linear-gradient(180deg, #071525 0%, rgba(7,21,37,.78) 28%, rgba(7,21,37,.12) 66%); }
  .hero-content { padding-top: 80px; }
  .hero h1 { font-size: 51px; }
  .hero-caption { display: none; }
  .section { padding: 75px 0; }
  .section-heading, .cta-inner { align-items: start; flex-direction: column; }
  .stats { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 230px; }
  .project-title { margin-top: 55px; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4,190px); }
  .gallery-one, .gallery-four { grid-row: auto; grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}


/* ===== PAGINA GALERIE ===== */

.gallery-header {
  position: relative;
  background: var(--navy);
}

.gallery-header .main-nav .active {
  color: var(--gold);
}

.gallery-hero {
  background:
    linear-gradient(100deg, rgba(7,21,37,.98), rgba(16,36,59,.86)),
    linear-gradient(135deg, #31475b, #071525);
  color: white;
  padding: 110px 0 85px;
}

.gallery-hero h1 {
  margin-top: 15px;
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -2px;
}

.gallery-hero p:not(.section-label) {
  max-width: 650px;
  margin-top: 22px;
  color: #d3dbe1;
  font-size: 18px;
}

.album-section {
  background: var(--paper);
  padding: 95px 0 105px;
}

.album-intro {
  max-width: 720px;
  margin-bottom: 48px;
}

.album-intro h2 {
  margin-bottom: 18px;
}

.album-intro > p:last-child {
  color: var(--muted);
  font-size: 16px;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.album-card {
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 8px 25px rgba(8,24,40,.05);
  transition: transform .3s ease, box-shadow .3s ease;
}

.album-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 45px rgba(8,24,40,.14);
}

.album-cover {
  height: 290px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 25px;
  color: white;
}

.album-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5,13,23,.75), rgba(5,13,23,.05) 65%);
}

.album-cover::after {
  content: "PHOTO";
  position: absolute;
  right: -28px;
  top: 35px;
  transform: rotate(90deg);
  color: rgba(255,255,255,.17);
  font: 700 54px Arial, sans-serif;
  letter-spacing: 8px;
}

.album-cover-1 {
  background:
    linear-gradient(135deg, #65798a 0%, #263e52 55%, #101d2b 100%);
}

.album-cover-2 {
  background:
    linear-gradient(135deg, #98785c 0%, #5a4b42 50%, #172d3d 100%);
}

.album-cover-3 {
  background:
    linear-gradient(135deg, #754c56 0%, #3c3943 48%, #13283b 100%);
}

.album-badge {
  position: absolute;
  z-index: 2;
  left: 22px;
  top: 20px;
  padding: 7px 9px;
  background: rgba(255,255,255,.93);
  color: var(--navy);
  font: 700 9px Arial, sans-serif;
  letter-spacing: 1.3px;
}

.album-cover-title {
  position: relative;
  z-index: 2;
  font-size: 34px;
  line-height: 1.05;
  font-style: italic;
}

.album-content {
  padding: 27px;
}

.album-year {
  color: var(--burgundy);
  font: 700 10px Arial, sans-serif;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.album-content h3 {
  margin: 9px 0 12px;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 400;
}

.album-content p:not(.album-year) {
  min-height: 65px;
  color: var(--muted);
  font-size: 14px;
}

.album-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--burgundy);
  font: 700 10px Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.album-button span {
  font-size: 18px;
  transition: transform .2s ease;
}

.album-button:hover span {
  transform: translateX(5px);
}

.gallery-note {
  margin-top: 35px;
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  color: #636b73;
  font: 13px/1.6 Arial, sans-serif;
}

.gallery-note strong {
  color: var(--navy);
}

.gallery-back {
  padding: 0 0 85px;
  background: var(--paper);
}


@media (max-width: 900px) {
  .album-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .album-cover {
    height: 310px;
  }
}

@media (max-width: 600px) {
  .gallery-hero {
    padding: 75px 0 65px;
  }

  .gallery-hero h1 {
    font-size: 48px;
  }

  .album-section {
    padding: 70px 0;
  }

  .album-cover {
    height: 260px;
  }
}


/* Componente comune */
#site-header, #site-footer { display: block; }
.component-error { padding: 12px; background: #fee; color: #900; font: 14px Arial, sans-serif; }
.main-nav a.active { color: var(--gold); }

/* Coperți reale ale albumelor */
.album-cover { position: relative; overflow: hidden; }
.album-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.album-cover-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(to top, rgba(5,13,23,.78), rgba(5,13,23,.05) 70%); }
.album-card:hover .album-cover img { transform: scale(1.055); }
.album-cover .album-badge, .album-cover .album-cover-title { position: relative; z-index: 3; }

/* ===== SUBPAGINI =====*/

/*.subpage-card {
  padding-left: 20px;
  background-color: #ffffff;
  border-radius: 10px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  overflow: hidden; 
  font-family: sans-serif;
  transition: transform 0.3s ease; 
}

.subpage-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 45px rgba(8,24,40,.14);
}
*/

.subpage-card {
    display: flex;
    align-items: center;
    gap: 20px;

    width: 100%;
/*    max-width: 700px; */
    padding: 20px 24px;

    background: #ffffff;
    border-radius: 16px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

    cursor: pointer;
}

.subpage-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.13);
}

.subpage-card-logo {
    width: 70px;
    height: 70px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.subpage-card-logo img {
	display: block;
    width: 65px;
    height: 65px;

    object-fit: contain;
}

.subpage-card-content h3 {
    margin: 0 0 6px;

    color: #13283b;

    font-size: 20px;
    font-weight: 600;
}

.subpage-card-content p {
    margin: 0;

    color: #6b737b;

    font-size: 14px;
    line-height: 1.5;
}


/* ===== MENIU MOBIL ===== */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.28);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform .25s ease, opacity .2s ease;
}

.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: rgba(7,21,37,.98);
  border-top: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 30px rgba(0,0,0,.18);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  padding-bottom: 12px;
}

.mobile-menu a {
  display: block;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: #fff;
  font: 600 12px/1.2 Arial, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--gold); }

@media (max-width: 900px) {
  .main-nav,
  .nav-button { display: none; }

  .menu-toggle { display: flex; }

  .mobile-menu.is-open {
    display: block;
  }
}

/* =========================================
   IMAGINI ÎN ARTICOLE
   ========================================= */

.img-stanga,
.img-centru,
.img-dreapta {
    width: 100%;
    max-width: 200px;
    height: auto;

    border-radius: 12px;

    cursor: zoom-in;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.img-stanga:hover,
.img-centru:hover,
.img-dreapta:hover {
    transform: scale(1.04);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.16);
}


/* Imagine în stânga */
.img-stanga {
    float: left;
    margin: 0 20px 12px 0;
}


/* Imagine centrată */
.img-centru {
    display: block;
    float: none;

    margin: 15px auto 20px;
}


/* Imagine în dreapta */
.img-dreapta {
    float: right;
    margin: 0 0 12px 20px;
}


/* =========================================
   LIGHTBOX
   ========================================= */

.image-lightbox {
    display: none;

    position: fixed;
    z-index: 99999;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.90);

    align-items: center;
    justify-content: center;

    padding: 30px;

    box-sizing: border-box;
}

.image-lightbox.active {
    display: flex;
}

.image-lightbox img {
    max-width: 95vw;
    max-height: 92vh;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 10px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5);
}


/* Buton X */
.image-lightbox-close {
    position: absolute;

    top: 20px;
    right: 25px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);

    color: white;

    font-size: 32px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.image-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.30);

    transform: rotate(90deg);
}


/* =========================================
   PE TELEFON
   ========================================= */

@media (max-width: 600px) {

    .img-stanga,
    .img-dreapta {
        max-width: 100px;
    }

    .image-lightbox {
        padding: 15px;
    }

    .image-lightbox img {
        max-width: 94vw;
        max-height: 85vh;
    }

    .image-lightbox-close {
        top: 12px;
        right: 12px;

        width: 42px;
        height: 42px;

        font-size: 27px;
    }
}

/* =========================================================
   PDF CARD
   ========================================================= */

.pdf-card {

    display: flex;
    align-items: center;

    gap: 18px;

    width: 100%;
    max-width: 850px;

    min-height: 150px;

    margin: 20px auto;

    padding: 15px 20px;

    box-sizing: border-box;

    background: #ffffff;

    border-radius: 14px;

    text-decoration: none;

    color: inherit;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.10);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

    overflow: hidden;
}


.pdf-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.16);

}


/* =========================================================
   PREVIEW PDF
   ========================================================= */

.pdf-preview {

    width: 110px;

    height: 125px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #f2f2f2;

    border-radius: 6px;

    overflow: hidden;

    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.15);

}


.pdf-preview-canvas {

    display: block;

    max-width: 100%;

    max-height: 100%;

    width: auto;

    height: auto;

}


/* =========================================================
   MESAJ INCARCARE
   ========================================================= */

.pdf-loading {

    font-size: 12px;

    color: #777;

    text-align: center;

}


/* =========================================================
   EROARE PDF
   ========================================================= */

.pdf-error {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;

    color: #d32f2f;

    font-weight: bold;

    font-size: 20px;

}


/* =========================================================
   INFORMATII PDF
   ========================================================= */

.pdf-info {

    flex: 1;

}


.pdf-info h3 {

    margin: 0 0 8px 0;

    font-size: 18px;

    line-height: 1.3;

    color: #333;

}


.pdf-info p {

    margin: 0;

    font-size: 14px;

    color: #777;

}


/* =========================================================
   SAGEATA
   ========================================================= */

.pdf-arrow {

    flex-shrink: 0;

    font-size: 28px;

    color: #777;

    transition:
        transform 0.25s ease;

}


.pdf-card:hover .pdf-arrow {

    transform: translateX(5px);

}


/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 600px) {

    .pdf-card {

        gap: 12px;

        min-height: 120px;

        padding: 10px 12px;

    }


    .pdf-preview {

        width: 80px;

        height: 100px;

    }


    .pdf-info h3 {

        font-size: 15px;

    }


    .pdf-info p {

        font-size: 12px;

    }


    .pdf-arrow {

        font-size: 22px;

    }

}


/* =========================================================
   NOUTATI DIN JSON
   ========================================================= */
.news-loading { color: var(--muted, #6b737b); padding: 20px 0; }
.news-card { overflow: hidden; border-radius: 14px; }
.news-card .news-image { display:block; height: 210px; overflow:hidden; background:#e9edf0; }
.news-card .news-image img { width:100%; height:100%; object-fit:contain; display:block; transition:transform .35s ease; }
.news-card:hover .news-image img { transform:scale(1.04); }
.news-card .news-body { padding: 22px; }
.news-card .date { color: var(--gold, #b89a55); font-size: 11px; letter-spacing: 1.1px; font-weight:700; }
.news-card h2, .news-card h3 {line-height:1.3; color:var(--navy, #13283b);}
.news-card .read-more { display:inline-block; margin-top:10px; color:var(--navy, #13283b); font-weight:600; text-decoration:none; }
.news-archive { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin-top:30px; }
.news-page-intro { max-width:720px; line-height:1.7; color:var(--muted, #6b737b); }
.page-title { margin: 8px 0 16px; font-size: clamp(34px, 5vw, 56px); color:var(--navy, #13283b); }
.article-content { max-height:100%; margin:0px auto 0; }
.article-content .article-hero-image { width:100%; max-height:100%; object-fit:cover; border-radius:16px; display:block; margin:25px 0; }
.article-content .article-meta { color:var(--gold, #b89a55); font-size:12px; letter-spacing:1px; font-weight:700; text-transform:uppercase; }
.article-content h1 { font-size:clamp(32px,5vw,54px); line-height:1.15; margin:14px 0; color:var(--navy, #13283b); }
.article-content h2 { margin-top:30px; color:var(--navy, #13283b); }
.article-content p { line-height:1.85; }
.article-content .article-text { font-size:17px;}
.article-text p {color:var(--muted, #6b737b);}
.article-back { display:inline-block; margin-top:30px; color:var(--navy, #13283b); font-weight:600; }
@media (max-width: 900px) { .news-archive { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
  .news-archive { grid-template-columns:1fr; }
  .news-card .news-image { height:220px; }
  .article-content .article-text { font-size:16px; }
  .article-text p {color:var(--muted, #6b737b);}
  
}


/* ===== RESURSE ÎN ARTICOLELE DE NOUTĂȚI ===== */
.article-resources { margin: 38px 0 28px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.article-resources h2 { margin: 0 0 18px; font-size: 27px; color: var(--navy); }
.article-links ul { list-style: none; display: grid; gap: 10px; }
.article-links li a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; background: var(--cream); border-radius: 8px; color: var(--navy); font: 600 15px/1.5 Arial, sans-serif; transition: background .2s ease, transform .2s ease; }
.article-links li a:hover { background: #eee7d8; transform: translateX(3px); }
.resource-external { color: var(--burgundy); font-size: 18px; flex-shrink: 0; }
.article-pdf-list { display: grid; gap: 14px; }
.article-pdfs .pdf-card { margin: 0; max-width: none; }
.article-pdfs .pdf-preview { color: #b3261e; font: 700 13px Arial, sans-serif; }
@media (max-width: 600px) { .article-resources { padding: 17px; } .article-resources h2 { font-size: 23px; } .article-links li a { font-size: 14px; } }


/* =========================================================
   OPTIMIZARE RESPONSIVE - ANTET, MENIU ȘI ELEMENTE MOBILE
   ========================================================= */

.brand { min-width: 0; flex: 0 1 auto; }
.brand-mark { flex: 0 0 clamp(46px, 6vw, 70px); width: clamp(46px, 6vw, 70px); height: clamp(46px, 6vw, 70px); overflow: hidden; }
.brand-mark img { display:block; width:100%; height:100%; max-width:100%; max-height:100%; object-fit:contain; }
.menu-toggle { flex: 0 0 44px; position:relative; z-index: 30; border-color:rgba(255,255,255,.45); border-radius:6px; }
.mobile-menu { position:absolute; top:100%; left:0; right:0; z-index:25; display:block; visibility:hidden; opacity:0; transform:translateY(-8px); pointer-events:none; transition:opacity .22s ease, transform .22s ease, visibility .22s; max-height:calc(100vh - 90px); overflow-y:auto; }
.mobile-menu.is-open { visibility:visible; opacity:1; transform:translateY(0); pointer-events:auto; }
.mobile-menu-inner { flex-direction:column; align-items:stretch; gap:0; padding-top:8px; padding-bottom:12px; }
.mobile-menu-inner a { display:block; padding:13px 8px; color:#fff; font:600 14px/1.4 Arial,sans-serif; border-bottom:1px solid rgba(255,255,255,.10); }
.mobile-menu-inner a:hover, .mobile-menu-inner a:focus { color:var(--gold); background:rgba(255,255,255,.06); }

@media (min-width:901px) { .menu-toggle, .mobile-menu { display:none !important; } }
@media (max-width:900px) {
  .site-header { position:absolute; }
  .nav-wrap { min-height:76px; gap:12px; }
  .main-nav { display:none !important; }
  .menu-toggle { display:flex; margin-left:auto; }
  .nav-button { display:none; }
  .brand { gap:9px; }
  .brand strong { font-size:clamp(12px,2vw,15px); }
  .brand span { font-size:clamp(10px,1.8vw,13px); }
}
@media (max-width:600px) {
  .container { width:calc(100% - 28px); }
  .nav-wrap { min-height:68px; gap:8px; }
  .brand-mark { flex-basis:46px; width:46px; height:46px; }
  .brand strong { font-size:11px; }
  .brand span { font-size:10px; line-height:1.25; }
  .menu-toggle { width:42px; height:42px; flex-basis:42px; padding:8px; }
  .hero { min-height:650px; }
  .hero-content { padding-top:105px; padding-bottom:45px; }
  .hero h1 { font-size:clamp(40px,11vw,51px); letter-spacing:-1px; }
  .hero-text { font-size:16px; max-width:100%; }
  .hero-actions .btn { padding:13px 15px; }
  .pagina { padding:24px 14px; }
  .section { padding:60px 0; }
  .section-heading { gap:18px; margin-bottom:28px; }
  .section-heading h2, h2 { font-size:clamp(29px,8vw,42px); }
  .news-body { padding:18px; }
  .news-body h3 { font-size:21px; }
  .subpage-card { align-items:flex-start; gap:13px; padding:16px; }
  .subpage-card-logo { width:48px; height:48px; }
  .subpage-card-logo img { width:48px; height:48px; }
  .subpage-card-content h3 { font-size:17px; }
  .subpage-card-content p { font-size:13px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { font-size:10px; }
  .article-resources { padding:15px; margin:25px 0; }
  .article-pdf-list { min-width:0; }
  .pdf-card { min-width:0; }
}

/* Evită depășirea viewportului pe imagini, tabele și elemente lungi */
img, video, iframe { max-width:100%; }
.article-text, .news-body, .subpage-card-content { overflow-wrap:anywhere; }
body.mobile-menu-open { overflow:hidden; }
