/* Reset & tipografie */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #222222;
  background: #f4f6fb;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Variabile */
:root {
  --bg-dark: #0f2027;
  --bg-dark2: #203a43;
  --bg-dark3: #2c5364;
  --primary: #ff6600;
  --primary-hover: #e65c00;
  --text-light: #ffffff;
  --text-muted: #667085;
  --card-bg: #ffffff;
  --shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --container: 1200px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--bg-dark); color: var(--text-light);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; box-shadow: 0 4px 16px rgba(8, 36, 197, 0.2);
}
.logo { height: 30px; border-radius: var(--radius-sm); }
.menu-btn {
  background: #0078D7; border: 1px solid rgba(9, 68, 230, 0.35);
  color: var(--text-light); font-size: 1.2rem; padding: 8px 12px;
  border-radius: var(--radius-sm); cursor: pointer;
}
.menu-btn:hover { background: rgba(6, 106, 238, 0.788); }
.mobile-nav {
  display: none; width: 100%;
  background: linear-gradient(180deg, var(--bg-dark), var(--bg-dark2));
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav ul { list-style: none; padding: 10px 20px 20px; }
.mobile-nav li { margin: 8px 0; }
.mobile-nav a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text-light); }
.mobile-nav a:hover { background: rgba(24, 10, 226, 0.877); }

/* Hero */
.hero {
  position: relative; text-align: center;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark2), var(--bg-dark3));
}
.hero-image {
  width: 100%; height: 420px; object-fit: cover;
  opacity: 0.25; mix-blend-mode: screen;
}
.hero-text { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; }
.hero-text h1 {
  color: var(--text-light); font-size: 2.5rem; margin-bottom: 12px; text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero-text p { color: #e6edf5; font-size: 1.1rem; margin-bottom: 18px; }
.btn {
  display: inline-block; background: var(--primary); color: var(--text-light);
  padding: 12px 22px; border-radius: var(--radius-md); font-weight: 600;
  box-shadow: var(--shadow); transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { background: var(--primary-hover); transform: translateY(-2px); }

/* Carusel */
.homepage-carousel { margin: 32px auto 0; }

.carousel-container {
  position: relative; 
  overflow: hidden; 
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow); 
  background: #0b1321; 
  max-width: 901px; 
  margin: 0 auto;
}

.carousel-track { 
  display: flex; 
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-track img { 
  width: 110%;
  min-width: 100%; 
  height: 600px; 
  object-fit: contain;
  object-position: center;
  filter: saturate(1.05) contrast(1.05); 
}

/* ðŸ”¥ OPTIMIZARE PENTRU MOBIL */
@media (max-width: 768px) {

  .carousel-container {
    max-width: 90%;
    height: auto; /* containerul devine fluid */
  }

  .carousel-track img {
    width: 100%;      /* nu mai forÈ›Äƒm 110% */
    min-width: 100%;
    height: auto;     /* cheia pentru mobil */
    object-fit: contain;
    object-position: center;
  }
}

.carousel-btn {
  position: absolute; 
  top: 50%; 
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15); 
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); /* Suport pentru Safari */
  color: #ffffff; /* ForÈ›Äƒm alb dacÄƒ var nu e definit */
  border: 1px solid rgba(255,255,255,0.2); /* AdÄƒugÄƒm o bordurÄƒ finÄƒ pentru vizibilitate */
  font-size: 1.8rem;
  width: 50px; /* LÄƒÈ›ime fixÄƒ pentru cerc perfect */
  height: 50px; /* ÃŽnÄƒlÈ›ime fixÄƒ pentru cerc perfect */
  display: flex; /* Centrare simbol Ã®n interior */
  align-items: center;
  justify-content: center;
  border-radius: 50%; 
  cursor: pointer; 
  z-index: 100; /* ESENÈšIAL: Aduce butonul deasupra imaginilor */
  transition: all 0.3s ease;
}

.carousel-btn:hover { 
  background: rgba(255,255,255,0.3); 
  transform: translateY(-50%) scale(1.1); 
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

/* Responsive: MicÈ™orÄƒm butoanele pe mobil */
@media (max-width: 768px) {
  .carousel-btn { width: 40px; height: 40px; font-size: 1.2rem; }
  .carousel-track img { height: 350px; }
}

/* Carduri HOME*/
.homepage-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: var(--container); margin: 42px auto; padding: 0 20px;
}
.card {
  background: var(--card-bg); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 22px; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(16, 24, 40, 0.18); }
.card h2 { font-size: 1.3rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); margin-bottom: 16px; }
.cta-button {
  display: inline-block; padding: 10px 16px; background: #1f6feb; color: var(--text-light);
  border-radius: var(--radius-md); font-weight: 600; transition: background 0.2s ease, transform 0.2s ease;
}
.cta-button:hover { background: #165ad9; transform: translateY(-2px); }

/* Banner cookies */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  background: #1a1f2b; color: var(--text-light);
  padding: 18px; text-align: center;
  transform: translateY(100%); transition: transform 0.35s ease;
  box-shadow: 0 -12px 24px rgba(16, 24, 40, 0.24);
}
.cookie-banner.active { transform: translateY(0); }
.cookie-form { max-width: 900px; margin: 0 auto; }
.cookie-text { margin-bottom: 8px; color: #d6dee7; }
.cookie-text a { color: #00ffff; text-decoration: underline; }
.cookie-options {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 12px 0 14px;
}
.cookie-card {
  background: #242a38; color: #e9eef5; padding: 10px 14px; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; gap: 8px;
}
.cookie-card input { accent-color: #00ffff; }
.cookie-actions { display: flex; gap: 12px; justify-content: center; }
.cookie-btn {
  border: none; font-weight: 700; padding: 10px 18px; border-radius: var(--radius-sm); cursor: pointer;
}
.cookie-btn.primary { background: #00ffff; color: #0b1321; }
.cookie-btn.secondary { background: #374056; color: #e9eef5; }
.cookie-btn.settings {
  background: #0078D7; color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); border: none; cursor: pointer;
}

/* Footer (nu acoperÄƒ bannerul) */
.site-footer {
  position: relative;
  z-index: 1;
  background: #0b1321; color: var(--text-light);
  padding: 20px; text-align: center; margin-top: 40px;
}
.site-footer p { margin-bottom: 10px; color: #c7d2e6; }
.site-footer a {
  display: inline-block; margin: 0 8px; padding: 6px 10px; border-radius: var(--radius-sm);
  color: #a9c7ff; border: 1px dashed rgba(169,199,255,0.35);
}
.site-footer a:hover { background: rgba(255,255,255,0.06); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-image { height: 380px; }
  .homepage-cards { grid-template-columns: repeat(2, 1fr); }
  .carousel-track img { height: 340px; }
}
@media (max-width: 768px) {
  .hero-image { height: 340px; }
  .hero-text h1 { font-size: 2.1rem; }
  .hero-text p { font-size: 1rem; }
  .homepage-cards { grid-template-columns: 1fr; gap: 18px; }
  .carousel-container { border-radius: var(--radius-md); }
  .carousel-track img { height: 300px; }
}
@media (max-width: 480px) {
  .menu-btn { font-size: 1rem; padding: 6px 10px; }
  .logo { height: 42px; }
  .hero-image { height: 300px; }
  .hero-text h1 { font-size: 1.8rem; }
  .btn { padding: 10px 18px; }
  .carousel-btn { font-size: 1.5rem; }
  .carousel-track img { height: 240px; }
  .card { padding: 18px; }
}

@media (max-width: 480px) {
  .hero {
    min-height: 420px; /* cheia pentru telefoane slabe */
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero-image {
    height: 100%;
  }
}

/* Container styling with higher specificity */
section.social-media-section {
  background: #0f2027;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}

section.social-media-section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

section.social-media-section p {
  font-size: 1.1rem;
  color: #c7d2e6;
  margin-bottom: 24px;
}

/* Buttons row */
section.social-media-section .social-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* CTA buttons */
section.social-media-section .cta-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 6px 18px rgba(16,24,40,0.16);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

/* Icon size inside buttons */
section.social-media-section .cta-social .icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

/* Platform colors */
section.social-media-section .cta-social.facebook { background: #1877F2; }
section.social-media-section .cta-social.instagram {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}
section.social-media-section .cta-social.linkedin { background: #0A66C2; }
section.social-media-section .cta-social.youtube { background: #FF0000; }

/* Interactions */
section.social-media-section .cta-social:hover,
section.social-media-section .cta-social:focus-visible {
  transform: translateY(-2px);
  opacity: 0.96;
  box-shadow: 0 10px 22px rgba(16,24,40,0.24);
  outline: none;
}

/* Mobile stack */
@media (max-width: 640px) {
  section.social-media-section .cta-social {
    width: calc(100% - 32px);
    justify-content: center;
  }
}

/* Optional: ensure icons don't inherit unwanted fills */
section.social-media-section .cta-social .icon path,
section.social-media-section .cta-social .icon rect {
  vector-effect: non-scaling-stroke;
}
/* Container general */
.social-media-section {
  background: #0f2027;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}

/* Titlu È™i subtitlu */
.social-media-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}
.social-media-section p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #c7d2e6;
  margin-bottom: 24px;
}

/* Container butoane */
.social-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 0 10px;
}

/* Stil buton CTA */
.cta-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 6px 18px rgba(16,24,40,0.16);
  transition: transform 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

/* Icon SVG */
.cta-social .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Platforme */
.cta-social.facebook { background: #1877F2; }
.cta-social.instagram {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}
.cta-social.linkedin { background: #0A66C2; }
.cta-social.youtube { background: #FF0000; }

/* Hover efect */
.cta-social:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

/* âœ… Optimizare mobil */
@media (max-width: 600px) {
  .cta-social {
    flex: 1 1 100%;
    justify-content: center;
    font-size: 1rem;
  }
  .social-buttons {
    flex-direction: column;
    align-items: center;
  }
}
/* Containerul pÄƒrinte trebuie sÄƒ aibÄƒ poziÈ›ie relativÄƒ */
.campaign-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* PoziÈ›ioneazÄƒ textul jos Ã®n card */
}

/* Imaginea de fundal - trebuie sÄƒ fie Ã®n spatele tuturor */
.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; /* Stratul de jos */
    filter: brightness(0.9); /* ÃŽntunecÄƒm imaginea ca sÄƒ se vadÄƒ textul */
}

/* Overlay-ul cu text - trebuie sÄƒ fie deasupra imaginii */
.card-overlay {
    position: relative;
    z-index: 2; /* Stratul de sus */
    padding: 40px;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 100%);
}

/* ForÈ›Äƒm culorile sÄƒ fie vizibile */
.card-title, .card-badge, .card-cta {
    position: relative;
    z-index: 3;
    color: #ffffff !important;
}

.card-cta {
    display: inline-block;
    z-index: 4; /* Cel mai Ã®nalt nivel pentru click-abilitate */
}

.card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* imagine plinÄƒ, fÄƒrÄƒ deformare */
  display: block;
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;   /* centrare orizontalÄƒ + verticalÄƒ */
  text-align: center;
  padding: 24px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.55)
  );                     /* lizibilitate pe orice fundal */
  color: #fff;
}

.card-badge {
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.card-title {
  font-size: clamp(18px, 3.2vw, 28px); /* responsive, fÄƒrÄƒ overflow */
  line-height: 1.2;
  margin: 6px 0 16px;
}

.card-cta {
  display: inline-block;
  background: #0a54ff;  /* contrast puternic */
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(10,84,255,0.35);
}

@media (max-width: 480px) {
  .campaign-card { aspect-ratio: 4 / 5; } /* cadru mobil mai vertical */
}
.campaign-card {
  position: relative;         /* menÈ›ine Ã®n fluxul paginii */
  display: block;
  width: 100%;
  max-width: 720px;
  margin-bottom: 48px;        /* spaÈ›iu sub card */
  z-index: 1;                 /* nu acoperÄƒ alte elemente */
}
html {
  scroll-behavior: smooth;
}
/* Containerul pentru cele douÄƒ carduri mari */
.dual-grid-section {
    display: grid;
    grid-template-columns: 1fr 1fr; /* DouÄƒ coloane egale pe desktop */
    gap: 20px;
    padding: 20px 50px;
    margin-bottom: 50px;
}

.card-item {
    position: relative;
    height: 500px; /* ÃŽnÄƒlÈ›ime fixÄƒ pentru aliniere perfectÄƒ */
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.card-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

/* Cardul Selected Works - Varianta Eleganta */
.selected-works-card {
    background: #0f32bd; /* Fundal negru solid Ã®n caz cÄƒ imaginea nu se Ã®ncarcÄƒ */
    display: flex;
    align-items: flex-end;
}

/* Efect de umbrÄƒ interioarÄƒ pentru a face textul sÄƒ "sarÄƒ" Ã®n evidenÈ›Äƒ */
.selected-works-card .card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 20%, transparent 100%);
    width: 100%;
    padding: 40px;
    z-index: 2;
}

/* AsigurÄƒm consistenÈ›a butoanelor secundare */
.secondary-cta {
    background: transparent !important;
    border: 1px solid var(--accent) !important;
    color: var(--accent) !important;
    transition: 0.3s ease;
}

.secondary-cta:hover {
    background: var(--accent) !important;
    color: #1c72b8 !important;
    box-shadow: 0 0 20px rgba(23, 147, 248, 0.685);
}

/* Imaginea de fundal sÄƒ ocupe tot spaÈ›iul fÄƒrÄƒ sÄƒ deformeze cardul */
.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Responsivitate pentru Mobil */
@media (max-width: 992px) {
    .dual-grid-section {
        grid-template-columns: 1fr; /* Unul sub altul pe tablete/telefoane */
        padding: 20px;
    }
    
    .card-item {
        height: 400px;
    }
    
    .card-title {
        font-size: 1.8rem;
    }
}
/* Container general pentru secÈ›iunea SEO */
.seo-sections {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  line-height: 1.7;
  color: #1a1a1a;
  font-family: "Inter", "Roboto", sans-serif;
}

/* Stil pentru titlurile H2 */
.seo-sections h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 15px;
  color: #0a3d62; /* albastru profesional */
  position: relative;
}

/* Linie sub titlu (accent vizual premium) */
.seo-sections h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #38a1ff;
  position: absolute;
  left: 0;
  bottom: -8px;
  border-radius: 3px;
}

/* Paragrafe */
.seo-sections p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #333;
}

/* SpaÈ›iere Ã®ntre secÈ›iuni */
.seo-sections > *:not(:last-child) {
  margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
  .seo-sections h2 {
    font-size: 1.6rem;
  }
  .seo-sections p {
    font-size: 1rem;
  }
}
/* ── Ecrane mari 1440px+ ── */
@media (min-width: 1440px) {
  .container { max-width: 1320px; }
  .hero h1 { font-size: 5rem; }
  .section-title { font-size: 3.2rem; }
}

/* ── Ecrane foarte mari 1920px+ (Full HD și peste) ── */
@media (min-width: 1920px) {
  .container { max-width: 1600px; }
  .hero h1 { font-size: 5.8rem; }
  .section-title { font-size: 3.8rem; }
  body { font-size: 17px; }
}

/* ── Ultra-wide 2560px+ (BenQ QHD, 4K) ── */
@media (min-width: 2560px) {
  .container { max-width: 2000px; }
  .hero h1 { font-size: 7rem; }
  .section-title { font-size: 4.5rem; }
  body { font-size: 18px; }
}

/* ============================================================
   AVERTISMENT DE SECURITATE — apeluri false (spoofing)
   Bandă fixă în partea de sus. Împinge header-ul sticky în jos
   prin variabila --ria-alert-h, măsurată din JS.
   Se elimină integral când campania se încheie.
   ============================================================ */
:root { --ria-alert-h: 54px; }

.ria-alert {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100000;
  background: #b3261e; color: #ffffff;
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.28);
  font-size: 0.95rem; line-height: 1.45;
}
.ria-alert-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 12px 54px 12px 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
}
.ria-alert-mark {
  flex: 0 0 auto; width: 28px; height: 28px;
  border: 2px solid #ffffff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px;
}
.ria-alert-text { flex: 1 1 320px; margin: 0; color: #ffffff; }
.ria-alert-link {
  flex: 0 0 auto; background: #ffffff; color: #8f2018;
  font-weight: 700; font-size: 0.88rem;
  padding: 8px 16px; border-radius: var(--radius-sm); white-space: nowrap;
}
.ria-alert-link:hover { background: #ffe9e6; color: #8f2018; }
.ria-alert-close {
  position: absolute; top: 9px; right: 12px;
  width: 30px; height: 30px;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-sm); color: #ffffff;
  font-size: 17px; line-height: 1; cursor: pointer;
}
.ria-alert-close:hover { background: rgba(255, 255, 255, 0.14); }
.ria-alert a:focus-visible,
.ria-alert button:focus-visible { outline: 3px solid #ffcf4d; outline-offset: 2px; }

/* Rezervă spațiu pentru bandă și coboară header-ul sticky */
body { padding-top: var(--ria-alert-h); }
.site-header { top: var(--ria-alert-h); }

@media (max-width: 640px) {
  :root { --ria-alert-h: 104px; }
  .ria-alert { font-size: 0.9rem; }
  .ria-alert-inner { padding: 12px 20px 14px; }
  .ria-alert-mark { display: none; }
  .ria-alert-link { width: 100%; text-align: center; }
  .ria-alert-close { top: 6px; right: 8px; width: 26px; height: 26px; font-size: 15px; }
}

@media print { .ria-alert { display: none; } body { padding-top: 0; } }

/*footer*/

.ria-footer {
  --rf-bg: #0b1321;
  --rf-bg-2: #0f2027;
  --rf-text: #c3cede;
  --rf-text-strong: #ffffff;
  --rf-muted: #7f8ea6;
  --rf-accent: #ff6600;
  --rf-line: rgba(255, 255, 255, 0.09);
  --rf-alert: #ff7a6e;

  position: relative;
  z-index: 1;
  margin-top: 56px;
  background: linear-gradient(180deg, var(--rf-bg-2), var(--rf-bg));
  color: var(--rf-text);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}

.ria-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--rf-accent), #ffb066 38%, transparent 78%);
}

.ria-footer-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Rândul de identitate ---------- */
.ria-footer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px 40px;
  padding: 40px 0 30px;
  border-bottom: 1px solid var(--rf-line);
}

.ria-footer-identity {
  max-width: 560px;
}

.ria-footer-logo {
  height: 46px;
  width: auto;
  border-radius: 6px;
  margin-bottom: 16px;
}

.ria-footer-claim {
  margin: 0 0 16px;
  font-size: 1.05rem;
  color: var(--rf-text-strong);
  line-height: 1.5;
}

/* Blocul de marcă — elementul distinctiv al footer-ului */
.ria-footer-mark {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--rf-line);
  border-left: 3px solid var(--rf-accent);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.03);
}
.ria-footer-mark-r {
  flex: 0 0 auto;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--rf-accent);
  margin-top: 2px;
}
.ria-footer-mark p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--rf-text);
}
.ria-footer-mark strong { color: var(--rf-text-strong); }

.ria-footer-switch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--rf-line);
  border-radius: 8px;
  color: var(--rf-text-strong);
  text-decoration: none;
  font-size: 0.92rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.ria-footer-switch:hover {
  border-color: var(--rf-accent);
  background: rgba(255, 102, 0, 0.08);
}
.ria-footer-switch span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rf-accent);
  border: 1px solid rgba(255, 102, 0, 0.45);
  border-radius: 4px;
  padding: 2px 7px;
}

/* ---------- Coloanele de navigație ---------- */
.ria-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 40px;
  padding: 34px 0 36px;
  border-bottom: 1px solid var(--rf-line);
}

.ria-footer-col h2 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rf-text-strong);
}
.ria-footer-col h2::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-top: 8px;
  background: var(--rf-accent);
}

.ria-footer-col ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.ria-footer-col li { margin-bottom: 9px; }
.ria-footer-col li:last-child { margin-bottom: 0; }

.ria-footer-col a {
  color: var(--rf-text);
  text-decoration: none;
  font-size: 0.93rem;
  transition: color 0.2s ease;
}
.ria-footer-col a:hover { color: var(--rf-accent); }

/* Coloana de contact */
.ria-footer-contact p { margin: 14px 0 0; }
.ria-footer-contact .rf-line {
  display: block;
  margin-bottom: 9px;
  color: var(--rf-text);
}
.ria-footer-contact .rf-line a {
  color: var(--rf-text-strong);
  text-decoration: none;
}
.ria-footer-contact .rf-line a:hover { color: var(--rf-accent); }
.ria-footer-contact .rf-label {
  color: var(--rf-muted);
  font-size: 0.82rem;
  display: block;
}

/* Nota de securitate — activă doar pe durata campaniei de spoofing */
.ria-footer-warning {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(179, 38, 30, 0.16);
  border: 1px solid rgba(255, 122, 110, 0.32);
  font-size: 0.85rem;
  line-height: 1.5;
  color: #f3c9c4;
}
.ria-footer-warning a {
  color: var(--rf-alert);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Bara de jos ---------- */
.ria-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: 26px 0 34px;
}

.ria-footer-legal {
  margin: 0;
  font-size: 0.85rem;
  color: var(--rf-muted);
  max-width: 46ch;
}
.ria-footer-legal strong { color: var(--rf-text); font-weight: 600; }

.ria-footer-policy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
.ria-footer-policy a,
.ria-footer-policy button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.85rem;
  color: var(--rf-text);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.ria-footer-policy a:hover,
.ria-footer-policy button:hover { color: var(--rf-accent); }

.ria-footer-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ria-footer-badges img {
  height: 38px;
  width: auto;
  border-radius: 4px;
  background: #ffffff;
  padding: 2px;
}

/* ---------- Focus vizibil ---------- */
.ria-footer a:focus-visible,
.ria-footer button:focus-visible {
  outline: 2px solid var(--rf-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .ria-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
}

@media (max-width: 600px) {
  .ria-footer-wrap { padding: 0 18px; }
  .ria-footer-head { padding: 32px 0 26px; gap: 22px; }
  .ria-footer-cols { grid-template-columns: 1fr; gap: 28px; padding: 28px 0 30px; }
  .ria-footer-switch { width: 100%; justify-content: center; }
  .ria-footer-bottom { flex-direction: column; align-items: flex-start; padding: 22px 0 30px; }
  .ria-footer-legal { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ria-footer a,
  .ria-footer button,
  .ria-footer-switch { transition: none; }
}

@media print {
  .ria-footer { background: #ffffff; color: #111111; margin-top: 24px; }
  .ria-footer::before { display: none; }
  .ria-footer-warning,
  .ria-footer-switch,
  .ria-footer-badges { display: none; }
  .ria-footer-col a,
  .ria-footer-legal { color: #111111; }
}
