/*
 * ALEA Connect — Futuristic theme overlay
 * Palette: #13547a (primary) · #28a7e9 (secondary)
 */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700&display=swap');

:root {
  --fut-primary: #13547a;
  --fut-secondary: #28a7e9;
  --fut-dark: #071018;
  --fut-dark-soft: #0c1f33;
  --fut-glass: rgba(7, 16, 24, 0.72);
  --fut-glass-light: rgba(255, 255, 255, 0.06);
  --fut-glow: rgba(40, 167, 233, 0.45);
  --fut-glow-strong: rgba(40, 167, 233, 0.75);
  --fut-border: rgba(40, 167, 233, 0.35);
  --fut-font-display: 'Orbitron', 'Montserrat', sans-serif;
}

/* ── Base ── */
body.futuristic-theme {
  background-color: var(--fut-dark);
  color: #c8d9e8;
}

body.futuristic-theme main {
  overflow-x: hidden;
}

body.futuristic-theme h1,
body.futuristic-theme h2,
body.futuristic-theme h3,
body.futuristic-theme h4,
body.futuristic-theme h5,
body.futuristic-theme h6 {
  font-family: var(--fut-font-display);
  letter-spacing: 0.04em;
}

body.futuristic-theme h2,
body.futuristic-theme h3,
body.futuristic-theme h4,
body.futuristic-theme h5,
body.futuristic-theme h6 {
  color: #e8f0f6;
}

body.futuristic-theme p,
body.futuristic-theme ul li {
  color: #a8bdd0;
}

/* ── Navbar — glass + glow ── */
body.futuristic-theme .navbar {
  background: rgba(7, 16, 24, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--fut-border);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

body.futuristic-theme .navbar.nav-scrolled {
  background: rgba(7, 16, 24, 0.92);
  box-shadow: 0 4px 30px rgba(40, 167, 233, 0.15);
}

body.futuristic-theme .navbar-brand img,
body.futuristic-theme .navbar-brand image,
body.futuristic-theme .site-footer .navbar-brand img {
  filter: drop-shadow(0 0 10px rgba(40, 167, 233, 0.35));
  transition: filter 0.3s ease;
}

body.futuristic-theme .navbar-brand:hover img,
body.futuristic-theme .navbar-brand:hover image,
body.futuristic-theme .site-footer .navbar-brand:hover img {
  filter: drop-shadow(0 0 16px rgba(40, 167, 233, 0.55));
}

body.futuristic-theme .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 0 20px transparent;
  transition: color 0.3s, text-shadow 0.3s;
}

body.futuristic-theme .navbar-nav .nav-link:hover,
body.futuristic-theme .navbar-nav .nav-link.active {
  color: var(--fut-secondary);
  text-shadow: 0 0 12px var(--fut-glow);
}

body.futuristic-theme .navbar .dropdown-menu {
  background: rgba(12, 31, 51, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--fut-border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(40, 167, 233, 0.1);
}

body.futuristic-theme .navbar .dropdown-menu::before {
  border-bottom-color: rgba(12, 31, 51, 0.95);
}

body.futuristic-theme .navbar .dropdown-item {
  color: #b8cfe0;
}

body.futuristic-theme .navbar .dropdown-item:hover {
  color: var(--fut-secondary);
  background: rgba(40, 167, 233, 0.08);
}

body.futuristic-theme .sticky-wrapper.is-sticky .navbar {
  background: rgba(7, 16, 24, 0.95);
}

/* ── Hero ── */
body.futuristic-theme .hero-section {
  background: linear-gradient(160deg, #071018 0%, var(--fut-primary) 45%, var(--fut-secondary) 100%);
  position: relative;
  isolation: isolate;
}

body.futuristic-theme .hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(40, 167, 233, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 167, 233, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
  animation: fut-grid-drift 30s linear infinite;
  pointer-events: none;
  z-index: 0;
}

body.futuristic-theme .hero-section::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 167, 233, 0.25) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  pointer-events: none;
  z-index: 0;
  animation: fut-pulse 6s ease-in-out infinite;
}

body.futuristic-theme .hero-section .container {
  position: relative;
  z-index: 1;
}

body.futuristic-theme .hero-section h1 {
  text-shadow: 0 0 40px rgba(40, 167, 233, 0.5), 0 0 80px rgba(19, 84, 122, 0.4);
  animation: fut-fade-up 0.8s ease-out;
}

body.futuristic-theme .hero-section .hero-lead {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--body-font-family);
  font-size: var(--h6-font-size);
  letter-spacing: 0.06em;
  animation: fut-fade-up 0.8s ease-out 0.15s both;
}

body.futuristic-theme .hero-cta {
  animation: fut-fade-up 0.8s ease-out 0.3s both;
}

body.futuristic-theme .hero-cta .custom-btn {
  box-shadow: 0 0 20px rgba(40, 167, 233, 0.4);
}

body.futuristic-theme .hero-cta .custom-btn:hover {
  box-shadow: 0 0 30px rgba(40, 167, 233, 0.65);
  transform: translateY(-2px);
}

body.futuristic-theme .hero-cta .custom-border-btn {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

body.futuristic-theme .hero-cta .custom-border-btn:hover {
  border-color: var(--fut-secondary);
  box-shadow: 0 0 20px rgba(40, 167, 233, 0.35);
}

/* ── Featured section ── */
body.futuristic-theme .featured-section {
  background: linear-gradient(180deg, var(--fut-secondary) 0%, var(--fut-primary) 60%, var(--fut-dark) 100%);
  border-radius: 0 0 60px 60px;
  position: relative;
}

body.futuristic-theme .featured-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(40, 167, 233, 0.08), transparent);
  pointer-events: none;
}

body.futuristic-theme .custom-block.bg-white.shadow-lg {
  background: rgba(12, 31, 51, 0.85) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--fut-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

body.futuristic-theme .custom-block.bg-white.shadow-lg h5 {
  color: #fff;
}

body.futuristic-theme .custom-block.bg-white.shadow-lg p {
  color: #a8bdd0;
}

body.futuristic-theme .custom-block.bg-white.shadow-lg:hover {
  background: rgba(19, 84, 122, 0.6) !important;
  border-color: var(--fut-secondary);
  box-shadow: 0 0 30px rgba(40, 167, 233, 0.25), 0 12px 40px rgba(0, 0, 0, 0.35) !important;
  transform: translateY(-6px);
}

body.futuristic-theme .custom-block-overlay {
  border: 1px solid var(--fut-border);
  box-shadow: 0 0 40px rgba(40, 167, 233, 0.15);
}

body.futuristic-theme .custom-block-overlay .section-overlay {
  opacity: 0.88;
  background-image: linear-gradient(135deg, rgba(7, 16, 24, 0.7) 0%, rgba(19, 84, 122, 0.85) 50%, rgba(40, 167, 233, 0.5) 100%);
}

body.futuristic-theme .custom-block-image {
  filter: drop-shadow(0 4px 12px rgba(40, 167, 233, 0.2));
}

body.futuristic-theme .custom-block-card-link {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  text-decoration: none;
}

body.futuristic-theme .custom-block-body {
  flex: 0 0 auto;
  margin-bottom: 16px;
}

body.futuristic-theme .custom-block-figure {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 160px;
  margin-top: auto;
}

body.futuristic-theme .explore-section .custom-block-image,
body.futuristic-theme .custom-block-figure .custom-block-image {
  height: auto !important;
  max-height: 180px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  margin: 0 auto !important;
  display: block !important;
}

body.futuristic-theme .custom-block.bg-white.shadow-lg > a:not(.custom-block-card-link) {
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.futuristic-theme .custom-block.bg-white.shadow-lg > a:not(.custom-block-card-link) .d-flex {
  flex: 0 0 auto;
  margin-bottom: 16px;
}

body.futuristic-theme .custom-block.bg-white.shadow-lg > a:not(.custom-block-card-link) .custom-block-image {
  flex: 0 0 auto;
  margin-top: auto;
  padding-top: 8px;
}

/* ── Services / tabs ── */
body.futuristic-theme .explore-section {
  background: var(--fut-dark);
  position: relative;
}

body.futuristic-theme .explore-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, var(--fut-secondary), transparent);
  opacity: 0.5;
}

body.futuristic-theme .explore-section h2 {
  color: #fff;
  text-shadow: 0 0 30px rgba(40, 167, 233, 0.3);
}

body.futuristic-theme .nav-tabs {
  border-bottom: 1px solid var(--fut-border);
  gap: 8px;
  flex-wrap: wrap;
}

body.futuristic-theme .nav-tabs .nav-link {
  color: #8fa8bc;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--fut-glass-light);
  margin: 4px;
}

body.futuristic-theme .nav-tabs .nav-link.active,
body.futuristic-theme .nav-tabs .nav-link:hover {
  color: var(--fut-secondary);
  border-color: var(--fut-border);
  background: rgba(40, 167, 233, 0.1);
  box-shadow: 0 0 20px rgba(40, 167, 233, 0.15);
  border-bottom-color: var(--fut-secondary) !important;
}

body.futuristic-theme .tab-content {
  background: transparent;
  border: 1px solid var(--fut-border);
  border-radius: 16px;
  padding: 24px;
  background: rgba(12, 31, 51, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── Timeline ── */
body.futuristic-theme .timeline-section {
  background: linear-gradient(180deg, var(--fut-dark) 0%, var(--fut-dark-soft) 100%);
  position: relative;
}

body.futuristic-theme .timeline-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(40, 167, 233, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(19, 84, 122, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

body.futuristic-theme .timeline-section .section-overlay {
  opacity: 0.75;
  background-image: linear-gradient(160deg, rgba(7, 16, 24, 0.9) 0%, rgba(19, 84, 122, 0.7) 100%);
}

body.futuristic-theme .timeline-container .vertical-scrollable-timeline li .icon-holder {
  background: transparent;
  border: 2px solid var(--fut-secondary);
  box-shadow: 0 0 20px rgba(40, 167, 233, 0.4), inset 0 0 20px rgba(40, 167, 233, 0.1);
}

body.futuristic-theme .timeline-container .vertical-scrollable-timeline li .icon-holder::before {
  background: rgba(12, 31, 51, 0.9);
  border-color: var(--fut-secondary);
}

body.futuristic-theme .timeline-container .vertical-scrollable-timeline li.active .icon-holder {
  box-shadow: 0 0 30px rgba(40, 167, 233, 0.6);
}

body.futuristic-theme .timeline-container .vertical-scrollable-timeline .list-progress {
  background: rgba(19, 84, 122, 0.5);
  box-shadow: 0 0 10px rgba(40, 167, 233, 0.2);
}

body.futuristic-theme .timeline-container .vertical-scrollable-timeline .list-progress .inner {
  background: linear-gradient(180deg, var(--fut-secondary), var(--fut-primary));
  box-shadow: 0 0 12px var(--fut-glow);
}

/* ── FAQ ── */
body.futuristic-theme .faq-section {
  background: var(--fut-dark-soft);
}

body.futuristic-theme .faq-section h2 {
  color: #fff;
}

body.futuristic-theme .faq-section .accordion-item {
  background: rgba(12, 31, 51, 0.6);
  border: 1px solid var(--fut-border) !important;
  border-radius: 12px !important;
  margin-bottom: 12px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.futuristic-theme .faq-section .accordion-button {
  background: transparent;
  color: #dce8f0;
  box-shadow: none !important;
}

body.futuristic-theme .faq-section .accordion-button:not(.collapsed) {
  color: var(--fut-secondary);
  background: rgba(40, 167, 233, 0.08);
}

body.futuristic-theme .faq-section .accordion-button::after {
  filter: invert(1) brightness(1.5);
}

body.futuristic-theme .faq-section .accordion-body {
  color: #a8bdd0;
  border-top: 1px solid var(--fut-border);
}

body.futuristic-theme .faq-section .accordion-body a {
  color: var(--fut-secondary);
  text-decoration: underline;
}

body.futuristic-theme .faq-section .accordion-body a:hover {
  color: #fff;
}

body.futuristic-theme .timeline-section p.text-white a {
  color: var(--fut-secondary);
  text-decoration: underline;
}

body.futuristic-theme .timeline-section p.text-white a:hover {
  color: #fff;
}

body.futuristic-theme .faq-section .col-lg-5 img {
  filter: drop-shadow(0 0 24px rgba(40, 167, 233, 0.35));
}

/* ── Contact ── */
body.futuristic-theme .contact-section.section-bg {
  background: linear-gradient(180deg, var(--fut-dark-soft) 0%, var(--fut-dark) 100%);
}

body.futuristic-theme .contact-section h2,
body.futuristic-theme .contact-section h4 {
  color: #fff;
}

body.futuristic-theme .contact-section p {
  color: #a8bdd0;
}

body.futuristic-theme .contact-section iframe {
  border-radius: 16px;
  border: 1px solid var(--fut-border) !important;
  box-shadow: 0 0 30px rgba(40, 167, 233, 0.15);
  max-width: 100%;
}

body.futuristic-theme .contact-section hr {
  border-color: var(--fut-border);
}

body.futuristic-theme .site-footer-link {
  color: var(--fut-secondary);
}

body.futuristic-theme .site-footer-link:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--fut-glow);
}

/* ── Footer ── */
body.futuristic-theme .site-footer {
  background: var(--fut-dark);
  border-top: 1px solid var(--fut-border);
  border-bottom: none;
}

body.futuristic-theme .site-footer::after {
  display: none;
}

body.futuristic-theme .site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--fut-secondary), transparent);
  box-shadow: 0 0 20px var(--fut-glow);
}

body.futuristic-theme .site-footer-title {
  color: var(--fut-secondary);
}

body.futuristic-theme .copyright-text {
  color: #7a95aa;
}

body.futuristic-theme .copyright-text a {
  color: var(--fut-secondary);
}

/* ── Buttons global glow ── */
body.futuristic-theme .custom-btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 16px rgba(40, 167, 233, 0.3);
}

body.futuristic-theme .custom-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

body.futuristic-theme .custom-btn:hover::before {
  left: 100%;
}

/* ── Scan line (subtle) ── */
body.futuristic-theme .hero-section .scan-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

body.futuristic-theme .hero-section .scan-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(40, 167, 233, 0.4), transparent);
  animation: fut-scan 8s ease-in-out infinite;
  opacity: 0.6;
}

/* ── Animations ── */
@keyframes fut-grid-drift {
  0% { transform: translateY(0); }
  100% { transform: translateY(48px); }
}

@keyframes fut-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes fut-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fut-scan {
  0% { top: -2px; }
  100% { top: 100%; }
}

/* ── Responsive navigation ── */
@media screen and (max-width: 991px) {
  body.futuristic-theme .navbar {
    background: rgba(7, 16, 24, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  body.futuristic-theme .navbar-collapse {
    background: rgba(12, 31, 51, 0.98);
    border: 1px solid var(--fut-border);
    border-radius: 16px;
    margin-top: 12px;
    padding: 16px 20px 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(40, 167, 233, 0.1);
  }

  body.futuristic-theme .navbar-nav .nav-link {
    padding: 12px 8px !important;
    border-bottom: 1px solid rgba(40, 167, 233, 0.1);
    width: 100%;
  }

  body.futuristic-theme .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  body.futuristic-theme .navbar .dropdown-menu {
    background: rgba(7, 16, 24, 0.6);
    border: 1px solid rgba(40, 167, 233, 0.2);
    margin-left: 12px !important;
    box-shadow: none;
  }

  body.futuristic-theme .navbar .dropdown-menu::before {
    display: none;
  }

  body.futuristic-theme .navbar-toggler .navbar-toggler-icon,
  body.futuristic-theme .navbar-toggler .navbar-toggler-icon::before,
  body.futuristic-theme .navbar-toggler .navbar-toggler-icon::after {
    background: var(--fut-secondary);
    box-shadow: 0 0 6px var(--fut-glow);
  }

  body.futuristic-theme .featured-section {
    border-radius: 0;
  }

  body.futuristic-theme .hero-section {
    padding-top: 120px;
    padding-bottom: 100px;
  }

  body.futuristic-theme .hero-cta .btn {
    display: block;
    width: 100%;
    margin: 8px 0 !important;
  }

  body.futuristic-theme .nav-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  body.futuristic-theme .nav-tabs .nav-link {
    white-space: nowrap;
    font-size: 13px;
    padding: 10px 16px;
  }

  body.futuristic-theme .tab-content {
    padding: 16px 12px;
  }
}

@media screen and (max-width: 480px) {
  body.futuristic-theme .hero-section h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  body.futuristic-theme .hero-section .hero-lead {
    font-size: 0.85rem;
  }
}

/* ── Nav featured link ── */
body.futuristic-theme .navbar-nav .nav-link-featured {
  color: var(--fut-secondary) !important;
  text-shadow: 0 0 12px var(--fut-glow);
  font-weight: 600;
}

body.futuristic-theme .navbar-nav .nav-link-featured.active {
  border: 1px solid var(--fut-border);
  border-radius: 100px;
  padding-left: 14px !important;
  padding-right: 14px !important;
}

/* ── Spotlight / featured service ── */
body.futuristic-theme .spotlight-section {
  background: linear-gradient(180deg, var(--fut-dark) 0%, #0c1f33 100%);
  position: relative;
  overflow: hidden;
}

body.futuristic-theme .spotlight-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(40, 167, 233, 0.15), transparent);
  pointer-events: none;
}

body.futuristic-theme .spotlight-section-alt {
  background: linear-gradient(135deg, var(--fut-primary) 0%, var(--fut-dark) 100%);
}

body.futuristic-theme .spotlight-badge {
  display: inline-block;
  font-family: var(--fut-font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fut-secondary);
  border: 1px solid var(--fut-border);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 12px;
  box-shadow: 0 0 20px rgba(40, 167, 233, 0.2);
}

body.futuristic-theme .spotlight-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.futuristic-theme .spotlight-features li {
  padding: 10px 0;
  color: #a8bdd0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

body.futuristic-theme .spotlight-features li i {
  color: var(--fut-secondary);
  flex-shrink: 0;
  margin-top: 3px;
}

body.futuristic-theme .card-glow-featured {
  border: 1px solid var(--fut-secondary) !important;
  box-shadow: 0 0 40px rgba(40, 167, 233, 0.25), 0 12px 40px rgba(0, 0, 0, 0.3) !important;
  position: relative;
}

body.futuristic-theme .card-glow-featured::after {
  content: "In evidenza";
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.65rem;
  font-family: var(--fut-font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--fut-secondary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 100px;
}

body.futuristic-theme .step-num {
  color: var(--fut-secondary);
  font-family: var(--fut-font-display);
  margin-right: 8px;
}

/* ── Inner pages ── */
body.futuristic-theme .site-header {
  background: linear-gradient(160deg, #071018 0%, var(--fut-primary) 55%, var(--fut-secondary) 100%);
  background-image: linear-gradient(160deg, #071018 0%, var(--fut-primary) 55%, var(--fut-secondary) 100%) !important;
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 80px;
}

body.futuristic-theme .site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(40, 167, 233, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 167, 233, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

body.futuristic-theme .site-header-featured {
  padding-bottom: 100px;
}

body.futuristic-theme .site-header .container {
  position: relative;
  z-index: 1;
}

body.futuristic-theme .topics-detail-section {
  background: var(--fut-dark);
}

body.futuristic-theme .topics-detail-section h2,
body.futuristic-theme .topics-detail-section h3 {
  color: #fff;
}

body.futuristic-theme .topics-detail-section p {
  color: #a8bdd0;
}

body.futuristic-theme .topics-detail-section blockquote {
  border-left: 4px solid var(--fut-secondary);
  background: rgba(40, 167, 233, 0.06);
  color: #c8d9e8;
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
}

body.futuristic-theme .topics-detail-block.bg-white.shadow-lg {
  background: rgba(12, 31, 51, 0.85) !important;
  border: 1px solid var(--fut-border);
}

body.futuristic-theme .section-bg {
  background: var(--fut-dark-soft) !important;
}

body.futuristic-theme .section-bg h2,
body.futuristic-theme .section-bg h3,
body.futuristic-theme .section-bg h5 {
  color: #fff;
}

body.futuristic-theme .section-bg p {
  color: #c8d9e8;
}

body.futuristic-theme .section-bg a {
  color: var(--fut-secondary);
}

body.futuristic-theme .section-bg a:hover {
  color: #fff;
}

body.futuristic-theme .form-control,
body.futuristic-theme .form-select {
  background: rgba(12, 31, 51, 0.85);
  border: 1px solid var(--fut-border);
  color: #e8f0f6;
}

body.futuristic-theme .form-control::placeholder {
  color: #7a95aa;
}

body.futuristic-theme .form-control:focus,
body.futuristic-theme .form-select:focus {
  background: rgba(12, 31, 51, 0.95);
  border-color: var(--fut-secondary);
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 233, 0.25);
}

body.futuristic-theme .form-label {
  color: #a8bdd0;
}

body.futuristic-theme .site-header .breadcrumb-item a {
  color: var(--fut-secondary);
}

body.futuristic-theme .site-header .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.75);
}

body.futuristic-theme .site-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.45);
}

body.futuristic-theme .topics-detail-section a {
  color: var(--fut-secondary);
}

body.futuristic-theme .topics-detail-section hr {
  border-color: var(--fut-border);
  opacity: 1;
}

body.futuristic-theme .google-map {
  border: 1px solid var(--fut-border);
  border-radius: 12px;
  filter: saturate(0.85) contrast(1.05);
}

body.futuristic-theme .it-pillar-card {
  background: rgba(12, 31, 51, 0.85);
  border: 1px solid var(--fut-border);
  border-radius: 16px;
  padding: 28px 22px;
  height: 100%;
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s;
}

body.futuristic-theme .it-pillar-card:hover {
  border-color: var(--fut-secondary);
  box-shadow: 0 0 24px rgba(40, 167, 233, 0.15);
}

body.futuristic-theme .it-pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: rgba(40, 167, 233, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.futuristic-theme .it-pillar-icon i {
  font-size: 1.5rem;
  color: var(--fut-secondary);
}

body.futuristic-theme .it-pillar-card h3,
body.futuristic-theme .it-pillar-card h5 {
  color: #fff;
}

body.futuristic-theme .it-pillar-card p {
  font-size: 0.92rem;
  color: #a8bdd0;
  margin-bottom: 0;
}

body.futuristic-theme .it-pillar-card a {
  color: var(--fut-secondary);
}

body.futuristic-theme .it-pillar-card a:hover {
  color: #fff;
}

body.futuristic-theme .site-header .custom-border-btn.custom-btn-bg-white {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

body.futuristic-theme .site-header .custom-border-btn.custom-btn-bg-white:hover {
  border-color: var(--fut-secondary);
  color: #fff;
  box-shadow: 0 0 20px rgba(40, 167, 233, 0.35);
}

/* ── Inner pages: override template defaults ── */
body.futuristic-theme.topics-listing-page {
  background-color: var(--fut-dark) !important;
}

body.futuristic-theme.topics-listing-page main {
  background-color: var(--fut-dark);
}

body.futuristic-theme.topics-listing-page blockquote {
  display: block;
  text-align: left;
  background: rgba(40, 167, 233, 0.06) !important;
  border-left: 4px solid var(--fut-secondary);
  border-radius: 0 12px 12px 0;
  color: #c8d9e8 !important;
  font-family: var(--body-font-family, 'Open Sans', sans-serif);
  font-size: 1.05rem;
  font-weight: 400;
  margin: 30px 0;
  padding: 20px 24px;
}

body.futuristic-theme .topics-detail-section {
  background-color: var(--fut-dark) !important;
}

body.futuristic-theme .topics-detail-block-image {
  border-radius: 12px;
  border: 1px solid var(--fut-border);
}

/* Immagini affiancate nelle pagine servizio: stessa altezza e crop uniforme */
body.futuristic-theme .topics-inline-images .topics-detail-block-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media screen and (max-width: 767px) {
  body.futuristic-theme .topics-inline-images .topics-detail-block-image {
    height: 220px;
  }
}

@media screen and (max-width: 991px) {
  body.futuristic-theme.topics-listing-page .navbar {
    background: rgba(7, 16, 24, 0.95) !important;
  }
}
