/* ============================================================
   SCARPEDIEM – Foglio di Stile Principale
   Tema: Oro e Bianco | Negozio Scarpe Italiane Chiusi Scalo, Siena
   ============================================================ */

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

/* === VARIABILI === */
:root {
  --gold:         #C9A84C;
  --gold-light:   #E8D5A3;
  --gold-lighter: #F5EDD5;
  --gold-dark:    #8B6914;
  --white:        #FFFFFF;
  --off-white:    #FAF8F2;
  --bg-warm:      #F4F0E8;
  --text-dark:    #1A1209;
  --text-body:    #3D3020;
  --text-muted:   #7A6A50;
  --border:       #E0D5C0;
  --shadow-gold:  rgba(201, 168, 76, 0.18);
  --shadow-dark:  rgba(26, 18, 9, 0.10);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--off-white);
  color: var(--text-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold); }

/* === TIPOGRAFIA === */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-dark);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.6rem); }
p  { margin-bottom: 1rem; max-width: 70ch; }

/* === LAYOUT === */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section     { padding: 5rem 0; }
.section--warm  { background: var(--bg-warm); }
.section--dark  { background: var(--text-dark); color: var(--off-white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,.72); }

/* === DIVISORE ORO === */
.gold-divider { width: 60px; height: 2px; background: var(--gold); margin: 1.25rem 0; }
.gold-divider--center { margin: 1.25rem auto; }

/* === INTESTAZIONE SEZIONE === */
.section-header { text-align: center; max-width: 620px; margin: 0 auto 3.5rem; }
.section-header__eyebrow {
  display: block;
  font-size: .72rem; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: .75rem; font-weight: 600;
}
.section-header__desc { color: var(--text-muted); margin: .75rem auto 0; max-width: 55ch; }

/* ============================================================
   HEADER & NAVIGAZIONE
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 4px 24px var(--shadow-gold); }
.header__inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 76px;
}

/* Logo */
.header__logo { display: flex; flex-direction: column; text-decoration: none; }
.header__logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem; font-weight: 700;
  color: var(--text-dark); letter-spacing: .04em; line-height: 1;
}
.header__logo-tagline {
  font-size: .6rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold); margin-top: 3px;
}

/* Nav links */
.nav { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  font-size: .82rem; font-weight: 500;
  color: var(--text-dark); letter-spacing: .06em;
  text-transform: uppercase; position: relative; padding-bottom: 3px;
  transition: color .25s;
}
.nav__link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width .3s;
}
.nav__link:hover, .nav__link.active { color: var(--gold-dark); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

/* CTA pulsante nav */
.nav__cta {
  display: inline-block; padding: .6rem 1.4rem;
  background: var(--gold); color: var(--white) !important;
  border-radius: 3px; font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  transition: background .3s, transform .2s;
}
.nav__cta:hover { background: var(--gold-dark); transform: translateY(-1px); }
.nav__cta::after { display: none !important; }

/* Hamburger */
.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 5px; background: none; border: none;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text-dark); border-radius: 2px;
  transition: all .3s;
}

/* ============================================================
   HERO – HOMEPAGE
   ============================================================ */
.hero {
  position: relative; height: 100vh;
  min-height: 580px; max-height: 920px;
  display: flex; align-items: center;
  overflow: hidden; margin-top: 76px;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url(./images/wallpaper.jpeg);
  background-size: cover; background-position: center;
  filter: brightness(.38);
  transition: transform 8s ease;
}
.hero__bg--overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(26,18,9,.7) 0%,rgba(139,105,20,.25) 100%);
}
.hero__content { position: relative; z-index: 1; color: var(--white); max-width: 720px; }
.hero__badge {
  display: inline-block; padding: .38rem 1rem;
  border: 1px solid var(--gold-light); color: var(--gold-light);
  font-size: .7rem; letter-spacing: .32em;
  text-transform: uppercase; margin-bottom: 1.5rem; border-radius: 2px;
}
.hero__title { color: var(--white); margin-bottom: 1.25rem; }
.hero__title span { color: var(--gold-light); }
.hero__subtitle {
  font-size: 1.1rem; color: rgba(255,255,255,.82);
  margin-bottom: 2.5rem; max-width: 55ch;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: 3px;
  font-size: .83rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  transition: all .3s; cursor: pointer;
  border: 2px solid transparent; text-decoration: none;
}
.btn--primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--outline:hover { background: var(--white); color: var(--text-dark); border-color: var(--white); }
.btn--outline-gold { background: transparent; color: var(--gold-dark); border-color: var(--gold); }
.btn--outline-gold:hover { background: var(--gold); color: var(--white); }
.btn--dark { background: var(--text-dark); color: var(--white); border-color: var(--text-dark); }
.btn--dark:hover { background: #2D2416; color: var(--white); }

/* ============================================================
   FEATURE STRIP
   ============================================================ */
.features { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 2rem; padding: 3rem 0; }
.feature { text-align: center; }
.feature__icon {
  width: 58px; height: 58px; margin: 0 auto 1rem;
  background: var(--gold-lighter); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--gold-dark);
}
.feature__title { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--text-dark); margin-bottom: .4rem; }
.feature__desc { font-size: .84rem; color: var(--text-muted); max-width: 22ch; margin: 0 auto; }

/* ============================================================
   CARD PRODOTTO
   ============================================================ */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(285px,1fr)); gap: 2rem; }
.card {
  background: var(--white); border-radius: 6px;
  overflow: hidden; box-shadow: 0 2px 14px var(--shadow-dark);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px var(--shadow-gold); }
.card__image-wrap { overflow: hidden; height: 260px; }
.card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__image { transform: scale(1.05); }
.card__body { padding: 1.5rem; }
.card__category { font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; font-weight: 600; }
.card__title { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--text-dark); margin-bottom: .5rem; }
.card__desc { font-size: .875rem; color: var(--text-muted); margin-bottom: 1rem; }
.card__link {
  font-size: .78rem; font-weight: 600; color: var(--gold-dark);
  letter-spacing: .1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .4rem;
}
.card__link::after { content: '→'; transition: transform .2s; }
.card:hover .card__link::after { transform: translateX(5px); }

/* Immagine placeholder CSS (quando Unsplash non disponibile) */
.card__image-placeholder {
  width: 100%; height: 260px;
  background: linear-gradient(135deg, var(--gold-lighter), var(--bg-warm));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--gold);
}

/* ============================================================
   PAGE HERO (pagine interne)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg,var(--text-dark) 0%,#2D2416 100%);
  padding: 6rem 0 4rem; margin-top: 76px; text-align: center;
}
.page-hero__eyebrow {
  display: block; font-size: .72rem; letter-spacing: .32em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: .85rem; font-weight: 600;
}
.page-hero__title { color: var(--white); margin-bottom: .85rem; }
.page-hero__desc { color: rgba(255,255,255,.7); max-width: 55ch; margin: 0 auto; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .78rem; color: var(--text-muted); padding: 1rem 0;
}
.breadcrumb a { color: var(--gold-dark); }
.breadcrumb__sep { color: var(--border); }

/* ============================================================
   TESTIMONIANZE
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; }
.testimonial {
  background: var(--white); border-radius: 6px;
  padding: 2rem; border-left: 3px solid var(--gold);
  box-shadow: 0 2px 10px var(--shadow-dark);
}
.testimonial__stars { color: var(--gold); font-size: .85rem; margin-bottom: .75rem; letter-spacing: .1em; }
.testimonial__text { font-style: italic; color: var(--text-body); margin-bottom: 1.25rem; font-size: .94rem; }
.testimonial__name { font-weight: 600; color: var(--text-dark); font-size: .88rem; }
.testimonial__location { font-size: .78rem; color: var(--text-muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.faq-item__q {
  font-family: 'Playfair Display', serif; font-size: 1.05rem;
  color: var(--text-dark); margin-bottom: .7rem;
  display: flex; align-items: flex-start; gap: .75rem;
}
.faq-item__q::before { content: 'D.'; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.faq-item__a { color: var(--text-muted); font-size: .93rem; padding-left: 1.7rem; margin-bottom: 0; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg,var(--text-dark),#2D2416);
  padding: 5rem 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(201,168,76,.1) 0%, transparent 60%);
}
.cta-banner__title { color: var(--white); margin-bottom: 1rem; position: relative; }
.cta-banner__desc { color: rgba(255,255,255,.7); max-width: 55ch; margin: 0 auto 2rem; position: relative; }
.cta-banner__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; }

/* ============================================================
   CLICK TO CALL
   ============================================================ */
.click-to-call {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: 1rem 2rem; background: var(--gold);
  color: var(--white); border-radius: 50px;
  font-size: 1.05rem; font-weight: 700;
  transition: all .3s; text-decoration: none;
  box-shadow: 0 4px 16px rgba(201,168,76,.4);
}
.click-to-call:hover { background: var(--gold-dark); transform: translateY(-2px); color: var(--white); box-shadow: 0 6px 26px rgba(201,168,76,.5); }
.click-to-call__icon { font-size: 1.2rem; }

/* ============================================================
   CONTATTI
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info__item { display: flex; gap: 1rem; margin-bottom: 1.75rem; align-items: flex-start; }
.contact-info__icon {
  width: 44px; height: 44px; background: var(--gold-lighter);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; flex-shrink: 0; color: var(--gold-dark);
}
.contact-info__label {
  font-size: .72rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--gold);
  margin-bottom: .2rem; font-weight: 600; display: block;
}
.contact-info__value { color: var(--text-dark); font-weight: 500; }
.map-container { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px var(--shadow-dark); height: 400px; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* Form contatti */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dark); margin-bottom: .5rem; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: .875rem 1rem;
  border: 1.5px solid var(--border); border-radius: 4px;
  font-size: .95rem; color: var(--text-dark);
  background: var(--white); transition: border-color .3s;
  font-family: inherit;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.form-textarea { height: 150px; resize: vertical; }

/* Orari */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.hours-table td:first-child { font-weight: 600; color: var(--text-dark); width: 48%; }
.hours-table td:last-child { color: var(--text-muted); }
.hours-table tr:last-child td { border-bottom: none; }

/* ============================================================
   CHI SIAMO
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-image { border-radius: 8px; overflow: hidden; position: relative; }
.about-image img { width: 100%; height: 500px; object-fit: cover; }
.about-image::before {
  content: ''; position: absolute;
  top: -16px; left: -16px; right: 16px; bottom: 16px;
  border: 2px solid var(--gold-light); border-radius: 8px; z-index: -1;
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.about-stat { text-align: center; padding: 1.5rem 1rem; background: var(--bg-warm); border-radius: 6px; }
.about-stat__number { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--gold-dark); font-weight: 700; line-height: 1; }
.about-stat__label { font-size: .78rem; color: var(--text-muted); margin-top: .3rem; }

/* ============================================================
   AREA GEO
   ============================================================ */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(195px,1fr)); gap: 1rem; }
.area-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 6px; padding: 1.5rem; text-align: center;
  transition: all .3s;
}
.area-card:hover { border-color: var(--gold); box-shadow: 0 4px 16px var(--shadow-gold); }
.area-card__icon { font-size: 1.8rem; margin-bottom: .75rem; }
.area-card__name { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--text-dark); margin-bottom: .2rem; }
.area-card__dist { font-size: .78rem; color: var(--gold); font-weight: 600; }

/* ============================================================
   COLLECTION HERO (pagine categoria)
   ============================================================ */
.collection-hero { height: 380px; position: relative; overflow: hidden; border-radius: 8px; margin-bottom: 3rem; }
.collection-hero img { width: 100%; height: 100%; object-fit: cover; }
.collection-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,18,9,.75) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 2.5rem;
}
.collection-hero__text { color: var(--white); }
.collection-hero__text h2 { color: var(--white); }

/* ============================================================
   TAG
   ============================================================ */
.tag {
  display: inline-block; padding: .25rem .75rem;
  font-size: .68rem; letter-spacing: .15em;
  text-transform: uppercase; font-weight: 600;
  border-radius: 2px; background: var(--gold-lighter); color: var(--gold-dark);
}
.tag--dark { background: var(--text-dark); color: var(--gold-light); }

/* ============================================================
   404
   ============================================================ */
.error-page { display: flex; align-items: center; justify-content: center; min-height: 80vh; text-align: center; padding: 2rem; }
.error-page__code { font-family: 'Playfair Display', serif; font-size: 9rem; color: var(--gold-lighter); line-height: 1; display: block; }
.error-page__title { font-size: 1.6rem; margin-bottom: 1rem; }
.error-page__desc { color: var(--text-muted); margin-bottom: 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--text-dark); color: rgba(255,255,255,.68); padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand-name { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--white); margin-bottom: .2rem; }
.footer__brand-tagline { font-size: .65rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer__brand-desc { font-size: .86rem; line-height: 1.7; max-width: 30ch; margin-bottom: 1.5rem; }
.footer__heading { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--white); margin-bottom: 1.25rem; }
.footer__links { display: flex; flex-direction: column; gap: .6rem; }
.footer__link { font-size: .86rem; color: rgba(255,255,255,.58); transition: color .3s; }
.footer__link:hover { color: var(--gold-light); }
.footer__nap { font-size: .86rem; line-height: 2; font-style: normal; }
.footer__nap a { color: rgba(255,255,255,.58); }
.footer__nap a:hover { color: var(--gold-light); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem; display: flex;
  justify-content: space-between; align-items: center;
  font-size: .78rem; flex-wrap: wrap; gap: .5rem;
}
.footer__copyright { color: rgba(255,255,255,.38); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { color: rgba(255,255,255,.38); font-size: .78rem; }
.footer__legal a:hover { color: var(--gold-light); }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-muted); }
.mt-1 { margin-top: .5rem; }   .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }  .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }.mb-4 { margin-bottom: 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image::before { display: none; }
}
@media (max-width: 768px) {
  .nav {
    display: none; position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--white);
    padding: 1.5rem; border-top: 1px solid var(--border);
    box-shadow: 0 10px 24px var(--shadow-dark); gap: 1rem;
  }
  .nav.open { display: flex; }
  .nav__toggle { display: flex; }
  .hero { height: auto; min-height: 80vh; padding: 3rem 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .cta-banner__actions { flex-direction: column; align-items: center; }
  .cards-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .features { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .error-page__code { font-size: 5.5rem; }
  .area-grid { grid-template-columns: 1fr 1fr; }
}

/* === PRINT === */
@media print { .header, .footer, .nav { display: none; } }

/* ============================================================
   ANIMAZIONI & EFFETTI GRAFICI – ScarpeDiem v2.0
   Tema Oro & Bianco | Elegant Italian Luxury Motion
   ============================================================ */

/* === KEYFRAMES === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(48px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-48px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.86); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes floatIcon {
  0%,100% { transform: translateY(0px); }
  50%     { transform: translateY(-10px); }
}
@keyframes pulseRing {
  0%   { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(201,168,76,.55); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 18px rgba(201,168,76,0); }
  100% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(201,168,76,0); }
}
@keyframes shimmerSlide {
  0%   { left: -120%; }
  100% { left: 220%; }
}
@keyframes dividerGrow {
  from { width: 0; opacity: 0; }
  to   { width: 60px; opacity: 1; }
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(10px); }
}
@keyframes preloaderFill {
  from { width: 0; }
  to   { width: 100%; }
}

/* === HERO – ANIMAZIONI INIZIALI === */
.hero__badge    { animation: fadeInDown .8s cubic-bezier(.25,.46,.45,.94) .10s both; }
.hero__title    { animation: fadeInUp   1s  cubic-bezier(.25,.46,.45,.94) .28s both; }
.hero__subtitle { animation: fadeInUp   1s  cubic-bezier(.25,.46,.45,.94) .48s both; }
.hero__actions  { animation: fadeInUp   1s  cubic-bezier(.25,.46,.45,.94) .68s both; }

/* === PAGE HERO – ANIMAZIONI INIZIALI === */
.page-hero__eyebrow { animation: fadeInDown .7s ease .10s both; }
.page-hero__title   { animation: fadeInUp   .9s ease .22s both; }
.page-hero__desc    { animation: fadeInUp   .9s ease .38s both; }

/* === FLOATING FEATURE ICONS === */
.feature__icon { animation: floatIcon 3.6s ease-in-out infinite; }
.feature:nth-child(2) .feature__icon { animation-delay: .6s; }
.feature:nth-child(3) .feature__icon { animation-delay: 1.2s; }
.feature:nth-child(4) .feature__icon { animation-delay: 1.8s; }

/* === SCROLL-TRIGGERED BASE === */
.anim {
  opacity: 0;
  transition: opacity .72s cubic-bezier(.25,.46,.45,.94),
              transform .72s cubic-bezier(.25,.46,.45,.94);
}
.anim.up    { transform: translateY(50px); }
.anim.left  { transform: translateX(-50px); }
.anim.right { transform: translateX(50px); }
.anim.scale { transform: scale(.86); }
.anim.shown { opacity: 1 !important; transform: none !important; }

/* Stagger delays via data-delay */
.anim[data-delay="1"] { transition-delay: .10s; }
.anim[data-delay="2"] { transition-delay: .20s; }
.anim[data-delay="3"] { transition-delay: .30s; }
.anim[data-delay="4"] { transition-delay: .40s; }
.anim[data-delay="5"] { transition-delay: .50s; }
.anim[data-delay="6"] { transition-delay: .60s; }

/* === BUTTONS – SHIMMER SWEEP === */
.btn--primary {
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.28), transparent);
  animation: shimmerSlide 2.8s ease-in-out 1.2s infinite;
  pointer-events: none;
}

/* === CLICK-TO-CALL – PULSE RING === */
.click-to-call { animation: pulseRing 2.4s ease-out infinite; }

/* === GOLD DIVIDER – DRAW-IN === */
.gold-divider {
  width: 0;
  opacity: 0;
}
.gold-divider.drawn {
  animation: dividerGrow .9s ease forwards;
}

/* === SCROLL INDICATOR === */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.65);
  font-size: .65rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  z-index: 3;
  pointer-events: none;
  animation: scrollBounce 2.2s ease-in-out infinite;
  transition: opacity .4s ease;
}
.scroll-indicator__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.65), transparent);
}

/* === PRELOADER === */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--off-white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  pointer-events: none;
  transition: opacity .65s ease, visibility .65s ease;
}
.preloader.out { opacity: 0; visibility: hidden; }
.preloader__logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: .04em;
  margin-bottom: .3rem;
}
.preloader__tagline {
  font-size: .62rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}
.preloader__track {
  width: 150px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.preloader__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  animation: preloaderFill 1.1s cubic-bezier(.77,0,.18,1) forwards;
  width: 0;
}

/* === CURSOR GLOW (desktop) === */
.cursor-glow {
  position: fixed;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.22);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%,-50%);
  transition: width .35s ease, height .35s ease,
              background .35s ease, border-color .35s ease;
  mix-blend-mode: multiply;
}
.cursor-glow.hovered {
  width: 60px;
  height: 60px;
  background: rgba(201,168,76,.06);
  border-color: rgba(201,168,76,.38);
}

/* === IMAGE REVEAL – CURTAIN D'ORO === */
.img-reveal {
  position: relative;
  overflow: hidden;
}
.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  transform: scaleX(1);
  transform-origin: right;
  transition: transform .88s cubic-bezier(.76,0,.24,1);
  z-index: 2;
}
.img-reveal.revealed::after { transform: scaleX(0); }
.img-reveal img {
  opacity: 0;
  transition: opacity .15s ease .88s;
}
.img-reveal.revealed img { opacity: 1; }

/* === CARD – 3D TILT SUPPORT === */
.card { transform-style: preserve-3d; will-change: transform; }

/* === TESTIMONIAL – HOVER RADIAL GRADIENT === */
.testimonial {
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px var(--shadow-gold);
}

/* === AREA CARD – LIFT === */
.area-card {
  transition: transform .3s ease, border-color .3s, box-shadow .3s;
}
.area-card:hover { transform: translateY(-5px) scale(1.025); }

/* === FOOTER LINK – UNDERLINE SLIDE === */
.footer__link {
  position: relative;
  display: inline-block;
}
.footer__link::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--gold-light);
  transition: width .3s ease;
}
.footer__link:hover::after { width: 100%; }

/* === COLLECTION HERO IMAGE ZOOM ON HOVER === */
.collection-hero img { transition: transform .55s ease; }
.card:hover .collection-hero img { transform: scale(1.06); }

/* === GOLD GRADIENT TEXT === */
.text-gold-gradient {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === HERO BG PARALLAX (JS handles transform) === */
.hero__bg { will-change: transform; }

/* === RISPETTA MOTION RIDOTTO === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .anim { opacity: 1; transform: none; }
  .gold-divider { width: 60px; opacity: 1; }
  .img-reveal::after { display: none; }
  .img-reveal img { opacity: 1; }
}
