:root {
  --dark: #101214;
  --dark-soft: #181b1f;
  --gold: #c8a45d;
  --gold-light: #e0c27a;
  --text: #f6f1e8;
  --muted: #c8c1b6;
  --white: #ffffff;
  --paper: #f5f1ea;
  --ink: #1c1c1c;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(16, 18, 20, 0.80);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 118px;
  height: 94px;
  padding: 10px 0;
}

.brand img {
  width: auto;
  height: 68px;
  max-height: 68px;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.menu a {
  opacity: 0.88;
  transition: 0.2s ease;
}

.menu a:hover {
  color: var(--gold-light);
  opacity: 1;
}

.nav-cta {
  padding: 12px 18px;
  border: 1px solid rgba(224, 194, 122, 0.55);
  border-radius: 999px;
  color: var(--gold-light) !important;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  padding: 9px 11px;
  border-radius: 12px;
  font-size: 24px;
  cursor: pointer;
}

.hero {
  min-height: 100vh;
  padding-top: 94px;
  color: var(--white);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg-slider,
.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 7s ease;
}

.hero-bg.active {
  opacity: 1;
  transform: scale(1);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(16, 18, 20, 0.68), rgba(16, 18, 20, 0.24));
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 190px;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  width: min(var(--max), calc(100% - 32px));
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 70px 0 100px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: '';
  width: 46px;
  height: 1px;
  background: var(--gold-light);
}

h1 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  max-width: 860px;
  margin-bottom: 24px;
}

.hero-subtitle {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 23px);
  margin-bottom: 34px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 18px 35px rgba(200, 164, 93, 0.26);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--gold-light);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

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

.hero-card {
  background: rgba(16, 18, 20, 0.50);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card h2 {
  color: var(--gold-light);
  font-size: 24px;
  margin-bottom: 18px;
}

.hero-list {
  list-style: none;
  display: grid;
  gap: 14px;
  color: var(--text);
}

.hero-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.check {
  color: var(--gold-light);
  font-weight: 900;
}

section {
  padding: 94px 0;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 44px;
}

.kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.lead {
  color: #5d5952;
  font-size: 19px;
}

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 50px rgba(22, 22, 22, 0.08);
  border: 1px solid rgba(22, 22, 22, 0.06);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(200, 164, 93, 0.15);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--dark);
}

.card p {
  color: #625f58;
}

.dark-section {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.dark-section .lead {
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  counter-increment: step;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 220px;
}

.step::before {
  content: '0' counter(step);
  display: inline-flex;
  color: var(--gold-light);
  font-weight: 900;
  margin-bottom: 24px;
  letter-spacing: 0.08em;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.photo-frame {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 520px;
  background: url('foto_sito/chi-siamo.jpg') center/cover no-repeat;
  background-attachment: fixed;
}

.content-box {
  background: var(--white);
  border-radius: 30px;
  padding: clamp(30px, 5vw, 54px);
  box-shadow: 0 18px 50px rgba(22, 22, 22, 0.08);
}

.content-box p {
  color: #5d5952;
  margin-top: 18px;
  font-size: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.stat {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding-top: 18px;
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: 30px;
  line-height: 1;
}

.stat span {
  font-size: 14px;
  color: #68645d;
}

.gallery-shell {
  background: var(--white);
  border-radius: 30px;
  padding: clamp(16px, 3vw, 26px);
  box-shadow: 0 18px 50px rgba(22, 22, 22, 0.10);
}

.gallery-view {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #111;
  height: clamp(320px, 58vw, 650px);
  display: grid;
  place-items: center;
}

.gallery-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #101214;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(16, 18, 20, 0.72);
  color: white;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.gallery-arrow:hover {
  background: var(--gold);
  color: var(--dark);
}

.gallery-arrow.prev {
  left: 16px;
}

.gallery-arrow.next {
  right: 16px;
}

.gallery-caption {
  padding: 20px 4px 8px;
}

.gallery-caption h3 {
  font-size: 26px;
  margin-bottom: 4px;
}

.gallery-caption p {
  color: #625f58;
}

.gallery-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 12px 0 18px;
}

.gallery-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #d5cec2;
  cursor: pointer;
}

.gallery-dots button.active {
  background: var(--gold);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 10px;
}

.thumb {
  border: 3px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  padding: 0;
  opacity: 0.72;
}

.thumb.active {
  border-color: var(--gold);
  opacity: 1;
}

.thumb img {
  width: 100%;
  height: 88px;
  object-fit: cover;
}

.reference-grid,
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.reference-card,
.quote {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px;
}

.reference-card h3 {
  color: var(--gold-light);
  font-size: 24px;
  margin-bottom: 16px;
}

.reference-card ul {
  display: grid;
  gap: 8px;
  padding-left: 19px;
  color: var(--text);
}

.light-quotes .quote {
  background: var(--white);
  border: 1px solid rgba(22, 22, 22, 0.06);
  box-shadow: 0 18px 50px rgba(22, 22, 22, 0.08);
}

.quote p {
  color: var(--ink);
  font-size: 18px;
  font-style: italic;
}

.dark-section .quote p {
  color: var(--text);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}

.contact-card,
.form-card {
  background: var(--white);
  border-radius: 30px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 18px 50px rgba(22, 22, 22, 0.08);
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-list li {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}

.contact-list small {
  display: block;
  color: #77716a;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
  font-size: 11px;
  margin-bottom: 4px;
}

.contact-list a,
.contact-list span {
  font-size: 19px;
  font-weight: 800;
  color: var(--dark);
  word-break: break-word;
}

form {
  display: grid;
  gap: 14px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  background: #faf8f3;
  color: var(--ink);
  outline: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 164, 93, 0.15);
}

.form-note {
  font-size: 13px;
  color: #706b64;
}

footer {
  background: var(--dark);
  color: var(--muted);
  padding: 38px 0;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  font-size: 14px;
}

.floating-wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.floating-wa svg {
  width: 38px;
  height: 38px;
  fill: #ffffff;
}


.works-head h2 {
  max-width: 720px;
}

.featured-works {
  display: grid;
  grid-template-columns: 1.35fr 0.82fr 0.82fr;
  gap: 18px;
  margin-bottom: 26px;
}

.featured-work {
  position: relative;
  min-height: 320px;
  border-radius: 30px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 50px rgba(22, 22, 22, 0.14);
}

.featured-large {
  min-height: 430px;
}

.featured-work::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(16, 18, 20, 0.68));
}

.featured-work span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.parallax-band {
  min-height: 560px;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(16, 18, 20, 0.64), rgba(16, 18, 20, 0.22)),
    url('foto_sito/parallax-1.jpg') center/cover fixed no-repeat;
}

.parallax-content {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
  padding: clamp(34px, 6vw, 58px);
  border-radius: 34px;
  background: rgba(16, 18, 20, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.parallax-content h2 {
  margin-bottom: 18px;
}

.parallax-content p {
  color: var(--text);
  font-size: 20px;
  max-width: 720px;
  margin: 0 auto;
}


@media (max-width: 940px) {
   .social-links {
    margin-left: auto;
    margin-right: 8px;
    gap: 8px;
  }

  .social-links a {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .social-links svg {
    width: 18px !important;
    height: 18px !important;
  } 
  
  .featured-works {
    grid-template-columns: 1fr;
  }

  .featured-work,
  .featured-large {
    min-height: 310px;
  }

  .parallax-band,
  .photo-frame {
    background-attachment: scroll;
  }

  .parallax-band {
    min-height: 480px;
  }

  .mobile-toggle {
    display: block;
  }

  .menu {
    position: fixed;
    top: 94px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: rgba(16, 18, 20, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 14px 12px;
  }

  .hero-inner,
  .section-head,
  .split,
  .contact-grid,
  .reference-grid,
  .testimonials {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 620px) {
  .nav {
    height: 78px;
  }

  .brand {
    height: 78px;
    padding: 8px 0;
  }

  .brand img {
    width: auto;
    height: 56px;
    max-height: 56px;
  }

  .menu {
    top: 78px;
  }

  .hero {
    padding-top: 78px;
  }

  .hero-inner {
    padding: 48px 0 82px;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  section {
    padding: 70px 0;
  }

  .process,
  .stats {
    grid-template-columns: 1fr;
  }

  .gallery-arrow {
    width: 42px;
    height: 42px;
    font-size: 32px;
  }

  .gallery-arrow.prev {
    left: 8px;
  }

  .gallery-arrow.next {
    right: 8px;
  }

  .thumb img {
    height: 72px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Cartelle foto personalizzabili */
.gallery-caption { display: none; }

/* SEO locale: sezione Roma e provincia + FAQ */
.service-area,
.faq-section {
  background: #f5f1ea;
}

.zone-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: stretch;
}

.zone-grid > div:first-child,
.zone-card,
.faq-item {
  background: #ffffff;
  border: 1px solid rgba(22, 22, 22, 0.06);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(22, 22, 22, 0.08);
}

.zone-grid > div:first-child {
  padding: clamp(30px, 5vw, 54px);
}

.zone-grid > div:first-child p:not(.lead) {
  margin-top: 18px;
  color: #5d5952;
  font-size: 18px;
}

.zone-card {
  padding: clamp(28px, 4vw, 42px);
}

.zone-card h3 {
  font-size: 25px;
  margin-bottom: 18px;
}

.zone-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.zone-card li {
  position: relative;
  padding-left: 28px;
  color: #5d5952;
  font-weight: 700;
}

.zone-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.faq-item {
  padding: 28px;
}

.faq-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--dark);
}

.faq-item p {
  color: #5d5952;
}

@media (max-width: 940px) {
  .zone-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
.social-links {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: auto;
  margin-right: 10px;
  flex-shrink: 0;
  z-index: 60;
}

.social-links a {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  display: grid !important;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(224, 194, 122, 0.45);
  color: #ffffff;
  transition: 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(224, 194, 122, 0.22);
  border-color: rgba(224, 194, 122, 0.75);
}

.social-links svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
  fill: #ffffff !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Gallerie lavori divise per categoria */
.category-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 0 0 24px;
}

.category-tab {
  border: 1px solid rgba(22, 22, 22, 0.10);
  background: rgba(255, 255, 255, 0.78);
  color: var(--dark);
  border-radius: 18px;
  padding: 16px 14px;
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(22, 22, 22, 0.06);
  transition: 0.2s ease;
  text-align: left;
}

.category-tab span {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.category-tab small {
  font-size: 12px;
  color: #746e65;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.category-tab:hover,
.category-tab.active {
  transform: translateY(-2px);
  color: var(--dark);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: rgba(200, 164, 93, 0.85);
  box-shadow: 0 18px 45px rgba(200, 164, 93, 0.22);
}

.category-tab:hover small,
.category-tab.active small {
  color: rgba(16, 18, 20, 0.72);
}

.category-gallery-shell {
  padding: clamp(18px, 3vw, 30px);
}

.category-gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.category-gallery-head h3 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--dark);
}

.category-gallery-head p {
  color: #706b64;
  font-weight: 800;
  white-space: nowrap;
}

.gallery-empty {
  border: 1px dashed rgba(200, 164, 93, 0.70);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 46px);
  background: rgba(200, 164, 93, 0.10);
  text-align: center;
}

.gallery-empty h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.gallery-empty p {
  color: #625f58;
}

@media (max-width: 1100px) {
  .category-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  .category-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .category-tab {
    min-height: 72px;
    padding: 14px 12px;
  }

  .category-tab span {
    font-size: 15px;
  }

  .category-gallery-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-gallery-head p {
    white-space: normal;
  }
}
