/* ============================================================
   RPG SECURITY & RESCUE DIVISION — Main Stylesheet
   ============================================================ */

:root {
  --dark-bg:        #050914;
  --sec-blue:       #0d1b4d;
  --sec-blue-light: #1a3a8f;
  --resc-red:       #4d0d0d;
  --resc-red-light: #8f1a1a;
  --gold:           #f0c020;
  --cyan:           #00d4ff;
  --magenta:        #e040a0;
  --white:          #ffffff;
  --text-light:     #e8e8e8;
  --text-muted:     #a0a0b8;
  --card-bg:        rgba(255,255,255,0.04);
  --card-border:    rgba(255,255,255,0.09);
  --nav-height:     76px;
}

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

/* Accesibilitate + SEO: vizibil pentru screen-readere și crawlere, invizibil vizual */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
/* ── Direction A: Military Precision — Oswald headings, Inter body ── */
.section-title,
.portal-title,
.service-name,
.modal-title,
.stat-number,
.about-text h3,
.contact-info h3,
.contact-form-wrap h3,
.rescue-intro-text h3,
.rescue-config-title,
.rescue-solutions-title,
.footer-col h4,
footer h4 {
  font-family: 'Oswald', 'Segoe UI', sans-serif;
}
/* Nav brand also gets Oswald */
.nav-logo-text span:first-child {
  font-family: 'Oswald', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--dark-bg);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050914; }
::-webkit-scrollbar-thumb { background: #1a3a8f; border-radius: 3px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(5,9,20,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 1000;
  transition: background 0.3s;
}
#navbar.scrolled {
  background: rgba(5,9,20,0.98);
  border-bottom-color: rgba(0,212,255,0.15);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img {
  height: 56px;
  width: auto;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text span:first-child {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
}
.nav-logo-text span:last-child {
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--cyan);
  transition: width 0.3s;
  border-radius: 1px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.rescue-link:hover { color: #ff8080; }
.nav-links a.rescue-link::after { background: #ff6060; }
.nav-cta {
  background: transparent;
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.25);
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  transition: border-color 0.2s, color 0.2s !important;
}
.nav-cta:hover {
  border-color: var(--cyan);
  color: var(--cyan) !important;
  transform: none;
  box-shadow: none !important;
}
.nav-cta::after { display: none !important; }


.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-light);
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}
/* X animation when open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO / LANDING
   ============================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-color: #050914;
  /* Gradient fallback matching the blue-left / red-right image */
  background-image:
    url('../images/hero-bg.webp'),
    linear-gradient(to right,
      #001433 0%, #001a5c 20%, #0d003d 40%,
      #1a0030 55%, #3d000f 75%, #3d0000 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5,9,20,0.3) 0%, transparent 30%, transparent 70%, rgba(5,9,20,0.6) 100%);
}

/* The two portals */
.portal {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: flex 0.65s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
  z-index: 2;
}
.portal-security {
  background: linear-gradient(to right,
    rgba(0,20,100,0.72) 0%,
    rgba(0,20,80,0.45) 100%);
}
.portal-rescue {
  background: linear-gradient(to left,
    rgba(120,0,0,0.72) 0%,
    rgba(80,0,0,0.45) 100%);
}
.portal::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
}
.portal-security::before {
  background: linear-gradient(135deg,
    rgba(0,100,255,0.18) 0%,
    rgba(0,200,255,0.08) 100%);
}
.portal-rescue::before {
  background: linear-gradient(135deg,
    rgba(255,50,0,0.18) 0%,
    rgba(200,0,50,0.08) 100%);
}
.portal:hover { flex: 1.5; }
.portal:hover::before { opacity: 1; }

.portal-divider {
  width: 2px;
  min-width: 2px;
  height: 100%;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255,255,255,0.25) 25%,
    rgba(255,255,255,0.45) 50%,
    rgba(255,255,255,0.25) 75%,
    transparent 100%);
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Hero brand tagline — centrat pe divider ── */
.hero-brand-tag {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  background: rgba(5,9,20,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 4px;
  padding: 14px 20px;
  pointer-events: none;
}
.hero-brand-name {
  font-family: 'Oswald', 'Segoe UI', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-brand-since {
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-family: 'Inter', sans-serif;
}

/* Pe mobile, tagline-ul dispare (portals se stivuiesc vertical) */
@media (max-width: 768px) {
  .hero-brand-tag { display: none; }
}

.portal-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 32px;
  max-width: 460px;
}
.portal-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 28px;
  transition: transform 0.4s;
}
.portal:hover .portal-logo { transform: scale(1.08); }
.portal-security .portal-logo {
  filter: drop-shadow(0 0 28px rgba(0,180,255,0.5));
}
.portal-rescue .portal-logo {
  filter: drop-shadow(0 0 28px rgba(255,60,0,0.5));
}
.portal-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.portal-security .portal-title { color: var(--cyan); }
.portal-rescue .portal-title  { color: #ff7070; }

.portal-tagline {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.portal-services {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 36px;
  line-height: 1.6;
}
.portal-btn {
  display: inline-block;
  padding: 13px 38px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid var(--cyan);
  background: var(--cyan);
  color: #050914;
  transition: all 0.35s;
}
.portal-btn:hover {
  background: white;
  border-color: white;
  color: #050914;
  box-shadow: 0 0 40px rgba(0,212,255,0.45);
  transform: translateY(-2px);
}
.portal-security .portal-btn {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #050914;
  font-weight: 800;
}
.portal-security .portal-btn:hover {
  background: white;
  border-color: white;
  color: #050914;
  box-shadow: 0 0 40px rgba(0,212,255,0.55);
}
.portal-rescue .portal-btn {
  background: #ff7070;
  border-color: #ff7070;
  color: white;
  font-weight: 800;
}
.portal-rescue .portal-btn:hover {
  background: white;
  border-color: white;
  color: #3d0000;
  box-shadow: 0 0 40px rgba(255,112,112,0.55);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: hintBounce 2.2s ease-in-out infinite;
}
.scroll-hint-text {
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.scroll-hint-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
}
@keyframes hintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section { padding: 100px 0; position: relative; }
.section-dark { background: var(--dark-bg); }
.section-navy {
  background:
    url('../images/bg-01.webp') center/cover no-repeat,
    linear-gradient(135deg, #05091a 0%, #0a1535 50%, #0d1b4d 100%);
}
.section-navy .bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,9,20,0.65);
}
.section-crimson {
  background:
    url('../images/bg-03.webp') center/cover no-repeat,
    linear-gradient(135deg, #0e0505 0%, #200808 50%, #3d0d0d 100%);
}
.section-crimson .bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,2,2,0.65);
}
.section-mixed {
  background:
    url('../images/bg-02.webp') center/cover no-repeat,
    linear-gradient(135deg, #05091a 0%, #150520 50%, #0e0507 100%);
}
.section-mixed .bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,9,20,0.62);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 2;
}

.section-header { text-align: center; margin-bottom: 72px; }
.section-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
  font-weight: 700;
}
.section-crimson .section-tag { color: #ff8080; }
.section-dark    .section-tag { color: var(--gold); }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: var(--white);
}
.title-line {
  width: 56px; height: 3px;
  margin: 0 auto 20px;
  border-radius: 2px;
}
.section-navy .title-line,
.section-mixed .title-line   { background: linear-gradient(to right, var(--cyan), var(--magenta)); }
.section-crimson .title-line { background: linear-gradient(to right, #ff6060, #ff00aa); }
.section-dark .title-line    { background: linear-gradient(to right, var(--gold), var(--cyan)); }

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  padding: 36px 28px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--cyan), var(--magenta));
  opacity: 0;
  transition: opacity 0.35s;
}
.service-card:hover,
.service-card:focus-visible {
  background: rgba(255,255,255,0.07);
  border-color: rgba(0,212,255,0.28);
  transform: translateY(-7px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  outline: none;
}
.service-card:focus-visible {
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 3px rgba(0,212,255,0.55);
}
.service-card:hover::before,
.service-card:focus-visible::before { opacity: 1; }

/* ── Service Card Image (Variant C) ── */
.card-img-wrap {
  margin: -36px -28px 22px -28px;
  height: 160px;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  position: relative;
  background: rgba(5,12,32,0.9);
}
.card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.service-card:hover .card-img { transform: scale(1.07); }
.card-img-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(160deg, rgba(10,21,53,0.96) 0%, rgba(0,15,40,0.9) 100%);
  border-bottom: 1px dashed rgba(0,212,255,0.15);
}
.card-img-ph svg {
  width: 26px;
  height: 26px;
  color: rgba(0,212,255,0.3);
  stroke-width: 1.5;
}
.card-img-ph span {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.service-number { display: none; }
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.35s;
}
.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--cyan);
  stroke-width: 1.8;
  transition: color 0.35s, transform 0.35s;
}
.service-card:hover .service-icon,
.service-card:focus-visible .service-icon {
  background: rgba(0,212,255,0.14);
  border-color: rgba(0,212,255,0.35);
  box-shadow: 0 0 20px rgba(0,212,255,0.15);
}
.service-card:hover .service-icon svg,
.service-card:focus-visible .service-icon svg {
  transform: scale(1.15);
}
.service-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--white);
}
.service-desc {
  font-size: 0.88rem;
  color: #c0c0d4;
  line-height: 1.72;
}
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--cyan);
  text-transform: uppercase;
  transition: gap 0.3s;
}
.service-card:hover .service-more,
.service-card:focus-visible .service-more { gap: 12px; }
.service-more-arrow { font-size: 0.9rem; }

/* ============================================================
   SERVICE MODAL
   ============================================================ */
/* ============================================================
   SERVICE MODAL — Full Screen, 2 Columns
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  padding: 16px;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: linear-gradient(145deg, #0a1535, #0d1b4d);
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: 4px;
  width: 95vw;
  max-width: 1200px;
  height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
  transform: scale(0.92) translateY(28px);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

/* Close button */
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-muted);
  font-size: 1.3rem;
  width: 38px; height: 38px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  z-index: 10;
}
.modal-close:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
}

/* ── LEFT PANEL: Gallery ── */
.modal-left {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #050c20, #0a1535);
}
.modal-service-tag {
  position: absolute;
  top: 18px; left: 18px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 2px;
  padding: 5px 14px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  z-index: 3;
}
.modal-gallery-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s;
}
.modal-gallery-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.modal-gallery-ph svg {
  width: 52px;
  height: 52px;
  color: rgba(0,212,255,0.18);
  stroke-width: 1.1;
}
.modal-gallery-ph span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.modal-gallery-ph small {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.15);
}
.modal-gallery-ph code {
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.12);
  border-radius: 4px;
  padding: 2px 7px;
  font-family: monospace;
  color: rgba(0,212,255,0.4);
  font-size: 0.66rem;
}
/* Thumbnail strip — bottom of left panel */
.modal-gallery-thumbs {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  flex-wrap: wrap;
}
.gal-thumb {
  width: 60px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.25s, transform 0.2s, opacity 0.2s;
  opacity: 0.6;
}
.gal-thumb:hover  { opacity: 1; transform: scale(1.06); }
.gal-thumb.active { border-color: var(--cyan); opacity: 1; }

/* ── RIGHT PANEL: Content ── */
.modal-right {
  display: block;
  overflow-y: auto;
  /* top: 76px lasă spațiu sub butonul X (top:16px + height:38px + 22px respiro) */
  padding: 76px 48px 64px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,212,255,0.2) transparent;
}
.modal-right::-webkit-scrollbar { width: 4px; }
.modal-right::-webkit-scrollbar-thumb { background: rgba(0,212,255,0.2); border-radius: 2px; }

.modal-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(to right, var(--cyan), var(--magenta));
  border-radius: 2px;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.modal-tag { display: none; }

.modal-title {
  font-size: 1.9rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--white);
  line-height: 1.2;
  flex-shrink: 0;
}
#modal-body p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 16px;
}
.modal-target-text {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.modal-subtitle {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 28px 0 14px;
  font-weight: 700;
}
.modal-list { border-top: 1px solid rgba(255,255,255,0.07); }
.modal-list li {
  padding: 11px 0 11px 22px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.modal-list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  top: 14px;
  color: var(--cyan);
  font-size: 0.55rem;
}
.modal-cta {
  margin-top: 36px;
  display: inline-block;
  padding: 13px 34px;
  background: linear-gradient(135deg, var(--sec-blue-light), var(--cyan));
  border-radius: 4px;
  color: white;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.3s;
}
.modal-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,212,255,0.35);
}
.modal-full-page {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.modal-full-page:hover { color: var(--cyan); }

/* ============================================================
   RESCUE DIVISION
   ============================================================ */
.rescue-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.rescue-intro-img {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  height: 380px;
  background:
    url('../images/bg-04.webp') center/cover no-repeat,
    linear-gradient(135deg, #1a0005 0%, #3d0010 50%, #200008 100%);
}
.rescue-intro-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(200,0,0,0.3) 0%,
    rgba(100,0,30,0.15) 100%);
}
.rescue-intro-img .img-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.rescue-intro-img .img-icon svg {
  width: 160px;
  height: 160px;
  color: rgba(255,110,60,0.92);
  stroke-width: 1;
  filter:
    drop-shadow(0 0 18px rgba(255,80,0,0.9))
    drop-shadow(0 0 48px rgba(255,40,0,0.6))
    drop-shadow(0 0 80px rgba(255,120,0,0.35));
  animation: flamePulse 2.4s ease-in-out infinite;
}
@keyframes flamePulse {
  0%, 100% {
    transform: scale(1) translateY(0px);
    filter:
      drop-shadow(0 0 18px rgba(255,80,0,0.9))
      drop-shadow(0 0 48px rgba(255,40,0,0.6))
      drop-shadow(0 0 80px rgba(255,120,0,0.35));
  }
  50% {
    transform: scale(1.08) translateY(-6px);
    filter:
      drop-shadow(0 0 28px rgba(255,120,0,1))
      drop-shadow(0 0 65px rgba(255,60,0,0.75))
      drop-shadow(0 0 110px rgba(255,140,0,0.45));
  }
}
.rescue-intro-text h3 {
  font-size: 1.7rem;
  font-weight: 900;
  color: #ff8080;
  margin-bottom: 20px;
  line-height: 1.2;
}
.rescue-intro-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.rescue-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(255,100,100,0.3);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ff8080;
  margin-top: 20px;
  letter-spacing: 1px;
}
.rescue-badge svg {
  width: 14px; height: 14px;
  color: #ff8080;
  stroke-width: 2;
  flex-shrink: 0;
}

.rescue-config {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,100,100,0.12);
  border-radius: 4px;
  padding: 40px;
  margin-bottom: 60px;
}
.rescue-config-title {
  font-size: 1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ff8080;
  margin-bottom: 28px;
  font-weight: 700;
}
.config-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.config-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.config-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff6060;
  flex-shrink: 0;
  margin-top: 6px;
}

.rescue-solutions {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,100,100,0.12);
  border-radius: 4px;
  padding: 40px;
}
.rescue-solutions-title {
  font-size: 1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ff8080;
  margin-bottom: 28px;
  font-weight: 700;
}
.solutions-list { display: flex; flex-direction: column; gap: 14px; }
.solution-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
}
.solution-item:hover {
  background: rgba(255,100,100,0.06);
  border-color: rgba(255,100,100,0.2);
  color: var(--text-light);
}
.solution-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,100,100,0.12);
  border: 1px solid rgba(255,100,100,0.25);
  font-family: 'Oswald', 'Segoe UI', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ff8080;
  flex-shrink: 0;
}

/* ============================================================
   ABOUT / STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 80px;
}
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  padding: 44px 20px;
  text-align: center;
  transition: all 0.35s;
}
.stat-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-5px);
  border-color: rgba(240,192,32,0.25);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Counter animation states */
.stat-number {
  transition: text-shadow 0.4s ease;
  font-variant-numeric: tabular-nums;
}
.stat-number.stat-animated {
  animation: statFlicker 0.08s steps(1) 6;
}
.stat-number.stat-done {
  text-shadow:
    0 0 20px rgba(240,192,32,0.6),
    0 0 40px rgba(0,212,255,0.3);
  animation: statGlow 1.8s ease-out forwards;
}
@keyframes statFlicker {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}
@keyframes statGlow {
  0%   { text-shadow: 0 0 30px rgba(240,192,32,0.9), 0 0 60px rgba(0,212,255,0.5); }
  100% { text-shadow: 0 0 10px rgba(240,192,32,0.2), 0 0 20px rgba(0,212,255,0.1); }
}

.about-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--white);
}
.about-text p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 14px;
}
.values-list { display: flex; flex-direction: column; gap: 16px; margin-top: 10px; }
.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  transition: all 0.3s;
}
.value-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(240,192,32,0.2);
}
.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: rgba(240,192,32,0.08);
  border: 1px solid rgba(240,192,32,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.value-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  stroke-width: 1.8;
}
.value-item:hover .value-icon {
  background: rgba(240,192,32,0.14);
  border-color: rgba(240,192,32,0.35);
}
.value-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.value-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--white);
}
.contact-info > p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.contact-icon-wrap {
  width: 46px; height: 46px;
  border-radius: 4px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon-wrap svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
  stroke-width: 1.8;
}
.contact-item-body strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.contact-item-body span {
  font-size: 0.95rem;
  color: var(--text-light);
}
.social-row {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}
.social-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: all 0.3s;
  text-decoration: none;
}
.social-btn:hover {
  background: rgba(0,212,255,0.08);
  border-color: rgba(0,212,255,0.3);
  color: var(--cyan);
  transform: translateY(-3px);
}
/* Instagram hover — gradient brand color */
.social-btn.instagram:hover {
  background: linear-gradient(135deg, rgba(240,80,0,0.15), rgba(180,0,120,0.15));
  border-color: rgba(200,50,150,0.5);
  color: #e040a0;
}

/* Clickable phone number */
.phone-link {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 1px;
  transition: all 0.25s;
  text-decoration: none;
}
.phone-link:hover {
  color: var(--white);
  text-shadow: 0 0 16px rgba(0,212,255,0.6);
  letter-spacing: 2px;
}

/* Clickable generic links in contact */
.contact-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
}
.contact-link:hover { color: var(--cyan); }

/* Google Maps embed wrapper */
.map-wrap {
  margin-top: 28px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  position: relative;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  filter: invert(92%) hue-rotate(180deg) saturate(0.8) brightness(0.88);
}
.map-directions-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.5px;
  transition: background 0.25s, color 0.25s;
  text-decoration: none;
}
.map-directions-btn:hover {
  background: rgba(0,212,255,0.08);
  color: var(--white);
}

/* Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  padding: 48px 40px;
}
.contact-form-wrap h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--white);
}
.contact-form-wrap > p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 13px 16px;
  color: var(--white);
  font-size: 0.92rem;
  font-family: 'Inter', inherit;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  background: rgba(0,212,255,0.04);
}
.form-group select option { background: #0d1b3e; color: var(--white); }
.form-group textarea { height: 120px; resize: vertical; }
.btn-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--sec-blue-light), var(--cyan));
  border: none;
  border-radius: 4px;
  color: white;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 6px;
}
.btn-submit:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,212,255,0.3);
}
.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

/* ── Câmp obligatoriu ── */
.req-star { color: var(--cyan); font-weight: 700; }
.contact-req-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 18px;
  padding-left: 2px;
}

/* ── Validare formular ── */
.form-group input.field-error,
.form-group textarea.field-error {
  border-color: #e05050 !important;
  background: rgba(224,80,80,0.06);
  box-shadow: 0 0 0 2px rgba(224,80,80,0.18);
}
.field-hint {
  display: block;
  font-size: 0.73rem;
  color: #e07070;
  margin-top: 4px;
  padding-left: 2px;
}

/* ============================================================
   PARTENERI
   ============================================================ */

.section-partners {
  background:
    linear-gradient(135deg, #05091a 0%, #080d22 50%, #050914 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.section-partners .section-tag { color: var(--gold); }
.section-partners .title-line  { background: linear-gradient(to right, var(--gold), var(--cyan)); }

/* ── Logo ticker ── */
.partners-ticker {
  overflow: hidden;
  position: relative;
  margin-bottom: 72px;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.partners-ticker:hover .partners-track { animation-play-state: paused; }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.partners-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: tickerScroll 28s linear infinite;
}

/* Card logo real */
.partner-logo {
  flex: none;
  width: 180px;
  height: 90px;
  background: white;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.partner-logo:hover {
  border-color: rgba(0,212,255,0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px 16px;
  filter: grayscale(30%);
  transition: filter 0.3s;
}
.partner-logo:hover img {
  filter: grayscale(0%);
}

/* Placeholder (fără logo real) */
.partner-logo-ph {
  flex-direction: column;
  gap: 6px;
  border-style: dashed;
  border-color: rgba(255,255,255,0.12);
  color: var(--text-muted);
}
.partner-logo-ph svg { width: 28px; height: 28px; stroke: var(--text-muted); }
.partner-logo-ph span { font-size: 0.7rem; letter-spacing: 0.5px; }

/* ── Testimoniale ── */
.testimonials-header { text-align: center; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 36px 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.testimonial-card:hover {
  border-color: rgba(240,192,32,0.30);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(240,192,32,0.08);
}

.testimonial-quote-icon {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
  position: absolute;
  top: 12px;
  left: 28px;
  pointer-events: none;
  user-select: none;
}

.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-light);
  padding-top: 28px; /* clearance for quote icon */
  flex: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 18px;
  flex-wrap: wrap;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sec-blue-light), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--white);
  flex: none;
}

.testimonial-info {
  flex: 1;
  min-width: 0;
}
.testimonial-info strong {
  display: block;
  font-size: 0.88rem;
  color: var(--white);
  font-weight: 700;
}
.testimonial-info span {
  font-size: 0.73rem;
  color: var(--text-muted);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  align-self: flex-start;
  padding-top: 2px;
}
.testimonial-stars svg { stroke: var(--gold); fill: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #020609;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand img { height: 64px; margin-bottom: 20px; }
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 270px;
  margin-bottom: 24px;
}
.footer-col h4 {
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 22px;
  font-weight: 700;
}
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.3s;
}
.footer-social a:hover {
  background: rgba(0,212,255,0.08);
  border-color: rgba(0,212,255,0.3);
  color: var(--cyan);
}

/* ============================================================
   SECTION ISOLATION (Security / Rescue mode)
   ============================================================ */

/* When in Security mode — hide Rescue section and its nav item */
body.mode-security #rescue          { display: none !important; }
body.mode-security .nav-item-rescue { display: none !important; }

/* When in Rescue mode — hide Security section and its nav item */
body.mode-rescue   #security           { display: none !important; }
body.mode-rescue   .nav-item-security  { display: none !important; }

/* ============================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ============================================================ */

/* ── Shimmer sweep (applies to all primary buttons) ── */
@keyframes shimmerSweep {
  0%   { left: -80%; }
  100% { left: 160%; }
}
.portal-btn,
.modal-cta,
.btn-submit,
.map-directions-btn {
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.portal-btn::before,
.modal-cta::before,
.btn-submit::before,
.map-directions-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg,
    transparent 0%,
    rgba(255,255,255,0.22) 50%,
    transparent 100%);
  transform: skewX(-18deg);
  pointer-events: none;
  transition: none;
}
.portal-btn:hover::before,
.modal-cta:hover::before,
.btn-submit:hover::before,
.map-directions-btn:hover::before {
  animation: shimmerSweep 0.6s ease forwards;
}

/* nav-cta — no shimmer needed */

/* ── Ripple click effect (via JS) ── */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  transform: scale(0);
  animation: rippleAnim 0.55s linear;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ── Section title-line: animate width on enter ── */
.title-line {
  width: 0 !important;
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.title-line.line-visible {
  width: 56px !important;
}

/* ── Service card: enhanced hover glow ── */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(0,212,255,0.07) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; }

/* card-img-ph: pass clicks through to service-card */
.card-img-ph { pointer-events: none; }
.card-img     { pointer-events: none; }

/* ── Contact items: left-border flash + icon glow on hover ── */
.contact-item {
  transition: transform 0.25s ease;
  border-left: 2px solid transparent;
  padding-left: 10px;
  margin-left: -12px;
  border-radius: 0 8px 8px 0;
}
.contact-item:hover {
  transform: translateX(4px);
  border-left-color: rgba(0,212,255,0.4);
  background: rgba(0,212,255,0.03);
}
.contact-item:hover .contact-icon-wrap {
  background: rgba(0,212,255,0.14);
  border-color: rgba(0,212,255,0.4);
  box-shadow: 0 0 18px rgba(0,212,255,0.15);
}

/* ── Solution items: slide + number glow ── */
.solution-item {
  transition: transform 0.28s ease, background 0.28s, border-color 0.28s;
}
.solution-item:hover {
  transform: translateX(8px);
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(0,212,255,0.2) !important;
}
.solution-num {
  transition: color 0.28s, text-shadow 0.28s;
}
.solution-item:hover .solution-num {
  color: var(--cyan) !important;
  text-shadow: 0 0 16px rgba(0,212,255,0.6);
}

/* ── Config items: dot expand + color ── */
.config-dot {
  transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
}
.config-item:hover .config-dot {
  transform: scale(1.6);
  background: var(--cyan) !important;
  box-shadow: 0 0 8px rgba(0,212,255,0.5);
}
.config-item {
  transition: color 0.25s, transform 0.25s;
}
.config-item:hover {
  color: var(--text-light);
  transform: translateX(5px);
}

/* ── Value items: icon pop on hover ── */
@keyframes iconPop {
  0%   { transform: scale(1) rotate(0deg); }
  40%  { transform: scale(1.2) rotate(-6deg); }
  70%  { transform: scale(1.1) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.value-item:hover .value-icon {
  animation: iconPop 0.45s ease;
  background: rgba(240,192,32,0.18) !important;
  border-color: rgba(240,192,32,0.45) !important;
}

/* ── Rescue badge subtle glow pulse ── */
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,128,128,0); }
  50%       { box-shadow: 0 0 0 6px rgba(255,128,128,0.12); }
}
.rescue-badge {
  animation: badgePulse 3s ease-in-out infinite;
}

/* ── Rescue dotări blocks (autospeciale + echipamente) ── */
.rescue-dotari-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,100,100,0.12);
  border-radius: 4px;
  padding: 40px;
  margin-top: 32px;
}
.rescue-dotari-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.rescue-dotari-icon {
  width: 52px; height: 52px;
  border-radius: 6px;
  background: rgba(255,68,68,0.10);
  border: 1px solid rgba(255,100,100,0.22);
  display: flex; align-items: center; justify-content: center;
  color: #ff8080;
  flex-shrink: 0;
}
.rescue-dotari-icon svg { width: 24px; height: 24px; }
.rescue-dotari-title {
  font-family: 'Oswald', 'Segoe UI', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin: 4px 0 0;
  letter-spacing: 0.5px;
}
.rescue-dotari-text {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 820px;
}

/* ── Photo grid ── */
.rescue-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rescue-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.rescue-photo-grid img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

/* Placeholder când nu există poze */
.rescue-photo-ph {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  border: 1px dashed rgba(255,100,100,0.2);
  background: rgba(255,68,68,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.18);
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.rescue-photo-ph .ph-icon { width: 28px; height: 28px; opacity: 0.25; }

@media (max-width: 768px) {
  .rescue-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .rescue-dotari-block { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .rescue-photo-grid { grid-template-columns: 1fr; }
}

/* ── Modal list items: hover highlight ── */
.modal-list li {
  transition: color 0.2s, padding-left 0.2s, background 0.2s;
  border-radius: 0 6px 6px 0;
}
.modal-list li:hover {
  color: var(--text-light);
  padding-left: 28px;
  background: rgba(0,212,255,0.04);
}
.modal-list li::before {
  transition: color 0.2s, transform 0.2s;
}
.modal-list li:hover::before {
  color: var(--cyan);
  transform: translateX(3px);
}

/* ── Footer links hover underline ── */
.footer-col a {
  position: relative;
  padding-bottom: 2px;
}
.footer-col a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width 0.3s ease;
}
.footer-col a:hover::after { width: 100%; }
.footer-col a:hover { color: var(--white); }

/* ── Portal logo: enhanced drop-shadow on hover ── */
.portal-security:hover .portal-logo {
  filter: drop-shadow(0 0 36px rgba(0,212,255,0.8));
}
.portal-rescue:hover .portal-logo {
  filter: drop-shadow(0 0 36px rgba(255,80,0,0.8));
}

/* ── Form input animated focus line ── */
.form-group input,
.form-group select,
.form-group textarea {
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08), 0 0 16px rgba(0,212,255,0.05);
}

/* ── Stat card hover lift ── */
.stat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  border-color: rgba(0,212,255,0.25);
}

/* ============================================================
   DIRECTION A — Military Precision Extras
   ============================================================ */

/* ── Stat card icon ── */
.stat-icon {
  width: 48px; height: 48px;
  border-radius: 4px;
  background: rgba(240,192,32,0.08);
  border: 1px solid rgba(240,192,32,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: all 0.35s;
}
.stat-icon svg {
  width: 22px; height: 22px;
  color: var(--gold);
  stroke-width: 1.8;
}
.stat-card:hover .stat-icon {
  background: rgba(240,192,32,0.14);
  border-color: rgba(240,192,32,0.35);
  box-shadow: 0 0 18px rgba(240,192,32,0.15);
}

/* ── Portal trust bar ── */
.portal-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
}
.portal-security .portal-trust { color: rgba(0,212,255,0.45); }
.portal-rescue   .portal-trust { color: rgba(255,112,112,0.45); }
.pt-dot {
  font-size: 0.9rem;
  opacity: 0.5;
  line-height: 1;
}

/* ── Portal license link ── */
.portal-lic-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(0,212,255,0.55);
  text-decoration: none;
  padding: 5px 14px;
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: 3px;
  background: rgba(0,212,255,0.05);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  pointer-events: all;
  position: relative;
  z-index: 2;
}
.portal-lic-link:hover {
  color: var(--cyan);
  border-color: rgba(0,212,255,0.4);
  background: rgba(0,212,255,0.10);
}
.portal-lic-rescue {
  color: rgba(255,96,96,0.55);
  border-color: rgba(255,96,96,0.18);
  background: rgba(255,96,96,0.05);
}
.portal-lic-rescue:hover {
  color: #ff8080;
  border-color: rgba(255,96,96,0.4);
  background: rgba(255,96,96,0.10);
}

/* ============================================================
   RESPONSIVE — comprehensive multi-breakpoint
   ============================================================ */

/* ── Tablet landscape: 1024px ── */
@media (max-width: 1024px) {
  .container          { padding: 0 32px; }
  .services-grid      { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-text-grid    { gap: 40px; }
  .contact-grid       { gap: 40px; }
  .portal-title       { font-size: 2.2rem; }
  /* Modal stays 2 columns but slimmer padding */
  .modal-right        { padding: 68px 32px 56px; }
  .modal-title        { font-size: 1.65rem; }
  .card-img-wrap      { height: 140px; }
}

/* ── Tablet portrait: 900px ── */
@media (max-width: 900px) {
  :root { --nav-height: 68px; }

  /* --- Parteneri --- */
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
  .partner-logo      { width: 150px; height: 76px; }

  /* --- Navbar --- */
  #navbar { padding: 0 20px; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(5, 9, 20, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 28px 24px 36px;
    gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    z-index: 999;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    width: 100%;
  }
  .nav-links a::after { display: none; }
  .nav-cta {
    margin-top: 12px;
    text-align: center;
    padding: 12px 24px !important;
    border-radius: 10px !important;
  }
  .hamburger { display: flex; }

  /* --- Grids → single column --- */
  .about-text-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid    { grid-template-columns: 1fr; gap: 36px; }
  .rescue-intro    { grid-template-columns: 1fr; gap: 36px; }
  .form-row        { grid-template-columns: 1fr; gap: 0; }

  /* --- Sections --- */
  .section         { padding: 72px 0; }
  .section-header  { margin-bottom: 52px; }
  .container       { padding: 0 20px; }

  /* --- Portal --- */
  .portal-content  { padding: 28px 20px; max-width: 340px; }
  .portal-logo     { width: 90px; height: 90px; margin-bottom: 18px; }

  /* --- Modal: stivuire verticala pe tablet portrait --- */
  .modal-box       {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 1fr;
    height: 90vh;
    border-radius: 4px;
  }
  .modal-right     { padding: 64px 26px 48px; }
  .modal-title     { font-size: 1.45rem; }

  /* --- Config grid → single col on tablet --- */
  .config-grid     { grid-template-columns: 1fr; }

  /* --- Footer --- */
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand    { grid-column: 1 / -1; }
  .footer-brand p  { max-width: 100%; }
}

/* ── Mobile: 640px ── */
@media (max-width: 640px) {
  :root { --nav-height: 62px; }

  /* --- Parteneri --- */
  .partner-logo        { width: 130px; height: 68px; }
  .testimonial-card    { padding: 28px 20px 22px; }
  .testimonial-text    { font-size: 0.85rem; }

  /* --- Hero stacks vertically --- */
  #hero                { flex-direction: column; }
  .portal              { flex: none; height: 50vh; min-height: 320px; width: 100%; }
  .portal-divider      { width: 100%; height: 2px; min-width: unset; }
  .portal:hover        { flex: none; }     /* disable flex-grow on touch */
  .portal-content      { padding: 24px 16px; max-width: 100%; }
  .portal-logo         { width: 80px; height: 80px; margin-bottom: 14px; }
  .portal-title        { font-size: 1.7rem; letter-spacing: 2px; }
  .portal-tagline      { font-size: 0.72rem; }
  .portal-services     { display: none; }  /* hide on very small screens */
  .portal-btn          { padding: 11px 28px; font-size: 0.78rem; }

  /* --- Typography --- */
  .section-title  { font-size: 1.7rem; }
  .section-desc   { font-size: 0.92rem; }

  /* --- Service cards: 1 column --- */
  .services-grid  { grid-template-columns: 1fr; gap: 16px; }
  .service-card   { padding: 28px 22px; }
  .card-img-wrap  { margin: -28px -22px 20px -22px; height: 150px; }
  /* --- Modal: full-page bottom sheet on mobile --- */
  .modal-overlay  { align-items: flex-end; padding: 0; }
  .modal-box      {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 1fr;
    width: 100vw;
    height: 92vh;
    border-radius: 4px 4px 0 0;
  }
  .modal-right    { padding: 56px 20px 48px; }
  .modal-title    { font-size: 1.3rem; }

  /* --- Stats: 2 columns --- */
  .stats-grid              { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-card               { padding: 28px 12px; }
  .stat-number             { font-size: 2.2rem; }

  /* --- Rescue --- */
  .rescue-intro-img        { height: 220px; }
  .config-grid             { grid-template-columns: 1fr; gap: 10px; }

  /* --- Contact form --- */
  .contact-form-wrap       { padding: 28px 18px; }

  /* --- Footer: single column --- */
  .footer-grid             { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom           { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  footer                   { padding: 52px 0 24px; }

  /* --- Modal --- */
  .modal-overlay           { padding: 12px; align-items: flex-end; }
  .modal-box               { padding: 28px 18px; border-radius: 4px 4px 0 0; max-height: 90vh; }
  .modal-title             { font-size: 1.3rem; }

  /* --- Navbar --- */
  #navbar                  { padding: 0 16px; }
  .nav-logo img            { height: 44px; }
}

/* ── Very small phones: 380px ── */
@media (max-width: 380px) {
  .portal-title   { font-size: 1.4rem; }
  .section-title  { font-size: 1.4rem; }
  .stats-grid     { grid-template-columns: 1fr; }
  .stat-number    { font-size: 2.8rem; }
  .portal         { min-height: 280px; }
  .container      { padding: 0 14px; }
}

/* ── Touch devices: disable hover expansion of portals ── */
@media (hover: none) {
  .portal:hover { flex: 1; }
  .service-card:hover { transform: none; }
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */

/* ── Language switcher button ── */
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 11px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
  flex-shrink: 0;
}
.lang-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
  text-decoration: none;
}
html[data-theme="light"] .lang-btn {
  border-color: rgba(0,0,0,0.14);
  background: rgba(0,0,0,0.04);
  color: #475569;
}
html[data-theme="light"] .lang-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,150,200,0.07);
}

#theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  color: var(--text-muted);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
  flex-shrink: 0;
}
#theme-toggle-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
}
#theme-toggle-btn svg {
  width: 16px; height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-icon-moon { display: none; }
.theme-icon-sun  { display: block; }

/* ============================================================
   LIGHT THEME — html[data-theme="light"]
   ============================================================ */
html[data-theme="light"] {
  --dark-bg:        #f0f4fb;
  --sec-blue:       #dce6f5;
  --sec-blue-light: #bdd0ee;
  --text-light:     #0f172a;
  --text-muted:     #475569;
  --card-bg:        rgba(255,255,255,0.85);
  --card-border:    rgba(0,0,0,0.10);
  --white:          #ffffff;
  --gold:           #c9870d;
  --cyan:           #0099bb;
}

/* Body */
html[data-theme="light"] body {
  background: #f0f4fb;
  color: #0f172a;
}

/* Scrollbar */
html[data-theme="light"] ::-webkit-scrollbar-track { background: #e8edf6; }
html[data-theme="light"] ::-webkit-scrollbar-thumb { background: #93afd4; }

/* ── Navbar ── */
html[data-theme="light"] #navbar {
  background: rgba(255,255,255,0.96);
  border-bottom-color: rgba(0,0,0,0.10);
}
html[data-theme="light"] #navbar.scrolled {
  background: rgba(255,255,255,0.99);
  border-bottom-color: rgba(0,153,187,0.25);
}
html[data-theme="light"] .nav-links a { color: #475569; }
html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .nav-links a.active,
html[data-theme="light"] .nav-links a.nav-active { color: #0f172a; }
html[data-theme="light"] .nav-logo-text span:last-child { color: #64748b; }
html[data-theme="light"] .nav-cta {
  color: #0f172a !important;
  border-color: rgba(0,0,0,0.25);
}
html[data-theme="light"] .nav-cta:hover { color: #0099bb !important; border-color: #0099bb; }
html[data-theme="light"] .hamburger span { background: #334155; }
html[data-theme="light"] #theme-toggle-btn {
  border-color: rgba(0,0,0,0.18);
  background: rgba(0,0,0,0.04);
  color: #475569;
}
html[data-theme="light"] #theme-toggle-btn:hover {
  border-color: #0099bb;
  color: #0099bb;
  background: rgba(0,153,187,0.08);
}

/* Mobile nav */
html[data-theme="light"] .nav-links.open {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* ── Sections ── */
html[data-theme="light"] .section-dark { background: #f0f4fb; }

html[data-theme="light"] .section-navy {
  background: linear-gradient(135deg, #dce6f5 0%, #c5d8ef 50%, #b0cce8 100%) !important;
}
html[data-theme="light"] .section-navy .bg-overlay {
  background: rgba(220,230,245,0.55) !important;
}

html[data-theme="light"] .section-crimson {
  background: linear-gradient(135deg, #fde8e8 0%, #fbd2d2 50%, #f7bcbc 100%) !important;
}
html[data-theme="light"] .section-crimson .bg-overlay {
  background: rgba(253,232,232,0.55) !important;
}

html[data-theme="light"] .section-mixed {
  background: linear-gradient(135deg, #e8edf8 0%, #ede8f5 50%, #e8f0e8 100%) !important;
}
html[data-theme="light"] .section-mixed .bg-overlay {
  background: rgba(232,237,248,0.55) !important;
}

/* ── Section text ── */
html[data-theme="light"] .section-title { color: #0f172a; }
html[data-theme="light"] .section-desc  { color: #475569; }
html[data-theme="light"] .section-tag   { color: #0099bb; }
html[data-theme="light"] .section-dark .section-tag { color: #c9870d; }
html[data-theme="light"] .section-crimson .section-tag { color: #c0392b; }
html[data-theme="light"] .section-crimson .section-title { color: #1a0a0a; }
html[data-theme="light"] .section-crimson .section-desc  { color: #4a2020; }

/* Title lines */
html[data-theme="light"] .section-dark .title-line {
  background: linear-gradient(to right, #c9870d, #0099bb);
}

/* ── Hero brand tag ── */
html[data-theme="light"] .hero-brand-tag {
  background: rgba(255,255,255,0.82);
  border-color: rgba(0,0,0,0.12);
}
html[data-theme="light"] .hero-brand-name { color: #c9870d; }
html[data-theme="light"] .hero-brand-since { color: rgba(0,0,0,0.5); }

/* ── Service Cards ── */
html[data-theme="light"] .service-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.09);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
html[data-theme="light"] .service-card:hover {
  background: #fff;
  border-color: rgba(0,153,187,0.35);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
html[data-theme="light"] .service-name { color: #0f172a; }
html[data-theme="light"] .service-desc { color: #475569; }
html[data-theme="light"] .service-more { color: #0099bb; }
html[data-theme="light"] .service-icon {
  background: rgba(0,153,187,0.08);
  border-color: rgba(0,153,187,0.20);
}
html[data-theme="light"] .service-icon svg { color: #0099bb; }
html[data-theme="light"] .card-img-ph {
  background: linear-gradient(160deg, rgba(200,215,235,0.96) 0%, rgba(180,205,230,0.9) 100%);
  border-bottom-color: rgba(0,153,187,0.15);
}
html[data-theme="light"] .card-img-ph svg { color: rgba(0,153,187,0.4); }
html[data-theme="light"] .card-img-ph span { color: rgba(0,0,0,0.35); }

/* ── Stats ── */
html[data-theme="light"] .stat-number { color: #0099bb; }
html[data-theme="light"] .stat-label  { color: #475569; }
html[data-theme="light"] .stat-divider { background: rgba(0,0,0,0.08); }

/* ── About section ── */
html[data-theme="light"] .about-text h3,
html[data-theme="light"] .about-text h2 { color: #0f172a; }
html[data-theme="light"] .about-text p  { color: #475569; }
html[data-theme="light"] .about-tag     { color: #0099bb; }
html[data-theme="light"] .cert-card {
  background: #fff;
  border-color: rgba(0,0,0,0.09);
}
html[data-theme="light"] .cert-name  { color: #0f172a; }
html[data-theme="light"] .cert-label { color: #475569; }

/* ── Partners ── */
html[data-theme="light"] .partner-logo {
  background: #ffffff;
  border-color: rgba(0,0,0,0.09);
  filter: none;
}
html[data-theme="light"] .partner-logo:hover { border-color: rgba(0,153,187,0.3); }

/* ── Contact section ── */
html[data-theme="light"] .contact-info h3   { color: #0f172a; }
html[data-theme="light"] .contact-info p    { color: #475569; }
html[data-theme="light"] .contact-item      { color: #334155; }
html[data-theme="light"] .contact-item svg  { stroke: #0099bb; }
html[data-theme="light"] .contact-form-wrap h3 { color: #0f172a; }
html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group textarea,
html[data-theme="light"] .form-group select {
  background: #fff;
  border-color: rgba(0,0,0,0.18);
  color: #0f172a;
}
html[data-theme="light"] .form-group input::placeholder,
html[data-theme="light"] .form-group textarea::placeholder { color: #94a3b8; }
html[data-theme="light"] .form-group input:focus,
html[data-theme="light"] .form-group textarea:focus {
  border-color: #0099bb;
  background: #fff;
}
html[data-theme="light"] .form-group label { color: #475569; }

/* ── Footer ── */
html[data-theme="light"] footer,
html[data-theme="light"] .footer-bottom {
  background: #1e293b;
}
html[data-theme="light"] .footer-bottom { border-top-color: rgba(255,255,255,0.08); }

/* ── Modal ── */
html[data-theme="light"] .modal-overlay { background: rgba(0,0,0,0.6); }
html[data-theme="light"] .modal-box {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
}
html[data-theme="light"] .modal-title   { color: #0f172a; }
html[data-theme="light"] .modal-tag     { color: #0099bb; }
html[data-theme="light"] .modal-desc    { color: #475569; }
html[data-theme="light"] .modal-close {
  color: #475569;
  border-color: rgba(0,0,0,0.15);
}
html[data-theme="light"] .modal-close:hover { color: #0f172a; border-color: rgba(0,0,0,0.3); }
html[data-theme="light"] .modal-feat-item { color: #334155; }
html[data-theme="light"] .modal-feat-icon {
  background: rgba(0,153,187,0.08);
  border-color: rgba(0,153,187,0.20);
}
html[data-theme="light"] .modal-gallery-ph {
  background: #f0f4fb;
  border-color: rgba(0,0,0,0.1);
  color: #94a3b8;
}
html[data-theme="light"] .modal-section-title { color: #64748b; }

/* ── Rescue section ── */
html[data-theme="light"] .rescue-intro-text h3 { color: #1a0a0a; }
html[data-theme="light"] .rescue-intro-text p  { color: #4a2020; }
html[data-theme="light"] .rescue-config-title  { color: #1a0a0a; }
html[data-theme="light"] .rescue-solutions-title { color: #1a0a0a; }
html[data-theme="light"] .rescue-card {
  background: rgba(255,255,255,0.7);
  border-color: rgba(180,0,0,0.15);
}
html[data-theme="light"] .rescue-card-name  { color: #1a0a0a; }
html[data-theme="light"] .rescue-card-desc  { color: #4a2020; }

/* ── Cookie banner ── */
html[data-theme="light"] #cookie-banner {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
  color: #334155;
}

/* ── Noutăți page ── */
html[data-theme="light"] .nou-card {
  background: #fff;
  border-color: rgba(0,0,0,0.09);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
html[data-theme="light"] .nou-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border-color: rgba(0,153,187,0.25);
}
html[data-theme="light"] .nou-card-title  { color: #0f172a; }
html[data-theme="light"] .nou-card-excerpt { color: #475569; }
html[data-theme="light"] .nou-card-meta   { color: #64748b; }
html[data-theme="light"] .nou-card-link   { color: #0099bb; }
html[data-theme="light"] .nou-hero-title  { color: #0f172a; }
html[data-theme="light"] .nou-hero-desc   { color: #475569; }
html[data-theme="light"] .nou-filter-btn {
  background: #fff;
  border-color: rgba(0,0,0,0.14);
  color: #475569;
}
html[data-theme="light"] .nou-filter-btn.active {
  background: #0099bb;
  border-color: #0099bb;
  color: #fff;
}
html[data-theme="light"] .nou-count { color: #64748b; }
html[data-theme="light"] .nou-empty p { color: #64748b; }

/* ── Service pages ── */
html[data-theme="light"] .breadcrumb-bar {
  background: rgba(255,255,255,0.96);
  border-bottom-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .breadcrumb a    { color: #475569; }
html[data-theme="light"] .breadcrumb span { color: #334155; }

html[data-theme="light"] .svc-hero.section-navy {
  background: linear-gradient(135deg, #dce6f5, #b0cce8) !important;
}
html[data-theme="light"] .svc-hero.has-photo-bg .bg-overlay {
  background: transparent !important;
}
html[data-theme="light"] .svc-hero .svc-tag      { color: #0099bb; }
html[data-theme="light"] .svc-hero .svc-title     { color: #0f172a; }
html[data-theme="light"] .svc-hero .svc-lead      { color: #475569; }

html[data-theme="light"] .svc-section-title { color: #0f172a; border-color: rgba(0,0,0,0.08); }
html[data-theme="light"] .svc-body-text p   { color: #475569; }

html[data-theme="light"] .svc-contact-card {
  background: rgba(0,153,187,0.06);
  border-color: rgba(0,153,187,0.20);
}
html[data-theme="light"] .svc-contact-card-header { color: #0099bb; }
html[data-theme="light"] .svc-big-phone            { color: #0f172a; }
html[data-theme="light"] .svc-contact-card p       { color: #475569; }

html[data-theme="light"] .svc-info-box {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.09);
}
html[data-theme="light"] .svc-info-box h3  { color: #0f172a; }
html[data-theme="light"] .svc-info-list li { color: #475569; }
html[data-theme="light"] .svc-info-list svg { stroke: #0099bb; }

html[data-theme="light"] .rel-card {
  background: #fff;
  border-color: rgba(0,0,0,0.09);
  color: #334155;
}
html[data-theme="light"] .rel-card:hover {
  border-color: rgba(0,153,187,0.30);
  background: rgba(0,153,187,0.04);
}
html[data-theme="light"] .rel-card-name  { color: #0f172a; }

html[data-theme="light"] .svc-gallery    { background: #e8edf6; border-top-color: rgba(0,153,187,0.12); }
html[data-theme="light"] .svc-gallery-title { color: #0f172a; }
html[data-theme="light"] .svc-photo-item { background: #d0daea; }
html[data-theme="light"] .svc-photo-item img { opacity: 0.92; }

/* ── Article pages ── */
html[data-theme="light"] .art-hero {
  background: linear-gradient(180deg, #e0e9f8 0%, #f0f4fb 100%);
  border-bottom-color: rgba(0,153,187,0.12);
}
html[data-theme="light"] .art-cat-badge { color: #0099bb; }
html[data-theme="light"] .art-title     { color: #0f172a; }
html[data-theme="light"] .art-meta      { color: rgba(71,85,105,0.7); }
html[data-theme="light"] .art-body h2   { color: #0f172a; border-bottom-color: rgba(0,0,0,0.08); }
html[data-theme="light"] .art-body h3   { color: #334155; }
html[data-theme="light"] .art-body p    { color: #334155; }
html[data-theme="light"] .art-body a    { color: #0099bb; }
html[data-theme="light"] .art-body li   { color: #334155; }
html[data-theme="light"] .art-faq {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.09);
}
html[data-theme="light"] .art-faq-q  { color: #0f172a; }
html[data-theme="light"] .art-cta-box {
  background: rgba(0,153,187,0.07);
  border-color: rgba(0,153,187,0.20);
}

/* ── Buttons ── */
html[data-theme="light"] .btn {
  background: #0099bb;
  border-color: #0099bb;
  color: #fff;
}
html[data-theme="light"] .btn:hover {
  background: #007a99;
  border-color: #007a99;
}

/* ── Licențe page ── */
html[data-theme="light"] .lic-hero {
  background: linear-gradient(135deg, #dce6f5 0%, #b0cce8 100%) !important;
}
html[data-theme="light"] .lic-hero .lic-hero-title { color: #0f172a; }
html[data-theme="light"] .lic-card {
  background: #fff;
  border-color: rgba(0,0,0,0.09);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
html[data-theme="light"] .lic-card:hover {
  border-color: rgba(0,153,187,0.30);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}
html[data-theme="light"] .lic-card-title { color: #0f172a; }
html[data-theme="light"] .lic-card-meta  { color: #64748b; }
html[data-theme="light"] .lic-lb-inner {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
}
html[data-theme="light"] .lic-tab-btn {
  background: #fff;
  border-color: rgba(0,0,0,0.14);
  color: #475569;
}
html[data-theme="light"] .lic-tab-btn.active {
  background: #0099bb;
  border-color: #0099bb;
  color: #fff;
}

/* ── Noutăți page — additional overrides ── */
html[data-theme="light"] .nou-hero {
  background: linear-gradient(160deg, #dce6f5 0%, #f0f4fb 55%) !important;
}
html[data-theme="light"] .nou-hero::before {
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,153,187,0.06) 0%, transparent 70%) !important;
}
html[data-theme="light"] .nou-page-tag {
  color: #0099bb;
  border-color: rgba(0,153,187,0.30);
  background: rgba(0,153,187,0.06);
}
html[data-theme="light"] .nou-page-title { color: #0f172a; }
html[data-theme="light"] .nou-page-lead  { color: #475569; }
html[data-theme="light"] .nou-section    { background: #f0f4fb; }
html[data-theme="light"] .nou-img-wrap   { background: #dce6f5; }
html[data-theme="light"] .nou-img-overlay {
  background: linear-gradient(to bottom, transparent 50%, rgba(240,244,251,0.6) 100%);
}
html[data-theme="light"] .nou-card-excerpt { color: #475569 !important; }
html[data-theme="light"] .nou-card-title   { color: #0f172a !important; }
html[data-theme="light"] .nou-cat-badge {
  background: rgba(0,153,187,0.12);
  border-color: rgba(0,153,187,0.30);
  color: #0099bb;
}
html[data-theme="light"] .nou-filter-btn:hover { color: #0f172a; }

/* Light mode: photo-bg elements get the theme gradient via the .section-navy / .svc-hero.section-navy
   rules above (background: gradient !important overrides the inline photo URL).
   No extra rules needed here — the gradient approach handles everything. */


/* ── Team Section (Despre Noi) ── */
.team-section {
  margin-top: 4rem;
}
.team-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
  text-align: center;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
}
.team-grid--bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 75%;
  margin: 1.5rem auto 0;
}
@media (max-width: 1024px) {
  .team-grid--bottom { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
}
@media (max-width: 600px) {
  .team-grid--bottom { grid-template-columns: 1fr; max-width: 100%; }
}
.team-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.team-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.team-avatar--gold   { background: rgba(240,192,32,0.15); color: var(--gold); border: 2px solid rgba(240,192,32,0.4); }
.team-avatar--cyan   { background: rgba(0,212,255,0.12); color: var(--cyan); border: 2px solid rgba(0,212,255,0.35); }
.team-avatar--silver { background: rgba(180,190,210,0.12); color: #b4bece; border: 2px solid rgba(180,190,210,0.3); }
.team-info { width: 100%; }
.team-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}
.team-role {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.team-bio {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin: 0 0 0.75rem;
}
.team-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
}
.team-social a:hover { background: var(--cyan); color: #000; }
.team-avatar-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin-bottom: 1rem;
  border: 2px solid rgba(0,212,255,0.35);
  flex-shrink: 0;
}

/* Light mode overrides — team */
html[data-theme="light"] .team-card {
  background: rgba(255,255,255,0.85);
  border-color: rgba(0,0,0,0.08);
}
html[data-theme="light"] .team-card:hover { border-color: rgba(0,153,187,0.4); }
html[data-theme="light"] .team-name { color: #0f172a; }
html[data-theme="light"] .team-bio  { color: #475569; }
html[data-theme="light"] .team-social a { background: rgba(0,0,0,0.06); color: #475569; }
html[data-theme="light"] .team-social a:hover { background: #0099bb; color: #fff; }
