:root {
  --filalma-blue-dark: #031426;
  --filalma-blue: #0d6efd;
  --filalma-turquoise: #00c2ff;
  --filalma-text: #f8f9fa;
  --filalma-muted: #a6b0c3;
}

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #020712;
  color: var(--filalma-text);
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}
.hero {
  position: relative;
  padding-top: 90px;
  padding-bottom: 40px;
  background: radial-gradient(circle at top left, #073b7a, #020712 60%, #000000);
  overflow: hidden;
}

.hero-overlay-blur {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0, rgba(0,194,255,0.12), transparent 55%),
              radial-gradient(circle at 80% 20%, rgba(13,110,253,0.25), transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.45);
  color: var(--filalma-turquoise);
  border: 1px solid rgba(0,194,255,0.5);
  margin-bottom: 1rem;
}

.hero-kicker span {
  color: #e5e7eb;
}

.hero-title {
  font-size: clamp(2.1rem, 3.2vw + 1rem, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-title span.accent {
  background: linear-gradient(135deg, #00c2ff, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1rem;
  max-width: 600px;
  color: var(--filalma-muted);
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-badge {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.35);
  font-size: 0.75rem;
  color: #cbd5f5;
  background: rgba(15,23,42,0.7);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--filalma-muted);
}

.hero-secondary-link i {
  font-size: 0.75rem;
}

.hero-meta {
  font-size: 0.8rem;
  color: var(--filalma-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(148,163,184,0.6);
}

/* HERO RIGHT CARD */
.hero-right-card {
  position: relative;
  background: radial-gradient(circle at top, rgba(0,194,255,0.15), rgba(15,23,42,1));
  border-radius: 1.5rem;
  border: 1px solid rgba(0,194,255,0.45);
  padding: 1.5rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.8);
  min-height: 260px;
}

.hero-right-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(0,194,255,0.25), transparent 60%);
  opacity: 0.7;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-right-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--filalma-muted);
  margin-bottom: 0.25rem;
}

.hero-right-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #e5e7eb;
}

.hero-right-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  color: var(--filalma-turquoise);
  border: 1px solid rgba(0,194,255,0.6);
  margin-bottom: 0.8rem;
}

.hero-right-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #cbd5f5;
}

.hero-right-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.hero-right-list i {
  font-size: 0.7rem;
  color: var(--filalma-turquoise);
}

.hero-right-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--filalma-muted);
  border-top: 1px dashed rgba(148,163,184,0.4);
  padding-top: 0.7rem;
  margin-top: 0.4rem;
}

/* CANVAS SECTION */
.canvas-section {
  position: relative;
  background: radial-gradient(circle at top, #05213e, #020712);
  padding-block: 40px;
  border-top: 1px solid rgba(15,23,42,0.9);
  border-bottom: 1px solid rgba(15,23,42,0.9);
}

#filalmaCanvas {
  width: 100%;
  height: 220px;
  display: block;
  border-radius: 1.5rem;
  border: 1px solid rgba(0,194,255,0.4);
  box-shadow: 0 20px 55px rgba(0,0,0,0.8);
  background: radial-gradient(circle at 10% 0, #021526, #06162b 35%, #020712 100%);
}

.canvas-caption {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--filalma-muted);
  text-align: center;
}

/* GENERIC SECTION */
.section {
  padding-block: 60px;
  background: #020712;
}

.section-alt {
  background: #020814;
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--filalma-turquoise);
  margin-bottom: 0.3rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  max-width: 700px;
  margin: 0 auto;
  color: var(--filalma-muted);
  font-size: 0.95rem;
}

/* CARDS SERVIZI */
.service-card {
  background: radial-gradient(circle at top, rgba(0,194,255,0.12), #020814);
  border-radius: 1.1rem;
  border: 1px solid rgba(15,23,42,1);
  padding: 1.2rem 1.3rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,194,255,0.7);
  box-shadow: 0 18px 45px rgba(0,0,0,0.85);
  background: radial-gradient(circle at top, rgba(0,194,255,0.18), #020814);
}

.service-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(0,194,255,0.6);
  color: var(--filalma-turquoise);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.service-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.service-text {
  font-size: 0.9rem;
  color: var(--filalma-muted);
  margin-bottom: 0.5rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: #cbd5f5;
}

.service-tag i {
  font-size: 0.7rem;
  color: var(--filalma-turquoise);
}

/* BIENNALE SECTION */
.biennale-card {
  background: radial-gradient(circle at top left, rgba(0,194,255,0.25), #020814 50%, #000000 100%);
  border-radius: 1.4rem;
  border: 1px solid rgba(0,194,255,0.55);
  padding: 1.5rem;
  box-shadow: 0 26px 70px rgba(0,0,0,0.9);
  position: relative;
  overflow: hidden;
}

.biennale-badge {
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(0,194,255,0.8);
  color: var(--filalma-turquoise);
  margin-bottom: 0.8rem;
}

.biennale-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.biennale-text {
  font-size: 0.9rem;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.biennale-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.biennale-tag {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,0.95);
  color: var(--filalma-muted);
  border: 1px solid rgba(148,163,184,0.35);
}

.biennale-meta {
  font-size: 0.8rem;
  color: var(--filalma-muted);
}

/* VANTAGGI SOCI */
.benefit-item {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.benefit-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(0,194,255,0.7);
  color: var(--filalma-turquoise);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.benefit-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.benefit-text {
  font-size: 0.88rem;
  color: var(--filalma-muted);
}

/* CTA FINALE */
.cta-section {
  padding-block: 60px;
  background: radial-gradient(circle at center, #031426, #01030a);
  border-top: 1px solid rgba(15,23,42,1);
}

.cta-card {
  background: radial-gradient(circle at top, rgba(0,194,255,0.23), #020814 55%);
  border-radius: 1.6rem;
  border: 1px solid rgba(0,194,255,0.7);
  padding: 2rem 1.6rem;
  box-shadow: 0 32px 80px rgba(0,0,0,0.9);
}

.cta-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cta-text {
  font-size: 0.93rem;
  color: var(--filalma-muted);
  margin-bottom: 1.3rem;
}

/* FOOTER */
footer {
  padding-block: 18px;
  background: #02030a;
  font-size: 0.8rem;
  color: var(--filalma-muted);
  border-top: 1px solid rgba(15,23,42,0.9);
}

@media (max-width: 767.98px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 30px;
  }
  .hero-right-card {
    margin-top: 1.5rem;
  }
  #filalmaCanvas {
    height: 200px;
  }
}

.cert-card {
  background: #001f48;
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgba(40,120,225,0.10);
  padding: 2rem 1.5rem 1.4rem 1.5rem;
  text-align: center;
  transition: transform .22s, box-shadow .22s;
}
.cert-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(40,120,225,0.12);
}
.cert-badge {
  font-size: 3rem;
  color: #2878e1;
  margin-bottom: 1rem;
}

.top-slider{
margin-top: 10px;
padding: 10px 0 0;
}

.top-carousel{
border-radius: 1.4rem;
overflow: hidden;
border: 1px solid rgba(0,194,255,0.30);
box-shadow: 0 26px 70px rgba(0,0,0,0.85);
background: #020814;
position: relative;
}

.top-carousel .carousel-inner{
border-radius: 1.4rem;
}

.top-carousel img{
object-fit: cover;
}

.carousel-overlay{
position:absolute;
inset:0;
background:
radial-gradient(circle at 20% 15%, rgba(0,194,255,0.18), transparent 55%),
radial-gradient(circle at 80% 25%, rgba(13,110,253,0.18), transparent 60%),
linear-gradient(to top, rgba(0,0,0,0.70), rgba(0,0,0,0.05));
pointer-events:none;
}

.top-carousel .carousel-caption{
left: 6%;
right: 6%;
bottom: 10%;
text-shadow: 0 10px 35px rgba(0,0,0,0.75);
}

.cap-kicker{
display:inline-flex;
align-items:center;
gap:.45rem;
border-radius:999px;
padding:4px 12px;
font-size:.75rem;
background: rgba(0,0,0,.45);
color: var(--filalma-turquoise);
border: 1px solid rgba(0,194,255,.5);
text-transform: uppercase;
letter-spacing: .14em;
margin-bottom: .6rem;
}

.cap-title{
font-size: clamp(1.25rem, 2vw + .9rem, 2rem);
font-weight: 800;
margin-bottom: .35rem;
}

.cap-text{
color: rgba(226,232,240,0.85);
font-size: 1rem;
max-width: 720px;
margin: 0;
}

/* controlli più “premium” */
.top-carousel .carousel-control-prev,
.top-carousel .carousel-control-next{
width: 12%;
}

.top-carousel .carousel-control-prev-icon,
.top-carousel .carousel-control-next-icon{
filter: drop-shadow(0 8px 18px rgba(0,0,0,0.75));
} 

/* indicatori più discreti */
.top-carousel .carousel-indicators [data-bs-target]{
width: 10px;
height: 10px;
border-radius: 999px;
border: 1px solid rgba(0,194,255,0.55);
background: rgba(2,8,20,0.6);
opacity: 1;
}

.top-carousel .carousel-indicators .active{
background: var(--filalma-turquoise);
} */

/* /* spacing: lo slider “stacca” dalla hero  */
.join-hero{
padding-top: 36px; /* prima era 44px  */
}

@media (max-width: 575.98px){
.top-slider{
margin-top: 6px;
padding-top: 6px;
}

.top-carousel{
border-radius: 1.1rem;
}

.top-carousel .carousel-caption{
bottom: 8%;
}

.cap-text{
font-size: .95rem;
}
}
/* ===========================
   GREEN SECTION
=========================== */

  .green-section{
    padding: 70px 0;
    position: relative;
    background: linear-gradient(
      110deg,
      #020712 0%,
      #031426 45%,
      #0f6a3b 100%
    );
    border-top: 1px solid rgba(0,194,255,0.15);
    border-bottom: 1px solid rgba(0,194,255,0.10);
    overflow: hidden;
  }

/* micro “glow” soft per legare con identità Filalma */
.green-section::before{
  content:"";
  position:absolute;
  inset:-30%;
  background:
    radial-gradient(circle at 18% 20%, rgba(0,194,255,0.12), transparent 55%),
    radial-gradient(circle at 80% 50%, rgba(15,106,59,0.25), transparent 60%);
  pointer-events:none;
}

.green-section .container{ position:relative; z-index:1; }

.green-kicker{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  padding:5px 14px;
  border-radius:999px;
  background:rgba(255,255,255,0.92);
  color:#0f6a3b;
  border:1px solid rgba(15,106,59,0.25);
  margin-bottom:1rem;
  backdrop-filter: blur(10px);
}

.green-title{
  font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
  font-weight:700;
  line-height:1.2;
  margin-bottom:1rem;
  color: var(--filalma-text);
}

.green-title span{
  background: linear-gradient(135deg, #22c55e, #16a34a);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.green-text{
  font-size:.95rem;
  color: var(--filalma-muted);
  margin-bottom:.9rem;
  max-width:560px;
}

/* Bottone “foglia allungata” */
.btn-leaf{
  display:inline-flex;
  align-items:center;
  font-weight:700;
  padding:.7rem 1.45rem;
  border-radius: 999px 64px 999px 64px;
  background: linear-gradient(135deg, #22c55e, #0f6a3b);
  color:#ffffff;
  border:none;
  box-shadow:0 10px 26px rgba(15,106,59,0.22);
  transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.btn-leaf:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 34px rgba(15,106,59,0.32);
  filter: brightness(1.03);
  color:#fff;
}

.green-cta{ margin-top: 1.1rem; }

/* ===== METRIC COUNTER ===== */
.green-metric{
  margin-top: 1.1rem;
  margin-bottom: 1.05rem;
  display:flex;
  gap: .9rem;
  align-items:flex-start;
  padding: 1rem 1.05rem;
  border-radius: 1.2rem;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(11,27,43,0.10);
  box-shadow: 0 18px 45px rgba(11,27,43,0.10);
  backdrop-filter: blur(10px);
}

.metric-ico{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(13,110,253,0.10);
  border: 1px solid rgba(13,110,253,0.18);
  color: #0d6efd;
  flex-shrink:0;
}

.metric-body{ min-width: 0; }

.metric-value{
  display:flex;
  align-items:baseline;
  gap: .4rem;
  font-weight: 850;
  line-height: 1;
  color: #0b1b2b;
  font-size: clamp(2rem, 1.6vw + 1.2rem, 2.5rem);
}

.metric-unit{
  font-size: .95rem;
  font-weight: 800;
  color: #0f6a3b;
  letter-spacing: .02em;
}

.metric-label{
  margin-top: .25rem;
  font-weight: 700;
  color: #1f3347;
}

.metric-note{
  margin-top: .15rem;
  font-size: .85rem;
  color: rgba(31,51,71,0.75);
}

/* MEDIA GRID */
.green-media-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:1rem;
}

.green-media{
  border-radius:1.3rem;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(0,0,0,0.12);
  position:relative;
  border: 1px solid rgba(255,255,255,0.25);
}

.green-media img{
  width:100%;
  height:100%;
  min-height: 210px;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}
.green-badges{
  margin-top: 1rem;
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
}
.green-packaging-badge{
  margin-top: 1rem;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:6px 14px;
  border-radius:999px;
  font-size:.8rem;
  background: rgba(15,106,59,0.15);
  border: 1px solid rgba(15,106,59,0.35);
  color: #22c55e;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}
/* .green-cam-badge{
  background: rgba(0,194,255,0.10);
  border: 1px solid rgba(0,194,255,0.35);
  color: var(--filalma-turquoise);
} */
/* ===========================
   CO2 COUNTER PULSE GLOW
=========================== */

.co2-pulse{
  animation: co2Glow 1.2s ease-out;
}

@keyframes co2Glow{
  0%{
    text-shadow: 0 0 0 rgba(0,194,255,0);
  }
  40%{
    text-shadow:
      0 0 8px rgba(0,194,255,0.6),
      0 0 18px rgba(34,197,94,0.5);
  }
  100%{
    text-shadow: 0 0 0 rgba(0,194,255,0);
  }
}
@media (hover:hover){
  .green-media:hover img{ transform:scale(1.05); }
}

@media(max-width:991.98px){
  .green-media-grid{ grid-template-columns:1fr; }
  .green-media img{ min-height: 190px; }
}