/* Palette scura con accento arancione (#ff4601) e font Inter */
@import url('fonts/stylesheet.css');
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@1,2&display=swap');

::selection{
    background: rgb(230, 230, 230);
    color: #ff4601;
    font-weight: 700 !important;
}

::-moz-selection{
    background: rgb(230, 230, 230);
    color: #ff4601;
    font-weight: 700 !important;
}
body {
    margin: 0;
    /* Mantieni il dropdown aperto quando il mouse è sopra il parent o il dropdown */
    /* Nessuna modifica qui, il problema è nella regola .has-dropdown > .dropdown */
    font-family: 'General Sans', 'Matter','Work Sans','Satoshi', 'Work Sans', 'Aeonik', 'Inter', 'Segoe UI', 'Arial', sans-serif;
    /* background: #000000; */
    background: linear-gradient(135deg, #000000 0%, #18181b 100%);
    background-attachment: fixed;
    color: #f3f3f3;
}

#main-content{
    margin-top: 20px; /* Spazio per la navbar fissa */
    padding: 1rem;
    box-sizing: border-box;
    max-width: calc(100% - 2rem);
}

/* MENU MOBILE */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 120;
    margin-right: 2rem;
}
.hamburger span {
    display: block;
    height: 4px;
    width: 28px;
    background: #fff;
    border-radius: 2px;
    margin: 4px 0;
    transition: 0.3s;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border: none;
    cursor: pointer;
}

.btn-gold, .btn-accent {
    background: #ff4601;
    color: #fff;
}

.btn-gold:hover, .btn-accent:hover {
    background: #fff;
    color: #ff4601;
    border: 2px solid #ff4601;
}

.btn-lg {
    font-size: 1.25rem;
    padding: 1rem 2.5rem;
}

.hero {
    color: #fff;
    padding: 6rem 0 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
    color: #ff4601;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #f3f3f3;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 3rem 0;
}

.cta-card {
  background: #4141413f;
  border: 1px solid rgba(252, 252, 252, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(102, 53, 12, 0.2);
}

.cta-icon {
  font-size: 1.5rem;
  color: #ff4500;
  font-weight: bold;
  background-color: #ff551717;
  padding: 0.7rem;
  width: 1.5rem;
    height: 1.5rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-card p {
  margin: 0;
  color: #f3f3f3;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
}

.about, .services, .cta {
    background: none;
    margin-bottom: 2rem;
    border-radius: 16px;
}

.about h2, .services h2, .cta h2 {
    color: #ff4601;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.pillars-section {
  background: none;
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center; /* mantiene il contenuto centrato */
}

.pillars-container {
  display: flex;
  gap: 3rem; /* distanza tra colonna sinistra e destra */
  width: 100%;
  flex-wrap: wrap; /* così su schermi piccoli le colonne vanno sotto */
}

.pillars-left {
  flex: 1; /* occupa metà spazio */
  min-width: 200px; /* evita che diventi troppo piccolo */
}

.pillars-right {
  flex: 2; /* occupa il doppio della sinistra */
}

.pillars-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Animazioni per i pillar stessi */
.pillar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
  position: relative;
}

.pillar:hover {
  background-color: rgba(255, 69, 0, 0.1);
}

.pillar.active {
  background-color: rgba(255, 69, 0, 0.2);
}

.pillar.active .letter {
  background-color: #ff4601;
  color: #fff;
  transform: scale(1.05);
}

.pillar-content h3 {
  margin-top: 0;
}

.pillar-content p {
  text-align: center;
  line-height: 1.2;
}

/* Stili per l'icona dei pillar */
.pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  /* width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.1), rgba(255, 107, 53, 0.15));
  border: 2px solid rgba(255, 69, 0, 0.3);
  */
  border-radius: 50%; 
  /*
  margin-bottom: 1.5rem;
  */
  transition: all 0.3s ease;
  /*
  backdrop-filter: blur(10px);
  */
  position: relative;
  overflow: hidden;
}

.pillar-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillar-icon:hover::before {
  opacity: 1;
}

.pillar-icon svg {
  width: 30px;
  height: 30px;
  color: #ff4500;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  position: relative;
  z-index: 1;
  transform-origin: center;
  will-change: transform, color;
}

/*.pillar-icon:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.2), rgba(255, 107, 53, 0.25));
  border-color: rgba(255, 69, 0, 0.5);
  box-shadow: 0 8px 32px rgba(255, 69, 0, 0.2);
}*/

.pillar-icon:hover svg {
  color: #ff6b35;
  transform: scale(1.1);
}
/* Stili per le sezioni del contenuto dei pillar */
.pillar-description {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #f3f3f3;
}

.pillar-activities {
  background: rgba(255, 69, 0, 0.08);
  border: 1px solid rgba(255, 69, 0, 0.2);
  border-radius: 12px;
  padding: 1.2rem;
  margin-top: 1rem;
  transition: background 0.3s ease, 
              border-color 0.3s ease, 
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center top;
  will-change: transform, background, border-color;
}

.pillar-activities:hover {
  background: rgba(255, 69, 0, 0.12);
  border-color: rgba(255, 69, 0, 0.3);
  transform: translateY(-2px);
}

.pillar-activities h4 {
  margin: 0 0 0.8rem 0;
  color: #ff4500;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pillar-activities p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  font-size: 0.95rem;
}


.letter{
    background-color: rgb(20, 20, 20);
    color: #949494;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 700;
    width: 3rem;
    text-align: center;
    font-family: 'Inter', monospace;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.3s ease, 
                color 0.3s ease;
    transform-origin: center;
    will-change: transform, background-color, color;
}

.pillar.active .letter {
    background-color: #ff4601;
    color: #fff;
}

.pillars-container {
  display: flex;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  flex-wrap: wrap;
}

.pillars-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 700px;
}

.pillars-right {
  flex: 1;
  min-width: 700px !important;
  max-width: 700px !important;
}

.pillars-label {
  color: #f3f3f3;
  font-family: 'Inter', monospace;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.pillars-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pillars-list .pillar {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #cfcfcf;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pillars-list .pillar.active {
  color: #fff;
  font-weight: 800;
}

.explore-btn {
  margin-top: 2rem;
  padding: 0.8rem 1.8rem;
  background: #f3f3f3;
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.explore-btn:hover {
  background: #ff4601;
  color: white;
}

/* Opzionale: scrollbar elegante */
.pillar-content::-webkit-scrollbar {
  width: 6px;
}

.pillar-content::-webkit-scrollbar-thumb {
  background: #ff4601;
  border-radius: 4px;
}

.pillar-content::-webkit-scrollbar-track {
  background: transparent;
}

.pillars-list .pillar {
  font-size: 1.3rem;
  padding: 0.7rem 1rem;
  border-left: 4px solid transparent;
  transition: 0.2s;
  cursor: pointer;
  border-radius: 8px;
}

.pillar-content {
  background: #111;
  border: 1px solid #222;
  border-radius: 16px;
  padding: 2rem;
  height: auto;
  min-height: 300px;
  font-size: 1rem;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Animazioni per il cambio contenuto */
.pillar-content.fade-out {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pillar-content.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.pillar-content.changing {
  pointer-events: none;
}

/* Keyframes per animazioni più sofisticate */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* Animazioni per il contenuto dei pillar */
.pillar-content {
  position: relative;
  min-height: 300px; /* Previene il salto dell'altezza */
  transition: min-height 0.3s ease;
}

.pillar-content.changing {
  pointer-events: none; /* Disabilita interazioni durante l'animazione */
}

.pillar-content.animate-slide-in {
  animation: slideInUp 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pillar-content.animate-slide-out {
  animation: slideOutDown 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Keyframes per animazioni più sofisticate */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-15px);
  }
}

/* Ottimizzazioni per le performance delle animazioni */
.pillar-content.animate-slide-in,
.pillar-content.animate-slide-out {
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.timeline {
  list-style: none;
  padding: 0;
  border-left: 3px solid #2a2a2a;
  margin-left: 2rem;
}
.timeline-step {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
}
.timeline-step .circle {
  position: absolute;
  left: -1.3rem;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  background: #222;
  color: #ff4601;
  font-weight: bold;
  border-radius: 50%;
  text-align: center;
  line-height: 2.2rem;
}
.timeline-step.active .circle {
  background: #ff4601;
  color: #fff;
}
/* Animazione fade in/out */
.fade-out {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.pillar-content {
    background: rgb(63 63 63 / 13%);
    border-radius: 16px;
    padding: 2rem;
    color: #f3f3f3;
    font-size: 1.1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    float: right;
    height: 380px;
    overflow-y: auto;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 10px 20px 30px #ce502214;
}

.pillar-content h3 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: 'Aeonik Extended Pro TRIAL', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ff4601;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.contatti {
  padding: 4rem 2rem;
  color: #fdfdfd;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.contatti h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contatti p {
  text-align: center;
  margin-bottom: 2rem;
  color: #e0e0e0;
}
.contatti ul {
  color: #e0e0e0;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.contatti ul li {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #e0e0e0;
  line-height: 1.6;
}

.contatti ul li a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contatti ul li a:hover {
  color: #005fa3;
  text-decoration: underline;
}

form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  margin-bottom: 0.8rem !important;
  font-weight: 600;
  padding: 0.2rem 0;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  background-color: #0d0d0e;
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  border: 2px solid #dfdfdf70;
  color: white;
  font-size: 1rem;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}

button[type="submit"] {
  background: #ff4601;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  width: 100%;
  font-family: 'Inter', sans-serif;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background: #d93a00;
}


.service-cards {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}
.perche-modern {
  padding: 5rem 2rem;
  color: #f4f4f5;
}


.perche-modern h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 4rem;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.3;
}

.perche-modern h2 span {
  color: #ff4601;
  font-weight: 400;
  text-transform: none;
  display: block;
  margin-top: 0.5rem;
  font-size: 1.2rem;
}

.cta-card {
  justify-content: center !important;
  align-items: center !important;
  display: flex;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.number {
  font-family: 'Inter', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: #ff4601;
  flex-shrink: 0;
  width: 60px;
}

.content h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.content p {
  margin-top: 0.4rem;
  color: #c4c4c7;
  line-height: 1.6;
  font-size: 0.95rem;
}
.card {
    background: rgba(24,24,27,0.98);
    border-radius: 12px;
    padding: 2rem;
    flex: 1 1 250px;
    min-width: 250px;
    max-width: 320px;
    text-align: center;
    color: #f3f3f3;
}

.shadow-effect {
	background: #fff;
	padding: 20px;
	border-radius: 4px;
	text-align: center;
	border: 1px solid #ECECEC;
	box-shadow: 0 19px 38px rgba(0, 0, 0, 0.10), 0 15px 12px rgba(0, 0, 0, 0.02);
}

.cta {
    background: none;
    color: #fff;
    text-align: center;
    padding: 3rem 0;
    border-radius: 16px;
}

.cta .btn-gold, .cta .btn-accent {
    margin-top: 1.5rem;
}

/* FOOTER CALL TO ACTION */
.footer-cta {
    background: linear-gradient(135deg, #ff4601 0%, #ff4500 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin-top: 4rem;
}

.footer-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-cta .btn {
    background: white;
    color: #ff4601;
    border: 2px solid white;
    font-weight: 700;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-cta .btn:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

/* MAIN FOOTER */
.main-footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #f3f3f3;
    padding: 4rem 0 0 0;
    border-top: 1px solid rgba(255, 69, 0, 0.1);
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-around !important;
    gap: 10rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: #ff4601;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-about .footer-logo h3 {
    color: #ff4601;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.footer-about .footer-logo p {
    color: #bdbdbd;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.footer-description {
    line-height: 1.6;
    color: #d1d1d1;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 69, 0, 0.1);
    border: 1px solid rgba(255, 69, 0, 0.3);
    border-radius: 8px;
    color: #ff4601;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: #ff4601;
    color: white;
    border-color: #ff4601;
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #d1d1d1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #ff4601;
    padding-left: 8px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact i {
    color: #ff4601;
    margin-top: 0.2rem;
    font-size: 1rem;
    min-width: 16px;
}

.footer-contact a {
    color: #d1d1d1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ff4601;
}

/* FOOTER BOTTOM */
.footer-bottom {
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #bdbdbd;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #ff4601;
}

.footer-copyright {
    text-align: center;
    color: #bdbdbd;
    font-size: 0.9rem;
}

.footer-copyright p:first-child {
    margin-bottom: 0.3rem;
}

.footer-copyright p:last-child {
    font-size: 0.85rem;
    opacity: 0.8;
} 
.footer-credentials {
    text-align: right;
    color: #bdbdbd;
    font-size: 0.9rem;
    font-weight: 500;
}


/* HERO FULLSCREEN STYLE */
.hero-full {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    border-radius: 24px;
    margin: 2rem auto 3rem auto;
    min-width: 101%;
  border: 5px solid #2222222c;
    box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}
.hero-bg {
    position: absolute;
  border: 2px solid #222;
    top: 0; left: 0; right: 0; bottom: 0;
    filter: blur(1px) brightness(0.5);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 700px;
    padding: 4rem 3rem 4rem 4rem;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 500 !important;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero-title .accent {
    color: #ff4601;
}
.hero-subtitle {
    font-size: 1.2rem !important;
    margin-bottom: 2.5rem;
    color: #fff;
    font-weight: 400;
}

/* ===== Testimonials Slider (full) ===== */

/* Sezione */
.testimonials { margin: 4rem auto; }
.testimonials .sec-title p { margin-bottom: 1rem; }

/* Rail: pulsanti ai lati, slider al centro */
.t-rail {
  display: flex;
  align-items: center;
  gap: 2rem;                 /* distanza fra frecce e slider */
}

/* Slider al centro che si espande */
.testimonial-slider {
  position: relative;
  overflow: visible;
  flex: 1 1 auto;
  min-width: 0;              /* evita overflow in flex */
}

/* Card glassy + dimensioni armoniose */
.t-card {
  background: rgba(63,63,63,0.13);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.5rem;
  color: #f3f3f3;
  backdrop-filter: blur(10px);
  /* box-shadow: 10px 20px 30px #ce502214; */
  min-height: 320px;
  max-width: 520px;          /* impedisce card troppo larghe */
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Header card */
.t-top { display: flex; align-items: center; gap: 1rem; }

.t-avatar {
  width: 58px; height: 58px; border-radius: 50%; object-fit: cover;
  border: 2px solid #222; flex-shrink: 0;
}

.t-name { font-weight: 700; line-height: 1.1; }
.t-role { font-size: 0.92rem; color: #cfcfcf; }
.t-stars i { color: #ff4601; margin-right: 2px; }

/* Testo recensione: scorrevole dentro la card */
.t-quote {
  margin: 0;
  line-height: 1.6;
  font-size: 1.02rem;
  white-space: pre-wrap;
  max-height: 240px;         /* altezza visibile prima dello scroll */
  overflow: auto;
  padding-right: .25rem;     /* spazio per scrollbar */
  scrollbar-width: thin;     /* Firefox */
  scrollbar-color: rgba(255,255,255,.18) transparent;
}
/* scrollbar (WebKit) */
.t-quote::-webkit-scrollbar { width: 6px; }
.t-quote::-webkit-scrollbar-track { background: transparent; }
.t-quote::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 6px; }
.t-quote:hover::-webkit-scrollbar-thumb { background: rgba(255,255,255,.28); }

/* Swiper sizing */
.testimonial-slider .swiper-wrapper { padding: 0.25rem 0 1rem; }
.testimonial-slider .swiper-slide { height: auto; }

/* Niente pallini */
.t-pagination { display: none !important; }

/* Frecce: nel flusso, ai lati del rail */
.t-prev, .t-next {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s, border-color .2s, box-shadow .2s;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.t-prev:hover, .t-next:hover {
  background: #ff4601; color: #fff; border-color: #ff4601;
  transform: scale(1.05);
}
/* Focus accessibile */
.t-prev:focus-visible, .t-next:focus-visible {
  outline: 2px solid #ff4601;
  outline-offset: 2px;
}

.costellazione {
    font-family: 'Chambery Headline', serif;
    font-style: italic;
    font-weight: 800 !important;
}
.btn-hero {
    background: #fff;
    color: #18181b;
    border-radius: 2rem;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    transition: background 0.2s, color 0.2s;
}
.btn-hero:hover {
    background: #ff4601;
    color: #fff;
}
.hero-event {
    position: absolute;
    right: 2.5rem;
    bottom: 2.5rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.event-label {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    opacity: 0.8;
}
.event-box {
    background: rgb(0, 0, 0);
    border-radius: 1.2rem;
    padding: 1.2rem 2rem 1.2rem 1.5rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.event-title {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
}
.btn-event {
    background: #fff;
    color: #18181b;
    border-radius: 1rem;
    font-family: 'Inter';
    font-size: 1rem;
    font-weight: 700;
    padding: 0.7rem 1.7rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}
.btn-event:hover {
    background: #ff4601;
    color: #fff;
}

.a-chi {
  color: #f1f1f1;
  padding: 5rem 2rem;
  text-align: center;
}

.a-chi h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  font-weight: 700;
  text-transform: uppercase;
}

.a-chi h2 span {
  font-weight: 400;
  color: #ff4601;
  font-size: 1rem;
  display: block;
  margin-top: 0.5rem;
}

.grid-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.box {
  padding: 2rem;
  border-radius: 1rem;
  text-align: left;
}

.positivo {
  border: 5px solid rgba(4, 73, 4, 0.986);
  background-color: rgba(23, 124, 23, 0.26);
}

.negativo {
  border: 5px solid rgba(77, 5, 19, 0.959);
  background-color: rgba(187, 26, 58, 0.144);
}

.box h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #fff;
}

.box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.box li {
  margin-bottom: 1rem;
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.4;
}

.box li span {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* AMBIENT GLOW HERO VIDEO - GLOW SOPRA IL VIDEO, SOTTO IL TESTO */
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-bg video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: blur(5px) brightness(80%); /* tolto brightness(0.5) */
  pointer-events: none;
}

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

        .about-blocks {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            max-width: 1500px; /* Cambiato da width fisso a max-width */
            margin: 2rem auto 0 auto; /* Aggiunto margin auto per centrare */
            gap: 3rem;
            margin-top: 30px !important;
            padding: 0 20px;
        }

        .about-block {
            border-radius: 12px;
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 2%;
            padding: 1.5rem 2rem;
            color: #f3f3f3;
            font-size: 1.13rem;
            line-height: 1.6;
        }

        .about-photo {
            min-width: 300px;
            width: 600px;
            height: 650px;
            object-fit: cover;
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
            border-radius: 8px;
            border: 2px solid #222;
            flex-shrink: 0; /* Impedisce alla foto di ridursi */
        }

        .one {
            font-size: 1.2rem;
            font-weight: 400;
            min-width: 600px;
            color: #f3f3f3;
            line-height: 1.6;
            margin-bottom: 0.5rem;
            flex: 1; /* Fa occupare tutto lo spazio rimanente */
        }

        .sec-title {
            font-size: 60px !important;
            margin-top: 70px;
            margin-bottom: 40px !important;
            font-weight: bold;
            color: #ff4601;
            text-transform: capitalize;
            text-align: center;
        }

        .sec-title p {
            margin: 0;
        }



/* ===============================
   FOOTER STYLES - Mastermind inspired
   =============================== */

.main-footer {
    background: linear-gradient(135deg, #050507 0%, #0a0b0f 50%, #0d0f14 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
    margin: 10px 10px 10px auto;
    max-width: 99%;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 69, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 69, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.005) 0%, transparent 50%);
    pointer-events: none;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.footer-logo-img:hover {
    filter: brightness(1.1);
}

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 20px 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-section ul li a:hover {
    color: #ff4500;
    transform: translateX(4px);
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #ff4500, #ff6b35);
    transition: width 0.3s ease;
}

.footer-section ul li a:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.1), rgba(255, 107, 53, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    background: rgba(255, 69, 0, 0.1);
    border-color: rgba(255, 69, 0, 0.3);
    color: #ff4500;
    box-shadow: 0 8px 32px rgba(255, 69, 0, 0.15);
}

.footer-social a:hover::before {
    opacity: 1;
}

.footer-social a i {
    font-size: 20px;
    position: relative;
    z-index: 1;
}

.footer-bottom {
    text-align: center;
    padding: 10px 0;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
    letter-spacing: 0.3px;
    font-weight: 400;
}

