:root {
  --love-red: #a30a15;
  --love-green: #95d51f;
  --love-dark: #000000;
  --love-ink: #141414;
  --love-soft: #f7f8f5;
  --love-muted: #6b6f76;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  color: var(--love-ink);
  background: #fff;
}
.navbar {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.navbar-brand img {
  height: 54px;
  width: auto;
}
.nav-link {
  font-weight: 700;
  color: #111 !important;
}
.nav-link:hover {
  color: var(--love-red) !important;
}
.btn-red {
  background: #000000;
  border: 2px solid #000000;
  color: #ffffff;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.82rem 1.25rem;
}
.btn-red:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #ffffff;
}
.btn-outline-dark {
  border-radius: 999px;
  font-weight: 800;
  padding: 0.82rem 1.25rem;
}
.lang .btn {
  background: #ffffff;
  border: 2px solid #111111;
  border-radius: 999px;
  color: #111111;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
}

.lang .btn:hover {
  background: #f2f2f2;
  border-color: #000000;
  color: #000000;
}

.lang .btn.active,
.lang .btn[aria-pressed="true"] {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(241, 22, 22, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at 8% 18%,
      rgba(149, 213, 31, 0.18),
      transparent 26%
    ),
    linear-gradient(135deg, #fff 0, #f8faf5 100%);
  padding: 150px 0 100px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: auto -15% -45% 50%;
  height: 520px;
  background: var(--love-red);
  border-radius: 50%;
  opacity: 0.08;
  transform: rotate(-18deg);
}
.eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--love-green);
  box-shadow: 0 0 0 6px rgba(149, 213, 31, 0.16);
}
h1 {
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.96;
  font-size: clamp(3rem, 7vw, 6.6rem);
}
h1 span {
  color: var(--love-red);
}
.lead {
  font-size: 1.18rem;
  color: #45484d;
  line-height: 1.8;
}
.hero-card {
  background: rgba(5, 5, 5, 0.94);
  color: #fff;
  border-radius: 34px;
  padding: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}
.hero-card:after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border: 32px solid var(--love-red);
  border-radius: 50%;
  opacity: 0.6;
}
.hero-card img {
  max-width: 100%;
  background: #000;
  border-radius: 24px;
  padding: 24px;
}
.metric {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
}
.metric b {
  font-size: 2rem;
  color: var(--love-green);
}
section {
  padding: 88px 0;
}
.section-title {
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(2.2rem, 4vw, 4rem);
}
.section-title em {
  font-style: normal;
  color: var(--love-red);
}
.muted {
  color: var(--love-muted);
}
.service {
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 28px;
  padding: 30px;
  background: #111;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
  position: relative;
  overflow: hidden;
}
.service:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(149, 213, 31, 0.16),
    rgba(241, 22, 22, 0.16)
  );
  opacity: 0;
  transition: opacity 0.28s ease;
}
.service:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  border-color: rgba(149, 213, 31, 0.45);
  background: #171717;
}
.service:hover:before {
  opacity: 1;
}
.service > * {
  position: relative;
  z-index: 1;
}
.service:hover .icon {
  transform: rotate(-4deg) scale(1.08);
  box-shadow: 0 14px 30px rgba(149, 213, 31, 0.16);
}
.service:hover h3 {
  color: #fff;
}
.icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(149, 213, 31, 0.18);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--love-green);
  font-size: 1.45rem;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}
.service:nth-child(even) .icon {
  background: rgba(241, 22, 22, 0.14);
  color: var(--love-red);
}
.dark {
  background: var(--love-dark);
  color: #fff;
}
.dark .muted {
  color: #c4c7cc;
}
.dark .service {
  background: #111;
  border-color: rgba(255, 255, 255, 0.09);
  color: #fff;
}
.stripe {
  background: linear-gradient(90deg, var(--love-green), var(--love-red));
  height: 6px;
  border-radius: 999px;
}
.pill {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  background: rgba(149, 213, 31, 0.14);
  border: 1px solid rgba(149, 213, 31, 0.28);
  border-radius: 999px;
  font-weight: 800;
  margin: 0.25rem;
}
.timeline {
  position: relative;
}
.step {
  border-left: 4px solid var(--love-green);
  padding: 0 0 32px 24px;
}
.step:last-child {
  padding-bottom: 0;
}
.step h3 {
  font-weight: 900;
}
.carbon-card {
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.carbon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
  border-color: rgba(241, 22, 22, 0.28);
}
.carbon-kicker {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--love-red);
}
.carbon-grid-item {
  border-left: 4px solid var(--love-green);
  padding: 12px 0 12px 18px;
}
.carbon-grid-item h3 {
  font-weight: 900;
  margin-bottom: 0.25rem;
}
.action-tile {
  height: 100%;
  border-radius: 20px;
  padding: 20px;
  background: rgba(149, 213, 31, 0.12);
  border: 1px solid rgba(149, 213, 31, 0.24);
  font-weight: 800;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}
.action-tile:hover {
  transform: translateY(-5px);
  background: rgba(241, 22, 22, 0.08);
  border-color: rgba(241, 22, 22, 0.28);
}
.projects-section {
  position: relative;
  overflow: hidden;
  background-color: #000000;
 /* background-image:
    linear-gradient(135deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.82)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900' viewBox='0 0 1600 900'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1' y1='0' y2='1'%3E%3Cstop stop-color='%2395d51f' offset='0'/%3E%3Cstop stop-color='%23f11616' offset='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1600' height='900' fill='%23050505'/%3E%3Cg opacity='.25'%3E%3Cpath d='M-80 720C260 470 560 420 880 525s520 20 800-210' fill='none' stroke='url(%23g)' stroke-width='42'/%3E%3Cpath d='M80 220h430l-80 90H0zM560 220h430l-80 90H480zM1040 220h430l-80 90H960zM230 350h430l-80 90H150zM710 350h430l-80 90H630zM1190 350h430l-80 90h-430z' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E");*/
  background-size: cover;
  background-position: center;
}
.projects-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(149, 213, 31, 0.18),
      transparent 28%
    ),
    radial-gradient(circle at 90% 70%, rgba(241, 22, 22, 0.16), transparent 32%);
  pointer-events: none;
}
.projects-section .container {
  position: relative;
  z-index: 1;
}
.project-card {
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}
.project-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  border-color: rgba(149, 213, 31, 0.55);
  background: #fff;
}
.project-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgba(149, 213, 31, 0.2),
    rgba(241, 22, 22, 0.12)
  );
  font-size: 1.65rem;
  margin-bottom: 20px;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.project-card:hover .project-icon {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 16px 34px rgba(149, 213, 31, 0.22);
}
.project-card h3 {
  font-weight: 900;
}
.projects-section .section-title,
.projects-section .lead,
.projects-section .carbon-kicker {
  color: #fff;
}
.projects-section .muted-light {
  color: rgba(255, 255, 255, 0.76);
}
.methodology-band {
  background: linear-gradient(
    135deg,
    #f7f8f5 0,
    #ffffff 55%,
    rgba(149, 213, 31, 0.1) 100%
  );
  position: relative;
  overflow: hidden;
}
.methodology-band:before {
  content: "";
  position: absolute;
  left: -120px;
  top: -160px;
  width: 360px;
  height: 360px;
  border: 46px solid rgba(241, 22, 22, 0.08);
  border-radius: 50%;
}
.methodology-band:after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  background: rgba(149, 213, 31, 0.12);
  border-radius: 50%;
}
.methodology-band .container {
  position: relative;
  z-index: 1;
}
.methodology-list {
  max-width: 980px;
  margin: 0 auto;
}
.methodology-step {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}
.methodology-step:hover {
  transform: translateX(8px);
}
.methodology-step:last-child {
  border-bottom: 0;
}
.methodology-number {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid rgba(149, 213, 31, 0.65);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  font-weight: 900;
  color: var(--love-red);
}
.methodology-text {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 900;
  margin: 0;
}
.sectors-section {
  background: #fff;
  position: relative;
  overflow: hidden;
}
.sectors-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(149, 213, 31, 0.1),
      transparent 28%
    ),
    radial-gradient(circle at 92% 15%, rgba(241, 22, 22, 0.08), transparent 24%);
  pointer-events: none;
}
.sectors-section .container {
  position: relative;
  z-index: 1;
}
.sector-card {
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.sector-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.14);
  border-color: rgba(149, 213, 31, 0.55);
}
.sector-img {
  height: 170px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition:
    transform 0.36s ease,
    filter 0.36s ease;
}
.sector-card:hover .sector-img {
  transform: scale(1.06);
  filter: saturate(1.12);
}
.sector-img:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(5, 5, 5, 0.18));
}
.sector-name {
  padding: 22px;
  font-weight: 900;
  font-size: 1.05rem;
  margin: 0;
}
.sector-img-1 {
  background-image:
    linear-gradient(135deg, rgba(5, 5, 5, 0.14), rgba(149, 213, 31, 0.1)),
    url("../img/industria-manifatturiera.webp");
}
.sector-img-2 {
  background-image:
    linear-gradient(135deg, rgba(5, 5, 5, 0.1), rgba(149, 213, 31, 0.13)),
    url("../img/agroalimentare.webp");
}
.sector-img-3 {
  background-image:
    linear-gradient(135deg, rgba(5, 5, 5, 0.12), rgba(241, 22, 22, 0.09)),
    url("../img/utilities_ed_energia.webp");
}
.sector-img-4 {
  background-image:
    linear-gradient(135deg, rgba(5, 5, 5, 0.1), rgba(149, 213, 31, 0.08)),
    url("../img/real_estate.webp");
}
.sector-img-5 {
  background-image:
    linear-gradient(135deg, rgba(5, 5, 5, 0.14), rgba(241, 22, 22, 0.08)),
    url("../img/infrastrutture.webp");
}
.sector-img-6 {
  background-image:
    linear-gradient(135deg, rgba(5, 5, 5, 0.1), rgba(149, 213, 31, 0.1)),
    url("../img/ESCO_general_contractor.webp");
}
.sector-img-7 {
  background-image:
    linear-gradient(135deg, rgba(5, 5, 5, 0.12), rgba(241, 22, 22, 0.08)),
    url("../img/investitori_istituzionali.webp");
}
.cta {
  border-radius: 36px;
  background: linear-gradient(135deg, var(--love-dark), #222);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta:before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border: 42px solid var(--love-red);
  right: -120px;
  bottom: -140px;
  border-radius: 50%;
  opacity: 0.65;
}
.strengths-section {
  /*background: linear-gradient(135deg, #050505 0, #111 62%, #1b1d17 100%);*/
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.strengths-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(149, 213, 31, 0.18),
      transparent 30%
    ),
    radial-gradient(circle at 88% 12%, rgba(241, 22, 22, 0.16), transparent 26%);
  pointer-events: none;
}
.strengths-section:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -170px;
  width: 520px;
  height: 520px;
  border: 58px solid rgba(149, 213, 31, 0.08);
  border-radius: 50%;
  transform: translateX(-50%);
}
.strengths-section .container {
  position: relative;
  z-index: 1;
}
.strengths-section .carbon-kicker,
.strengths-section .section-title {
  color: #fff;
}
.strength-card {
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 28px;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}
.strength-card:hover {
  transform: translateY(-10px) scale(1.012);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  border-color: rgba(149, 213, 31, 0.58);
  background: rgba(255, 255, 255, 0.11);
}
.strength-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.strength-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  /*background: linear-gradient(
    135deg,
    var(--love-green),
    rgba(149, 213, 31, 0.62)
  );
  color: #000000;*/
  background:#95D51F;
  color:#000;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(149, 213, 31, 0.2);
  transition: transform 0.28s ease;
}
.strength-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(241, 22, 22, 0.14);
  color: #FFFFFF;
  font-size: 1.45rem;
  transition:
    transform 0.28s ease,
    background 0.28s ease;
}
.strength-card:hover .strength-num {
  transform: scale(1.08);
}
.strength-card:hover .strength-icon {
  transform: rotate(-5deg) scale(1.08);
  background: #3B2014;
  color: #FFFFFF;
}
.strength-text {
  font-size: 1.08rem;
  line-height: 1.55;
  font-weight: 800;
  margin: 0;
  color: rgba(255, 255, 255);
}
.footer {
  background: #050505;
  color: #fff;
  padding: 42px 0;
}
.footer a {
  color: #fff;
  text-decoration: none;
}
.footer a:hover {
  color: var(--love-green);
}
@media (max-width: 991px) {
  .hero {
    padding: 120px 0 70px;
  }
  .navbar-brand img {
    height: 42px;
  }
  .hero-card {
    margin-top: 34px;
  }
}

.animated-cta-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  /*background: linear-gradient(125deg, #050505, #102005, #3a0505, #050505);*/
  background: #000;
  background-size: 320% 320%;
  animation: loveGradient 14s ease infinite;
  padding: 96px 0;
}
.animated-cta-section:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(149, 213, 31, 0.25),
      transparent 25%
    ),
    radial-gradient(circle at 88% 74%, rgba(241, 22, 22, 0.22), transparent 28%);
  pointer-events: none;
}
.animated-cta-section:after {
  content: "";
  position: absolute;
  inset: -40%;
  background: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.06) 0 1px,
    transparent 1px 34px
  );
  animation: ctaLines 22s linear infinite;
  opacity: 0.5;
}
.animated-cta-section .container {
  position: relative;
  z-index: 1;
}
.animated-cta-box {
  max-width: 930px;
  margin: 0 auto;
  text-align: center;
}
.animated-cta-box .section-title {
  color: #fff;
}
.animated-cta-box .lead {
  color: rgba(255, 255, 255, 0.78);
}
.btn-cta-glow {
  background: var(--love-red);
  border-color: var(--love-red);
  color: #fff;
  border-radius: 999px;
  font-weight: 900;
  padding: 1rem 1.45rem;
  box-shadow: 0 18px 45px rgba(241, 22, 22, 0.26);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.btn-cta-glow:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 65px rgba(241, 22, 22, 0.38);
  background: #c90f0f;
  border-color: #c90f0f;
  color: #fff;
}
@keyframes loveGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes ctaLines {
  from {
    transform: translate3d(-80px, 0, 0);
  }
  to {
    transform: translate3d(80px, 0, 0);
  }
}
.contact-form-section {
  background: linear-gradient(180deg, #fff 0, #f7f8f5 100%);
  position: relative;
  overflow: hidden;
}
.contact-form-section:before {
  content: "";
  position: absolute;
  left: -130px;
  top: 80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(149, 213, 31, 0.12);
}
.contact-form-section:after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: 90px;
  width: 380px;
  height: 380px;
  border: 48px solid rgba(241, 22, 22, 0.08);
  border-radius: 50%;
}
.contact-form-section .container {
  position: relative;
  z-index: 1;
}
.contact-intro {
  max-width: 860px;
  margin: 0 auto 44px;
}
.contact-card {
  max-width: 1060px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 34px;
  padding: 34px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.1);
}
.form-control,
.form-select {
  border-radius: 16px;
  border-color: rgba(0, 0, 0, 1.0);
  padding: 0.9rem 1rem;
}
/*.form-control:focus,
.form-select:focus {
  border-color: rgba(149, 213, 31, 0.75);
  box-shadow: 0 0 0 0.25rem rgba(149, 213, 31, 0.16);
}*/
.form-label {
  font-weight: 800;
  color: #222;
}

.privacy-row input {
  margin-left: 0.5em !important;
  margin-right: 0.5em !important;
}
.submit-btn {
  border-radius: 999px;
  background: var(--love-dark);
  border-color: var(--love-dark);
  color: #fff;
  font-weight: 900;
  padding: 1rem 1.4rem;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.submit-btn span {
  background:#000;
  color:#FFF;
}
.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.18);
  background: var(--love-red);
  border-color: var(--love-red);
  color: #fff;
}
.submit-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-right: 0.5rem;
  background:#000;
  color:#FFF;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: #050505;
  color: #fff;
  padding: 70px 0 28px;
  border-top: 6px solid var(--love-green);
}
.site-footer:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(149, 213, 31, 0.18), transparent 30%),
    radial-gradient(circle at 92% 80%, rgba(241, 22, 22, 0.16), transparent 30%);
  pointer-events: none;
}
.site-footer .container {
  position: relative;
  z-index: 1;
}
.footer-logo {
  height: 74px;
  width: auto;
  background: #000;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}
.footer-title {
  font-weight: 900;
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.footer-text,
.footer-link {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}
.footer-link {
  display: inline-flex;
  text-decoration: none;
  font-weight: 700;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.footer-link:hover {
  color: var(--love-green);
  transform: translateX(4px);
}
.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 34px 0 22px;
}
.footer-bottom {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(149, 213, 31, 0.3);
  /*background: rgba(149, 213, 31, 0.1);*/
  background: #151D07;
  color: #fff;
  border-radius: 999px;
  padding: 0.48rem 0.78rem;
  font-weight: 800;
}

.footer-align-with-logo-text {
  padding-top: 98px;
}
@media (max-width: 991px) {
  .footer-align-with-logo-text {
    padding-top: 0;
  }
}

/* Card link bioacqualive */
.service-link {
  color: inherit;
  cursor: pointer;
}
.service-link:hover {
  color: inherit;
}
.service-link .muted {
  color: var(--love-muted);
}
.dark .service-link .muted {
  color: #c4c7cc;
}

/* =========================================================
   WCAG 2.1 AA - Focus visibile
   SC 2.4.7 Focus Visible
   SC 1.4.11 Non-text Contrast

   Questo blocco deve rimanere alla fine del CSS per
   sovrascrivere eventuali stili Bootstrap o personalizzati
   che rendono il focus poco visibile.
   ========================================================= */

:root {
  --focus-color: #000000;
  --focus-color-dark: #000000;
  --focus-ring-bg: #ffffff;
}

*:focus{
    outline:5px solid #000000 !important;
    outline-offset:4px !important;
    box-shadow:none !important;
}
:where(
a,
button,
input,
select,
textarea,
summary,
[tabindex]:not([tabindex="-1"])
):focus-visible{

    outline:4px solid #000 !important;
    outline-offset:4px !important;

}

/* Evita che pseudo-elementi o overflow nascondano il focus dei link-card */
.service-link {
  position: relative;
  z-index: 1;
}

/* Riduzione animazioni per utenti con preferenza di sistema */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}


/* =========================================================
   WCAG 2.1 AA - Language switch contrast and focus
   SC 1.4.3, SC 1.4.11, SC 2.4.7
   ========================================================= */

.lang .btn:focus,
.lang .btn:focus-visible {
  background: #ffffff;
  border-color: #000000;
  color: #000000;
  outline: 3px solid var(--focus-color);
  outline-offset: 3px;
  box-shadow:
    0 0 0 6px var(--focus-ring-bg),
    0 0 0 10px var(--focus-color);
}

.lang .btn.active:focus,
.lang .btn.active:focus-visible,
.lang .btn[aria-pressed="true"]:focus,
.lang .btn[aria-pressed="true"]:focus-visible {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
  outline: 3px solid var(--focus-color);
  outline-offset: 3px;
  box-shadow:
    0 0 0 6px var(--focus-ring-bg),
    0 0 0 10px var(--focus-color);
}

/* =========================================================
   WCAG 2.1 AA - Hero button contrast and focus
   SC 1.4.3, SC 1.4.11, SC 2.4.7
   ========================================================= */

.btn-red,
a.btn-red {
  background-color: #000000 !important;
  border: 2px solid #000000 !important;
  color: #ffffff !important;
}

.btn-red:hover,
a.btn-red:hover {
  background-color: #1a1a1a !important;
  border-color: #1a1a1a !important;
  color: #ffffff !important;
}

.btn-red:focus,
.btn-red:focus-visible,
a.btn-red:focus,
a.btn-red:focus-visible,
a.btn.btn-red:focus,
a.btn.btn-red:focus-visible {
  background-color: #000000 !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  outline: 4px solid #000000 !important;
  outline-offset: 5px !important;
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 8px #000000,
    0 0 0 11px #000000 !important;
  text-decoration: none;
}

.btn-red:active,
.btn-red:active:focus,
a.btn-red:active,
a.btn-red:active:focus {
  background-color: #000000 !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  outline: 4px solid #000000 !important;
  outline-offset: 5px !important;
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 8px #000000,
    0 0 0 11px #000000 !important;
}

/* =========================================================
   WCAG 2.1 AA - Contrasto sezione Servizi
   SC 1.4.3 Contrast Minimum

   Regole esplicite per evitare che il validatore interpreti
   il titolo e il testo introduttivo della sezione scura con
   colori ereditati o poco contrastati.
   ========================================================= */

#services.dark,
section#services.dark {
  background: #000000;
  color: #ffffff;
}

#services .section-title,
section#services.dark .section-title {
  color: #ffffff !important;
}

#services .lead.muted,
section#services.dark .lead.muted {
  color: #f2f2f2 !important;
}


/* =========================================================
   WCAG 2.1 - Servizi: icone decorative e contrasto
   SC 1.4.3 Contrast Minimum
   SC 2.5.3 Label in Name
   SC 1.4.4 / 1.4.12 Text resize and spacing

   Le icone delle card servizio sono decorative: nel markup
   sono impostate con aria-hidden="true". Qui il contrasto
   visivo viene reso esplicito per evitare segnalazioni sui
   simboli come "⌘".
   ========================================================= */

#services .service {
  border-radius: 28px;
  padding: 30px;
}

#services .service .icon,
#services .service:nth-child(even) .icon,
section#services.dark .service .icon,
section#services.dark .service:nth-child(even) .icon {
  background: #ffffff !important;
  border: 2px solid #95d51f !important;
  color: #000000 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  text-shadow: none !important;
}

#services .service:hover .icon,
#services .service:focus-within .icon {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 0 0 4px rgba(149, 213, 31, 0.45) !important;
}

#services .service h3,
#services .service:hover h3 {
  color: #ffffff !important;
}

#services .service .muted,
#services .service-link .muted,
section#services.dark .service .muted,
section#services.dark .service-link .muted {
  color: #f2f2f2 !important;
}

/* =========================================================
   WCAG 2.1 - Correzioni finali validatore
   Landmarks, focus visibile, label in name, contrasto servizi
   ========================================================= */

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 9999;
  padding: 12px 16px;
  background: #ffffff;
  color: #000000;
  border: 3px solid #000000;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 4px solid #000000 !important;
  outline-offset: 4px !important;
  box-shadow:
    0 0 0 4px #ffffff,
    0 0 0 9px #000000 !important;
}

/* Focus altamente visibile per link, pulsanti e controlli */
.navbar-brand:focus,
.navbar-brand:focus-visible,
.nav-link:focus,
.nav-link:focus-visible,
.btn:focus,
.btn:focus-visible,
button:focus,
button:focus-visible,
a:focus,
a:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible,
.service-link:focus,
.service-link:focus-visible {
  outline: 4px solid #000000 !important;
  outline-offset: 5px !important;
  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 9px #000000 !important;
  border-radius: 8px;
}

/* Focus su sfondi scuri */
.dark a:focus,
.dark a:focus-visible,
#services a:focus,
#services a:focus-visible,
.site-footer a:focus,
.site-footer a:focus-visible,
.projects-section a:focus,
.projects-section a:focus-visible,
.strengths-section a:focus,
.strengths-section a:focus-visible,
.animated-cta-section a:focus,
.animated-cta-section a:focus-visible {
  outline: 4px solid #ffffff !important;
  outline-offset: 5px !important;
  box-shadow:
    0 0 0 3px #000000,
    0 0 0 9px #ffffff,
    0 0 0 13px #000000 !important;
}

/* Pulsanti lingua: contrasto e focus */
.lang .btn {
  background: #ffffff !important;
  border: 2px solid #000000 !important;
  color: #000000 !important;
}

.lang .btn.active,
.lang .btn[aria-pressed="true"] {
  background: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
}

.lang .btn:focus,
.lang .btn:focus-visible {
  outline: 4px solid #000000 !important;
  outline-offset: 5px !important;
  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 9px #000000 !important;
}

/* Sezione Servizi: contrasto testi e icone decorative */
#services,
section#services.dark {
  background: #000000 !important;
  color: #ffffff !important;
}

#services .section-title,
#services h2,
section#services.dark .section-title {
  color: #ffffff !important;
}

#services .lead,
#services .lead.muted,
#services .service .muted,
#services .service-link .muted,
section#services.dark .lead.muted,
section#services.dark .service .muted {
  color: #f2f2f2 !important;
}

#services .service {
  border-radius: 28px !important;
  padding: 30px !important;
  background: #111111 !important;
}

#services .service .icon,
#services .service:nth-child(even) .icon,
section#services.dark .service .icon,
section#services.dark .service:nth-child(even) .icon {
  width: 54px !important;
  height: 54px !important;
  background: #ffffff !important;
  border: 2px solid #95d51f !important;
  color: #000000 !important;
  font-size: 24px !important;
  text-shadow: none !important;
}

#services .service h3,
#services .service:hover h3 {
  color: #ffffff !important;
}

/* Evita che le card link nascondano il focus a causa di overflow */
#services .service-link {
  overflow: visible !important;
}

.text-shadow {
  text-shadow: 2px 2px var(--love-dark);
}
.form-check-input {
  border-color: #000 !important;
  background-color: #FFF !important;
}