/*
Theme Name: Collective Music
Theme URI: https://collectivemusic.it
Author: Claude
Description: Tema custom per Collective Music - live band per eventi e matrimoni
Version: 1.5
*/

/* ==========================================
   RESET & BASE
========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #ffffff;
  --bg-alt:     #eef6f9;
  --card:       #ffffff;
  --border:     #cde3ea;
  --teal-deep:  #0f3340;
  --teal:       #1d505f;
  --teal-mid:   #26687d;
  --teal-light: #3d8fa7;
  --teal-pale:  #b8d8e2;
  --teal-tint:  #eef6f9;
  /* alias per retrocompatibilità */
  --gold:    #1d505f;
  --gold-lt: #26687d;
  --black:   #0f3340;
  --white:   #ffffff;
  --text:    #1a2e35;
  --gray:    #4e7a86;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ==========================================
   TYPOGRAPHY
========================================== */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
  color: var(--black);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.8;
}

/* ==========================================
   LAYOUT
========================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: 100px 0;
}

/* ==========================================
   NAVIGATION
========================================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

#site-header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center; /* centrato senza logo */
}

.main-nav ul {
  display: flex;
  gap: 40px;
  align-items: center;
}

.main-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
  position: relative;
}

/* After scroll: dark links */
#site-header.scrolled .main-nav a {
  color: rgba(26,26,26,0.65);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.main-nav a:hover { color: var(--black); }
#site-header:not(.scrolled) .main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: background 0.3s !important;
}
.nav-cta:hover { background: var(--teal-mid) !important; color: var(--white) !important; }
.nav-cta::after { display: none !important; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}
#site-header.scrolled .nav-toggle span { background: var(--black); }

/* ==========================================
   HERO — VIDEO (o foto fallback)
========================================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Wrapper video YouTube come sfondo */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;   /* ratio 16:9 */
  min-height: 100vh;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Foto fallback (nascosta quando c'è il video) */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/uploads/2025/07/sfondo_clm.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Shield: copre logo YT in basso a destra + blocca clic */
.hero-video-shield {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none; /* lascia passare i clic ai pulsanti hero */
}
/* Patch specifica sul logo YouTube (bottom-right ~56x14px) */
.hero-video-shield::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 40px;
  background: rgba(0,0,0,0.01); /* quasi trasparente ma copre */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.3) 0%,
    rgba(10,10,10,0.5) 50%,
    rgba(10,10,10,0.80) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  color: #fff;
}

.hero-logo {
  width: 120px;
  margin: 0 auto 32px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5));
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--teal-pale);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  color: #fff;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 48px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  padding: 16px 36px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--teal-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(29,80,95,0.35);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 16px 36px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
  display: inline-block;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  opacity: 0.5;
  animation: bounce 2s infinite;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll svg { width: 20px; height: 20px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ==========================================
   INTRO STRIP
========================================== */
#intro-strip {
  padding: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.intro-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.strip-item {
  padding: 40px 48px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
}
.strip-item:last-child { border-right: none; }
.strip-item:hover { background: var(--teal-tint); }

.strip-item .number {
  font-family: var(--font-head);
  font-size: 2.8rem;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}

.strip-item p {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 500;
}

/* ==========================================
   CHI SIAMO
========================================== */
#about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Stack di due immagini sfalsate */
.about-images { position: relative; padding-bottom: 48px; }

.about-img-stack { position: relative; }

.about-img-a {
  width: 80%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
  position: relative;
  z-index: 2;
}

.about-img-b {
  width: 60%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
  position: absolute;
  bottom: -48px;
  right: 0;
  z-index: 3;
  border: 5px solid var(--bg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.about-text { }

.about-text p {
  color: var(--gray);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.about-divider {
  width: 48px;
  height: 2px;
  background: var(--teal);
  margin: 28px 0;
}

/* ==========================================
   SERVIZI
========================================== */
#services {
  background: var(--teal-tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-subtitle { margin: 0 auto; }

/* Servizi con foto */
.services-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-photo-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-photo-card:hover {
  box-shadow: 0 12px 48px rgba(29,80,95,0.12);
  transform: translateY(-4px);
}

.spc-img {
  height: 240px;
  overflow: hidden;
}
.spc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-photo-card:hover .spc-img img { transform: scale(1.06); }

.spc-body {
  padding: 32px 28px 36px;
}
.spc-body h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  font-family: var(--font-head);
  color: var(--black);
}
.spc-body p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  transition: gap 0.3s;
}
.service-link:hover { gap: 12px; }

/* ==========================================
   LE NOSTRE FORMAZIONI
========================================== */
#formazioni {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.formazioni-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.formazione-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  background: var(--bg);
}
.formazione-card:hover {
  box-shadow: 0 12px 48px rgba(29,80,95,0.1);
  transform: translateY(-3px);
}

/* Quinta card (DJ Set) a tutta larghezza */
.formazione-card--wide {
  grid-column: span 2;
  flex-direction: row;
}
.formazione-card--wide .fc-img { width: 40%; flex-shrink: 0; height: auto; }
.formazione-card--wide .fc-body { flex: 1; }

.fc-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.fc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.formazione-card:hover .fc-img img { transform: scale(1.05); }

.fc-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
}

.fc-body {
  padding: 32px 32px 36px;
}
.fc-body h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-family: var(--font-head);
  color: var(--black);
}
.fc-body p {
  color: var(--gray);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 10px;
}
.fc-body p:last-of-type { margin-bottom: 0; }
.fc-body em { color: var(--teal); font-style: italic; }

.fc-cta {
  margin-top: 24px;
  display: inline-block;
  font-size: 0.78rem;
  padding: 12px 28px;
}

/* ==========================================
   GALLERY
========================================== */
#gallery {
  background: var(--bg);
  overflow: hidden;
}

.gallery-header {
  text-align: center;
  margin-bottom: 56px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 4px;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-item:hover .gallery-item-overlay {
  background: rgba(0,0,0,0.35);
}

.gallery-item-overlay svg {
  width: 32px;
  height: 32px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-overlay svg { opacity: 1; }

/* ==========================================
   TESTIMONIAL / QUOTE
========================================== */
#testimonial {
  padding: 80px 0;
  background: var(--teal);
}

.testimonial-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.quote-mark {
  font-family: var(--font-head);
  font-size: 6rem;
  color: rgba(255,255,255,0.2);
  line-height: 0.5;
  margin-bottom: 32px;
  display: block;
}

.testimonial-text {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-pale);
}

/* ==========================================
   CONTATTI
========================================== */
#contact {
  background: var(--teal-tint);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.contact-details { margin-top: 40px; }

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.contact-detail-item:last-child { border-bottom: none; }

.contact-detail-item svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-item .detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}

.contact-detail-item .detail-value {
  color: var(--text);
  font-size: 0.95rem;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 48px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(0,0,0,0.06);
}

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231d505f' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  background-color: var(--bg-alt);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(26,26,26,0.3);
}

.form-submit {
  width: 100%;
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s;
}
.form-submit:hover {
  background: var(--teal-mid);
  transform: translateY(-1px);
}

.form-notice {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--gray);
  text-align: center;
}

/* ==========================================
   FOOTER
========================================== */
#site-footer {
  background: var(--teal-deep);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 60px 0 32px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-pale);
  margin-bottom: 20px;
  font-family: var(--font-body);
}

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

.footer-col ul li a {
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

.social-links { display: flex; gap: 16px; }

.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-links a:hover {
  border-color: var(--teal-pale);
  background: rgba(29,80,95,0.3);
}

.social-links svg {
  width: 15px;
  height: 15px;
  color: rgba(255,255,255,0.45);
  transition: color 0.3s;
}
.social-links a:hover svg { color: var(--teal-pale); }

/* Form messages */
.form-message {
  padding: 14px 16px;
  border-radius: 2px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: none;
}
.form-message.success {
  background: rgba(29,80,95,0.08);
  border: 1px solid var(--teal);
  color: var(--teal);
  display: block;
}
.form-message.error {
  background: rgba(200,50,50,0.07);
  border: 1px solid #c83232;
  color: #b33;
  display: block;
}

/* ==========================================
   LIGHTBOX
========================================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--white);
  background: none;
  border: none;
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 80px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  .services-photo-grid { grid-template-columns: 1fr; gap: 20px; }
  .formazioni-grid { grid-template-columns: 1fr; }
  .formazione-card--wide { grid-column: span 1; flex-direction: column; }
  .formazione-card--wide .fc-img { width: 100%; height: 220px; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }

  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 32px; text-align: center; }
  .main-nav a { font-size: 1.1rem; color: var(--text) !important; }
  /* Mobile: hamburger a destra */
  .header-inner { justify-content: flex-end; }
  .nav-toggle { display: flex; z-index: 1001; position: relative; }

  .intro-strip-inner { grid-template-columns: 1fr; }
  .strip-item { border-right: none; border-bottom: 1px solid var(--border); }
  .strip-item:last-child { border-bottom: none; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item:nth-child(1) { grid-column: span 2; }

  .contact-form { padding: 32px 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }

  .about-img-b { display: none; }
  .about-img-a { width: 100%; }
  .about-images { padding-bottom: 0; }

  .services-photo-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   DUO/TRIO — CROSSFADE AUTOMATICO
========================================== */
.fc-img--slider {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.fc-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: none;
}

.fc-slide--1 {
  object-position: center center;
  animation: fc-fade-1 6s ease-in-out infinite;
  z-index: 2;
}

.fc-slide--2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  animation: fc-fade-2 6s ease-in-out infinite;
}

@keyframes fc-fade-1 {
  0%   { opacity: 1; }
  40%  { opacity: 1; }
  50%  { opacity: 0; }
  90%  { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fc-fade-2 {
  0%   { opacity: 0; }
  40%  { opacity: 0; }
  50%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { opacity: 0; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item:nth-child(1) { grid-column: span 1; grid-row: span 1; }
}
