:root {
  /* 🎨 Palette Colori */
  --colore-primario: #0f1e30;
  /* Blu notte */
  --colore-secondario: #345969;
  /* Blu petrolio */
  --colore-chiaro: #f1efec;
  /* Grigio chiaro */
  --colore-accento: #f55203;
  /* Arancione */

  /* 🅰️ Font principali */
  --font-display: 'League Gothic', 'Impact', 'Franklin Gothic Bold', sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Uso variazioni dello stesso font */
  --font-titoli: var(--font-display);
  --font-sottotitoli: var(--font-body);
  --font-testo: var(--font-body);
  --font-numeri: var(--font-body);
}

/* OPZIONALE: Font locale per performance massima */
@font-face {
  font-family: 'LeagueGothicLocal';
  src: url('fonts/league-gothic.woff2') format('woff2');
  font-display: swap;
}





body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--colore-chiaro);
  color: var(--colore-primario);
}





/*HOMEPAGE*/
.site-header {
  background-color: var(--colore-primario);
  padding: 10px 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
}

.main-nav .nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
}

.nav-group {
  display: flex;
  gap: 100px;
}

.nav-container a {
  color: white;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 2.3rem;
}

.nav-logo a {
  font-family: var(--font-display);
  font-size: 5rem;
  color: white;
  text-decoration: none;
}

.hero-grid {
  background-color: var(--colore-chiaro);
  display: flex;
  justify-content: center;
  padding: 0px;
}

.hero-grid video {
  width: 500px;
  height: 720px;
  object-fit: cover;
  aspect-ratio: 9/16;
}

/* Mostra solo su desktop */
.desktop-only {
  display: flex;
}

/* ==== NASCONDI ELEMENTI MOBILE IN VERSIONE DESKTOP ==== */
.hamburger,
.mobile-menu {
  display: none;
}

.video-mobile {
  display: none;
}

.mobile-only {
  display: none;
}




/*01 AGENZIA*/
.about {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 80px 5vw;
  gap: 60px;
  background-color: white;
}

.about-left {
  flex: 1;
  max-width: 50%;
}

.about-left h2 {
  font-family: var(--font-titoli);
  font-size: 4rem;
  color: var(--colore-primario);
  margin-bottom: 20px;
}

.about-left p,
.about-left ul {
  font-family: var(--font-testo);
  font-size: 1.2rem;
  color: var(--colore-secondario);
  line-height: 1.6;
}

.about-left ul {
  padding-left: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.about-left li {
  margin-bottom: 10px;
}

.about-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.about-img {
  width: 100%;
  overflow: hidden;
}

.about-main-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.about-side-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.about-right .image-wrapper {
  display: flex;
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.image-large,
.image-small {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.image-large {
  flex: 3;
}

.image-small {
  flex: 1;
}

.image-large img,
.image-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gradient-overlay-agenzia {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, white 0%, transparent 90%);
  pointer-events: none;
}

.btn {
  background-color: var(--colore-primario);
  color: white;
  padding: 0.8rem 2.4rem;
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-sottotitoli);
  font-size: 1.2rem;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: var(--colore-accento);
}


/*KNOW-HOW*/
.expertises {
  background-color: var(--colore-chiaro);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  padding: 5rem 5vw;
}

.knowhow-image {
  flex: 1;
  max-width: 50%;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  height: 500px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gradient-overlay-knowhow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, var(--colore-chiaro) 0%, transparent 90%);
  z-index: 2;
  pointer-events: none;
}

.knowhow-content {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.knowhow-content h2 {
  font-family: var(--font-titoli);
  font-size: 4rem;
  color: var(--colore-primario);
  margin-bottom: 30px;
}

.knowhow-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.knowhow-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.expertise {
  background-color: var(--colore-primario);
  color: white;
  font-family: var(--font-sottotitoli);
  font-weight: 700;
  font-size: 1.5rem;
  padding: 16px 32px;
  border-radius: 20px;
  text-align: center;
  min-width: 250px;
}



/*03 PROGETTI*/
.progetti-intestazione {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 5vw 40px;
  background-color: white;
}

.progetti-intestazione h2 {
  font-family: var(--font-titoli);
  font-size: 4rem;
  color: var(--colore-primario);
  margin: 0;
}

.progetti-carousel {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  transition: background-image 0.6s ease-in-out;
}

.carousel-wrapper {
  position: relative;
  max-width: 100vw;
  overflow: hidden;
  padding: 0 5vw;
}

.carousel-track {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s ease;
}

.carousel-item {
  flex: 0 0 300px;
  list-style: none;
  text-align: center;
  transition: transform 0.5s, opacity 0.5s;
  transform: scale(0.85);
  opacity: 0.6;
  cursor: pointer;
  font-family: var(--font-testo);
  color: white;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 20px;
}

.carousel-item.active {
  transform: scale(1.1);
  opacity: 1;
  z-index: 2;
  background-color: rgba(3, 12, 29, 0.9);
}

.carousel-item img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.carousel-item h3 {
  font-size: 1.5rem;
  margin: 0;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background-color: rgba(255,255,255,0.7);
  color: var(--colore-primario);
  border: none;
  padding: 5px;
  border-radius: 10%;
  cursor: pointer;
  z-index: 10;
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

.carousel-arrow:hover {
  background-color: var(--colore-accento);
  color: white;
}

@media screen and (min-width: 441px) {
  .solo-mobile {
    display: none !important;
  }
}




/* FOOTER DESKTOP - Modern Design */
.site-footer {
  background: linear-gradient(135deg, #0f1e30 0%, #1a2b3d 100%);
  color: var(--colore-chiaro);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 82, 3, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

/* CTA Section */
.footer-cta {
  padding: 80px 5vw;
  text-align: center;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content h2 {
  font-family: var(--font-titoli);
  font-size: 3.5rem;
  color: var(--colore-chiaro);
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.cta-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #f55203, #ff7a3d);
  border-radius: 2px;
}

.cta-content p {
  font-family: var(--font-testo);
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 40px 0;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #f55203 0%, #ff7a3d 100%);
  color: white;
  padding: 18px 35px;
  border-radius: 35px;
  text-decoration: none;
  font-family: var(--font-sottotitoli);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(245, 82, 3, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(245, 82, 3, 0.4);
}

.btn-primary:active::before {
  width: 300px;
  height: 300px;
}

.btn-secondary {
  background: transparent;
  color: var(--colore-chiaro);
  padding: 18px 35px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 35px;
  text-decoration: none;
  font-family: var(--font-sottotitoli);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #f55203;
  color: #f55203;
  transform: translateY(-3px);
}

/* Main Footer Content */
.footer-main {
  padding: 80px 5vw 60px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.footer-column:first-child {
  flex: 2;
  max-width: 500px;
}

.footer-column:last-child {
  flex: 1;
  min-width: 300px;
}

.footer-column h4 {
  font-family: var(--font-titoli);
  font-size: 1.3rem;
  color: var(--colore-chiaro);
  margin: 0 0 25px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #f55203;
  border-radius: 1px;
}

/* Company Column */
.footer-logo {
  margin-bottom: 20px;
}

.footer-logo h3 {
  font-family: var(--font-titoli);
  font-size: 3rem;
  color: var(--colore-chiaro);
  margin: 0;
  line-height: 1;
}

.footer-logo .tagline {
  font-family: var(--font-sottotitoli);
  font-size: 0.9rem;
  color: #f55203;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.company-description {
  font-family: var(--font-testo);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0 0 30px 0;
}

.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-links a:hover {
  background: linear-gradient(135deg, #f55203, #ff7a3d);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(245, 82, 3, 0.4);
}

.social-links img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

/* Navigation Lists */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: var(--font-testo);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
}

.footer-column a::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #f55203;
  font-size: 0.8rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-column a:hover {
  color: #f55203;
  padding-left: 20px;
}

.footer-column a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border-left: 3px solid #f55203;
  backdrop-filter: blur(10px);
}

.contact-item strong {
  font-family: var(--font-sottotitoli);
  font-size: 0.85rem;
  color: #f55203;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

.contact-item p {
  font-family: var(--font-testo);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}

/* Newsletter Section */
.footer-newsletter {
  padding: 50px 5vw;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.newsletter-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 40px;
}

.newsletter-text h4 {
  font-family: var(--font-titoli);
  font-size: 1.8rem;
  color: var(--colore-chiaro);
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.newsletter-text p {
  font-family: var(--font-testo);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  align-items: center;
}

.newsletter-form input {
  padding: 15px 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--colore-chiaro);
  font-family: var(--font-testo);
  font-size: 1rem;
  min-width: 300px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #f55203;
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  padding: 15px 25px;
  background: linear-gradient(135deg, #f55203 0%, #ff7a3d 100%);
  color: white;
  border: none;
  border-radius: 25px;
  font-family: var(--font-sottotitoli);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 82, 3, 0.3);
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 82, 3, 0.4);
}

/* Footer Bottom */
.footer-bottom {
  padding: 40px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.legal-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-family: var(--font-testo);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #f55203;
}

.copyright {
  text-align: center;
}

.copyright span {
  font-family: var(--font-testo);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.certifications {
  display: flex;
  gap: 20px;
  align-items: center;
  font-family: var(--font-sottotitoli);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Tablet adaptations */
@media screen and (max-width: 1024px) {
  .footer-grid {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }

  .footer-column:first-child,
  .footer-column:last-child {
    flex: none;
    max-width: none;
    min-width: auto;
  }

  .cta-content h2 {
    font-size: 2.8rem;
  }

  .newsletter-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter-form input {
    min-width: auto;
    width: 100%;
    max-width: 400px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .legal-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .certifications {
    flex-wrap: wrap;
    justify-content: center;
  }
}









/*CHI SIAMO*/
.about-hero {
  display: flex;
  min-height: 100vh;
}

.hero-left {
  flex: 1;
  background-color: var(--colore-primario);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-left: 5vw;
  padding-top: 3.5vw;
}

.hero-left h1 {
  font-family: var(--font-titoli);
  font-size: 21rem;
  color: var(--colore-chiaro);
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

.hero-left .hero-intro {
  margin-top: 2rem;
  font-family: var(--font-testo);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--colore-chiaro);
  max-width: 90%;
}

.hero-right {
  flex: 2;
  background-color: var(--colore-primario);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 5vw;
  padding-top: 5vw;
  padding-bottom: 3vw;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
  width: 100%;
  max-width: 1920px;
}

.news-item {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.news-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}



/* Sezione team */
.team-section {
  background: white;
  padding: 120px 5vw;
  position: relative;
  overflow: hidden;
}

.team-section::before {
  content: 'TEAM';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  font-size: 8rem;
  font-family: var(--font-titoli);
  color: rgba(15, 30, 48, 0.03);
  font-weight: bold;
  z-index: 0;
  pointer-events: none;
  letter-spacing: 15px;
}

.team-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.team-header h2 {
  font-family: var(--font-titoli);
  font-size: 12rem;
  color: var(--colore-primario);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 0.9;
  position: relative;
}

.team-header h2::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 120px;
  height: 5px;
  background: linear-gradient(90deg, #f55203, #ff7a3d);
  border-radius: 3px;
}

.team-header .intro {
  max-width: 30%;
  font-family: var(--font-testo);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--colore-primario);
  margin: 0;
  text-align: right;
}

/* DESKTOP STYLES - Solo per schermi grandi con hover funzionante */
@media screen and (min-width: 769px) {
  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
  }

  .card {
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(15, 30, 48, 0.1);
    transition: all 0.4s ease;
    animation: slideInUp 0.7s ease-out;
    animation-fill-mode: both;
  }

  .card::before {
    transform: scaleX(0);
    transition: transform 0.4s ease;
  }

  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(15, 30, 48, 0.15);
    border-color: rgba(245, 82, 3, 0.2);
  }

  .card:hover::before {
    transform: scaleX(1);
  }

  .card img {
    height: 350px;
    transition: transform 0.4s ease;
  }

  .card:hover img {
    transform: scale(1.05);
  }

  .card .card-info {
    padding: 25px;
    text-align: left;
  }

  .card-info h3 {
    font-size: 1.8rem;
    transition: color 0.3s ease;
  }

  .card:hover .card-info h3 {
    color: #f55203;
  }

  .card-info .role {
    font-size: 1rem;
  }

  .card-info p.bio {
    font-size: 1.1rem;
  }

  .card[data-name]::after {
    font-size: 1.1rem;
    padding: 15px 25px 25px;
  }

  /* Tooltip hover effect solo su desktop */
  .card[data-name]:hover::after {
    content: attr(data-name);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 30, 48, 0.95);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: tooltipFadeIn 0.3s ease-out forwards;
  }

  @keyframes tooltipFadeIn {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }

  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(50px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .card:nth-child(1) { animation-delay: 0.1s; }
  .card:nth-child(2) { animation-delay: 0.2s; }
  .card:nth-child(3) { animation-delay: 0.3s; }
  .card:nth-child(4) { animation-delay: 0.4s; }
  .card:nth-child(5) { animation-delay: 0.5s; }
  .card:nth-child(6) { animation-delay: 0.6s; }
  .card:nth-child(7) { animation-delay: 0.7s; }
  .card:nth-child(8) { animation-delay: 0.8s; }
  .card:nth-child(9) { animation-delay: 0.9s; }
  .card:nth-child(10) { animation-delay: 1.0s; }
}











/*KNOW-HOW-competenze*/
.services {
  background: linear-gradient(135deg, rgba(245, 82, 3, 0.02) 0%, rgba(255, 122, 61, 0.02) 100%);
  padding: 80px 5vw 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: 'KNOW-HOW';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  font-size: 6rem;
  font-family: var(--font-titoli);
  color: rgba(15, 30, 48, 0.03);
  font-weight: bold;
  z-index: 0;
  pointer-events: none;
  letter-spacing: 10px;
  white-space: nowrap;
}

.services-title {
  font-family: var(--font-titoli);
  font-size: 12rem;
  color: var(--colore-primario);
  margin: 0 0 80px 0;
  text-align: right;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 0.9;
}

.services-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: 0;
  width: 200px;
  height: 5px;
  background: linear-gradient(90deg, #f55203, #ff7a3d);
  border-radius: 3px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 50px;
  position: relative;
  z-index: 1;
}

.service {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(15, 30, 48, 0.1);
  text-align: left;
  transition: all 0.4s ease;
  position: relative;
}

.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #f55203, #ff7a3d);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(15, 30, 48, 0.15);
}

.service:hover::before {
  transform: scaleX(1);
}

.service img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service:hover img {
  transform: scale(1.05);
}

.service-text {
  padding: 35px;
}

.service-text h3 {
  font-family: var(--font-titoli);
  font-size: 2.8rem;
  color: var(--colore-primario);
  margin: 0 0 25px 0;
  line-height: 1.2;
  position: relative;
}

.service-text ul {
  list-style: none;
  padding: 0;
  font-family: var(--font-testo);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--colore-secondario);
}

.service-text li {
  margin-bottom: 20px;
  position: relative;
  padding-left: 25px;
}

.service-text li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #f55203;
  font-weight: bold;
  font-size: 1.2rem;
}

.service-text strong {
  color: var(--colore-primario);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

/* TALENT-INFLUENCER SECTION */
.talent-influencer {
  background: linear-gradient(135deg, #0f1e30 0%, #1a2b3d 100%);
  padding: 50px 5vw;
  color: var(--colore-chiaro);
  position: relative;
  overflow: hidden;
}

.talent-influencer::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 82, 3, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.talent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--font-testo);
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--colore-chiaro);
}

.text-block.left {
  text-align: left;
  padding-right: 20px;
}

.text-block.right {
  text-align: right;
  padding-left: 20px;
  align-items: flex-end;
}

.text-block p {
  max-width: 100%;
  margin-top: 40px !important;
  margin-bottom: 40px !important;
  position: relative;
  z-index: 1;
}

.title-vertical {
  font-family: var(--font-titoli);
  font-size: 7rem;
  line-height: 0.85;
  margin: 0 0 30px 0;
  color: var(--colore-chiaro);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.text-block.left .title-vertical::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #f55203, #ff7a3d);
  border-radius: 2px;
}

.text-block.right .title-vertical::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #f55203, #ff7a3d);
  border-radius: 2px;
}

.image-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.image-column img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-column img:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.image-column img:first-child {
  height: 350px;
}

.image-column img:nth-child(2) {
  height: 250px;
}

.image-column img:last-child {
  height: 200px;
}

/* COMMUNITY SECTION */
.community-section {
  background: white;
  padding: 120px 5vw 100px;
  position: relative;
}

.community-grid {
  display: flex;
  gap: 80px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 100px;
}

.community-block {
  flex: 1;
  min-width: 400px;
}

.community-block img {
  width: 100%;
  height: 350px;
  border-radius: 20px;
  object-fit: cover;
  display: block;
  transition: all 0.3s ease;
  box-shadow: 0 15px 40px rgba(15, 30, 48, 0.1);
}

.community-block img:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(15, 30, 48, 0.15);
}

.community-text {
  max-width: 100%;
  margin-top: 30px;
}

.community-text.left {
  text-align: left;
}

.community-text.right {
  text-align: right;
}

.community-text h3 {
  font-family: var(--font-titoli);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--colore-primario);
  margin: 0 0 20px 0;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.community-text.left h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #f55203, #ff7a3d);
  border-radius: 2px;
}

.community-text.right h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #f55203, #ff7a3d);
  border-radius: 2px;
}

.community-text p {
  font-family: var(--font-testo);
  font-size: 1.2rem;
  color: var(--colore-secondario);
  line-height: 1.6;
  margin: 0;
}

.community-title {
  text-align: center;
  position: relative;
}

.community-title h2 {
  font-family: var(--font-titoli);
  font-size: 12rem;
  color: var(--colore-primario);
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
}

.community-title h2::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 5px;
  background: linear-gradient(90deg, #f55203, #ff7a3d);
  border-radius: 3px;
}

/* UFFICIO STAMPA SECTION */
.ufficio-stampa {
  background: linear-gradient(135deg, #0f1e30 0%, #1a2b3d 100%);
  color: var(--colore-chiaro);
  padding: 120px 5vw;
  border-bottom: 10px solid var(--colore-chiaro);
  position: relative;
  overflow: hidden;
}

.ufficio-stampa::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 82, 3, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.stampa-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: center;
}

.stampa-image {
  position: relative;
}

.stampa-image img {
  width: 100%;
  height: 450px;
  border-radius: 25px;
  object-fit: cover;
  display: block;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.stampa-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.stampa-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.stampa-text .title-vertical {
  font-family: var(--font-titoli);
  font-size: 10rem;
  line-height: 0.85;
  margin: 0 0 40px 0;
  color: var(--colore-chiaro);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.stampa-text .title-vertical::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #f55203, #ff7a3d);
  border-radius: 2px;
}

.stampa-text p {
  font-family: var(--font-testo);
  font-size: 1.4rem;
  max-width: 450px;
  color: var(--colore-chiaro);
  line-height: 1.6;
  margin: 0;
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service,
.community-block,
.stampa-image,
.stampa-text {
  animation: slideInUp 0.7s ease-out;
  animation-fill-mode: both;
}

.service:nth-child(1) { animation-delay: 0.1s; }
.service:nth-child(2) { animation-delay: 0.2s; }
.service:nth-child(3) { animation-delay: 0.3s; }

/* Large desktop optimization */
@media screen and (min-width: 1600px) {
  .services {
    padding: 100px 8vw 140px;
  }

  .services-title {
    font-size: 14rem;
  }

  .title-vertical {
    font-size: 8rem;
  }

  .community-title h2 {
    font-size: 14rem;
  }

  .stampa-text .title-vertical {
    font-size: 12rem;
  }
}

/* Medium desktop */
@media screen and (max-width: 1400px) {
  .services-title {
    font-size: 10rem;
  }

  .title-vertical {
    font-size: 6rem;
  }

  .community-title h2 {
    font-size: 10rem;
  }

  .stampa-text .title-vertical {
    font-size: 8rem;
  }
}

/* Tablet landscape transition */
@media screen and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .talent-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .text-block.left,
  .text-block.right {
    text-align: center;
    align-items: center;
    padding: 0;
  }

  .community-grid {
    flex-direction: column;
    gap: 50px;
  }

  .stampa-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .stampa-text {
    align-items: center;
    text-align: center;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .service,
  .community-block img,
  .stampa-image img,
  .image-column img {
    animation: none;
    transition: none;
  }

  .service:hover,
  .community-block img:hover,
  .stampa-image img:hover,
  .image-column img:hover {
    transform: none;
  }
}










/*PROGETTI*/
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 0;
  max-width: 1920px;
  margin: 0 auto;
}

.project-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  font-family: var(--font-testo);
}

.project-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: filter 0.5s ease;
}

.project-title {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-titoli);
  font-size: 3rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 10px 20px;
  border-radius: 10px;
  z-index: 2;
  transition: opacity 0.5s ease;
  text-align: center;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 20px;
  gap: 15px;
  transition: opacity 0.5s ease;
}

.project-box {
  background-color: white;
  color: var(--colore-primario);
  font-weight: bold;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.project-box img {
  width: 30px;
  height: 30px;
}

.project-card:hover .project-bg {
  filter: brightness(50%);
}

.project-card:hover .project-title {
  opacity: 0;
}

.project-card:hover .project-overlay {
  opacity: 1;
}










/*UGC INFLUENCER*/
.ugc-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1920px;
  margin: 0 auto;
}

.ugc-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}

.ugc-card {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  font-family: var(--font-testo);
}

.ugc-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: filter 0.5s ease;
}

.ugc-name {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sottotitoli);
  font-size: 1.1rem;
  color: white;
  background-color: var(--colore-primario);
  padding: 8px 16px;
  border-radius: 25px;
  z-index: 2;
  transition: opacity 0.5s ease;
}

.ugc-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.ugc-icon {
  background-color: white;
  border-radius: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}

.ugc-icon img {
  width: 36px;
  height: 36px;
}

.ugc-card:hover .ugc-bg {
  filter: brightness(50%);
}

.ugc-card:hover .ugc-overlay {
  opacity: 1;
}

.ugc-card:hover .ugc-name {
  opacity: 0;
}










/* BLOG SECTION - Desktop Version */
.blog-section {
  background-color: var(--colore-chiaro);
  padding: 4rem 2rem;
  max-width: 1500px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* Alternating background for sections */
.blog-section:nth-child(even) {
  background: linear-gradient(135deg, rgba(245, 82, 3, 0.02) 0%, rgba(255, 122, 61, 0.02) 100%);
}

/* Section titles */
.blog-section h2 {
  font-family: var(--font-titoli);
  font-size: 3.5rem;
  color: var(--colore-primario);
  margin-bottom: 2rem;
  margin-top: 1rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.blog-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #f55203, #ff7a3d);
  border-radius: 2px;
}

/* Decorative HR */
.blog-section hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, rgba(245, 82, 3, 0.1) 0%, rgba(255, 122, 61, 0.1) 100%);
  margin: 2rem 0 3rem 0;
  width: 100%;
}

/* Main layout */
.blog-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 60px;
  align-items: start;
}

.blog-layout-reverse {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: start;
}

/* Featured blog post */
.blog-featured {
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(15, 30, 48, 0.1);
  transition: all 0.4s ease;
  position: relative;
}

.blog-featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(15, 30, 48, 0.15);
}

.blog-featured img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-featured:hover img {
  transform: scale(1.05);
}

.blog-featured .content {
  padding: 2.5rem;
}

.blog-featured .tag {
  display: inline-block;
  font-family: var(--font-sottotitoli);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: white;
  background: linear-gradient(135deg, #f55203, #ff7a3d);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.blog-featured h3 {
  font-family: var(--font-titoli);
  font-size: 2.5rem;
  color: var(--colore-primario);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  font-weight: 400;
}

.blog-featured p {
  font-family: var(--font-testo);
  font-size: 1.2rem;
  color: var(--colore-secondario);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.blog-featured .btn {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, #f55203 0%, #ff7a3d 100%);
  color: white;
  text-decoration: none;
  font-family: var(--font-sottotitoli);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(245, 82, 3, 0.3);
}

.blog-featured .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.blog-featured .btn:hover::before {
  width: 300px;
  height: 300px;
}

.blog-featured .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 82, 3, 0.4);
}

/* Blog cards list */
.blog-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 30px;
  counter-reset: blog-counter;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(15, 30, 48, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(15, 30, 48, 0.12);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover img {
  transform: scale(1.03);
}

.blog-card h4 {
  font-family: var(--font-titoli);
  font-size: 1.4rem;
  color: var(--colore-primario);
  margin: 0;
  padding: 1.5rem 1.5rem 2rem 1.5rem;
  line-height: 1.4;
  font-weight: 400;
  transition: color 0.3s ease;
}

.blog-card:hover h4 {
  color: #f55203;
}

/* Card numbering */
.blog-card::before {
  content: counter(blog-counter);
  counter-increment: blog-counter;
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(15, 30, 48, 0.8);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-family: var(--font-sottotitoli);
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-featured,
.blog-card {
  animation: slideInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }

/* Large desktop optimization */
@media screen and (min-width: 1400px) {
  .blog-section {
    padding: 5rem 3rem;
  }

  .blog-layout,
  .blog-layout-reverse {
    gap: 80px;
  }

  .blog-featured h3 {
    font-size: 2.8rem;
  }

  .blog-featured p {
    font-size: 1.3rem;
  }

  .blog-card h4 {
    font-size: 1.5rem;
  }

  .blog-card img {
    height: 200px;
  }
}

/* Medium desktop */
@media screen and (max-width: 1200px) {
  .blog-section {
    padding: 3rem 1.5rem;
  }

  .blog-layout,
  .blog-layout-reverse {
    gap: 50px;
  }

  .blog-featured img {
    height: 280px;
  }

  .blog-featured h3 {
    font-size: 2.2rem;
  }

  .blog-card img {
    height: 160px;
  }
}

/* Tablet landscape transition */
@media screen and (max-width: 1024px) {
  .blog-layout,
  .blog-layout-reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .blog-list {
    grid-template-columns: 1fr 1fr;
    gap: 30px 25px;
  }

  .blog-featured img {
    height: 250px;
  }

  .blog-section h2 {
    font-size: 3rem;
  }
}









/*CONTATTI*/
/* CONTATTI SECTION - Desktop Version */
.contact-section {
  background: white;
  padding: 80px 5vw;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* Decorative background text */
.contact-section::before {
  content: 'CONTACT';
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  font-size: 8rem;
  font-family: var(--font-titoli);
  color: rgba(15, 30, 48, 0.03);
  font-weight: bold;
  z-index: 0;
  pointer-events: none;
  letter-spacing: 15px;
  white-space: nowrap;
}

/* Grid layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

/* Left column - Form */
.contact-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-left h2 {
  font-family: var(--font-titoli);
  font-size: 4.5rem;
  color: var(--colore-primario);
  margin: 0;
  line-height: 1.1;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-left h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 120px;
  height: 5px;
  background: linear-gradient(90deg, #f55203, #ff7a3d);
  border-radius: 3px;
}

/* Social inline section */
.contact-social-inline {
  background: linear-gradient(135deg, rgba(245, 82, 3, 0.05) 0%, rgba(255, 122, 61, 0.05) 100%);
  border-radius: 25px;
  padding: 25px;
  border-left: 4px solid #f55203;
  position: relative;
}

.contact-text {
  font-family: var(--font-sottotitoli);
  font-size: 1.3rem;
  color: var(--colore-secondario);
  margin-bottom: 20px;
  line-height: 1.6;
  display: block;
}

.contact-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.contact-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--colore-primario);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(15, 30, 48, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-icons a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #f55203, #ff7a3d);
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
  z-index: 1;
}

.contact-icons a:hover::before {
  width: 100%;
  height: 100%;
}

.contact-icons a:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 25px rgba(245, 82, 3, 0.3);
}

.contact-icons img {
  width: 28px;
  height: 28px;
  filter: grayscale(100%) contrast(0.8);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.contact-icons a:hover img {
  filter: grayscale(0%) brightness(0) invert(1);
  transform: scale(1.1);
}

/* Form styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-testo);
  font-size: 1.1rem;
  padding: 18px 20px;
  border: 2px solid transparent;
  border-radius: 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
  color: var(--colore-primario);
  transition: all 0.3s ease;
  position: relative;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(15, 30, 48, 0.4);
  font-weight: 400;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f55203;
  background: white;
  box-shadow: 0 0 0 4px rgba(245, 82, 3, 0.1);
  transform: translateY(-2px);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

/* Submit button */
.contact-form .btn {
  background: linear-gradient(135deg, #f55203 0%, #ff7a3d 100%);
  color: white;
  padding: 18px 35px;
  border-radius: 35px;
  font-family: var(--font-sottotitoli);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(245, 82, 3, 0.3);
  align-self: flex-start;
}

.contact-form .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.contact-form .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(245, 82, 3, 0.4);
}

.contact-form .btn:active {
  transform: translateY(-1px) scale(0.98);
}

.contact-form .btn:active::before {
  width: 300px;
  height: 300px;
}

/* Right column - Map */
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 25px;
  height: 100%;
}

.mappa-testo {
  background: linear-gradient(135deg, #0f1e30 0%, #1a2b3d 100%);
  color: white;
  padding: 25px 30px;
  border-radius: 20px;
  font-family: var(--font-sottotitoli);
  font-size: 1.2rem;
  line-height: 1.6;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(15, 30, 48, 0.15);
}

.mappa-testo::before {
  content: '📍';
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
  font-size: 2.5rem;
  opacity: 0.3;
}

.mappa-testo::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(245, 82, 3, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.mappa-testo p {
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Map container */
.contact-right iframe {
  width: 100%;
  height: 450px;
  border-radius: 20px;
  border: none;
  box-shadow: 0 15px 40px rgba(15, 30, 48, 0.15);
  transition: all 0.3s ease;
}

.contact-right iframe:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(15, 30, 48, 0.2);
}

/* Floating badge */
.contact-right {
  position: relative;
}

.contact-right::after {
  content: 'SEDE';
  position: absolute;
  top: -15px;
  right: 40px;
  background: linear-gradient(135deg, #f55203, #ff7a3d);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(245, 82, 3, 0.4);
  font-family: var(--font-sottotitoli);
}

/* Form validation states */
.contact-form input:valid,
.contact-form textarea:valid {
  border-color: rgba(40, 167, 69, 0.3);
}

.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(220, 53, 69, 0.3);
}

/* Loading state */
.contact-form.loading .btn {
  pointer-events: none;
  opacity: 0.8;
  background: linear-gradient(135deg, #999 0%, #bbb 100%);
}

.contact-form.loading .btn::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-left > *,
.contact-right > * {
  animation: fadeInUp 0.7s ease-out;
  animation-fill-mode: both;
}

.contact-left h2 { animation-delay: 0.1s; }
.contact-social-inline { animation-delay: 0.2s; }
.contact-form { animation-delay: 0.3s; }
.mappa-testo { animation-delay: 0.4s; }
.contact-right iframe { animation-delay: 0.5s; }

/* Large desktop optimization */
@media screen and (min-width: 1600px) {
  .contact-section {
    padding: 100px 8vw;
  }

  .contact-grid {
    gap: 100px;
  }

  .contact-left h2 {
    font-size: 5rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 20px 25px;
    font-size: 1.2rem;
  }

  .contact-right iframe {
    height: 500px;
  }
}

/* Medium desktop */
@media screen and (max-width: 1200px) {
  .contact-section::before {
    font-size: 6rem;
    letter-spacing: 10px;
  }

  .contact-grid {
    gap: 60px;
  }

  .contact-left h2 {
    font-size: 3.8rem;
  }

  .contact-right iframe {
    height: 400px;
  }
}

/* Tablet landscape transition */
@media screen and (max-width: 1024px) {
  .contact-section {
    padding: 60px 4vw;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-left h2 {
    font-size: 3.5rem;
    text-align: center;
  }

  .contact-left h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .contact-right iframe {
    height: 350px;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .contact-left > *,
  .contact-right > *,
  .contact-icons a,
  .contact-form .btn,
  .contact-right iframe {
    animation: none;
    transition: none;
  }

  .contact-icons a:hover,
  .contact-form .btn:hover,
  .contact-right iframe:hover {
    transform: none;
  }
}



