/* Stili per la pagina Contatti - Tema Messico */

/* HERO SECTION */
.page-hero__inner { 
  max-width: 100vw;
  margin: 0 auto;
  padding: 180px 20px 80px;
  width: 100%;
  text-align: center;
  position: relative;
}

.page-hero__inner::before {
  font-size: 60px;
  position: absolute;
  top: 100px;
  left: 10%;
  opacity: 0.3;
  animation: swing 4s infinite;
}

.page-hero__inner::after {
  font-size: 60px;
  position: absolute;
  top: 120px;
  right: 10%;
  opacity: 0.3;
  animation: swing 4s infinite reverse;
}

.hero-kicker { 
  letter-spacing: 6px;
  text-transform: uppercase;
  font-size: 14px;
  background: linear-gradient(90deg, var(--verde-mex), var(--bianco), var(--rosso-mex));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 20px;
  font-weight: 600;
}

.hero-stacked {
  margin: 0 0 20px;
  font-size: clamp(48px, 8vw, 110px);
  line-height: 1;
  letter-spacing: 8px;
  text-transform: uppercase;
  font-weight: 800;
}

.accent {
  color: var(--bianco);
  display: inline-block;
  text-shadow: 3px 3px 0 var(--verde-mex), 5px 5px 0 var(--rosso-mex);
  position: relative;
}

.accent::before {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: var(--rosso-mex);
  opacity: 0.7;
}

.accent::after {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: var(--verde-mex);
  opacity: 0.7;
}

.hero-sub {
  margin: 30px auto 0;
  color: #cfcfcf;
  max-width: 600px;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1.8;
  background: rgba(0,0,0,0.3);
  padding: 15px 30px;
  border-radius: 50px;
  backdrop-filter: blur(5px);
  border: 1px solid var(--bianco);
}

/* CONTACT SECTION */
.section {
  padding: 60px 20px 80px;
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--verde-mex) 0%, transparent 70%);
  opacity: 0.1;
  border-radius: 50%;
}

.section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--rosso-mex) 0%, transparent 70%);
  opacity: 0.1;
  border-radius: 50%;
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.contact-header {
  text-align: center;
  margin-bottom: 30px;
}

.split-eyebrow {
  color: var(--bianco);
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 13px;
  margin: 0 0 20px;
  font-weight: 500;
  background: linear-gradient(90deg, var(--verde-mex), var(--bianco), var(--rosso-mex));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.split-title {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bianco);
  margin: 0;
  text-shadow: 2px 2px 0 var(--verde-mex), 3px 3px 0 var(--rosso-mex);
}

/* CONTACT CARDS */
.contact-cards {
  display: grid; /* Layout a griglia per le card di contatti */
  grid-template-columns: repeat(3, 1fr); /* Tre colonne di uguale larghezza */
  gap: 25px;
  margin-top: 30px;
}

.contact-card {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #222;
  padding: 35px 25px;
  transition: all 0.5s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(135deg, 
    rgba(0, 99, 65, 0.2) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(206, 17, 38, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 1;
}

.contact-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--bianco);
  box-shadow: 0 30px 60px rgba(206, 17, 38, 0.3);
  background: #2a2a2a;
}

.contact-card:hover::before {
  opacity: 1;
}

.contact-card h3 {
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 16px;
  color: var(--bianco);
  position: relative;
  z-index: 2;
  display: inline-block;
}

.contact-card h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--rosso-mex);
  transition: width 0.3s ease;
}

.contact-card:hover h3::after {
  width: 80px;
  background: linear-gradient(90deg, var(--verde-mex), var(--rosso-mex));
}

.contact-card p {
  margin: 0 0 10px;
  color: #cfcfcf;
  line-height: 1.8;
  font-size: 15px;
  position: relative;
  z-index: 2;
}

.contact-card a {
  color: var(--bianco);
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
  border-bottom: 1px dotted transparent;
}

.contact-card a:hover {
  color: var(--rosso-mex);
  border-bottom-color: var(--rosso-mex);
}

.contact-card--phone .hours {
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 12px;
  margin-top: 15px;
  border: 1px solid rgba(255, 223, 0, 0.1);
}

/* Card Telefono - Stile per i giorni e l'orario di apertura */
.contact-card--phone .hours p {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-size: 14px;
}

/* Card Telefono - Stile per i giorni di apertura */
.contact-card--phone .hours span {
  color: #FFDF00;
  font-weight: 600;
}

.card-footer {
  margin-top: 15px;
  color: var(--bianco);
  font-weight: 600;
  font-size: 16px;
  background: linear-gradient(90deg, var(--verde-mex), var(--rosso-mex));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .page-hero__inner {
    padding: 150px 20px 60px;
  }
  
  .hero-stacked {
    font-size: clamp(48px, 7vw, 70px);
  }
  
  .accent::before,
  .accent::after {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-card {
    padding: 30px 20px;
  }
  
  .page-hero__inner {
    padding: 140px 20px 50px;
  }
  
  .page-hero__inner::before,
  .page-hero__inner::after {
    font-size: 40px;
  }
  
  .hero-kicker {
    font-size: 11px;
    letter-spacing: 4px;
  }
  
  .hero-stacked {
    font-size: 48px;
    letter-spacing: 4px;
  }
  
  .hero-sub {
    font-size: 15px;
    padding: 12px 20px;
  }
  
  .split-title {
    font-size: 24px;
    letter-spacing: 2px;
  }
  
  .card-icon {
    font-size: 40px;
  }
  
  .phone-number a {
    font-size: 18px;
  }
}

/* Animazioni */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-card {
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}

.contact-card:nth-child(1) { animation-delay: 0.2s; }
.contact-card:nth-child(2) { animation-delay: 0.4s; }
.contact-card:nth-child(3) { animation-delay: 0.6s; }