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

:root {
  --color-bg: #F9F4EE;
  --color-bg-dark: #1C0A0A;
  --color-primary: #8B1A1A;
  --color-primary-dark: #5C0E0E;
  --color-accent: #C9922A;
  --color-accent-light: #E8B96A;
  --color-text: #2A1A0E;
  --color-text-light: #6B5544;
  --color-text-muted: #9B8070;
  --color-card: #FFFFFF;
  --color-border: #E8DDD2;
  --color-overlay: rgba(20, 6, 6, 0.62);
  --color-section-alt: #F2EAE0;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-logo: 'Cinzel', serif;
  --font-body: 'Lato', sans-serif;
  --header-h: 80px;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(50, 10, 10, 0.10);
  --shadow-lg: 0 12px 48px rgba(50, 10, 10, 0.18);
  --transition: all 0.3s ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===========================
   CONTAINER
=========================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   SITE HEADER / NAV
=========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background: var(--color-bg-dark);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.nav-container {
  height: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}

.nav-logo .logo-main {
  font-family: var(--font-logo);
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-logo .logo-sub {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--color-accent-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links li a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links li a:hover {
  color: var(--color-accent-light);
}

/* CTA */
.nav-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 10px 20px;
  border-radius: 2px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #FFFFFF;
}

/* Hamburger (checkbox pattern) */
.nav-toggle-input {
  display: none;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 10;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle-input:checked ~ .nav-hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle-input:checked ~ .nav-hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle-input:checked ~ .nav-hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 26, 26, 0.4);
}

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===========================
   SECTION COMMON
=========================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

/* ===========================
   REVEAL ANIMATION
=========================== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal:not(.revealed) {
  opacity: 0;
  transform: translateY(36px);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.servizio-card,
.testimonial-card,
.step,
.galleria-item,
.info-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.servizi-grid:not(.child-revealed-parent) .servizio-card,
.testimonianze-grid:not(.child-revealed-parent) .testimonial-card {
  opacity: 1;
}

.servizio-card:not(.child-revealed),
.testimonial-card:not(.child-revealed),
.step:not(.child-revealed),
.galleria-item:not(.child-revealed),
.info-card:not(.child-revealed) {
  opacity: 0;
  transform: translateY(24px);
}

.servizio-card.child-revealed,
.testimonial-card.child-revealed,
.step.child-revealed,
.galleria-item.child-revealed,
.info-card.child-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(18, 4, 4, 0.75) 0%,
    rgba(28, 8, 8, 0.58) 50%,
    rgba(18, 4, 4, 0.72) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 24px;
  padding-top: var(--header-h);
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInDown 0.8s ease 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.5s forwards;
}

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

.hero-desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.9s ease 0.9s forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  animation: bounce 2s ease-in-out infinite;
  transition: opacity 0.4s ease;
  cursor: pointer;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ===========================
   SERVIZI
=========================== */
.servizi {
  padding: 100px 0;
  background: var(--color-bg);
}

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

.servizio-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  transition: var(--transition);
  cursor: default;
}

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

.servizio-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: #FFFFFF;
  transition: var(--transition);
}

.servizio-card:hover .servizio-icon {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  transform: rotate(-4deg) scale(1.08);
}

.servizio-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.35;
}

.servizio-card p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

/* ===========================
   GALLERIA
=========================== */
.galleria {
  padding: 100px 0;
  background: var(--color-section-alt);
}

.galleria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.galleria-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #1a1a1a;
}

.galleria-item--large {
  grid-row: 1 / 3;
}

.galleria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
  min-height: 260px;
}

.galleria-item--large img {
  min-height: 540px;
}

.galleria-item:hover img {
  transform: scale(1.06);
}

.galleria-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,4,4,0.78) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.galleria-item:hover .galleria-overlay {
  opacity: 1;
}

.galleria-overlay span {
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===========================
   CHI SIAMO
=========================== */
.chi-siamo {
  padding: 100px 0;
  background: var(--color-bg);
}

.chi-siamo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.chi-siamo-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.chi-siamo-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}

.chi-siamo-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-primary);
  color: #FFFFFF;
  border-radius: 50%;
  width: 110px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(139, 26, 26, 0.4);
  z-index: 2;
}

.badge-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.badge-text {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  margin-top: 2px;
  opacity: 0.9;
}

.chi-siamo-content .section-label {
  display: inline-flex;
  margin-bottom: 14px;
}

.chi-siamo-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.chi-siamo-content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.chi-siamo-content p:last-of-type {
  margin-bottom: 36px;
}

.chi-siamo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--color-border);
  padding-top: 28px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-item i {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.stat-item strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.stat-item span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ===========================
   PROCESSO
=========================== */
.processo {
  padding: 100px 0;
  background: var(--color-bg-dark);
}

.processo .section-header {
  color: #FFFFFF;
}

.processo .section-title {
  color: #FFFFFF;
}

.processo .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.processo .section-label {
  color: var(--color-accent-light);
}

.processo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.processo-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.step:last-child {
  border-bottom: none;
}

.step-number {
  font-family: var(--font-logo);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(201, 146, 42, 0.25);
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  transition: color 0.3s ease;
}

.step:hover .step-number {
  color: var(--color-accent);
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-body h3 i {
  color: var(--color-accent);
  font-size: 0.9rem;
}

.step-body p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
}

.processo-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.processo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: transform 0.6s ease;
}

.processo-image:hover img {
  transform: scale(1.03);
}

/* ===========================
   TESTIMONIANZE
=========================== */
.testimonianze {
  padding: 100px 0;
  background: var(--color-section-alt);
}

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

.testimonial-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--color-accent);
}

.testimonial-quote {
  color: var(--color-primary);
  font-size: 1.6rem;
  opacity: 0.25;
}

.testimonial-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.75;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  flex-shrink: 0;
}

.author-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-info strong {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
}

.author-info span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--color-accent);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ===========================
   CONTATTI
=========================== */
.contatti {
  padding: 100px 0;
  background: var(--color-bg);
}

.contatti-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contatti-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--color-primary);
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.info-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1rem;
  flex-shrink: 0;
}

.info-body h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.info-body p,
.info-body p a {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

.info-body p a:hover {
  color: var(--color-primary);
}

/* Form */
.contatti-form-wrap {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}

.contatti-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  width: 100%;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  font-weight: 300;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.12);
}

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

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: var(--radius);
  padding: 14px 18px;
  color: #2e7d32;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-success.visible {
  display: flex;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-bottom: 16px;
}

.footer-logo .logo-main {
  font-family: var(--font-logo);
  font-size: 1.6rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-logo .logo-sub {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--color-accent-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--color-accent-light);
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.footer-contact ul li i {
  color: var(--color-accent);
  width: 14px;
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 0.82rem;
}

.footer-contact ul li a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease;
}

.footer-contact ul li a:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .servizi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonianze-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .processo-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .processo-image {
    order: -1;
  }
  .processo-image img {
    aspect-ratio: 16/7;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .nav-links li a {
    font-size: 0.78rem;
    padding: 6px 7px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }

  /* Mobile Nav */
  .nav-hamburger {
    display: flex;
    order: 3;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-bg-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 20px;
    border-bottom: 2px solid var(--color-primary);
    gap: 0;
  }

  .nav-toggle-input:checked ~ .nav-links {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 14px 24px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .nav-links li a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--color-accent-light);
  }

  .nav-cta {
    display: none;
  }

  /* Hero */
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    font-size: 0.82rem;
    padding: 13px 22px;
  }

  /* Sections */
  .servizi { padding: 72px 0; }
  .galleria { padding: 72px 0; }
  .chi-siamo { padding: 72px 0; }
  .processo { padding: 72px 0; }
  .testimonianze { padding: 72px 0; }
  .contatti { padding: 72px 0; }

  .section-header {
    margin-bottom: 40px;
  }

  .servizi-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .galleria-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .galleria-item--large {
    grid-row: auto;
  }

  .galleria-item img,
  .galleria-item--large img {
    min-height: 220px;
    aspect-ratio: 16/9;
  }

  .chi-siamo-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .chi-siamo-image img {
    aspect-ratio: 4/3;
  }

  .chi-siamo-badge {
    right: 12px;
    bottom: -16px;
    width: 88px;
    height: 88px;
  }

  .badge-number {
    font-size: 1.4rem;
  }

  .chi-siamo-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .contatti-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contatti-form-wrap {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 36px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .servizio-card {
    padding: 26px 20px;
  }
  .testimonial-card {
    padding: 26px 20px;
  }
  .step {
    gap: 14px;
  }
  .step-number {
    font-size: 1.5rem;
    width: 38px;
  }
}
