/* =============================================
   BANDA MUSICALE DI CHIUSI CITTÀ
   Foglio di stile condiviso
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

/* --- Reset & variabili --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #0c1018;
  --surface:    #141921;
  --surface2:   #1c2433;
  --gold:       #c9972a;
  --gold-lt:    #e8b84b;
  --gold-pale:  rgba(201,151,42,.12);
  --text:       #f2ede5;
  --muted:      #8a8b97;
  --border:     rgba(201,151,42,.18);
  --fh:         'Playfair Display', serif;
  --fb:         'Lato', sans-serif;
  --mw:         1200px;
  --r:          8px;
  --sh:         0 8px 40px rgba(0,0,0,.45);
  --t:          .3s ease;
  --nh:         72px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--fb); background: linear-gradient(160deg, #090c1c 0%, #1b082a 28%, #081828 58%, #13082a 82%, #090c1c 100%); background-attachment: fixed; color: var(--text); line-height: 1.65; overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { font-family: var(--fb); cursor: pointer; border: none; background: none; }

/* --- Tipografia --- */
h1,h2,h3,h4 { font-family: var(--fh); line-height: 1.25; }
h1 { font-size: clamp(2.2rem,5vw,3.8rem); }
h2 { font-size: clamp(1.8rem,3.5vw,2.8rem); }
h3 { font-size: clamp(1.15rem,2.5vw,1.5rem); }
p  { max-width: 70ch; }

/* --- Utilità sezione --- */
.section { padding: clamp(3.5rem,8vw,7rem) clamp(1rem,4vw,2rem); }
.container { max-width: var(--mw); margin-inline: auto; padding-inline: clamp(1rem,4vw,2rem); }

.section-label {
  font-family: var(--fb); font-size: .75rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem;
}
.section-title { margin-bottom: 1rem; }
.divider { width: 60px; height: 3px; background: var(--gold); margin-bottom: 2rem; }
.divider.center { margin-inline: auto; }
.text-center { text-align: center; }
.text-center p { margin-inline: auto; }
.text-muted { color: var(--muted); }

/* Layout grid helpers */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,5vw,4rem);
  align-items: center;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
  text-align: center;
}
.stat-num {
  font-family: var(--fh);
  font-size: clamp(2rem,5vw,3.5rem);
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}
.stat-label { color: var(--muted); font-size: .85rem; margin-top: .4rem; }

/* --- Bottoni --- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.8rem; border-radius: var(--r);
  font-weight: 700; font-size: .9rem; letter-spacing: .05em; transition: var(--t);
}
.btn-gold  { background: var(--gold); color: #0c1018; }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,151,42,.35); }
.btn-outline { border: 2px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #0c1018; transform: translateY(-2px); }

/* =============================================
   NAVIGAZIONE
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nh); background: transparent; transition: background var(--t), box-shadow var(--t);
}
.navbar.scrolled {
  background: rgba(12,16,24,.97); backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.nav-container {
  max-width: var(--mw); margin-inline: auto; padding-inline: clamp(1rem,4vw,2rem);
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: .75rem; }
.nav-brand-icon { font-size: 1.8rem; color: var(--gold); line-height: 1; }
.nav-brand-text { font-family: var(--fh); font-size: .95rem; font-weight: 600; line-height: 1.3; }
.nav-links { display: flex; align-items: center; gap: .2rem; }
.nav-link {
  padding: .5rem .9rem; border-radius: 6px; font-size: .9rem; font-weight: 700;
  letter-spacing: .02em; transition: color var(--t), background var(--t); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--gold); transition: width var(--t);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: calc(100% - 1.8rem); }
.nav-link.nav-cta { background: var(--gold); color: #0c1018; padding: .5rem 1.2rem; }
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover { background: var(--gold-lt); color: #0c1018; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; padding: 4px; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: var(--t); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO + CAROSELLO
   ============================================= */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; }

.carousel { position: absolute; inset: 0; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.carousel-slide.active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(9,12,28,.58) 0%, rgba(9,12,28,.22) 35%, rgba(9,12,28,.94) 100%);
}

.hero-content {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(1rem,4vw,3rem);
  padding-top: calc(var(--nh) + 2rem);
  background: radial-gradient(ellipse 85% 55% at 50% 68%, rgba(0,0,0,.45) 0%, transparent 100%);
}
.hero-label  { font-size: .8rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; opacity: 0; animation: fadeUp .8s ease .4s forwards; text-shadow: 0 1px 10px rgba(0,0,0,.9); }
.hero-title  { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,1), 0 0 60px rgba(0,0,0,.85), 0 4px 8px rgba(0,0,0,1); margin-bottom: 1.5rem; opacity: 0; animation: fadeUp .8s ease .6s forwards; }
.hero-sub    { font-size: clamp(1rem,2.5vw,1.25rem); color: #fff; text-shadow: 0 1px 16px rgba(0,0,0,1), 0 2px 6px rgba(0,0,0,1); max-width: 55ch; margin-bottom: 2.5rem; opacity: 0; animation: fadeUp .8s ease .8s forwards; }
.hero-btns   { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; opacity: 0; animation: fadeUp .8s ease 1s forwards; }

/* Frecce carosello */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(12,16,24,.6); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  transition: var(--t); cursor: pointer; backdrop-filter: blur(4px);
}
.carousel-arrow:hover { background: var(--gold); border-color: var(--gold); color: #0c1018; }
.carousel-arrow.prev { left: 1.5rem; }
.carousel-arrow.next { right: 1.5rem; }

/* Indicatori punti */
.carousel-dots {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 20; display: flex; align-items: center; gap: .75rem;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.35); transition: var(--t); cursor: pointer;
}
.carousel-dot.active { background: var(--gold); transform: scale(1.4); }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 2.5rem; right: 2rem; z-index: 20;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.45); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
}
.scroll-hint-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollDrop 1.5s ease infinite;
}

/* =============================================
   HERO PAGINA INTERNA
   ============================================= */
.page-hero {
  position: relative;
  height: clamp(280px,40vw,460px);
  margin-top: var(--nh); overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(9,12,28,.7) 0%, rgba(9,12,28,.55) 50%, rgba(9,12,28,.8) 100%); }
.page-hero-content { position: relative; z-index: 1; padding: 2rem; }
.page-hero-content h1 { color: #fff; }

/* =============================================
   CARD
   ============================================= */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px),1fr)); gap: 1.5rem; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: block;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: var(--gold); }
.card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-title { font-size: 1.2rem; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.card-link { color: var(--gold); font-size: .85rem; font-weight: 700; letter-spacing: .05em; display: inline-flex; align-items: center; gap: .3rem; transition: gap var(--t); }
.card-link:hover { gap: .6rem; }

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
.reveal.delay-4 { transition-delay: .4s; }
.reveal.visible { opacity: 1; transform: none; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: linear-gradient(135deg, #04050d 0%, #0b051a 100%); border-top: 1px solid var(--border); padding: 3rem clamp(1rem,4vw,2rem) 2rem; }
.footer-inner { max-width: var(--mw); margin-inline: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,200px),1fr)); gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand-icon { font-size: 2.5rem; color: var(--gold); display: block; margin-bottom: .5rem; }
.footer-brand-name { font-family: var(--fh); font-size: 1.05rem; margin-bottom: .6rem; }
.footer-brand p { color: var(--muted); font-size: .85rem; }
.footer-head { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-links li + li { margin-top: .5rem; }
.footer-links a { color: var(--muted); font-size: .9rem; transition: color var(--t); }
.footer-links a:hover { color: var(--gold); }
.footer-info p { color: var(--muted); font-size: .85rem; display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .5rem; }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer-bottom p { color: var(--muted); font-size: .8rem; }

/* =============================================
   STORIA — TIMELINE
   ============================================= */
.timeline { position: relative; max-width: 820px; margin-inline: auto; padding-top: 2rem; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--border); transform: translateX(-50%);
}
.tl-item {
  display: grid; grid-template-columns: 1fr 52px 1fr;
  gap: 1.25rem; align-items: start; margin-bottom: 3rem;
}
.tl-dot {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface2); border: 2px solid var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--gold); font-weight: 700; grid-column: 2; grid-row: 1; position: relative; z-index: 1;
  font-size: .7rem; letter-spacing: -.01em;
}
.tl-content {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.25rem 1.5rem; transition: border-color var(--t);
  grid-row: 1;
}
.tl-content:hover { border-color: var(--gold); }
.tl-content h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.tl-content p  { color: var(--muted); font-size: .875rem; }
.tl-empty { grid-row: 1; }
/* alternanza sinistra/destra */
.tl-item:nth-child(odd)  .tl-content { grid-column: 1; }
.tl-item:nth-child(odd)  .tl-empty   { grid-column: 3; }
.tl-item:nth-child(even) .tl-content { grid-column: 3; }
.tl-item:nth-child(even) .tl-empty   { grid-column: 1; }

/* =============================================
   SERVIZI
   ============================================= */
.servizi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,270px),1fr)); gap: 1.5rem; }
.servizio-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 2rem 1.75rem; transition: all var(--t);
}
.servizio-card:hover { border-color: var(--gold); background: var(--surface2); transform: translateY(-5px); box-shadow: 0 8px 30px rgba(201,151,42,.1); }
.servizio-icon { font-size: 2.8rem; margin-bottom: 1rem; display: block; }
.servizio-card h3 { font-size: 1.15rem; margin-bottom: .55rem; }
.servizio-card p  { color: var(--muted); font-size: .875rem; }

/* =============================================
   GALLERIA
   ============================================= */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-btn {
  padding: .4rem 1.1rem; border-radius: 99px; font-size: .82rem; font-weight: 700;
  letter-spacing: .04em; border: 1px solid var(--border); color: var(--muted);
  background: var(--surface); transition: all var(--t); cursor: pointer;
}
.filter-btn:hover, .filter-btn.active { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,250px),1fr)); gap: 1rem; }
.gallery-item {
  position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r);
  cursor: pointer; border: 1px solid transparent; transition: border-color var(--t);
}
.gallery-item:hover { border-color: var(--gold); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(12,16,24,.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--t);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-size: 2rem; color: var(--gold); }
.gallery-item[data-hidden="true"] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(8,11,17,.97);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-inner { position: relative; max-width: min(900px,100%); }
.lightbox-img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--r); box-shadow: 0 20px 80px rgba(0,0,0,.7); display: block; }
.lightbox-close { position: absolute; top: -2.5rem; right: 0; color: var(--muted); font-size: 1.5rem; transition: color var(--t); cursor: pointer; line-height: 1; background: none; border: none; }
.lightbox-close:hover { color: var(--gold); }
.lightbox-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(12,16,24,.8); border: 1px solid rgba(255,255,255,.2);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--t); font-size: .95rem;
}
.lightbox-btn:hover { background: var(--gold); border-color: var(--gold); color: #0c1018; }
.lightbox-btn.prev { left: -3.5rem; }
.lightbox-btn.next { right: -3.5rem; }
.lightbox-caption { text-align: center; margin-top: 1rem; color: var(--muted); font-size: .85rem; }

/* =============================================
   CONTATTI
   ============================================= */
.contatti-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--gold-pale);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-text h4 { font-size: .82rem; color: var(--muted); margin-bottom: .2rem; font-family: var(--fb); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.contact-text p  { color: var(--text); font-size: .95rem; }

/* Form */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .07em; color: var(--muted); text-transform: uppercase; margin-bottom: .4rem; }
.form-ctrl {
  width: 100%; padding: .75rem 1rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r);
  color: var(--text); font-family: var(--fb); font-size: .95rem;
  transition: border-color var(--t), box-shadow var(--t); outline: none;
}
.form-ctrl:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,151,42,.15); }
textarea.form-ctrl { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success {
  display: none; padding: 1rem 1.5rem; margin-top: 1rem;
  background: rgba(40,180,100,.1); border: 1px solid rgba(40,180,100,.3);
  border-radius: var(--r); color: #4cd585; font-size: .9rem;
}

/* Mappa */
.map-wrap { border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); margin-top: 3rem; }
.map-wrap iframe { width: 100%; height: 420px; display: block; filter: invert(.9) hue-rotate(180deg) brightness(.85) contrast(1.1); }

/* =============================================
   KEYFRAMES
   ============================================= */
@keyframes fadeUp  { from { opacity:0; transform:translateY(25px); } to { opacity:1; transform:none; } }
@keyframes scrollDrop {
  0%,100% { transform:scaleY(0); }
  0%      { transform-origin:top; }
  50%     { transform:scaleY(1); transform-origin:top; }
  51%     { transform:scaleY(1); transform-origin:bottom; }
  100%    { transform-origin:bottom; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--nh); left: 0; right: 0;
    background: rgba(12,16,24,.98); backdrop-filter: blur(10px);
    flex-direction: column; align-items: stretch; padding: 1rem; gap: .25rem;
    transform: translateY(-110%); opacity: 0; pointer-events: none;
    transition: transform .3s ease, opacity .3s ease; border-bottom: 1px solid var(--border);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: all; }
  .nav-link { padding: .75rem 1rem; font-size: 1rem; }
  .nav-link.nav-cta { text-align: center; }
  .nav-link::after { display: none; }

  .carousel-arrow { display: none; }
  .hero-btns { flex-direction: column; align-items: center; }

  .two-col  { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }

  .timeline::before { left: 26px; }
  .tl-item { grid-template-columns: 52px 1fr; gap: 1rem; }
  .tl-item:nth-child(odd)  .tl-content,
  .tl-item:nth-child(even) .tl-content { grid-column: 2; }
  .tl-dot   { grid-column: 1; }
  .tl-empty { display: none; }

  .contatti-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .lightbox-btn.prev { left: -2rem; }
  .lightbox-btn.next { right: -2rem; }
}

@media (max-width: 480px) {
  .scroll-hint { display: none; }
  .lightbox-btn { display: none; }
  .lightbox-inner { max-width: 100%; }
}

/* =============================================
   CTA CON SFONDO IMMAGINE
   ============================================= */
.cta-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  /* Parallax su desktop */
  background-attachment: fixed;
}
.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9,12,28,.84) 0%, rgba(27,8,44,.80) 100%);
  z-index: 0;
}
.cta-bg .container       { position: relative; z-index: 1; }
.cta-bg .section-label   { color: var(--gold); }
.cta-bg h2               { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.85); }
.cta-bg p.text-muted     { color: rgba(255,255,255,.82); text-shadow: 0 1px 10px rgba(0,0,0,.8); max-width: none; }
/* disabilita parallax su mobile (bug iOS) */
@media (max-width: 768px) {
  .cta-bg { background-attachment: scroll; }
}

/* =============================================
   SFONDI SEZIONE — GRADIENT OVERRIDE
   Sovrascrive le sezioni con background:var(--surface)
   ============================================= */
[style*="--surface"] {
  background: linear-gradient(135deg, #111526 0%, #1d0d2c 52%, #0d1a2c 100%) !important;
}

/* =============================================
   ANIMAZIONI BOTTONI HERO
   ============================================= */
@keyframes shimmerBtn {
  0%   { background-position: -200% center; }
  100% { background-position: 300% center; }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 14px rgba(201,151,42,.8), 0 0 32px rgba(201,151,42,.35);
    border-color: #c9972a;
    color: #e8c060;
    text-shadow: 0 0 10px rgba(201,151,42,.6);
  }
  30% {
    box-shadow: 0 0 18px rgba(70,180,255,.8), 0 0 40px rgba(70,180,255,.35);
    border-color: #46b4ff;
    color: #a0d4ff;
    text-shadow: 0 0 10px rgba(70,180,255,.6);
  }
  65% {
    box-shadow: 0 0 18px rgba(185,70,255,.8), 0 0 40px rgba(185,70,255,.35);
    border-color: #b946ff;
    color: #d898ff;
    text-shadow: 0 0 10px rgba(185,70,255,.6);
  }
}

.hero-btns .btn-gold {
  background: linear-gradient(90deg, #7a5110, #c9972a, #f0d060, #e8b840, #c9972a, #7a5110);
  background-size: 300% auto;
  animation: shimmerBtn 2.5s linear infinite;
  box-shadow: 0 4px 24px rgba(201,151,42,.5);
  color: #0c1018;
  border: none;
}
.hero-btns .btn-gold:hover {
  animation-play-state: paused;
  background: var(--gold-lt);
  background-size: auto;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,151,42,.6);
}

.hero-btns .btn-outline {
  border: 2px solid var(--gold);
  background: transparent;
  animation: glowPulse 3.5s ease-in-out infinite;
}
.hero-btns .btn-outline:hover {
  animation-play-state: paused;
  background: var(--gold);
  color: #0c1018 !important;
  text-shadow: none !important;
  border-color: var(--gold);
  box-shadow: 0 6px 22px rgba(201,151,42,.5);
  transform: translateY(-2px);
}
