/* ==========================================================================
   GIACOMO ZENI — TEMPORARY MANAGER
   Premium single-page website
   ========================================================================== */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Colors */
  --navy:       #1a2332;
  --navy-light: #243044;
  --navy-dark:  #111927;
  --gold:       #c8a455;
  --gold-light: #ddc07a;
  --gold-dark:  #a8883d;
  --white:      #ffffff;
  --gray-50:    #f9fafb;
  --gray-100:   #f5f5f5;
  --gray-200:   #e5e7eb;
  --gray-300:   #d1d5db;
  --gray-400:   #9ca3af;
  --gray-500:   #6b7280;
  --gray-600:   #4b5563;
  --gray-700:   #374151;
  --gray-800:   #1f2937;

  /* Typography */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', 'Georgia', serif;

  /* Spacing */
  --section-py: clamp(3.5rem, 7vw, 5rem);
  --container-px: clamp(1.25rem, 4vw, 2rem);
  --container-max: 1200px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
  --shadow-gold: 0 8px 32px rgba(200, 164, 85, .25);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .3s var(--ease);
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

::selection {
  background: var(--gold);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}


/* ---------- UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: inline;
  }
}


/* ---------- SECTION COMMON ---------- */
.section {
  padding: var(--section-py) 0;
  position: relative;
  overflow-x: hidden;
}

.section__label {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}

.section__label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section__header .section__label {
  justify-content: center;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}


/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--radius-sm);
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.btn--primary:hover::before,
.btn--primary:focus-visible::before {
  opacity: 1;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold-light);
}

.btn--primary span,
.btn--primary .btn__text {
  position: relative;
  z-index: 1;
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
  transform: translateY(-3px);
}

.btn--full {
  width: 100%;
}


/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(26, 35, 50, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all .4s var(--ease);
}

.navbar--scrolled {
  background: rgba(26, 35, 50, .95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: .625rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.2);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  z-index: 1001;
}

.navbar__monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .05em;
  transition: all .35s var(--ease);
}

.navbar__brand:hover .navbar__monogram {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 0 20px rgba(200, 164, 85, .3);
}

.navbar__name {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .02em;
}

/* Hamburger */
.navbar__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 8px;
  z-index: 1001;
}

.navbar__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .35s var(--ease);
  transform-origin: center;
}

.navbar__toggle--open .navbar__toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar__toggle--open .navbar__toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__toggle--open .navbar__toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu */
.navbar__menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100dvh;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: right .5s var(--ease-out);
}

.navbar__menu--open {
  right: 0;
}

.navbar__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.navbar__link {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gray-300);
  transition: all .3s var(--ease);
  position: relative;
}

.navbar__link:hover,
.navbar__link:focus-visible {
  color: var(--white);
}

.navbar__link--active {
  color: var(--white);
}

.navbar__link--cta {
  color: var(--gold);
  padding: .75rem 1.75rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: all .35s var(--ease);
}

.navbar__link--cta:hover,
.navbar__link--cta:focus-visible {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}

/* Desktop nav */
@media (min-width: 992px) {
  .navbar__toggle {
    display: none;
  }

  .navbar__menu {
    position: static;
    width: auto;
    height: auto;
    background: none;
    display: flex;
  }

  .navbar__list {
    flex-direction: row;
    gap: 2.25rem;
  }

  .navbar__link {
    font-size: .875rem;
    letter-spacing: .03em;
  }

  .navbar__link--cta {
    font-size: .875rem;
    padding: .625rem 1.5rem;
  }

  .navbar__link:not(.navbar__link--cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width .35s var(--ease);
  }

  .navbar__link:not(.navbar__link--cta):hover::after,
  .navbar__link--active:not(.navbar__link--cta)::after {
    width: 100%;
  }
}


/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  overflow: hidden;
}

/* Animated geometric shapes */
.hero__bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__bg-shapes span {
  position: absolute;
  border: 1px solid rgba(200, 164, 85, .08);
  border-radius: 50%;
  animation: floatShape 20s ease-in-out infinite;
}

.hero__bg-shapes span:nth-child(1) {
  width: 600px;
  height: 600px;
  top: -15%;
  right: -10%;
  animation-delay: 0s;
}

.hero__bg-shapes span:nth-child(2) {
  width: 400px;
  height: 400px;
  bottom: -10%;
  left: -5%;
  animation-delay: -7s;
  animation-duration: 25s;
}

.hero__bg-shapes span:nth-child(3) {
  width: 200px;
  height: 200px;
  top: 40%;
  right: 20%;
  animation-delay: -14s;
  animation-duration: 18s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(20px, -30px) rotate(90deg); }
  50%      { transform: translate(-10px, 20px) rotate(180deg); }
  75%      { transform: translate(15px, 10px) rotate(270deg); }
}

/* Golden radial glow */
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 80%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(200, 164, 85, .07) 0%, transparent 60%);
  pointer-events: none;
}

/* Bottom gradient fade */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 7rem 0 6rem;
}

.hero__label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.hero__label::before,
.hero__label::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.hero__label::after {
  background: linear-gradient(to left, transparent, var(--gold));
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3.25rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  margin-bottom: 1.75rem;
  letter-spacing: -.02em;
}

.hero__title--accent {
  color: var(--gold);
  display: inline-block;
  position: relative;
}

.hero__title--accent::after {
  display: none;
}

.hero__tagline {
  font-size: clamp(1.0625rem, 2.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--gray-300);
  max-width: 580px;
  margin: 0 auto 3rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}



/* ---------- CHI SONO ---------- */
.chi-sono {
  background: var(--white);
}

.chi-sono__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Mobile: header first, then photo, then text */
.chi-sono__header-mobile {
  display: block;
  text-align: center;
}

.chi-sono__label-desktop,
.chi-sono__title-desktop {
  display: none;
}

.chi-sono__subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .chi-sono__grid {
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 5rem;
  }

  .chi-sono__header-mobile {
    display: none;
  }

  .chi-sono__label-desktop,
  .chi-sono__title-desktop {
    display: block;
  }
}

.chi-sono__photo {
  position: relative;
  max-width: 260px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .chi-sono__photo {
    max-width: none;
  }
}

.chi-sono__photo-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}

.chi-sono__photo-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 55%;
  height: 55%;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: .6;
}

/* Second decorative element */
.chi-sono__photo::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 40%;
  height: 40%;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius-lg) 0 0 0;
  z-index: 0;
  opacity: .3;
}

.chi-sono__bio {
  font-size: 1.0625rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

/* Stats */
.chi-sono__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(145deg, #f0f2f5, #e8eaef);
  border-radius: var(--radius-xl);
  border: 1px solid #d1d5db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  position: relative;
}

@media (min-width: 768px) {
  .chi-sono__stats {
    grid-template-columns: repeat(4, 1fr);
    padding: 3.5rem 3rem;
    gap: 2rem;
  }
}

.stat {
  text-align: center;
  padding: 1.25rem .75rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
  transition: all .3s var(--ease);
}

.stat:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
  transform: translateY(-2px);
}

.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat__suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--gold);
}

.stat__label {
  font-size: .75rem;
  font-weight: 600;
  color: #4b5563;
  margin-top: .625rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}


/* ---------- SERVIZI ---------- */
.servizi {
  background: linear-gradient(145deg, #f0f2f5, #e8eaef);
  position: relative;
}

/* Subtle pattern overlay */
.servizi::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(200,164,85,.04) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}

.servizi__grid {
  display: grid;
  gap: 1.25rem;
  position: relative;
}

@media (min-width: 640px) {
  .servizi__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 992px) {
  .servizi__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--white);
  border: 1px solid #d1d5db;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  transition: all .45s var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}

.card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.card:hover::before {
  transform: scaleX(1);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #e8eaef, #dcdfe5);
  font-size: 1.375rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  transition: all .4s var(--ease);
}

.card:hover .card__icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(200, 164, 85, .3);
  transform: scale(1.05);
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .75rem;
}

.card__text {
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--gray-500);
}


/* ---------- APPROCCIO ---------- */
.approccio {
  background: var(--white);
}

.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.timeline__line {
  position: absolute;
  top: 0;
  left: 27px;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline__line-fill {
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light));
  transition: height 1.5s var(--ease-out);
}

@media (min-width: 768px) {
  .timeline__line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline__step {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 3rem;
  position: relative;
}

.timeline__step:last-child {
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .timeline__step {
    gap: 0;
  }

  .timeline__step:nth-child(even) {
    flex-direction: row-reverse;
  }

  .timeline__step:nth-child(odd) .timeline__content {
    text-align: right;
    padding-right: 3.5rem;
  }

  .timeline__step:nth-child(even) .timeline__content {
    text-align: left;
    padding-left: 3.5rem;
  }

  .timeline__marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline__content {
    width: 50%;
  }
}

.timeline__marker {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold), 0 4px 16px rgba(0,0,0,.1);
  z-index: 1;
  transition: all .4s var(--ease);
}

.timeline__step:hover .timeline__marker {
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--gold), var(--shadow-gold);
  transform: scale(1.1);
}

@media (min-width: 768px) {
  .timeline__step:hover .timeline__marker {
    transform: translateX(-50%) scale(1.1);
  }
}

.timeline__number {
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 700;
  color: var(--gold);
  transition: color .3s var(--ease);
}

.timeline__step:hover .timeline__number {
  color: var(--white);
}

.timeline__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
}

.timeline__text {
  font-size: .9375rem;
  line-height: 1.75;
  color: var(--gray-500);
}

.timeline__content {
  padding-top: .5rem;
}


/* ---------- RISULTATI ---------- */
.risultati {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

/* Dark section adjustments */
.risultati .section__label {
  color: var(--gold-light);
}

.risultati .section__label::before {
  background: var(--gold-light);
}

.risultati .section__title {
  color: var(--white);
}

/* Decorative glow */
.risultati::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(200, 164, 85, .05) 0%, transparent 60%);
  pointer-events: none;
}

.risultati__grid {
  display: grid;
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .risultati__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all .45s var(--ease);
  backdrop-filter: blur(8px);
}

.testimonial:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(200, 164, 85, .2);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: .25rem;
  opacity: .6;
}

.testimonial__text {
  font-size: .9375rem;
  line-height: 1.85;
  color: var(--gray-300);
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  border: none;
  padding: 0;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.testimonial__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .05em;
  flex-shrink: 0;
}

.testimonial__name {
  font-weight: 600;
  font-size: .9375rem;
  color: var(--white);
  line-height: 1.3;
}

.testimonial__role {
  font-size: .8125rem;
  color: var(--gray-400);
}

.testimonial__result {
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: baseline;
  gap: .625rem;
}

.testimonial__metric {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--gold);
}

.testimonial__metric-label {
  font-size: .8125rem;
  color: var(--gray-400);
}


/* ---------- IN PRIMO PIANO ---------- */
.primo-piano {
  background: var(--gray-50);
}

/* Tags */
.pp-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .25rem .75rem;
  border-radius: 100px;
  margin-bottom: .75rem;
}

.pp-tag--premio {
  background: rgba(200, 164, 85, .15);
  color: var(--gold-dark);
}

.pp-tag--stampa {
  background: rgba(26, 35, 50, .08);
  color: var(--navy);
}

.pp-tag--evento {
  background: rgba(59, 130, 246, .1);
  color: #2563eb;
}

/* Featured card (Le Fonti Awards) */
.pp-featured {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.25rem;
  cursor: pointer;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}

.pp-featured:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.pp-featured__img {
  overflow: hidden;
}

.pp-featured__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pp-featured__body {
  padding: 1.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pp-featured__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--navy);
  margin-bottom: .75rem;
  line-height: 1.3;
}

.pp-featured__text {
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--gray-600);
}

/* Mobile: hide featured card, compact grid cards */
@media (max-width: 767px) {
  .pp-featured {
    display: none;
  }

  .pp-card__body {
    padding: 1rem 1.125rem 1.125rem;
  }

  .pp-card__title {
    font-size: .9375rem;
    margin-bottom: .25rem;
  }

  .pp-card__text {
    font-size: .75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .pp-card__img {
    aspect-ratio: 3 / 2;
  }

  /* Disable scroll animations on carousel cards */
  .pp-grid .pp-card.animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 768px) {
  .pp-featured {
    grid-template-columns: 1.2fr 1fr;
  }

  .pp-featured__img img {
    height: 260px;
  }

  .pp-featured__title {
    font-size: 1.5rem;
  }
}

/* Grid — horizontal scroll on mobile */
.pp-grid-wrap {
  position: relative;
}

.pp-grid {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1.25rem;
  -webkit-overflow-scrolling: touch;
  padding: 0 1.25rem .75rem;
  scrollbar-width: none;
}

.pp-grid::-webkit-scrollbar {
  display: none;
}

.pp-grid > .pp-card {
  flex: 0 0 68vw;
  max-width: 280px;
  scroll-snap-align: start;
}

/* Fade-out gradient on right edge — scroll affordance */
.pp-grid-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: .75rem;
  width: 3rem;
  background: linear-gradient(to right, transparent, var(--gray-50));
  pointer-events: none;
  transition: opacity .3s;
}

.pp-grid-wrap.scrolled-end::after {
  opacity: 0;
}

/* Scroll dots indicator */
.pp-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  padding-top: .75rem;
}

.pp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .3s, transform .3s;
}

.pp-dot.active {
  background: var(--navy);
  transform: scale(1.4);
}

@media (min-width: 600px) {
  .pp-grid-wrap::after {
    display: none;
  }

  .pp-dots {
    display: none;
  }

  .pp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    scroll-snap-type: none;
    gap: 1.5rem;
    padding: 0;
  }

  .pp-grid > .pp-card {
    flex: unset;
    max-width: none;
  }
}

@media (min-width: 960px) {
  .pp-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* Card */
.pp-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}

.pp-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pp-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.pp-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease);
}

.pp-card:hover .pp-card__img img {
  transform: scale(1.04);
}

.pp-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.pp-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.35;
}

.pp-card__text {
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--gray-500);
}

[data-lightbox] {
  cursor: pointer;
}


/* ---------- AWARD MODAL ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}

.modal[hidden] {
  display: flex;
}

.modal.modal--open {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: 85vw;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(30px) scale(.96);
  transition: transform .4s var(--ease-out);
}

.modal--open .modal__content {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s var(--ease);
}

.modal__close:hover {
  background: var(--gold-dark);
}

.modal__img img {
  width: 100%;
  max-height: 45vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--gray-50);
}

.modal__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.modal__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: .75rem;
}

.modal__desc {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--gray-600);
}


/* ---------- CONTATTI ---------- */
.contatti {
  background: var(--white);
}

.contatti__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contatti__grid {
    grid-template-columns: 1fr 1.4fr;
    align-items: flex-start;
    gap: 4rem;
  }
}

.contatti__desc {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.contatti__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contatti__details li {
  display: flex;
  align-items: center;
  gap: .875rem;
  font-size: .9375rem;
  color: var(--gray-600);
}

.contatti__details a:hover {
  color: var(--gold);
}

.contatti__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  font-size: 1.125rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: all .3s var(--ease);
}

.contatti__details li:hover .contatti__icon {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* Form */
.contatti__form-wrapper {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .contatti__form-wrapper {
    padding: 2.75rem;
  }
}

.form__row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 480px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__group--checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .625rem;
}

.form__label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
  letter-spacing: .02em;
}

.form__label--checkbox {
  flex: 1;
  font-weight: 400;
  font-size: .8125rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 0;
  cursor: pointer;
}

.form__label--checkbox a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__label--checkbox a:hover {
  color: var(--gold-dark);
}

.form__required {
  color: var(--gold);
}

.form__input {
  display: block;
  width: 100%;
  padding: .8125rem 1rem;
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  transition: all .3s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.form__input::placeholder {
  color: var(--gray-400);
}

.form__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 164, 85, .12);
}

.form__input--error {
  border-color: #dc3545;
}

.form__input--error:focus {
  box-shadow: 0 0 0 4px rgba(220, 53, 69, .12);
}

.form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form__textarea {
  resize: vertical;
  min-height: 130px;
}

.form__checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

.form__error {
  display: none;
  font-size: .75rem;
  color: #dc3545;
  margin-top: .375rem;
}

.form__error--visible {
  display: block;
}

.form__group--checkbox .form__error {
  width: 100%;
}

/* Submit button loader */
.btn__loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(26, 35, 50, .2);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

.btn--loading .btn__text {
  opacity: 0;
}

.btn--loading .btn__loader {
  display: block;
  position: absolute;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success */
.form__success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.form__success--visible {
  display: block;
}

.form__success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-gold);
}

.form__success-title {
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.form__success p {
  font-size: 1.0625rem;
  color: var(--gray-600, #4a5568);
  font-weight: 400;
  line-height: 1.6;
  max-width: 32rem;
  margin: 0 auto;
}


/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy-dark);
  color: var(--gray-400);
  padding: 3rem 0 0;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }
}

.footer__tagline {
  font-size: .875rem;
  color: var(--gray-500);
  margin-top: .75rem;
}

.footer__address {
  font-size: .8125rem;
  color: var(--gray-500);
  margin-top: .375rem;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer__links a {
  font-size: .875rem;
  color: var(--gray-400);
  transition: all .3s var(--ease);
  display: inline-block;
}

.footer__links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer__social-links {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  font-size: .875rem;
  font-weight: 700;
  color: var(--gray-400);
  transition: all .35s var(--ease);
}

.footer__social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 164, 85, .1);
  transform: translateY(-3px);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  padding: 1.5rem 0;
  font-size: .75rem;
  color: var(--gray-500);
  text-align: center;
}

.footer .navbar__brand {
  display: inline-flex;
}

.footer .navbar__name {
  color: var(--gray-300);
}


/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: all .4s var(--ease);
  z-index: 999;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(200, 164, 85, .2);
}

.scroll-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}


/* ---------- SCROLL ANIMATIONS ---------- */
.animate-on-scroll {
  opacity: 0;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  will-change: opacity, transform;
}

.animate-on-scroll.fade-up {
  transform: translateY(50px);
}

.animate-on-scroll.fade-down {
  transform: translateY(-30px);
}

.animate-on-scroll.fade-left {
  transform: translateX(50px);
}

.animate-on-scroll.fade-right {
  transform: translateX(-50px);
}

.animate-on-scroll.delay-1 { transition-delay: .15s; }
.animate-on-scroll.delay-2 { transition-delay: .3s; }
.animate-on-scroll.delay-3 { transition-delay: .45s; }

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}


/* ---------- MOBILE ENHANCEMENTS ---------- */
@media (max-width: 767px) {
  .hero {
    overflow: hidden;
  }

  .hero__content {
    padding: 7rem 0 4rem;
  }

  .hero__title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .chi-sono {
    overflow-x: hidden;
  }

  .chi-sono__photo {
    padding: 8px;
  }

  .chi-sono__photo-accent {
    bottom: -8px;
    right: -8px;
    width: 45%;
    height: 45%;
  }

  .chi-sono__photo::before {
    top: -6px;
    left: -6px;
    width: 30%;
    height: 30%;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    padding: 0 .5rem;
  }

  .hero__actions .btn {
    text-align: center;
    padding: .75rem 1.75rem;
    font-size: .8125rem;
  }

  .section {
    padding: clamp(3rem, 8vw, 5rem) 0;
  }

  .section__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .section__header {
    margin-bottom: 2.5rem;
  }

  .chi-sono__grid {
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .chi-sono__bio {
    font-size: .9375rem;
  }

  .chi-sono__stats {
    gap: .75rem;
    padding: 1.5rem .75rem;
  }

  .stat {
    padding: 1rem .5rem;
  }

  .stat__number {
    font-size: 1.75rem;
  }

  .stat__label {
    font-size: .625rem;
  }

  .card {
    padding: 1.5rem;
  }

  .card__title {
    font-size: 1.1rem;
  }

  .card__text {
    font-size: .875rem;
  }

  .testimonial {
    padding: 1.5rem;
  }

  .testimonial__quote {
    font-size: 2.5rem;
  }

  .testimonial__text {
    font-size: .875rem;
  }

  .risultati__grid {
    gap: 1rem;
  }

  .timeline__marker {
    width: 44px;
    height: 44px;
  }

  .timeline__step {
    gap: 1rem;
    padding-bottom: 2rem;
  }

  .timeline__title {
    font-size: 1rem;
  }

  .timeline__text {
    font-size: .875rem;
  }

  .contatti__form-wrapper {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
  }

  .contatti__desc {
    font-size: .9375rem;
    margin-bottom: 1.5rem;
  }

  .footer__grid {
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .footer {
    padding-top: 2.5rem;
  }

  .pp-featured__body {
    padding: 1.25rem;
  }

  .pp-featured__title {
    font-size: 1.125rem;
  }

  .pp-card__body {
    padding: 1rem 1.25rem 1.25rem;
  }

  .pp-card__title {
    font-size: .9375rem;
  }

  .pp-card__text {
    font-size: .75rem;
  }
}

/* Touch-friendly targets */
@media (pointer: coarse) {
  .btn {
    min-height: 48px;
  }

  .form__input {
    min-height: 48px;
  }

  .navbar__toggle {
    width: 44px;
    height: 44px;
  }
}


/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}
