@charset "UTF-8";
:root {
  --color-primary: #0B71FB;
  --color-primary-light: #CDDEFA;
  --color-primary-hover: #b5d0f5;
  --color-navy: #19315f;
  --color-navy-hover: #243d6e;
  --color-accent: #4E7DB8;
  --color-text: #23304D;
  --color-text-dark: #1f2a44;
  --color-text-muted: #6b7894;
  --color-text-section: #4f6186;
  --color-text-sub: #314669;
  --color-bg: #F5F8FF;
  --color-surface: #ffffff;
  --color-input-bg: #f8fbff;
  --color-input-border: #d6e3f7;
  --color-error: #cc6675;
  --color-error-bg: #fff4f6;
  --color-error-border: #efc9cf;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-pill: 90px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
}

body {
  margin: 24px auto;
  width: 100%;
  max-width: 1440px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Roboto;
}

.header {
  animation: fadeInUp 0.5s ease both;
  animation-delay: 0s;
}

.footer.is-animating {
  animation: fadeInUp 0.5s ease both;
}

/* Scroll fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll to top button */
.scroll-top-btn {
  position: fixed;
  bottom: 50px;
  right: 50px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.scroll-top-btn img {
  width: 32px;
  height: 32px;
  display: block;
}

.scroll-top-btn.show {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  transform: translateY(-10px);
}

/* Homepage and content styles */
.header {
  display: flex;
  position: sticky;
  top: 12px;
  z-index: 2000;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

/* Logo */
.logo {
  background-color: #ffffff;
  padding: 6px 12px;
  border-radius: 90px;
}

.nav {
  display: flex;
  position: relative;
  z-index: 1;
  overflow: visible;
  align-items: center;
  background-color: #FFFFFF;
  border-radius: 90px;
  padding: 10px 10px;
  gap: 20px;
}

.nav-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-radius: 90px;
  background-color: #CDDEFA;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), width 0.35s cubic-bezier(0.22, 1, 0.36, 1), height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav a {
  display: inline-flex;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  margin: 0;
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  font-size: 20px;
  white-space: nowrap;
  border-radius: 90px;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

.nav a.selected,
.nav a[aria-current=page] {
  background-color: #CDDEFA;
}

.nav.is-animated a.selected,
.nav.is-animated a[aria-current=page] {
  background-color: transparent;
}

.nav a:focus-visible {
  background-color: #CDDEFA;
  outline: 2px solid #0B71FB;
  outline-offset: 2px;
}

.nav a:active {
  transform: translateY(1px);
}

.section-explorer-toggle {
  position: relative;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: #CDDEFA;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.section-explorer-toggle img {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.section-explorer-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(11, 113, 251, 0.2);
}

.section-explorer-toggle:focus-visible {
  outline: 2px solid #0B71FB;
  outline-offset: 2px;
}

.section-explorer-toggle[aria-expanded=true] {
  background: #bdd4f7;
}

/* Navbar section explorer */
.section-explorer-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 6px;
  width: min(320px, 100vw - 28px);
  max-height: min(62vh, 480px);
  overflow: auto;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(117, 148, 195, 0.35);
  background: rgba(245, 250, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 34px rgba(18, 50, 100, 0.2);
  z-index: 1000;
}

.section-explorer-popover[hidden] {
  display: none;
}

.section-explorer-search {
  display: block;
  margin-bottom: 10px;
}

.section-explorer-search input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 999px;
  border: 1px solid #d6e3f7;
  outline: none;
  background: #f4f8ff;
  color: #1f3e71;
  font-size: 14px;
  font-weight: 600;
}

.section-explorer-search input::placeholder {
  color: #4f79b3;
}

.section-explorer-search input:focus {
  border-color: #8db7f4;
  background: #ffffff;
}

.section-explorer-title {
  margin: 0 0 8px;
  padding: 0 8px;
  color: #1f3e71;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.1px;
}

.section-explorer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-explorer-link {
  position: relative;
  width: 100%;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #2b4f81;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  padding: 8px 10px 8px 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.section-explorer-link::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #8fb6ea;
  transform: translateY(-50%);
  transition: all 0.2s ease;
}

.section-explorer-link:hover {
  background-color: rgba(170, 198, 238, 0.28);
  color: #143866;
}

.section-explorer-link.is-active {
  background-color: rgba(125, 174, 235, 0.35);
  color: #12345f;
}

.section-explorer-link.is-active::before {
  width: 4px;
  height: 70%;
  border-radius: 999px;
  background-color: #0B71FB;
}

.section-explorer-link[hidden] {
  display: none;
}

.section-explorer-empty {
  margin: 8px 0 4px;
  padding: 0 8px;
  font-size: 13px;
  color: #4a6da0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Content slider styles */
.content-slider {
  overflow: visible;
}

.content-track {
  display: block;
}

.content-panel {
  display: none;
}

.content-panel.is-active {
  display: block;
}

.content-panel > * {
  --panel-delay: 0s;
}

.content-panel > :nth-child(1) {
  --panel-delay: 0.08s;
}

.content-panel > :nth-child(2) {
  --panel-delay: 0.16s;
}

.content-panel > :nth-child(3) {
  --panel-delay: 0.24s;
}

.content-panel > :nth-child(4) {
  --panel-delay: 0.32s;
}

.content-panel > :nth-child(5) {
  --panel-delay: 0.4s;
}

.content-panel > :nth-child(6) {
  --panel-delay: 0.48s;
}

.content-panel.is-active.is-animating > * {
  animation: fadeInUp 0.55s ease both;
  animation-delay: var(--panel-delay);
}

/* Hero section styles */
.hero {
  position: relative;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(205, 222, 250, 0.28);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0) 82%, rgba(255, 255, 255, 0.4) 100%), linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0.4) 100%);
}

.hero h1 {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  color: #F2F7FF;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  z-index: 3;
}

.hero .quote {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  color: #F2F7FF;
  font-size: clamp(24px, 4vw, 38px);
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  text-align: center;
  letter-spacing: 0em;
  padding: 10px 10px;
  z-index: 2;
}

.hero img {
  position: relative;
  z-index: 0;
  display: block;
  border-radius: 0;
  max-height: 820px;
  width: 100%;
  object-fit: cover;
  filter: brightness(0.75) blur(2px);
}

/* Stats section styles */
.stats-card {
  margin-top: 24px;
  width: 100%;
  border-radius: 40px;
  padding: 18px;
  background-color: #ffffff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat-item {
  min-height: 180px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #1f2a44;
  border-radius: 28px;
}

.stat-value {
  display: block;
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: #0B71FB;
}

.stat-label {
  display: block;
  margin-top: 10px;
  font-size: clamp(20px, 2vw, 48px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #23304D;
}

/* About us section styles */
.about-panel {
  margin-top: 24px;
  width: 100%;
  height: 370px;
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  align-items: center;
  column-gap: 44px;
  background-color: #ffffff;
  border-radius: 40px;
  padding: 40px 135px;
}

.about-title {
  text-align: right;
}

.about-title h2 {
  margin: 0;
  color: #0A0A0A;
  font-size: clamp(36px, 3.4vw, 60px);
  line-height: 1;
}

.about-title p {
  margin: 10px 0 0;
  color: #4C7CB8;
  font-size: clamp(20px, 1.5vw, 20px);
  line-height: 1.15;
}

.about-content {
  border-left: 3px solid #4E7DB8;
  padding-left: 40px;
}

.about-content p {
  margin: 0;
  color: #0E0E0E;
  font-size: clamp(26px, 2vw, 30px);
  line-height: 1.1;
  max-width: 55ch;
}

/* Article preview styles */
.article-preview-title-and-description {
  margin-top: 0;
  margin-bottom: 30px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(240px, 400px) 1fr;
  align-items: center;
  column-gap: 44px;
}

.article-preview-title-and-description h2 {
  text-align: right;
  margin: 0;
  line-height: 1;
  color: #0A0A0A;
  font-size: clamp(36px, 3.5vw, 60px);
}

.article-preview-description {
  align-self: stretch;
  display: flex;
  align-items: center;
  border-left: 3px solid #4E7DB8;
  padding-left: 40px;
}

.article-preview-description p {
  margin: 0;
  width: 710px;
  color: #000000;
  font-size: clamp(20px, 1.5vw, 30px);
  line-height: 1.1;
}

.article-preview-panel {
  width: 100%;
  margin-top: 24px;
  background-color: #ffffff;
  border-radius: 40px;
  padding: 40px 40px;
}

.preview-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 330px));
  justify-content: center;
  gap: 24px;
}

.preview-card {
  width: 330px;
  background-color: rgba(11, 113, 251, 0.0823529412);
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(11, 113, 251, 0.15);
}

.preview-media {
  height: 270px;
  width: 310px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.preview-content {
  margin: 10px 10px 10px 10px;
}

.preview-title {
  margin: 0;
  color: #0A0A0A;
  font-size: 35px;
  line-height: 1;
}

.preview-divider {
  width: 70%;
  margin-top: 15px;
  border-bottom: 3px solid #4E7DB8;
}

.preview-description {
  margin: 10px auto 10px;
  color: #6b7894;
  font-size: 24px;
  line-height: 1;
}

.preview-date {
  display: block;
  margin-top: 5px;
  color: #4E7DB8;
  font-size: 18px;
  line-height: 1;
}

/* Photo slider */
.photo-slider-card {
  height: auto;
  margin-top: 24px;
  gap: 20px;
}

.gallery-panel-card {
  margin-top: 0;
}

.photo-slider-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.photo-slider-header h2 {
  margin: 0;
  text-align: left;
  border: none;
  padding: 0;
  font-size: 38px;
}

.photo-slider-header p {
  margin: 0;
  color: #4f6186;
  font-size: 18px;
}

.photo-slider {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.photo-slider-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #d8e5f8;
  background-color: #f4f8ff;
}

.photo-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.4s ease;
}

.photo-slide {
  min-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}

.photo-slide img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  display: block;
}

.photo-slide figcaption {
  padding: 12px 16px 14px;
  color: #314d79;
  font-size: 15px;
  line-height: 1.5;
  background-color: #f8fbff;
  border-top: 1px solid #d8e5f8;
}

.photo-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.photo-slider-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background-color: #19315f;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.photo-slider-btn:hover {
  background-color: #244275;
  transform: translateY(-1px);
}

.photo-slider-btn:active {
  transform: translateY(1px);
}

.photo-slider-btn-arrow {
  padding: 0;
}

.photo-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.photo-slider-dot {
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  background-color: #acc8ef;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.photo-slider-dot:hover {
  background-color: #7eaeea;
}

.photo-slider-dot.is-active {
  background-color: #0B71FB;
  transform: scale(1.15);
}

/* Global styles */
.panel-card {
  background-color: #ffffff;
  border-radius: 28px;
  padding: 40px;
  height: 380px;
  display: flex;
  flex-direction: column;
}

/* Keep gallery/slider cards content-driven so footer stays in normal flow */
.panel-card.photo-slider-card {
  height: auto;
  min-height: 0;
}

.panel-card h2 {
  margin: 0 0 12px;
  font-size: 42px;
}

.panel-card p {
  margin: 0;
  max-width: 68ch;
  font-size: 20px;
  line-height: 1.5;
  color: #23304D;
}

/* Article card */
.article-card {
  height: auto;
  margin-top: 24px;
}

.article-header {
  margin-bottom: 24px;
  border-bottom: 2px solid #4E7DB8;
  padding-bottom: 16px;
}

.article-header h1,
.article-header h2 {
  margin: 0 0 8px;
  font-size: 48px;
  color: #19315f;
}

.article-date {
  display: block;
  font-size: 16px;
  color: #4E7DB8;
  font-weight: 600;
  margin-bottom: 6px;
}

.article-source {
  display: block;
  font-size: 15px;
  color: #6b7894;
}

.article-source a {
  color: #0B71FB;
  text-decoration: none;
}

.article-source a:hover {
  text-decoration: underline;
}

.article-key-facts {
  background: #e8f0fe;
  border-left: 4px solid #0B71FB;
  border-radius: 8px;
  padding: 20px 28px;
  margin-bottom: 28px;
}

.article-key-facts h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: #19315f;
}

.article-key-facts ul {
  margin: 0;
  padding-left: 20px;
}

.article-key-facts li {
  font-size: 18px;
  line-height: 1.6;
  color: #23304D;
  margin-bottom: 6px;
}

.article-body section {
  margin-bottom: 24px;
}

.article-body h3 {
  font-size: 24px;
  color: #19315f;
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #d6e4f0;
}

.article-body p {
  font-size: 22px;
  line-height: 1.7;
  color: #23304D;
  margin: 0 0 12px;
  max-width: 80ch;
}

.article-body ul {
  padding-left: 24px;
  margin: 8px 0 16px;
}

.article-body li {
  font-size: 18px;
  line-height: 1.6;
  color: #23304D;
  margin-bottom: 4px;
}

/* About page */
.panel-card.title-panel {
  height: auto;
}

.title-panel {
  text-align: center;
  color: #0B71FB;
}

/* Subdiviziuni page */
.subdiviziuni-panel {
  height: auto;
  margin-top: 24px;
}

.subdivision-layout {
  display: grid;
  gap: 22px;
  margin-top: 20px;
}

.subdivision-row {
  display: grid;
  gap: 18px;
}

.subdivision-row-primary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.subdivision-row-secondary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.subdivision-item {
  min-height: 150px;
  padding: 24px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(11, 113, 251, 0.14) 0%, rgba(205, 222, 250, 0.55) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.subdivision-name {
  margin: 0;
  color: #19315f;
  font-size: 25px;
  line-height: 1.08;
}

.panel-card.subdiviziuni-panel p > b {
  color: #fb0b0b;
  font-size: 18px;
}

.subdivision-name.subdivision-name-main {
  font-size: 40px;
  color: #0B71FB;
}

.subdivision-name.subdivision-name-secondary {
  font-size: 32px;
}

.subdivision-phone {
  color: #314669;
  font-size: 16px;
  line-height: 1.4;
}

.subdivision-phone b {
  color: #19315f;
}

.subdivision-map-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #0B71FB;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.subdivision-map-link:hover {
  text-decoration: underline;
}

/* Quick info panel styles */
.quick-info-panel {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr) 350px;
  column-gap: 20px;
  padding: 4px 0;
  align-items: stretch;
}

.panel-card.ore-de-lucru {
  display: flex;
  position: relative;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.panel-card.servicii {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0;
  overflow: hidden;
}

.panel-card.contacte {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.panel-card.contacte a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: min(100%, 220px);
  margin: 0 auto;
  color: #1f2a44;
  text-decoration: none;
  line-height: 1.2;
}

.panel-card.contacte h2 {
  align-self: center;
  text-align: center;
}

.panel-card.contacte a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.map-frame {
  flex: 1;
  width: 100%;
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 14px auto 18px;
  color: #0B71FB;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.map-link:hover {
  text-decoration: underline;
}

.panel-card.servicii h2 {
  text-align: center;
  margin: 0;
  padding: 16px 24px 12px;
  font-size: 38px;
  border-bottom: 2px solid var(--color-accent);
}

.panel-card.ore-de-lucru h2,
.panel-card.contacte h2 {
  flex-direction: column;
  align-items: center;
  font-size: 38px;
  margin-bottom: 40px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--color-accent);
}

.panel-card.ore-de-lucru table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  font-size: 22px;
}

.panel-card.ore-de-lucru th,
.panel-card.ore-de-lucru td {
  padding: 2px 10px;
  line-height: 1.3;
}

.panel-card.ore-de-lucru th {
  text-align: right;
  font-weight: 600;
  color: #1f2a44;
  width: 58%;
  padding-left: 0;
  padding-right: 14px;
  white-space: nowrap;
}

.panel-card.ore-de-lucru td {
  text-align: left;
  color: #3f4f72;
  border-left: 1px solid rgba(78, 125, 184, 0.45);
  padding-left: 14px;
  white-space: nowrap;
}

/* Shared title-card styles */
.panel-card.title-card {
  display: flex;
  align-items: center;
  gap: 18px;
}

.title-card h2 {
  margin: 0;
  padding: 10px;
  text-align: center;
  font-size: 38px;
  border-bottom: 2px solid #4E7DB8;
}

/* Footer styles */
.footer {
  display: flex;
  position: static;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 24px;
  background-color: rgba(11, 113, 251, 0.2078431373);
  border-radius: 90px;
  padding: 12px 22px;
  gap: 16px;
}

.footer span {
  color: #23304D;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.footer .cpr {
  color: rgba(192, 0, 0, 0.814);
}

.footer .name {
  color: #000000;
  white-space: nowrap;
  transition: all 0.5s ease;
}

.footer .nickname {
  white-space: nowrap;
  transition: all 0.5s ease;
  color: #0B71FB;
}

.footer .creator {
  transition: all 0.5s ease;
}

.footer .creator:hover {
  transform: translateY(-1px);
}

.footer .nickname:hover {
  transform: translateY(-1px);
  text-shadow: 0 0 10px rgb(11, 111, 251);
}

.footer .name:hover {
  transform: translateY(-1px);
  text-shadow: 0 0 10px rgb(0, 0, 0);
}

/* Acte page */
.panel-card.organigrama {
  height: auto;
  margin-bottom: 24px;
}

.panel-card.organigrama h2 {
  align-items: flex-start;
  text-align: center;
  max-width: 300px;
  margin: 0 auto 30px;
  padding: 16px 0px 12px;
  font-size: 38px;
  border-bottom: 2px solid #4E7DB8;
}

/* Organigrama chart */
.organigrama-chart {
  width: 100%;
  margin-top: 32px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.organigrama-mobile-note {
  display: none;
  margin: 0;
  color: #42567b;
  font-size: 17px;
  line-height: 1.5;
}

.organigrama-mobile-actions {
  width: 100%;
  display: none;
  justify-content: center;
}

.organigrama-view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  color: #19315f;
  background-color: #CDDEFA;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.organigrama-view-button:hover {
  background-color: #b5d0f5;
  transform: translateY(-1px);
}
.organigrama-view-button:active {
  transform: translateY(1px);
}
.organigrama-view-button {
  min-height: 44px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 12px;
}

.organigrama-standalone {
  min-height: 100vh;
}

.organigrama-page-wrap {
  width: 100%;
  padding: 10px 0 28px;
}

.organigrama-full-card {
  height: auto;
  gap: 18px;
}

.organigrama-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.organigrama-page-header h1 {
  margin: 0;
  color: #19315f;
  font-size: clamp(30px, 3.1vw, 42px);
  line-height: 1.15;
}

.organigrama-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  color: #19315f;
  background-color: #CDDEFA;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.organigrama-back-link:hover {
  background-color: #b5d0f5;
  transform: translateY(-1px);
}
.organigrama-back-link:active {
  transform: translateY(1px);
}
.organigrama-back-link {
  min-height: 42px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 700;
}

.organigrama-page-note {
  margin: 0;
  color: #42567b;
  font-size: 17px;
}

/* Shared node style */
.org-node {
  padding: 14px 28px;
  border: 2px solid #19315f;
  border-radius: 6px;
  background: #ffffff;
  color: #19315f;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  line-height: 1.3;
  white-space: pre-line;
}

/* Governance (dark bg) */
.org-gov {
  background: #19315f;
  color: #ffffff;
  min-width: 220px;
}

.org-gov-side {
  min-width: 180px;
  font-size: 16px;
}

/* Root */
.org-root {
  background: #0B71FB;
  border-color: #0B71FB;
  color: #ffffff;
  font-size: 22px;
  padding: 16px 40px;
  min-width: 320px;
}

.org-root-secondary {
  font-size: 20px;
  min-width: 260px;
}

/* Section headers */
.org-section {
  background: #e8f0fe;
  border-color: #19315f;
  color: #19315f;
  font-size: 18px;
  min-width: 240px;
}

/* Children */
.org-child {
  font-weight: 600;
  font-size: 17px;
  min-width: 220px;
  max-width: 340px;
}

.org-child-sub {
  border-style: dashed;
  font-size: 16px;
}

/* Fork connector */
.org-fork {
  width: 100%;
  max-width: 410px;
  height: 2px;
  background: #19315f;
}

/* Vertical line */
.org-vline {
  width: 2px;
  height: 40px;
  background: #19315f;
  flex-shrink: 0;
}

.org-vline-short {
  width: 2px;
  height: 24px;
  background: #19315f;
  flex-shrink: 0;
}

.org-vline-between {
  display: block;
  width: 2px;
  height: 60px;
  min-height: 60px;
  background: #19315f;
  margin: 0 auto;
  flex-shrink: 0;
}

/* Connector wrapper between sections */
.org-connector-between {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0;
  flex-shrink: 0;
}

.org-connector-line {
  width: 2px;
  height: 60px;
  background: #19315f;
}

/* Horizontal line */
.org-hline {
  width: 40px;
  height: 2px;
  background: #19315f;
  align-self: center;
  flex-shrink: 0;
}

/* Layout blocks */
.org-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-root-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.org-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  max-width: 780px;
}

.org-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Document card */
.doc-card {
  height: auto;
  margin-bottom: 24px;
  gap: 0;
}

.doc-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.doc-badge {
  display: inline-block;
  width: fit-content;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #19315f;
  background-color: #CDDEFA;
  border-radius: 90px;
}

.doc-header h2 {
  font-size: 28px;
  line-height: 1.3;
  margin: 4px 0 0;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  color: #5a6a8a;
}

.doc-meta .doc-date::before {
  content: "📅";
}

.doc-description {
  font-size: 16px;
  line-height: 1.6;
  color: #3a4a6a;
  max-width: 80ch;
}

.doc-viewer {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.doc-viewer iframe {
  width: 100%;
  height: 80vh;
  min-height: 500px;
  border: none;
  display: block;
}

.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.doc-actions a {
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
}

.doc-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  color: #ffffff;
  background-color: #19315f;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.doc-download:hover {
  background-color: #243d6e;
  transform: translateY(-1px);
}
.doc-download:active {
  transform: translateY(1px);
}

.doc-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  color: #19315f;
  background-color: #CDDEFA;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.doc-open:hover {
  background-color: #b5d0f5;
  transform: translateY(-1px);
}
.doc-open:active {
  transform: translateY(1px);
}

.doc-card-placeholder {
  border: 1px dashed #c6dff8;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.doc-card-placeholder .doc-header {
  margin-bottom: 0;
}

.doc-card-placeholder .doc-badge {
  background-color: #eef5ff;
}

/* Team panel styles */
#team .team-panel {
  height: auto;
  align-items: stretch;
  gap: 24px;
}

#team .team-panel h2 {
  align-self: flex-start;
}

#team .team-section-title.main {
  color: #0B71FB;
  font-size: 38px;
}

#team .team-panel-description {
  margin: -6px 0 0;
  max-width: 78ch;
  color: #4d5d7c;
  font-size: 18px;
  line-height: 1.55;
}

#team .team-sections-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#team .team-section-wide {
  grid-column: 1/-1;
}

#team .team-section {
  min-height: 170px;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(11, 113, 251, 0.14) 0%, rgba(205, 222, 250, 0.55) 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#team .team-section-title {
  margin: 0;
  padding-bottom: 10px;
  color: #19315f;
  font-size: 30px;
  line-height: 1.15;
}

#team .team-section-cards {
  display: grid;
  gap: 12px;
}

#team .team-section-wide .team-section-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#team .team-member-card {
  padding: 14px 16px;
  border: 1px solid #d7e6f7;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(25, 49, 95, 0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
#team .team-member-card:hover {
  transform: translateY(-2px);
  border-color: #a8c8f5;
  box-shadow: 0 10px 22px rgba(11, 113, 251, 0.12);
}

#team .team-member-name {
  margin: 0;
  color: #173560;
  font-size: 18px;
  line-height: 1.3;
}

#team .team-member-role {
  margin: 0;
  color: #47627f;
  font-size: 15px;
  line-height: 1.45;
}

#team .team-placeholder-card {
  min-height: 80px;
  padding: 14px;
  border: 2px dashed #9abbe6;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.84);
  color: #365079;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pentru tine panel styles */
#pacient .patient-panel {
  height: auto;
  align-items: stretch;
  gap: 24px;
}

#pacient .patient-panel h2 {
  align-self: flex-start;
}

#pacient .patient-panel-description {
  max-width: 72ch;
  font-size: 18px;
  color: #4d5d7c;
}

#pacient .patient-services-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#pacient .patient-service-card {
  min-height: 230px;
  padding: 22px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(11, 113, 251, 0.14) 0%, rgba(205, 222, 250, 0.55) 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#pacient .patient-service-card h3 {
  margin: 0;
  color: #19315f;
  font-size: 29px;
  line-height: 1.15;
}

#pacient .patient-service-card p {
  margin: 0;
  color: #314669;
  font-size: 17px;
  line-height: 1.5;
  flex: 1;
}

#pacient .patient-service-card a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  color: #ffffff;
  background-color: #19315f;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
#pacient .patient-service-card a:hover {
  background-color: #243d6e;
  transform: translateY(-1px);
}
#pacient .patient-service-card a:active {
  transform: translateY(1px);
}
#pacient .patient-service-card a {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 700;
}

#pacient .patient-legal-stack {
  margin-top: 24px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

#pacient .patient-legal-section {
  border: 1px solid #cfe1f5;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 8px 22px rgba(25, 49, 95, 0.08);
}

#pacient .patient-legal-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

#pacient .patient-legal-header h3 {
  margin: 0;
  color: #183965;
  font-size: 34px;
  line-height: 1.15;
}

#pacient .patient-legal-header p {
  margin: 0;
  color: #2c4f78;
  font-size: 18px;
  font-weight: 600;
}

#pacient .patient-legal-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  counter-reset: patient-legal-item;
}

#pacient .patient-legal-item {
  counter-increment: patient-legal-item;
  display: grid;
  grid-template-columns: 32px 44px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #dce9f7;
  background-color: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#pacient .patient-legal-item::before {
  content: counter(patient-legal-item) ".";
  color: #1f4d84;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  text-align: right;
}

#pacient .patient-legal-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #135ca8;
  border: 1px solid #c6dff8;
}

#pacient .patient-legal-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

#pacient .patient-legal-item p {
  margin: 0;
  color: #1e3457;
  font-size: 16px;
  line-height: 1.52;
}

#pacient .patient-legal-item:hover,
.patient-obligations-section .patient-legal-item:hover {
  transform: translateY(-2px);
  border-color: #99c6f3;
  background-color: #f7fcff;
  box-shadow: 0 8px 18px rgba(43, 119, 197, 0.14);
}

#pacient .patient-legal-item:hover .patient-legal-icon {
  border-color: #9dc6ee;
}

/* Online booking form */
.booking-card {
  height: auto;
  gap: 0;
}

.booking-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid #4E7DB8;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.booking-fields {
  display: grid;
  gap: 12px;
}

.booking-field-row {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 360px);
  gap: 16px;
  align-items: center;
}

.booking-label {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: #19315f;
}

.booking-label span {
  color: #0B71FB;
}

.booking-field-row > input,
.booking-field-row > .booking-input-wrap {
  width: min(100%, 360px);
}

.booking-form input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #d6e3f7;
  border-radius: 14px;
  background-color: #f8fbff;
  color: #19315f;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.booking-form input:hover {
  border-color: #a8c8f5;
}
.booking-form input:focus {
  border-color: #0B71FB;
  outline: none;
  box-shadow: 0 0 0 4px rgba(11, 113, 251, 0.12);
  transform: translateY(-1px);
}

.booking-input-wrap {
  position: relative;
}

.booking-input-wrap input {
  padding-right: 58px;
}

.booking-input-wrap input[type=date]::-webkit-calendar-picker-indicator {
  opacity: 0;
  width: 18px;
  height: 18px;
  margin: 0;
}

.booking-input-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid #a8c8f5;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  color: #19315f;
  background-color: #CDDEFA;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.booking-input-icon:hover {
  background-color: #b5d0f5;
  transform: translateY(-1px);
}
.booking-input-icon:active {
  transform: translateY(1px);
}
.booking-input-icon {
  cursor: pointer;
  text-decoration: none;
}
.booking-input-icon:hover {
  transform: translateY(-50%) translateY(-1px);
}
.booking-input-icon:active {
  transform: translateY(-50%) translateY(1px);
}

.booking-input-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
}

.booking-form input.is-invalid,
.booking-form input.is-invalid:focus {
  border-color: #cc6675;
  box-shadow: 0 0 0 4px rgba(204, 102, 117, 0.12);
}

.booking-required-note {
  font-size: 14px;
  color: #5a6a8a;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.booking-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  background-color: #19315f;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.booking-actions button:hover {
  background-color: #243d6e;
  transform: translateY(-1px);
}
.booking-actions button:active {
  transform: translateY(1px);
}
.booking-actions button {
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.booking-actions button:disabled,
.booking-appointment:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.booking-actions button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
}

.booking-follow-up {
  display: flex;
}

.booking-follow-up[hidden] {
  display: none;
}

.booking-appointment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  background-color: #4E7DB8;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.booking-appointment:hover {
  background-color: #3f6ea8;
  transform: translateY(-1px);
}
.booking-appointment:active {
  transform: translateY(1px);
}
.booking-appointment {
  min-height: 52px;
  padding: 0 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.booking-submit {
  background-color: #19315f;
}

.booking-reset {
  background-color: #CDDEFA;
  color: #19315f;
}

.booking-reset:hover {
  background-color: #b5d0f5;
}

.booking-status {
  min-height: 0;
  margin: 0;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #4E7DB8;
}

.booking-status.is-visible {
  min-height: 22px;
  padding: 14px 16px;
  border: 1px solid #d6e3f7;
  background-color: #f4f8ff;
}

.booking-status[data-state=success] {
  color: #19315f;
  border-color: #a8c8f5;
  background-color: #eef5ff;
}

.booking-status[data-state=warning] {
  color: #19315f;
  border-color: #d6e3f7;
  background-color: #f8fbff;
}

.booking-status[data-state=error] {
  color: #8b3141;
  border-color: #efc9cf;
  background-color: #fff4f6;
}

/* Grouped Responsive Breakpoints */
@media (max-width: 1024px) {
  body {
    padding: 0 20px;
  }
  .scroll-top-btn {
    display: none;
  }
  .about-panel {
    padding: 40px 40px;
    column-gap: 30px;
  }
  .about-content p {
    font-size: clamp(20px, 2vw, 26px);
  }
  .article-preview-description p {
    width: 510px;
  }
  .preview-cards-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 16px;
  }
  .preview-card {
    width: 100%;
  }
  .preview-media {
    height: 200px;
  }
  .preview-title {
    font-size: 28px;
  }
  .preview-description {
    font-size: 20px;
  }
  .quick-info-panel {
    grid-template-columns: 280px minmax(0, 1fr) 280px;
    column-gap: 16px;
  }
  .photo-slide img {
    height: 360px;
  }
  .panel-card.ore-de-lucru table {
    width: auto;
    margin: 0 auto;
  }
  .panel-card.ore-de-lucru th {
    width: auto;
  }
  .panel-card.ore-de-lucru h2,
  .panel-card.contacte h2 {
    font-size: 30px;
    margin-bottom: 24px;
  }
  .panel-card.servicii h2 {
    font-size: 30px;
  }
  .panel-card.ore-de-lucru table {
    font-size: 18px;
  }
  .nav a {
    font-size: 17px;
    padding: 5px 10px;
  }
  .nav {
    gap: 12px;
  }
  .subdivision-item {
    min-height: 136px;
    padding: 20px 16px;
  }
  .subdivision-name {
    font-size: 22px;
  }
  .subdivision-name-main {
    font-size: 33px;
  }
  .subdivision-name-secondary {
    font-size: 28px;
  }
  .subdivision-map-link,
  .map-link {
    font-size: 14px;
  }
  #team .team-section-title {
    font-size: 26px;
  }
  #team .team-member-name {
    font-size: 17px;
  }
  #pacient .patient-service-card h3 {
    font-size: 24px;
  }
  #pacient .patient-legal-header h3 {
    font-size: 30px;
  }
}
@media (max-width: 780px) {
  body {
    margin: 20px auto;
    padding: 0 20px;
  }
  .header {
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .nav a {
    font-size: 18px;
  }
  .section-explorer-popover {
    right: 6px;
    left: 6px;
    width: auto;
    max-height: min(56vh, 420px);
  }
  .panel-card {
    min-height: 300px;
    padding: 28px;
  }
  .panel-card h2 {
    font-size: 32px;
  }
  .panel-card p {
    font-size: 18px;
  }
  .home-about-panel {
    height: auto;
    padding: 30px 24px;
    border-radius: 28px;
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
  .home-about-title {
    text-align: left;
  }
  .home-about-content {
    border-left: none;
    border-top: 2px solid #4E7DB8;
    padding-left: 0;
    padding-top: 24px;
  }
  .home-about-content p {
    font-size: clamp(20px, 3.4vw, 28px);
  }
  .article-preview-title-and-description {
    grid-template-columns: 1fr;
    row-gap: 16px;
    margin-bottom: 20px;
  }
  .article-preview-title-and-description h2 {
    text-align: left;
  }
  .article-preview-description {
    border-left: none;
    border-top: 2px solid #4E7DB8;
    padding-left: 0;
    padding-top: 16px;
  }
  .quick-info-panel {
    grid-template-columns: 1fr;
    row-gap: 20px;
    padding: 24px;
  }
  .panel-card.ore-de-lucru table {
    width: auto;
    margin: 0 auto;
  }
  .panel-card.ore-de-lucru th {
    width: auto;
  }
  .article-preview-panel,
  .articles-preview-panel {
    padding: 24px;
  }
  .preview-cards-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
  }
  .preview-card {
    width: min(100%, 320px);
  }
  .preview-title {
    font-size: 32px;
  }
  .preview-description {
    font-size: 20px;
  }
  .preview-date {
    font-size: 16px;
  }
  .photo-slider-header h2 {
    font-size: 34px;
  }
  .photo-slider-header p {
    font-size: 17px;
  }
  .photo-slide img {
    height: 310px;
  }
  .photo-slider-controls {
    justify-content: center;
  }
  .footer {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-radius: 28px;
    padding: 14px 18px;
  }
  .stats-card {
    border-radius: 28px;
    padding: 14px;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stat-item {
    min-height: 120px;
    padding: 18px 14px;
  }
  .subdivision-row-primary,
  .subdivision-row-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .org-root-row {
    flex-direction: column;
    gap: 0;
  }
  .org-hline {
    width: 2px;
    height: 24px;
  }
  .org-fork {
    width: 2px;
    height: 24px;
    max-width: none;
  }
  .org-two-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .org-node {
    font-size: 16px;
    padding: 12px 20px;
  }
  .org-root {
    font-size: 19px;
    min-width: 240px;
  }
  .booking-field-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .booking-label {
    font-size: 18px;
  }
  .booking-field-row > input,
  .booking-field-row > .booking-input-wrap {
    width: 100%;
  }
  .booking-actions {
    flex-direction: column;
  }
  .booking-actions button,
  .booking-appointment {
    width: 100%;
  }
  .booking-follow-up {
    width: 100%;
  }
  #team .team-panel {
    padding: 28px;
  }
  #team .team-sections-grid {
    grid-template-columns: 1fr;
  }
  #team .team-section-wide {
    grid-column: auto;
  }
  #team .team-section-wide .team-section-cards {
    grid-template-columns: 1fr;
  }
  #team .team-section-title {
    font-size: 24px;
  }
  #pacient .patient-panel {
    padding: 28px;
  }
  #pacient .patient-services-grid {
    grid-template-columns: 1fr;
  }
  #pacient .patient-legal-stack {
    grid-template-columns: 1fr;
  }
  #pacient .patient-legal-section {
    padding: 20px;
    border-radius: 18px;
  }
  #pacient .patient-legal-header h3 {
    font-size: 25px;
  }
  #pacient .patient-legal-header p {
    font-size: 17px;
  }
  #docs .organigrama-chart {
    display: none;
  }
  #docs .organigrama-mobile-note {
    display: block;
  }
  #docs .organigrama-mobile-actions {
    display: flex;
    justify-content: flex-start;
  }
  .organigrama-page-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 425px) {
  body {
    margin: 12px auto;
    padding: 0 12px;
  }
  .header {
    gap: 12px;
    margin-bottom: 16px;
  }
  .header .logo img {
    height: 40px;
  }
  .nav {
    padding: 6px 6px;
    gap: 6px;
  }
  .nav a {
    font-size: 14px;
    padding: 4px 8px;
  }
  .section-explorer-toggle {
    width: 34px;
    height: 34px;
  }
  .section-explorer-toggle img {
    width: 16px;
    height: 16px;
  }
  .section-explorer-search input {
    font-size: 14px;
    padding: 10px 12px;
  }
  /* Hero */
  .hero {
    border-radius: 18px;
  }
  .hero h1 {
    font-size: 20px;
    white-space: normal;
    padding: 0 16px;
  }
  .hero .quote {
    font-size: 14px;
  }
  .hero img {
    max-height: 260px;
  }
  /* Stats */
  .stats-card {
    margin-top: 16px;
    border-radius: 18px;
    padding: 10px;
  }
  .stat-item {
    min-height: 80px;
    padding: 12px 8px;
    border-radius: 14px;
  }
  .stat-value {
    font-size: 28px;
  }
  .stat-label {
    font-size: 13px;
    margin-top: 6px;
  }
  /* About */
  .about-panel {
    margin-top: 16px;
    height: auto;
    grid-template-columns: 1fr;
    row-gap: 16px;
    padding: 24px 20px;
    border-radius: 18px;
  }
  .about-title {
    text-align: left;
  }
  .about-title h2 {
    font-size: 28px;
  }
  .about-title p {
    font-size: 15px;
  }
  .about-content {
    border-left: none;
    border-top: 2px solid #4E7DB8;
    padding-left: 0;
    padding-top: 16px;
  }
  .about-content p {
    font-size: 16px;
    line-height: 1.3;
  }
  /* Article preview */
  .article-preview-panel {
    margin-top: 16px;
    padding: 20px 16px;
    border-radius: 18px;
  }
  .article-preview-title-and-description {
    grid-template-columns: 1fr;
    row-gap: 12px;
    margin-bottom: 16px;
    column-gap: 0;
  }
  .article-preview-title-and-description h2 {
    text-align: left;
    font-size: 28px;
  }
  .article-preview-description {
    border-left: none;
    border-top: 2px solid #4E7DB8;
    padding-left: 0;
    padding-top: 12px;
  }
  .article-preview-description p {
    width: auto;
    font-size: 15px;
  }
  .preview-cards-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
  }
  .preview-card {
    width: 100%;
    max-width: 100%;
  }
  .preview-media {
    height: 180px;
    font-size: 24px;
  }
  .preview-title {
    font-size: 24px;
  }
  .preview-description {
    font-size: 16px;
  }
  .preview-date {
    font-size: 14px;
  }
  .photo-slider-card {
    margin-top: 16px;
    gap: 14px;
  }
  .photo-slider-header h2 {
    font-size: 26px;
  }
  .photo-slider-header p {
    font-size: 15px;
  }
  .photo-slider-viewport {
    border-radius: 16px;
  }
  .photo-slide img {
    height: 220px;
  }
  .photo-slide figcaption {
    font-size: 14px;
    padding: 10px 12px;
  }
  .photo-slider-controls {
    gap: 10px;
  }
  .photo-slider-btn {
    width: 42px;
    height: 42px;
  }
  .photo-slider-dots {
    order: -1;
    width: 100%;
  }
  /* Quick info */
  .quick-info-panel {
    margin-top: 16px;
    grid-template-columns: 1fr;
    row-gap: 16px;
    padding: 0;
  }
  .panel-card {
    height: auto;
    min-height: auto;
    padding: 24px 20px;
    border-radius: 18px;
  }
  .panel-card h2 {
    font-size: 26px;
  }
  .panel-card p {
    font-size: 15px;
  }
  .subdivision-layout {
    gap: 16px;
    margin-top: 18px;
  }
  .subdivision-row-primary,
  .subdivision-row-secondary {
    grid-template-columns: 1fr;
  }
  .subdivision-item {
    min-height: auto;
    padding: 18px 16px;
    border-radius: 16px;
    gap: 10px;
  }
  .subdivision-name {
    font-size: 21px;
  }
  .subdivision-name-main {
    font-size: 30px;
  }
  .subdivision-name-secondary {
    font-size: 26px;
  }
  .subdivision-phone {
    font-size: 14px;
  }
  .subdivision-map-link,
  .map-link {
    font-size: 13px;
  }
  .panel-card.ore-de-lucru h2,
  .panel-card.contacte h2 {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .panel-card.servicii h2 {
    font-size: 26px;
  }
  .panel-card.ore-de-lucru table {
    font-size: 16px;
    width: auto;
    margin: 0 auto;
  }
  .panel-card.ore-de-lucru th {
    width: auto;
  }
  .panel-card.contacte a {
    font-size: 14px;
  }
  /* Footer */
  .footer {
    margin-top: 16px;
    border-radius: 18px;
    padding: 12px 16px;
    flex-direction: column;
    text-align: center;
  }
  .footer span {
    font-size: 13px;
  }
  /* Scroll to top */
  .scroll-top-btn {
    display: none;
  }
  .org-node {
    font-size: 14px;
    padding: 10px 14px;
    min-width: 160px;
    max-width: 100%;
  }
  .org-root {
    font-size: 17px;
    min-width: 200px;
    max-width: 100%;
    padding: 14px 20px;
  }
  .org-child {
    font-size: 14px;
    min-width: 140px;
  }
  .org-gov-side {
    font-size: 14px;
    min-width: 140px;
  }
  .booking-header {
    margin-bottom: 22px;
  }
  .booking-form {
    gap: 16px;
  }
  .booking-label {
    font-size: 17px;
  }
  .booking-form input {
    min-height: 50px;
    font-size: 15px;
  }
  #team .team-panel {
    padding: 22px;
  }
  #team .team-panel-description {
    font-size: 16px;
  }
  #team .team-section {
    padding: 16px;
    border-radius: 18px;
  }
  #team .team-member-card {
    padding: 12px 14px;
    border-radius: 14px;
  }
  #team .team-member-name {
    font-size: 16px;
  }
  #team .team-member-role {
    font-size: 14px;
  }
  #team .team-placeholder-card {
    min-height: 70px;
    font-size: 15px;
  }
  #pacient .patient-panel {
    padding: 22px;
  }
  #pacient .patient-panel-description {
    font-size: 16px;
  }
  #pacient .patient-service-card {
    min-height: 210px;
    padding: 16px;
    border-radius: 18px;
  }
  #pacient .patient-service-card h3 {
    font-size: 22px;
  }
  #pacient .patient-service-card p {
    font-size: 16px;
  }
  .organigrama-mobile-actions {
    justify-content: flex-start;
  }
  .organigrama-view-button {
    width: 100%;
  }
  .organigrama-back-link {
    width: 100%;
  }
  .organigrama-page-note {
    font-size: 15px;
  }
  #pacient .patient-legal-section {
    padding: 14px;
    border-radius: 14px;
  }
  #pacient .patient-legal-header h3 {
    font-size: 22px;
  }
  #pacient .patient-legal-header p {
    font-size: 16px;
  }
  #pacient .patient-legal-item {
    grid-template-columns: 24px 34px minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
  }
  #pacient .patient-legal-item::before {
    font-size: 14px;
  }
  #pacient .patient-legal-icon {
    width: 32px;
    height: 32px;
  }
  #pacient .patient-legal-icon svg {
    width: 16px;
    height: 16px;
  }
  #pacient .patient-legal-item p {
    font-size: 15px;
  }
}
