/* ============================================================
   AUGUSTO CAVALLINI — STYLESHEET
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --cream: #f5f0e8;
  --warm-white: #faf8f4;
  --gold: #8B6914;
  --gold-light: #b8902a;
  --dark-brown: #2c1f0e;
  --mid-brown: #5a3e28;
  --burgundy: #6b1a1a;
  --text: #2c1f0e;
  --text-light: #6b5c47;
  --border: rgba(139, 105, 20, 0.25);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* Paper texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── KEYFRAMES ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1.4rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(44, 31, 14, 0.1);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--dark-brown);
  text-decoration: none;
}

.nav-logo span {
  color: var(--gold);
}

.nav-center {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-center a {
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color var(--transition);
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 0.3rem;
  border: 1px solid var(--border);
  padding: 0.25rem;
}

.lang-btn {
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-btn:hover {
  color: var(--gold);
}

.lang-btn.active {
  background: var(--gold);
  color: var(--warm-white);
}

/* Burger (mobile) */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--dark-brown);
  transition: all 0.3s;
}

.burger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark-brown);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

#mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

#mobile-menu a:hover {
  color: var(--gold-light);
}

.mobile-lang {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.mobile-lang .lang-btn {
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(245, 240, 232, 0.2);
  color: rgba(245, 240, 232, 0.6);
}

.mobile-lang .lang-btn.active {
  background: var(--gold);
  color: var(--warm-white);
  border-color: var(--gold);
}

/* ── HERO ───────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.hero-left {
  background: var(--dark-brown);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem 5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-left::before {
  content: 'AC';
  position: absolute;
  bottom: -2rem;
  left: -1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22rem;
  font-weight: 600;
  color: rgba(139, 105, 20, 0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero-tag {
  font-size: 0.63rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 4.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--warm-white);
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-name em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-divider {
  width: 3rem;
  height: 1px;
  background: var(--gold);
  margin: 2.5rem 0;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-tagline {
  font-size: 0.83rem;
  line-height: 1.95;
  color: rgba(245, 240, 232, 0.6);
  max-width: 390px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

.hero-cta-group {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s forwards;
}

.btn-primary {
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: var(--warm-white);
  text-decoration: none;
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: all var(--transition);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold-light);
}

.btn-secondary {
  padding: 0.9rem 2rem;
  background: transparent;
  color: rgba(245, 240, 232, 0.65);
  text-decoration: none;
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 240, 232, 0.2);
  transition: all var(--transition);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--warm-white);
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #e8dfc8 0%, #d4c9a8 50%, #c4b48a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 8px,
      rgba(139, 105, 20, 0.04) 8px, rgba(139, 105, 20, 0.04) 9px);
}

.hero-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  inset: 0;
}

.hero-initials {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12rem;
  font-weight: 300;
  color: rgba(139, 105, 20, 0.2);
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1.2s 1.3s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s 1.6s forwards;
  z-index: 10;
  pointer-events: none;
}

.hero-scroll span {
  font-size: 0.52rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.4);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gold);
  animation: scrollLine 2.2s 2s infinite;
}

/* ── NUMBERS STRIP ──────────────────────────────────────────── */
.numbers-strip {
  background: var(--burgundy);
  padding: 2.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.number-item {
  text-align: center;
  border-right: 1px solid rgba(245, 240, 232, 0.12);
  padding: 0.5rem 1rem;
}

.number-item:last-child {
  border-right: none;
}

.number-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
}

.number-value span {
  color: var(--gold-light);
  font-style: italic;
}

.number-label {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.45);
  margin-top: 0.5rem;
}

/* ── SECTION COMMONS ────────────────────────────────────────── */
section {
  padding: 8rem 4rem;
}

.section-tag {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--dark-brown);
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

/* ── ABOUT ──────────────────────────────────────────────────── */
#about {
  background: var(--warm-white);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8rem;
  align-items: start;
}

.about-left {
  position: sticky;
  top: 8rem;
}

.about-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--mid-brown);
  line-height: 1.6;
  margin-top: 2.5rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
}

.about-quote cite {
  display: block;
  font-size: 0.68rem;
  font-style: normal;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1rem;
}

.about-right p {
  font-size: 0.88rem;
  line-height: 2.05;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 1.4rem;
}

.about-right p strong {
  color: var(--dark-brown);
  font-weight: 500;
}

/* ── JOURNEY ────────────────────────────────────────────────── */
#journey {
  background: var(--cream);
}

.journey-header {
  max-width: 600px;
  margin-bottom: 6rem;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 2rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  padding: 0 0 4rem 4rem;
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: -0.32rem;
  top: 0.35rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--cream);
}

.timeline-period {
  font-size: 0.63rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.timeline-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--dark-brown);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.timeline-company {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.timeline-desc {
  font-size: 0.84rem;
  line-height: 1.95;
  color: var(--text-light);
  font-weight: 300;
  max-width: 560px;
}

/* ── EXPERTISE ──────────────────────────────────────────────── */
#expertise {
  background: var(--dark-brown);
  position: relative;
  overflow: hidden;
}

#expertise::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 105, 20, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.expertise-header {
  margin-bottom: 4.5rem;
  max-width: 500px;
}

.expertise-header .section-title {
  color: var(--cream);
}

.expertise-header .section-tag {
  color: var(--gold-light);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(139, 105, 20, 0.18);
  border: 1px solid rgba(139, 105, 20, 0.18);
}

.expertise-card {
  background: var(--dark-brown);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.4s;
}

.expertise-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.expertise-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.expertise-card:hover::after {
  transform: scaleX(1);
}

.expertise-card:hover {
  background: rgba(139, 105, 20, 0.06);
}

.expertise-icon {
  font-size: 1.8rem;
  margin-bottom: 1.4rem;
  display: block;
}

.expertise-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.9rem;
}

.expertise-card p {
  font-size: 0.78rem;
  line-height: 1.95;
  color: rgba(245, 240, 232, 0.48);
  font-weight: 300;
}

/* ── LANGUAGES ──────────────────────────────────────────────── */
#languages {
  background: var(--cream);
  text-align: center;
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.lang-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--border);
  background: var(--warm-white);
  position: relative;
  overflow: hidden;
  cursor: default;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.lang-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.lang-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(100%);
  transition: transform 0.4s;
  z-index: 0;
}

.lang-card:hover::before {
  transform: translateY(0);
}

.lang-flag {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.lang-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--dark-brown);
  margin-bottom: 0.3rem;
  position: relative;
  z-index: 1;
  transition: color var(--transition);
}

.lang-card:hover .lang-name {
  color: var(--warm-white);
}

.lang-level {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  z-index: 1;
  transition: color var(--transition);
}

.lang-card:hover .lang-level {
  color: rgba(245, 240, 232, 0.75);
}

/* ── TESTIMONIALS ───────────────────────────────────────────── */
#testimonials {
  background: var(--warm-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 5rem;
}

.testimonial-card {
  padding: 3rem;
  border: 1px solid var(--border);
  background: var(--cream);
  position: relative;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color var(--transition), box-shadow var(--transition);
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 60px rgba(44, 31, 14, 0.08);
  transform: translateY(-4px) !important;
}

.testimonial-card::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.18;
  position: absolute;
  top: 1rem;
  left: 2rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.83rem;
  line-height: 1.95;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--dark-brown);
}

.testimonial-role {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── GEOGRAPHY ──────────────────────────────────────────────── */
#geography {
  background: var(--cream);
  text-align: center;
}

.geo-subtitle {
  font-size: 0.85rem;
  line-height: 2;
  color: var(--text-light);
  font-weight: 300;
  max-width: 600px;
  margin: 1.5rem auto 5rem;
}

.countries-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  max-width: 920px;
  margin: 0 auto;
}

.country-tag {
  padding: 0.6rem 1.3rem;
  border: 1px solid var(--border);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  color: var(--text-light);
  background: var(--warm-white);
  cursor: default;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease, background var(--transition), color var(--transition), border-color var(--transition);
}

.country-tag.visible {
  opacity: 1;
  transform: scale(1);
}

.country-tag:hover {
  background: var(--gold);
  color: var(--warm-white);
  border-color: var(--gold);
}

.country-tag.highlight {
  background: var(--mid-brown);
  color: var(--cream);
  border-color: var(--mid-brown);
  font-weight: 500;
}

.country-tag.highlight:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* ── CONTACT ────────────────────────────────────────────────── */
#contact {
  background: var(--dark-brown);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.contact-left .section-title {
  color: var(--cream);
}

.contact-left .section-tag {
  color: var(--gold-light);
}

.contact-intro {
  font-size: 0.84rem;
  line-height: 2;
  color: rgba(245, 240, 232, 0.52);
  font-weight: 300;
  margin-top: 2rem;
  max-width: 420px;
}

.contact-details {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-item-label {
  font-size: 0.54rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-item-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--cream);
}

.contact-item-value a {
  color: var(--cream);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-item-value a:hover {
  color: var(--gold-light);
}

.contact-right {
  background: rgba(139, 105, 20, 0.07);
  border: 1px solid rgba(139, 105, 20, 0.2);
  padding: 3.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.38);
  margin-bottom: 0.55rem;
}

.form-input {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(245, 240, 232, 0.05);
  border: 1px solid rgba(139, 105, 20, 0.22);
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  font-weight: 300;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: rgba(245, 240, 232, 0.22);
}

.form-input:focus {
  border-color: var(--gold);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--gold);
  color: var(--warm-white);
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--gold-light);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: #170f07;
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(139, 105, 20, 0.12);
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: rgba(245, 240, 232, 0.45);
  text-decoration: none;
}

.footer-logo span {
  color: var(--gold);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.28);
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 0.62rem;
  color: rgba(245, 240, 232, 0.22);
  letter-spacing: 0.08em;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  nav {
    padding: 1.4rem 2rem;
  }

  .nav-center {
    display: none;
  }

  .burger {
    display: flex;
  }

  #mobile-menu {
    display: flex;
  }

  section {
    padding: 6rem 2rem;
  }

  #hero {
    grid-template-columns: 1fr;
  }

  .hero-left {
    padding: 8rem 2rem 4rem;
    min-height: 100vh;
  }

  .hero-right {
    display: none;
  }

  .numbers-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem;
  }

  #about {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-left {
    position: static;
  }

  .expertise-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lang-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  #contact {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .lang-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .numbers-strip {
    grid-template-columns: 1fr 1fr;
  }

  .hero-left {
    padding: 7rem 1.5rem 3rem;
  }

  section {
    padding: 5rem 1.5rem;
  }

  footer {
    padding: 2rem 1.5rem;
  }

  .contact-right {
    padding: 2rem 1.5rem;
  }
}

/* ── TIMELINE PHOTOS ────────────────────────────────────────── */
.timeline-photos {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.tl-photo {
  flex: 1 1 160px;
  max-width: 240px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--warm-white);
}

.tl-photo img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.tl-photo:hover img {
  transform: scale(1.04);
}

.tl-photo figcaption {
  padding: 0.55rem 0.75rem;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.5;
  border-top: 1px solid var(--border);
}

/* ── AWARDS SECTION ─────────────────────────────────────────── */
#awards {
  background: var(--dark-brown);
  padding: 8rem 4rem;
}

.awards-header {
  max-width: 620px;
  margin-bottom: 5rem;
}

.awards-header .section-title {
  color: var(--cream);
}

.awards-header .section-tag {
  color: var(--gold-light);
}

.awards-subtitle {
  font-size: 0.84rem;
  line-height: 1.95;
  color: rgba(245, 240, 232, 0.5);
  font-weight: 300;
  margin-top: 1.2rem;
}

/* Mosaic grid */
/* ── AWARDS CAROUSEL ───────────────────────────────────────── */
.awards-carousel-outer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.awards-carousel-wrap {
  flex: 1;
  overflow: hidden;
  height: 576px;
}

/* Striscia scorrevole a colonne */
.awards-mosaic {
  display: grid;
  grid-template-rows: 280px 280px;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 0.75rem;
  height: 100%;
  width: max-content;
  align-items: start;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Foto normale: 1 cella */
.mosaic-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* Foto tall: occupa 2 righe */
.mosaic-tall {
  grid-row: span 2;
  height: 100%;
}

/* Foto wide: occupa 2 colonne */
.mosaic-wide {
  grid-column: span 2;
  width: 100%;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  filter: brightness(0.88) saturate(0.9);
}

.mosaic-item:hover img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1);
}

.mosaic-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(44, 31, 14, 0.85), transparent);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transform: translateY(4px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.mosaic-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.photo-event {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--cream);
  font-weight: 400;
}

.photo-place {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.mosaic-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  transition: border-color 0.3s;
  pointer-events: none;
}

.mosaic-item:hover::after {
  border-color: var(--gold);
}

/* Frecce */
.carousel-btn {
  flex-shrink: 0;
  background: rgba(44, 31, 14, 0.85);
  border: 1px solid rgba(139, 105, 20, 0.6);
  color: var(--cream);
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(6px);
  line-height: 1;
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.carousel-btn-prev {}

.carousel-btn-next {}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.5);
}

@media (max-width: 1100px) {
  .awards-carousel-wrap {
    height: 436px;
  }

  .awards-mosaic {
    grid-template-rows: 210px 210px;
    grid-auto-columns: 210px;
  }

  #awards {
    padding: 6rem 2rem;
  }
}

@media (max-width: 640px) {
  .awards-carousel-wrap {
    height: 316px;
  }

  .awards-mosaic {
    grid-template-rows: 150px 150px;
    grid-auto-columns: 150px;
  }

  .carousel-btn {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.1rem;
  }

  .timeline-photos {
    flex-direction: column;
  }

  .tl-photo {
    max-width: 100%;
  }
}

/* ── VIDEO GALLERY ──────────────────────────────────────────── */
#videos {
  padding: 6rem 8%;
  background: var(--warm-white);
}

.videos-header {
  text-align: center;
  margin-bottom: 3rem;
}

.videos-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0.8rem auto 0;
  letter-spacing: 0.03em;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.video-card {
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--cream);
}

.video-card video,
.video-card iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  background: #000;
}

.video-card-info {
  padding: 1.2rem;
}

.video-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--dark-brown);
  margin-bottom: 0.4rem;
}

.video-card-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── VIDEO MODAL ────────────────────────────────────────────── */
#video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 8, 2, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#video-modal.open {
  opacity: 1;
  pointer-events: all;
}

#video-modal-inner {
  width: 100%;
  max-width: 900px;
  position: relative;
  transform: scale(0.96);
  transition: transform 0.3s ease;
}

#video-modal.open #video-modal-inner {
  transform: scale(1);
}

#video-modal-player {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  background: #000;
  border: 1px solid rgba(139, 105, 20, 0.3);
}

#video-modal-close {
  position: absolute;
  top: -2.8rem;
  right: 0;
  background: none;
  border: 1px solid rgba(139, 105, 20, 0.4);
  color: rgba(245, 240, 232, 0.7);
  font-size: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}

#video-modal-close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}

#video-modal-info {
  padding: 1rem 0 0;
}

#video-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 0.3rem;
}

#video-modal-desc {
  font-size: 0.75rem;
  color: rgba(245, 240, 232, 0.5);
  letter-spacing: 0.05em;
}

/* ── VIDEO CARD THUMBNAIL ───────────────────────────────────── */
.video-card:hover .video-thumb div {
  background: rgba(0, 0, 0, 0.2);
}

.video-card:hover .video-thumb div>div {
  background: rgba(139, 105, 20, 1);
  transform: scale(1.08);
  transition: all 0.2s;
}

/* ── LIGHTBOX ───────────────────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 12, 4, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

#lightbox.open {
  opacity: 1;
  pointer-events: all;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid rgba(139, 105, 20, 0.3);
  display: block;
}

#lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(245, 240, 232, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

#lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: 1px solid rgba(139, 105, 20, 0.4);
  color: rgba(245, 240, 232, 0.7);
  font-size: 1.2rem;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}

#lightbox-close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}

#lightbox-prev,
#lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(139, 105, 20, 0.4);
  color: rgba(245, 240, 232, 0.7);
  font-size: 1.2rem;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

#lightbox-prev {
  left: 1.5rem;
}

#lightbox-next {
  right: 1.5rem;
}

#lightbox-prev:hover,
#lightbox-next:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}

#lightbox-counter {
  position: absolute;
  top: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.35);
}

/* ── DEDICHE ────────────────────────────────────────────────── */
.dediche-wrap {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 2rem 5rem;
  align-items: start;
}

.dediche-header {
  grid-column: 1 / -1;
  margin-bottom: 0.5rem;
}

.dediche-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--cream);
  margin-top: 0.4rem;
}

.dediche-figure {
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

.dediche-figure img {
  width: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(0.92) saturate(0.85) sepia(0.08);
  transition: filter 0.5s, transform 0.5s;
}

.dediche-figure:hover img {
  filter: brightness(1) saturate(1) sepia(0);
  transform: scale(1.02);
}

.dediche-figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(44, 31, 14, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.dediche-figure:hover figcaption {
  opacity: 1;
}

.dediche-texts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  padding-top: 0.5rem;
}

.dediche-quote {
  margin: 0;
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
}

.dediche-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.75;
  margin-bottom: 0.6rem;
}

.dediche-quote cite {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-style: normal;
}

@media (max-width: 900px) {
  .dediche-wrap {
    grid-template-columns: 1fr;
  }
}