﻿/* 2T Auto — Site-NOU-2T (Etapa 9 polish UX)
   Culori aliniate cu site-ul actual: navy #0f1f5c + roșu #e31e24 */

:root {
  --navy: #0f1f5c;
  --navy-light: #1a2d7a;
  --navy-dark: #0a1645;
  --red: #e31e24;
  --red-hover: #c4191f;
  --text: #1f2937;
  --muted: #4b5563;
  --bg: #f9fafb;
  --white: #ffffff;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.album-img,
.img-cover {
  width: 100%;
  max-width: 960px;
  max-height: 70vh;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

a {
  color: inherit;
}

/* Accesibilitate */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 0.5rem 0;
}

.skip-link:focus {
  left: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--navy);
  box-shadow: 0 4px 16px rgba(10, 22, 69, 0.35);
}

.site-nav {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .site-nav {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .site-nav {
    padding: 0 2rem;
  }
}

.site-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .site-nav__bar {
    height: 5rem;
  }
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 2.5rem;
  width: auto;
}

@media (min-width: 768px) {
  .site-logo img {
    height: 3rem;
  }
}

.site-logo__text {
  display: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .site-logo__text {
    display: block;
  }
}

.site-nav__desktop {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .site-nav__desktop {
    display: flex;
  }
}

.site-nav__link,
.site-nav__btn {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0.15rem 0;
  transition: color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__btn:hover {
  color: #fff;
}

.site-nav__link.is-active {
  color: #fff;
  border-bottom: 2px solid var(--red);
  padding-bottom: 0.15rem;
}

.site-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  width: 18rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 12px 32px rgba(15, 31, 92, 0.18);
  border: 1px solid #f3f4f6;
  padding: 0.5rem 0;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (hover: hover) {
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  color: #374151;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-menu a i {
  width: 1.25rem;
  color: rgba(15, 31, 92, 0.55);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.is-active {
  background: #f9fafb;
  color: var(--navy);
  font-weight: 600;
}

.nav-dropdown.is-open > button .fa-chevron-down {
  transform: rotate(180deg);
}

.nav-dropdown > button .fa-chevron-down {
  transition: transform 0.2s ease;
}

/* Phone button */
.btn-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--red);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: background 0.2s ease;
  box-shadow: 0 2px 8px rgba(227, 30, 36, 0.35);
}

.btn-phone:hover {
  background: var(--red-hover);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-phone--header {
  display: inline-flex;
  padding: 0.55rem 0.85rem;
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .btn-phone--header {
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
  }
}

.btn-phone__full {
  display: none;
}

.btn-phone__short {
  display: inline;
}

@media (min-width: 1280px) {
  .btn-phone__full {
    display: inline;
  }
  .btn-phone__short {
    display: none;
  }
}

.btn-phone--mobile {
  margin-top: 0.75rem;
  padding: 0.85rem 1.25rem;
  width: 100%;
}

.btn-phone--lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-phone--inline {
  display: inline-flex;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.cta-phone {
  margin: 1.25rem 0 0;
}

.phone-text {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.phone-text:hover {
  color: var(--red-hover);
}

.content-link {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-link:hover {
  color: var(--red);
}

/* Mobile menu */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #fff;
  padding: 0.5rem;
  cursor: pointer;
  font-size: 1.5rem;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.75rem 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-height: min(70vh, 32rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 0.65rem;
  border-radius: 0.35rem;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
}

.mobile-link:hover,
.mobile-link.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.mobile-link.is-active {
  border-left: 3px solid var(--red);
  padding-left: calc(0.65rem - 3px);
}

.mobile-menu__label {
  margin: 0.85rem 0 0.25rem;
  padding: 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.mobile-link--sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  padding-left: 1.15rem;
  min-height: 2.5rem;
}

.mobile-link--sub.is-active {
  padding-left: calc(1.15rem - 3px);
}

.mobile-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-weight: 600;
  padding: 0.75rem 0.65rem;
  min-height: 2.75rem;
  border-radius: 0.35rem;
  cursor: pointer;
  text-align: left;
}

.mobile-accordion-btn:hover,
.mobile-accordion-btn.is-open {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.mobile-accordion-btn .fa-chevron-down {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.mobile-accordion-btn.is-open .fa-chevron-down {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  margin: 0 0 0.35rem 0.5rem;
  padding-left: 0.65rem;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
}

.mobile-submenu[hidden] {
  display: none !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  background-color: var(--navy-dark);
  background-image:
    linear-gradient(rgba(15, 31, 92, 0.84), rgba(15, 31, 92, 0.72)),
    url('../images/hero-cladire.jpg');
  background-size: cover;
  background-position: center;
}

.hero__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  .hero__inner {
    padding: 5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero__inner {
    padding: 6rem 2rem;
  }
}

.hero__brand {
  color: var(--red);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.hero__eyebrow {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
}

.hero__lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  max-width: 36rem;
  margin: 0 0 2rem;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 1rem 1.75rem;
  border-radius: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Page hero (subpages) */
.page-hero {
  padding: 7rem 1rem 3.5rem;
  background-image:
    linear-gradient(rgba(15, 31, 92, 0.9), rgba(15, 31, 92, 0.84)),
    url('../images/hero-cladire.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.page-hero__inner {
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .page-hero {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .page-hero {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
}

.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 40rem;
}

/* Sections */
.section {
  padding: 3.5rem 1rem;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section--white {
  background: #fff;
}

.section--muted {
  background: var(--bg);
}

.section--navy {
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.section__inner {
  max-width: 80rem;
  margin: 0 auto;
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

.section__lead {
  margin: 0 auto 2.5rem;
  max-width: 36rem;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
}

.section--navy .section__title {
  color: #fff;
}

.section--navy .section__lead {
  color: rgba(255, 255, 255, 0.7);
}

/* Homepage — 3 poze reprezentative (locație) */
.home-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0 auto 1.75rem;
  max-width: 80rem;
}

@media (min-width: 640px) {
  .home-photos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .home-photos {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-photos__item {
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
  box-shadow: 0 4px 14px rgba(15, 31, 92, 0.08);
}

.home-photos__item img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.home-photos__item:hover img {
  transform: scale(1.05);
}

@media (min-width: 640px) {
  .home-photos__item img {
    height: 18rem;
  }

  .home-photos__item:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .home-photos__item:last-child {
    grid-column: auto;
  }
}

.home-photos__more {
  text-align: center;
  margin: 0;
}

.home-photos__more a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.home-photos__more a:hover {
  color: var(--red);
}

/* Service links grid (homepage — not photo wall) */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-link {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 31, 92, 0.1);
  border-color: rgba(15, 31, 92, 0.2);
}

.service-link__icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.75rem;
  background: rgba(15, 31, 92, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
  font-size: 1.35rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.service-link:hover .service-link__icon {
  background: var(--navy);
  color: #fff;
}

.service-link h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  transition: color 0.2s ease;
}

.service-link:hover h2 {
  color: var(--red);
}

.service-link p {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.service-link__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.service-link:hover .service-link__more i {
  transform: translateX(3px);
}

.service-link__more i {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

/* Stub / content panels */
.content-panel {
  max-width: 42rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 12px rgba(15, 31, 92, 0.04);
}

@media (min-width: 640px) {
  .content-panel {
    padding: 2rem;
  }
}

.content-panel h2 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  color: var(--navy);
}

.content-panel p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.content-panel p:last-child {
  margin-bottom: 0;
}

.badge-soon {
  display: inline-block;
  background: rgba(227, 30, 36, 0.1);
  color: var(--red);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 0.35rem;
  margin-bottom: 1rem;
}

/* Service / business page layout */
.page-crumbs {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-crumbs a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.page-crumbs a:hover {
  color: #fff;
}

.page-crumbs span {
  margin: 0 0.4rem;
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .page-layout {
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
  }
}

.prose-block {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 12px rgba(15, 31, 92, 0.04);
}

.prose-block--wide {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

/* Video pe pagină de serviciu — mare, sub titlu (SEO watch signals) */
.page-video {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.page-video__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: var(--navy);
  line-height: 1.3;
}

.page-video__lead {
  margin: 0 0 1.25rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.page-video__frame {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(15, 31, 92, 0.12);
  background: #0a1645;
}

.page-video__player {
  display: block;
  width: 100%;
  height: auto;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0a1645;
}

@media (min-width: 768px) {
  .page-video {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (min-width: 640px) {
  .prose-block {
    padding: 2rem;
  }
}

.prose-block h2 {
  margin: 0 0 0.85rem;
  font-size: 1.35rem;
  color: var(--navy);
}

.prose-block h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.prose-block p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.check-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.check-list i {
  color: var(--red);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.ext-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn-secondary-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  border-radius: 0.65rem;
  transition: background 0.2s ease;
}

.btn-secondary-solid:hover {
  background: var(--navy-light);
}

.text-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.text-link:hover {
  color: var(--red);
}

.album-ready {
  background: #fff;
  border: 1px dashed rgba(15, 31, 92, 0.25);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  min-height: 12rem;
}

.album-ready h2 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  color: var(--navy);
}

.album-ready p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.album-ready__note {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
}

.hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hub-card {
  display: block;
  padding: 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hub-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 31, 92, 0.2);
  box-shadow: 0 10px 24px rgba(15, 31, 92, 0.08);
}

.hub-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.hub-card:hover strong {
  color: var(--red);
}

.hub-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.map-embed {
  width: 100%;
  min-height: 22rem;
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(15, 31, 92, 0.08);
}

.nav-dropdown-menu__label {
  display: block;
  padding: 0.55rem 1rem 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-list__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(15, 31, 92, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.contact-list__icon--red {
  background: rgba(227, 30, 36, 0.1);
  color: var(--red);
}

.contact-list strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.contact-list a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.25rem;
}

.contact-list a:hover {
  color: var(--red-hover);
}

.contact-list a.email-link {
  font-size: 1rem;
  color: var(--navy);
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #fff;
  padding: 3rem 1rem 2rem;
}

@media (min-width: 640px) {
  .site-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .site-footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.site-footer__inner {
  max-width: 80rem;
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.site-footer__logo {
  height: 3rem;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(1.1);
}

.site-footer__tag {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.site-footer__muted {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  margin: 0.5rem 0 0;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer__social:hover {
  color: #fff;
}

.site-footer__heading {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer__list a:hover {
  color: #fff;
}

.site-footer__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__contact li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.site-footer__contact i {
  color: var(--red);
  margin-top: 0.2rem;
  width: 1rem;
}

.site-footer__contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer__contact a:hover {
  color: #fff;
}

.site-footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
}

.site-footer__copy p {
  margin: 0.35rem 0;
}

.site-footer__preview-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.site-footer__stats {
  margin-top: 0.55rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__stats strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.site-footer__stats-sep {
  margin: 0 0.45rem;
  color: rgba(255, 255, 255, 0.28);
}

/* ========== Galerie / album (Etapa 9 — polish mobil) ========== */
.gallery-carousel {
  position: relative;
  background: var(--navy);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 31, 92, 0.12);
  border: 1px solid #e5e7eb;
  outline: none;
  container-type: inline-size;
}

.gallery-carousel:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.gallery-stage {
  position: relative;
  width: 100%;
  /* height (not aspect-ratio + max-height): keeps full carousel width when capped */
  height: min(70vh, calc(100cqw * 10 / 16));
  background: #000;
  overflow: hidden;
  /* Modificarea corectă pentru a permite scroll-ul vertical al paginii: */
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.gallery-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-slide__img,
.gallery-slide img,
.album-single__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #000;
}
/* ========== Lightbox Fullscreen (Etapa 9) ========== */
#fullscreen-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

#fullscreen-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.fullscreen-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 100000;
}

.fullscreen-close:hover {
  background: var(--red);
}

.gallery-slide__cap,
.gallery-slide figcaption,
.album-single__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
  font-size: 0.875rem;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 9999px;
  border: none;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.gallery-btn:hover {
  background: #fff;
  color: var(--red);
}

.gallery-btn--prev { left: 0.5rem; }
.gallery-btn--next { right: 0.5rem; }

@media (max-width: 640px) {
  .gallery-btn {
    width: 2.5rem;
    height: 2.5rem;
  }
  .gallery-btn--prev { left: 0.35rem; }
  .gallery-btn--next { right: 0.35rem; }
  .gallery-stage {
    height: min(70vh, calc(100cqw * 3 / 4));
  }
}

.gallery-toolbar,
.gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(10, 22, 69, 0.95);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
}

.gallery-counter {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.gallery-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  max-width: 70%;
}

.gallery-dot {
  width: 0.7rem;
  height: 0.7rem;
  min-width: 0.7rem;
  min-height: 0.7rem;
  padding: 0;
  border-radius: 9999px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  touch-action: manipulation;
}

@media (max-width: 640px) {
  .gallery-dot {
    width: 0.85rem;
    height: 0.85rem;
    min-width: 0.85rem;
    min-height: 0.85rem;
  }
}

.gallery-dot.is-active {
  background: var(--red);
  transform: scale(1.12);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  aspect-ratio: 4 / 3;
  position: relative;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb__cat {
  position: absolute;
  left: 0.35rem;
  bottom: 0.35rem;
  right: 0.35rem;
  z-index: 1;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(15, 31, 92, 0.85);
  padding: 0.2rem 0.35rem;
  border-radius: 0.3rem;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

/* Subcapitol / legendă pe miniatură: 2 rânduri, text normal (nu doar CATEGORIE) */
.gallery-thumb__cat--sub {
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 600;
  font-size: 0.58rem;
  line-height: 1.25;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  max-height: 2.6em;
  background: rgba(185, 28, 28, 0.9);
}

.gallery-thumb__sub {
  position: absolute;
  left: 0.35rem;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 1;
  font-size: 0.58rem;
  font-weight: 600;
  color: #fff;
  background: rgba(185, 28, 28, 0.88);
  padding: 0.18rem 0.35rem;
  border-radius: 0.3rem;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.gallery-thumb.is-active,
.gallery-thumb:hover {
  border-color: var(--red);
}

.gallery-thumb.is-filtered-out,
.gallery-dot.is-filtered-out,
.gallery-slide.is-filtered-out {
  display: none !important;
}

/* Filtru categorii galerie — sub carusel */
.gallery-filters {
  margin-top: 1.15rem;
  margin-bottom: 0.25rem;
}

.gallery-filters__label {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.gallery-filters__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.gallery-filter {
  appearance: none;
  border: 1px solid #d1d5db;
  background: #fff;
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.45rem 0.75rem;
  border-radius: 0.45rem;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.gallery-filter:hover {
  border-color: var(--navy);
  background: #f3f4f8;
}

.gallery-filter.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.gallery-filters__hint {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  color: #6b7280;
}

.gallery-slide__cat {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.2rem;
}

.gallery-slide__sub {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.album-gallery-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.album-gallery-link:hover {
  text-decoration: underline;
}

.album-lucrari-nav {
  margin: 1rem 0 1.35rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(15, 31, 92, 0.14);
  border-left: 4px solid var(--red);
  border-radius: 0.65rem;
  background: rgba(15, 31, 92, 0.035);
}

.album-lucrari-nav__title {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.album-lucrari-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.album-lucrari-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 0.45rem;
  background: #fff;
  border: 1px solid rgba(15, 31, 92, 0.12);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.album-lucrari-nav__link:hover {
  border-color: var(--red);
  color: var(--red);
}

.album-lucrari-nav__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  padding: 0.05rem 0.35rem;
  border-radius: 0.35rem;
  background: rgba(185, 28, 28, 0.1);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
}

.album-lucrari-doc {
  margin: 2.5rem 0 0.25rem;
  padding-top: 0.25rem;
}

.album-lucrari-doc__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  color: var(--navy);
  text-align: left;
}

.album-lucrari-doc__lead {
  margin: 0;
  max-width: 40rem;
  color: rgba(15, 31, 92, 0.75);
  text-align: left;
}

.section-album--subcapitol {
  margin-top: 1.75rem;
  padding: 1.35rem 1.15rem 1.15rem;
  border: 1px solid rgba(15, 31, 92, 0.12);
  border-top: 3px solid var(--red);
  border-radius: 0.75rem;
  background: rgba(15, 31, 92, 0.03);
  scroll-margin-top: 5.5rem;
}

.section-album--subcapitol .section-album__title {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  text-align: left;
}

.section-album--subcapitol .section-album__lead {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.section-album--subcapitol .album-meta {
  text-align: left;
}

.album-block {
  margin-top: 2rem;
  container-type: inline-size;
}

.album-block__title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: var(--navy);
}

.album-single {
  position: relative;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
  /* same full-width rule as .gallery-stage — no aspect-ratio + max-height */
  height: min(70vh, calc(100cqw * 10 / 16));
  box-shadow: 0 8px 24px rgba(15, 31, 92, 0.1);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.empty-note {
  text-align: center;
  color: var(--muted);
  padding: 2rem 1rem;
}

/* ========== Album pe secțiune (Etapa 6–7) ========== */
.section-album {
  margin: 0 auto;
  max-width: 80rem;
}

.section-album__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

.section-album__lead {
  margin: 0 auto 1.25rem;
  max-width: 36rem;
  text-align: center;
  color: var(--muted);
}

.album-meta {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.album-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .album-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .album-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.album-card {
  margin: 0;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 31, 92, 0.06);
}

.album-card__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0a1645;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.album-card__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.album-card__btn:hover img {
  transform: scale(1.04);
}

.album-card__cat {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  z-index: 1;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(15, 31, 92, 0.82);
  padding: 0.25rem 0.5rem;
  border-radius: 0.35rem;
  pointer-events: none;
  max-width: calc(100% - 1.1rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Subcapitol / lucrare pe miniatură — vizibil ca etichetă roșie, fără majuscule forțate */
.album-card__cat--sub {
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 600;
  font-size: 0.68rem;
  line-height: 1.25;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  background: rgba(185, 28, 28, 0.9);
}

.album-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.9rem 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.album-card__cat-text {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #9ca3af;
  order: 5;
}

.album-card__sub {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.album-card__cap {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.35;
}

.album-card time {
  font-size: 0.75rem;
  color: #9ca3af;
}

.album-empty {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px dashed rgba(15, 31, 92, 0.25);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
}

.album-empty h3 {
  margin: 0 0 0.65rem;
  color: var(--navy);
}

.album-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.album-empty code {
  font-size: 0.8rem;
  background: #f3f4f6;
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
}

.album-video {
  margin: 0 auto 1.75rem;
  max-width: 48rem;
}

.album-video__label {
  margin: 0 0 0.65rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

.album-video__player {
  width: 100%;
  border-radius: 0.85rem;
  background: #000;
  box-shadow: 0 10px 28px rgba(15, 31, 92, 0.12);
}

.album-lightbox[hidden] {
  display: none !important;
}

.album-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.album-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 69, 0.88);
}

.album-lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 56rem);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.album-lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #000;
}

.album-lightbox__cap {
  margin: 0.75rem 0 0;
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
}

.album-lightbox__close {
  position: absolute;
  top: -0.5rem;
  right: -0.25rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 9999px;
  background: #fff;
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.album-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  cursor: pointer;
}

.album-lightbox__nav--prev { left: -0.5rem; }
.album-lightbox__nav--next { right: -0.5rem; }

@media (max-width: 640px) {
  .album-lightbox__nav--prev { left: 0.25rem; }
  .album-lightbox__nav--next { right: 0.25rem; }
}

.section__inner--narrow {
  max-width: 56rem;
}

.branch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .branch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .branch-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.branch-link {
  display: block;
  padding: 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.branch-link:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 31, 92, 0.2);
  box-shadow: 0 10px 24px rgba(15, 31, 92, 0.08);
}

.branch-link h3 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.branch-link:hover h3 {
  color: var(--red);
}

.branch-link p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.content-panel--wide {
  max-width: none;
  margin-bottom: 0.5rem;
}

.cta-row {
  margin-top: 1.25rem;
}

.text-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
}

.text-link:hover {
  color: var(--red);
}

.content-link {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

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

.phone-text {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.btn-phone--inline {
  display: inline-flex;
  padding: 0.85rem 1.25rem;
}

.img-cover {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Motion — subtle presence */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__brand,
.hero__eyebrow,
.hero__lead,
.hero__actions {
  animation: fade-up 0.7s ease both;
}

.hero__eyebrow {
  animation-delay: 0.08s;
}

.hero__lead {
  animation-delay: 0.16s;
}

.hero__actions {
  animation-delay: 0.24s;
}

.service-link {
  animation: fade-up 0.55s ease both;
}

.service-link:nth-child(1) { animation-delay: 0.05s; }
.service-link:nth-child(2) { animation-delay: 0.1s; }
.service-link:nth-child(3) { animation-delay: 0.15s; }
.service-link:nth-child(4) { animation-delay: 0.2s; }
.service-link:nth-child(5) { animation-delay: 0.25s; }
.service-link:nth-child(6) { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Despre + Contact (Etapa 2) */
.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .about-layout {
    grid-template-columns: 1.35fr 0.9fr;
    gap: 2rem;
  }
}

.about-col,
.about-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.content-panel--wide {
  max-width: none;
  margin: 0;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.feature-list i {
  color: var(--red);
  margin-top: 0.25rem;
  width: 1.15rem;
  flex-shrink: 0;
}

.feature-list .text-link {
  font-weight: 700;
}

.about-photo {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(15, 31, 92, 0.08);
}

.about-photo img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}

.hours-card {
  background: var(--navy);
  color: #fff;
  border-radius: 1rem;
  padding: 1.5rem 1.35rem;
}

.hours-card h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.hours-card p {
  margin: 0.35rem 0;
  color: rgba(255, 255, 255, 0.8);
}

.hours-card strong {
  color: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.map-panel {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(15, 31, 92, 0.08);
  min-height: 24rem;
  background: #e5e7eb;
}

@media (min-width: 1024px) {
  .map-panel {
    min-height: 100%;
  }
}

.map-panel iframe {
  display: block;
  min-height: 24rem;
  height: 100%;
}

.btn-phone--block {
  display: flex;
  width: 100%;
  margin-top: 1.5rem;
  padding: 1.1rem 1.5rem;
  font-size: 1.1rem;
}

.muted-line {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ========== Section album grid + lightbox (Etapa 9) ========== */
.section-album {
  margin: 0 auto;
  max-width: 80rem;
}

.section-album__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--navy);
  font-weight: 700;
}

.section-album__lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 40rem;
}

.album-meta {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .album-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

@media (min-width: 1024px) {
  .album-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.album-card {
  margin: 0;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 0.75rem;
  overflow: hidden;
}

.album-card__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: #0a0a0a;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.album-card__btn img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.album-card__btn:hover img {
  transform: scale(1.03);
}

.album-card figcaption {
  padding: 0.55rem 0.7rem 0.7rem;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.album-card__sub {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.album-card__cap {
  color: var(--text);
  font-weight: 600;
}

.album-card__cat-text {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #9ca3af;
  order: 5;
}

.album-empty {
  background: #fff;
  border: 1px dashed rgba(15, 31, 92, 0.25);
  border-radius: 1rem;
  padding: 1.5rem;
}

.album-empty h3 {
  margin: 0.5rem 0;
  color: var(--navy);
}

.album-empty code {
  font-size: 0.85em;
  background: #f3f4f6;
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
}

.album-video {
  margin-bottom: 1.5rem;
}

.album-video__label {
  margin: 0 0 0.5rem;
  font-weight: 600;
  color: var(--navy);
}

.album-video__player {
  width: 100%;
  max-height: 70vh;
  border-radius: 0.75rem;
  background: #000;
}

.album-lightbox[hidden] {
  display: none !important;
}

.album-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.album-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 69, 0.88);
  border: none;
  cursor: pointer;
}

.album-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.album-lightbox__img {
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #000;
}

.album-lightbox__cap {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  font-size: 0.9rem;
}

.album-lightbox__close {
  position: absolute;
  top: -0.25rem;
  right: 0;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.album-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.85rem;
  height: 2.85rem;
  min-width: 2.85rem;
  min-height: 2.85rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.album-lightbox__nav--prev { left: 0.25rem; }
.album-lightbox__nav--next { right: 0.25rem; }

@media (max-width: 640px) {
  .album-lightbox__nav {
    width: 2.6rem;
    height: 2.6rem;
  }
  .album-lightbox__nav--prev { left: 0; }
  .album-lightbox__nav--next { right: 0; }
}

.album-lightbox__nav:hover,
.album-lightbox__close:hover {
  color: var(--red);
}

body.album-lightbox-open {
  overflow: hidden;
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .page-layout {
    grid-template-columns: 1.4fr 0.9fr;
    gap: 2rem;
    align-items: start;
  }
}

.prose-block h2,
.prose-block h3 {
  color: var(--navy);
  margin: 1.25rem 0 0.65rem;
}

.prose-block p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 0.85rem;
}

.page-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

.page-crumbs a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.page-crumbs a:hover {
  color: #fff;
  text-decoration: underline;
}

.text-link {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.text-link:hover {
  color: var(--red);
}

.ext-cta .btn-phone {
  padding: 0.85rem 1.25rem;
}

/* ========== FAQ (întrebări frecvente) ========== */
.section__inner--narrow {
  max-width: 48rem;
}

.section__lead--left {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  text-align: left;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 0 2rem;
}

.faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 31, 92, 0.04);
}

.faq-item__question {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.02rem;
  line-height: 1.4;
  user-select: none;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::marker {
  content: '';
}

.faq-item__icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--red);
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 1.1rem 1.1rem;
}

.faq-item__answer p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.faq-links {
  margin: 0 auto;
}

.faq-links__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

@media (min-width: 640px) {
  .faq-links__list {
    grid-template-columns: 1fr 1fr;
  }

  .faq-item__question {
    padding: 1.15rem 1.35rem;
    font-size: 1.05rem;
  }

  .faq-item__answer {
    padding: 0 1.35rem 1.25rem;
  }
}

.faq-links__list a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.faq-links__list a:hover {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* Bulinele (pagination dots) — ascunse mereu; navigare cu săgeți / swipe */
.gallery-dots {
  display: none !important;
}

/*
 * Miniaturi: JS arată câte 20 (load-more). Nu mai folosim nth-child(n+21) pe categorie —
 * acel CSS ascundea greșit pozele din mijlocul listei globale.
 */
/* [hidden] e anulat de .gallery-thumb { display:block } — trebuie forțat */
.gallery-thumb[hidden],
.gallery-thumb.is-thumb-overflow,
.gallery-thumb.is-filtered-out {
  display: none !important;
}

.album-card[hidden],
.album-card.is-album-overflow {
  display: none !important;
}

.gallery-load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0 0.5rem;
  width: 100%;
  clear: both;
}

.gallery-load-more-wrap:not([hidden]),
.gallery-load-more-wrap.is-visible {
  display: flex !important;
}

.gallery-load-more {
  appearance: none;
  border: 1px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7rem 1.15rem;
  border-radius: 0.5rem;
  cursor: pointer;
  touch-action: manipulation;
}

.gallery-load-more:hover {
  background: var(--navy);
  color: #fff;
}

.gallery-load-more[hidden],
.gallery-load-more-wrap[hidden] {
  display: none !important;
}

.gallery-load-more-meta {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}

/* Album pe secțiune: aceleași 20 + „Vezi mai mult” ca în galerie */
.album-card.is-album-overflow {
  display: none !important;
}

.album-load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0.25rem;
}

.album-load-more-wrap[hidden] {
  display: none !important;
}

/* Corecție carusel: lățime completă; imaginea umple scena (cover) */
.gallery-carousel {
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
}

.gallery-stage {
  width: 100%;
  max-width: none;
  margin: 0;
}
/* --- Sistem Fullscreen Lightbox (Mobil & Laptop) --- */
.fullscreen-lightbox {
  display: none; /* Stă ascuns până primim click-ul prin JS */
  position: fixed;
  z-index: 99999; /* Garantăm că apare peste navbar și orice alt meniu */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95); /* Negru profund, aproape opac */
}

.fullscreen-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain; /* Păstrează calitatea și proporția fără tăieturi */
}

.fullscreen-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  z-index: 2; /* Plasat deasupra imaginii */
}

.fullscreen-close:hover {
  color: var(--red); /* Efect de hover pe butonul de închidere */
}

/* Indicator pe poza din carusel pentru a arăta că e 'clickabilă' */
.gallery-slide img {
  cursor: zoom-in !important;
}
/* 2026-08-10: gallery-stage full width — avoid aspect-ratio + max-height navy gap */
.gallery-carousel .gallery-stage {
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: auto !important;
  max-height: none !important;
  height: min(70vh, calc(100cqw * 10 / 16));
  margin: 0;
}
@media (max-width: 640px) {
  .gallery-carousel .gallery-stage {
    height: min(70vh, calc(100cqw * 3 / 4));
  }
}

/* ——— Etapa 3: ultimul item văzut în lightbox (după X) ——— */
.album-card.is-last-viewed {
  outline: 2px solid var(--navy, #0f1f5c);
  outline-offset: 2px;
  border-color: var(--navy, #0f1f5c);
}

.album-card.is-last-viewed .album-card__btn {
  box-shadow: inset 0 0 0 2px rgba(15, 31, 92, 0.35);
}

.gallery-thumb.is-active {
  scroll-margin: 5rem;
}

.album-lightbox__dialog,
.fullscreen-lightbox {
  touch-action: pan-y;
}

/* ——— Etapa 2: Video în albume + galerie ——— */
.album-card__video-thumb,
.album-card__btn video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  background: #0a1645;
}

.album-card__play,
.gallery-thumb__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: rgba(15, 31, 92, 0.88);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.album-card__play i,
.gallery-thumb__play i {
  margin-left: 0.15rem;
  font-size: 0.95rem;
}

.album-card__media-tag,
.gallery-slide__media-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  background: #e8edf8;
  padding: 0.15rem 0.45rem;
  border-radius: 0.3rem;
  width: fit-content;
}

.album-lightbox__video {
  max-width: 100%;
  max-height: 75vh;
  width: min(960px, 100%);
  background: #000;
  border-radius: 0.5rem;
}

.album-lightbox__img[hidden],
.album-lightbox__video[hidden] {
  display: none !important;
}

.gallery-slide__video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0a1645;
}

.gallery-slide__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.gallery-slide__play-badge {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(15, 31, 92, 0.85);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.gallery-slide__play-badge i {
  margin-left: 0.12rem;
  font-size: 0.8rem;
}

.gallery-thumb--video {
  position: relative;
}

.gallery-thumb__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  background: #0a1645;
}

.gallery-slide img,
.gallery-slide video {
  cursor: zoom-in;
}

.fullscreen-content--video {
  max-width: 92vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  background: #000;
}

#fullscreen-video[hidden],
#fullscreen-img[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .album-lightbox__video {
    max-height: 62vh;
  }
  .album-card__play,
  .gallery-thumb__play {
    width: 2.4rem;
    height: 2.4rem;
  }
}

/* Floating WhatsApp — pe tot site-ul, compact pe telefon */
.wa-float {
  position: fixed;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  z-index: 9000;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff !important;
  font-size: 1.55rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, filter 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.wa-float:hover,
.wa-float:focus-visible {
  transform: scale(1.06);
  filter: brightness(1.05);
  color: #fff !important;
  outline: none;
}

@media (max-width: 640px) {
  .wa-float {
    width: 2.65rem;
    height: 2.65rem;
    font-size: 1.35rem;
    right: max(0.55rem, env(safe-area-inset-right));
    bottom: max(0.55rem, env(safe-area-inset-bottom));
  }
}

@media print {
  .wa-float {
    display: none !important;
  }
}

.svc-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.svc-aside__img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(15, 31, 92, 0.1);
  display: block;
}

.svc-aside__box {
  margin: 0;
}