/* SI.MO.TEC — Controsoffitti */

:root {
  --dark: #0b1117;
  --dark-soft: #121820;
  --white: #ffffff;
  --bg: #ffffff;
  --surface: #f7f7f5;
  --surface-raised: #ffffff;
  --muted: #5a5a56;
  --border: rgba(11, 17, 23, 0.08);
  --gold: #c5a028;
  --gold-light: #d4af37;
  --gold-soft: rgba(197, 160, 40, 0.14);
  --font: "General Sans", system-ui, sans-serif;
  --header-h: 5.25rem;
  --container: min(70rem, 90vw);
  --r-sm: 1rem;
  --r-md: 1.5rem;
  --r-lg: 2rem;
  --r-xl: 2.75rem;
  --r-pill: 100px;
  --shadow-soft:
    0 1px 2px rgba(11, 17, 23, 0.04),
    0 8px 24px rgba(11, 17, 23, 0.06),
    0 24px 48px rgba(11, 17, 23, 0.04);
  --shadow-float:
    0 2px 4px rgba(11, 17, 23, 0.03),
    0 12px 32px rgba(11, 17, 23, 0.08),
    0 32px 64px rgba(11, 17, 23, 0.06);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --ease: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.7;
  color: var(--dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--dark);
}

.section-title--gold {
  color: var(--gold);
}

.section-lead {
  margin-top: 0.85rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 450;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.65rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.btn--primary {
  color: var(--white);
  background: var(--gold);
  box-shadow: 0 4px 14px rgba(197, 160, 40, 0.35), var(--shadow-inset);
}

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

.btn--ghost {
  color: var(--dark);
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
}

.btn--outline {
  color: var(--white);
  background: transparent;
  border: 1px solid var(--gold);
}

.btn--outline:hover {
  transform: translateY(-2px);
  background: rgba(197, 160, 40, 0.12);
}

.btn--accent {
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold);
}

.btn--accent:hover {
  transform: translateY(-2px);
  background: rgba(197, 160, 40, 0.12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
}

.site-header__bar {
  position: relative;
  margin: 1.5rem auto 0;
  width: var(--container);
  height: calc(var(--header-h) - 1.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background: var(--dark);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(197, 160, 40, 0.15);
}

.site-header__start,
.site-header__end {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-header__end {
  justify-content: flex-end;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  background: transparent;
}

.logo--center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.logo img {
  display: block;
  height: 4.5rem;
  width: auto;
  max-width: none;
  object-fit: contain;
  background: transparent;
  border: none;
}

.nav {
  display: flex;
  align-items: center;
}

.nav__links {
  display: flex;
  gap: 1rem;
}

@media (min-width: 900px) {
  .nav__links {
    gap: 1.25rem;
  }
}

.nav__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--ease);
}

.nav__link:hover,
.nav__link--active {
  color: var(--gold);
}

.nav__cta {
  display: inline-flex;
  flex-shrink: 0;
  padding: 0.65rem 1.15rem;
  font-size: 0.75rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-full {
  position: relative;
  min-height: clamp(28rem, 85vh, 42rem);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-full__bg {
  position: absolute;
  inset: 0;
  background: var(--dark-soft);
}

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

.hero-full__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 17, 23, 0.88) 0%,
    rgba(11, 17, 23, 0.5) 50%,
    rgba(11, 17, 23, 0.25) 100%
  );
}

.hero-full__content {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(5rem, 10vw, 7rem);
}

.hero-full__badge {
  display: inline-block;
  padding: 0.45rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  border-radius: var(--r-pill);
}

.hero-full__title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
  max-width: 14ch;
}

.hero-full__title span {
  display: block;
  color: var(--gold);
}

.hero-full__text {
  margin-top: 1.25rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.hero-full__actions {
  margin-top: 2rem;
}

.hero-full__stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 4rem);
  padding: 1.35rem 0;
  background: rgba(11, 17, 23, 0.82);
  border-top: 1px solid rgba(197, 160, 40, 0.2);
}

.hero-full__stats .container {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 4rem);
}

.hero-stat strong {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

.page-hero {
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.page-hero .section-label {
  color: rgba(255, 255, 255, 0.65);
}

.page-hero .section-title {
  color: var(--gold);
}

.page-hero .section-lead {
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.78);
  max-width: 42rem;
}

.page-hero__subtitle {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.975rem;
}

.intro-block {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: var(--dark);
  color: var(--white);
}

.intro-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.intro-block__text p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.975rem;
  line-height: 1.75;
}

.intro-block__media {
  aspect-ratio: 16 / 11;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--dark-soft);
}

.intro-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
}

.process {
  position: relative;
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: var(--dark-soft);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(45deg, var(--gold) 25%, transparent 25%),
    linear-gradient(-45deg, var(--gold) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--gold) 75%),
    linear-gradient(-45deg, transparent 75%, var(--gold) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0;
}

.process .container {
  position: relative;
  z-index: 1;
}

.process .section-title {
  color: var(--gold);
}

.process .section-lead {
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.78);
}

.process__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.process__timeline::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--gold);
}

.process__step {
  position: relative;
  z-index: 1;
}

.process__num {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  background: var(--gold);
  border-radius: 50%;
}

.process__step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.process__step p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.values {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: var(--white);
  text-align: center;
}

.values .section-title {
  margin-bottom: 2.5rem;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value-card {
  padding: 2rem 1.75rem;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  text-align: center;
}

.value-card__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--gold);
  border-radius: var(--r-md);
}

.value-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.value-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.about-story {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.about-story__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.about-story__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.about-story__brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  white-space: nowrap;
}

.about-story__line {
  flex: 1;
  height: 0;
  border-top: 2px dotted var(--gold);
}

.about-story__content p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.75;
}

.about-story__media {
  aspect-ratio: 3 / 4;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-float);
}

.about-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-nav {
  position: sticky;
  top: calc(var(--header-h) + 0.5rem);
  z-index: 50;
  padding: 0.75rem 0 2rem;
  background: var(--white);
}

.catalog-nav__track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  margin-inline: auto;
  padding: 0.5rem;
  background: var(--surface);
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
}

.catalog-nav__link {
  flex-shrink: 0;
  padding: 0.6rem 1.35rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--r-pill);
  transition: all var(--ease);
  white-space: nowrap;
}

.catalog-nav__link:hover {
  color: var(--dark);
  background: var(--surface-raised);
}

.catalog-nav__link--active {
  color: var(--white);
  background: var(--gold);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(197, 160, 40, 0.3);
}

.service-block {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-top: 1px dashed rgba(11, 17, 23, 0.12);
  scroll-margin-top: 8rem;
}

.service-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-block--reverse .service-block__grid {
  direction: rtl;
}

.service-block--reverse .service-block__grid > * {
  direction: ltr;
}

.service-block__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.service-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-block__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.service-block__lead {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.service-block__text {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-block__list {
  margin-top: 1.25rem;
}

.service-block__list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.5rem;
  font-size: 0.925rem;
  color: var(--dark);
}

.service-block__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dark);
}

.service-block .btn {
  margin-top: 1.5rem;
}

.gallery-page {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(4rem, 8vw, 5rem);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery__item {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 7;
}

.gallery__item--tall {
  aspect-ratio: 3 / 4;
}

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

.map-section {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: var(--white);
}

.map-section__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.map-section__info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.35rem;
}

.map-section__info h3:first-of-type {
  margin-top: 0;
}

.map-section__info p {
  color: var(--muted);
  font-size: 0.95rem;
}

.map-section__embed {
  aspect-ratio: 16 / 11;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.map-section__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-card {
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.contact-card h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact-card p,
.contact-card a {
  font-size: 0.95rem;
  color: var(--dark);
}

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

.cta {
  padding: 2rem 0 4rem;
}

.cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 3rem;
  background: var(--surface-raised);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-float);
  border: 1px solid var(--border);
}

.cta__box h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cta__box p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 26rem;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 0;
  background: #0a0e14;
  color: rgba(255, 255, 255, 0.72);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
}

.site-footer__desc {
  margin-top: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 24rem;
}

.site-footer__social {
  display: flex;
  gap: 0.85rem;
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: var(--white);
  opacity: 0.85;
  transition: opacity var(--ease), color var(--ease);
}

.site-footer__social a:hover {
  opacity: 1;
  color: var(--gold);
}

.site-footer__social svg {
  width: 1.1rem;
  height: 1.1rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  padding: 2rem 0;
}

.site-footer h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.site-footer li {
  margin-bottom: 0.45rem;
  font-size: 0.875rem;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer__note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  opacity: 0.65;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 0 2rem;
  font-size: 0.75rem;
  opacity: 0.55;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__credits {
  width: 100%;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  opacity: 0.45;
}

@media (max-width: 900px) {
  .intro-block__grid,
  .about-story__grid,
  .service-block__grid,
  .map-section__grid {
    grid-template-columns: 1fr;
  }

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

  .gallery__item--wide {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }

  .service-block--reverse .service-block__grid {
    direction: ltr;
  }

  .process__timeline {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .process__timeline::before {
    display: none;
  }

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

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta__box {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

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

@media (max-width: 768px) {
  .site-header__start {
    flex: 0;
    width: 0;
  }

  .site-header__end .nav__cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav--left {
    position: fixed;
    inset: calc(var(--header-h) + 0.5rem) 1rem auto 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 1.25rem;
    background: var(--dark);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-float);
    border: 1px solid rgba(197, 160, 40, 0.2);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--ease), opacity var(--ease), visibility var(--ease);
    z-index: 99;
  }

  .nav--left.nav--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav--left .nav__link {
    color: rgba(255, 255, 255, 0.72);
  }

  .nav--left .nav__link:hover,
  .nav--left .nav__link--active {
    color: var(--gold);
  }

  .nav__links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav__link {
    display: block;
    padding: 0.65rem 0;
    font-size: 1rem;
  }

  .logo img {
    height: 3.75rem;
  }

  .hero-full__stats {
    position: relative;
    margin-top: 2rem;
  }

  .hero-full__content {
    padding-bottom: 2rem;
  }

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

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    border-radius: var(--r-lg) var(--r-lg) 0 0;
  }

  .catalog-nav__track {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .hero-full__actions .btn,
  .service-block .btn {
    width: 100%;
  }
}

/* ========== HOME — full-page background ========== */

.page-home {
  --home-grey-light: 236, 239, 244;
  --home-grey-dark: 118, 126, 138;
  --home-panel: rgba(177, 183, 191, 0.93);
  --home-panel-soft: rgba(177, 183, 191, 0.88);
  --home-panel-head: rgba(148, 155, 165, 0.92);
  --home-panel-border: rgba(255, 255, 255, 0.35);
  background: #1e2632;
}

.home-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

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

.home-bg__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 38, 50, 0.42) 0%,
    rgba(30, 38, 50, 0.28) 45%,
    rgba(30, 38, 50, 0.38) 100%
  );
}

.page-home .site-header,
.page-home .home-main,
.page-home .site-footer {
  position: relative;
  z-index: 1;
}

.home-section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.home-section__head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
  max-width: 36rem;
  padding: 1.35rem 1.75rem;
  background: var(--home-panel-head);
  border: 1px solid var(--home-panel-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}

.home-section__head--center {
  margin-inline: auto;
  text-align: center;
}

.home-section__head .section-title {
  color: var(--dark);
}

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

.hero-full--home {
  min-height: clamp(28rem, 85vh, 42rem);
  color: var(--white);
  padding-bottom: 0;
}

.hero-full--home .hero-full__stats {
  background: rgba(177, 183, 191, 0.22);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-full--home .hero-stat span {
  color: rgba(255, 255, 255, 0.9);
}

.intro-block--home {
  background: transparent;
}

.intro-block__card {
  max-width: 44rem;
  margin-inline: auto;
  padding: clamp(2rem, 4vw, 2.75rem);
  background: var(--home-panel);
  border: 1px solid var(--home-panel-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-float);
}

.intro-block__title {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.intro-block--home .intro-block__text p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.75;
}

.intro-block--home .section-label {
  color: var(--gold);
}

.intro-block__actions {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(11, 17, 23, 0.08);
}

.process--home {
  background: transparent;
}

.process--home::before {
  display: none;
}

.process-flow {
  position: relative;
  padding-top: 0.5rem;
  max-width: 56rem;
  margin-inline: auto;
}

.process-flow__line {
  position: absolute;
  top: 1.35rem;
  left: 12%;
  right: 12%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
  border-radius: var(--r-pill);
}

.process-flow__line span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #e0bb55);
  border-radius: inherit;
}

.process-flow.is-visible .process-flow__line span {
  animation: processLineFlow 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.process-flow__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.process-step {
  opacity: 0;
  transform: translateY(1.25rem);
  text-align: center;
}

.process-flow.is-visible .process-step {
  animation: processStepIn 0.75s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.process-flow.is-visible .process-step:nth-child(1) { animation-delay: 0.15s; }
.process-flow.is-visible .process-step:nth-child(2) { animation-delay: 0.45s; }
.process-flow.is-visible .process-step:nth-child(3) { animation-delay: 0.75s; }
.process-flow.is-visible .process-step:nth-child(4) { animation-delay: 1.05s; }

.process-step__num {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(197, 160, 40, 0.35);
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

@keyframes processLineFlow {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes processStepIn {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.values--home {
  background: transparent;
}

.values--home .home-section__head .section-title {
  color: var(--dark);
}

.values--home .value-card {
  background: var(--home-panel-soft);
  border: 1px solid var(--home-panel-border);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}

.values--home .value-card p {
  color: var(--muted);
}

.map-section--home {
  background: transparent;
}

.map-section--home .home-section__head {
  max-width: 28rem;
}

.map-section--home .map-section__info h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.map-section--home .map-section__info p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

.map-section--home .map-section__embed {
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-float);
}

.site-footer--home {
  margin-top: 0;
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: 0;
  background: var(--home-panel);
  backdrop-filter: blur(12px);
  color: var(--muted);
  border-top: 1px solid var(--home-panel-border);
}

.site-footer--home .site-footer__brand-name {
  color: var(--dark);
  font-size: 1.5rem;
}

.site-footer--home .site-footer__desc {
  color: var(--muted);
}

.site-footer--home h4 {
  color: var(--dark);
  font-size: 0.8rem;
}

.site-footer--home li,
.site-footer--home .site-footer__note {
  color: var(--muted);
}

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

.site-footer--home .site-footer__social a {
  color: var(--dark);
}

.site-footer--home .site-footer__top,
.site-footer--home .site-footer__bottom {
  border-color: rgba(11, 17, 23, 0.08);
}

.site-footer--home .site-footer__bottom {
  opacity: 0.75;
  color: var(--muted);
}

.page-home .site-footer {
  border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
  .process-flow.is-visible .process-flow__line span,
  .process-flow.is-visible .process-step {
    animation: none;
    opacity: 1;
    transform: none;
    width: 100%;
  }
}

@media (max-width: 900px) {
  .process-flow__line {
    display: none;
  }

  .process-flow__track {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-full--home .hero-full__stats {
    position: relative;
    margin-top: 2rem;
  }

  .hero-full--home .hero-full__content {
    padding-bottom: 2rem;
  }

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

  .process-step {
    transform: translateY(1rem);
  }
}

/* ════════════════════════════════════════════════════════
   VECCHIO DESIGN — CLASSI RICOSTRUITE
   ════════════════════════════════════════════════════════ */

/* ── Ambient orbs ── */
.ambient {
  position: fixed; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.ambient__orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.4;
}
.ambient__orb--1 {
  width: 45vw; height: 45vw; top: -10%; right: -5%;
  background: var(--gold-soft);
}
.ambient__orb--2 {
  width: 30vw; height: 30vw; bottom: 20%; left: -5%;
  background: rgba(197,160,40,0.08);
}
.ambient__orb--3 {
  width: 20vw; height: 20vw; top: 50%; right: 20%;
  background: rgba(197,160,40,0.06);
}

/* ── Hero: base + full-width + bg-foto ── */
.hero {
  position: relative;
}

.hero--full {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  padding-bottom: 0;
  margin-top: calc(-1 * var(--header-h));
}

.hero--full .hero__inner {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 4rem));
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.hero--full .hero__content {
  max-width: 38rem;
}

.hero--bg {
  background-size: cover;
  background-position: center 30%;
  overflow: hidden;
}

.hero--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(11,17,23,0.72) 0%,
    rgba(11,17,23,0.45) 50%,
    rgba(11,17,23,0.15) 100%
  );
  z-index: 0;
}

.hero--bg .hero__inner {
  position: relative;
  z-index: 1;
}

/* Hero pill */
.hero__pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 1rem; margin-bottom: 1.5rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  background: var(--gold-soft); color: var(--gold);
  border-radius: var(--r-pill);
}
.hero__pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}
.hero--bg .hero__pill {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.2);
}

/* Hero title */
.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--dark);
}
.hero__title span { color: var(--gold); }
.hero--bg .hero__title { color: var(--white); }
.hero--bg .hero__title span { color: var(--gold); }

/* Hero text */
.hero__text {
  margin-top: 1.25rem; color: var(--muted);
  font-size: 1.05rem; max-width: 30rem; line-height: 1.65;
}
.hero--bg .hero__text { color: rgba(255,255,255,0.78); }

/* Hero actions */
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem;
}

/* Hero note */
.hero__note {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.25rem; padding: 0.5rem 0.85rem;
  font-size: 0.8rem; color: var(--muted);
  background: var(--surface); border-radius: var(--r-pill);
}
.hero--bg .hero__note {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero--bg .hero__note svg { color: var(--gold); }

/* Ghost button on dark bg */
.hero--bg .btn--ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: none;
}
.hero--bg .btn--ghost:hover {
  background: rgba(255,255,255,0.22);
}

/* Stats bar */
.hero__stats-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; padding: 1.6rem 3rem;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
}
.hero__stat strong {
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700;
  color: var(--gold); display: block;
}
.hero__stat span {
  font-size: 0.82rem; color: var(--muted); display: block;
}
.hero__stats-divider {
  width: 1px; height: 2.5rem; background: var(--border);
}

/* ── Service cards (home + chi-siamo) ── */
.services { padding: clamp(3rem, 7vw, 5rem) 0; }
.services__header {
  text-align: center; max-width: 36rem; margin: 0 auto 3rem;
}
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.service-card {
  padding: 2rem 1.75rem;
  background: var(--surface-raised);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}
.service-card__icon {
  width: 2.75rem; height: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-soft); border-radius: var(--r-md);
  color: var(--gold); margin-bottom: 1rem;
}
.service-card__icon svg { width: 1.4rem; height: 1.4rem; }
.service-card__title {
  font-size: 1rem; font-weight: 600; color: var(--dark); margin-bottom: 0.5rem;
}
.service-card__text {
  font-size: 0.9rem; color: var(--muted); line-height: 1.6;
}

/* ── Carousel ── */
.carousel-section {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}
.carousel-section__header { margin-bottom: 2rem; }
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: carousel-scroll 80s linear infinite;
  cursor: default;
}

.carousel:hover .carousel__track {
  animation-play-state: paused;
}

@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--carousel-offset, -50%)); }
}

.carousel__slide {
  flex: 0 0 clamp(280px, 38vw, 520px);
  scroll-snap-align: start;
}
.carousel__img-wrap {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-soft);
}
.carousel__img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.carousel__slide:hover .carousel__img-wrap img { transform: scale(1.04); }
.carousel__label {
  margin-top: 0.75rem; font-size: 0.85rem;
  font-weight: 500; color: var(--muted);
}

.carousel__btn {
  position: absolute; top: 40%;
  width: 2.75rem; height: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 50%; box-shadow: var(--shadow-soft);
  cursor: pointer; z-index: 2;
  transform: translateY(-50%);
}
.carousel__btn svg { width: 1.1rem; height: 1.1rem; color: var(--dark); }
.carousel__btn:hover { background: var(--gold); border-color: var(--gold); }
.carousel__btn:hover svg { color: var(--white); }
.carousel__btn--prev {
  left: calc((100vw - var(--container)) / 2 - 1.5rem);
}
.carousel__btn--next {
  right: calc((100vw - var(--container)) / 2 - 1.5rem);
}

.carousel__dots {
  display: flex; justify-content: center; align-items: center;
  gap: 0.5rem; margin-top: 1.5rem;
}
.carousel__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border); border: none;
  cursor: pointer; padding: 0;
  transition: all 0.3s;
}
.carousel__dot--active {
  width: 20px; border-radius: 3px; background: var(--gold);
}
.carousel-section__cta { text-align: center; margin-top: 1.75rem; }

/* ── Process: header + plus step ── */
.process__header {
  text-align: center; max-width: 36rem; margin: 0 auto 3rem;
}
.process__num--plus {
  background: transparent !important;
  border: 2px dashed var(--gold);
  color: var(--gold) !important;
  box-shadow: none !important;
}
.process__plus-badge {
  display: inline-block; padding: 0.15rem 0.55rem;
  font-size: 0.6rem; color: var(--gold);
  background: var(--gold-soft); border-radius: var(--r-pill);
}

/* ── Info strip ── */
.info-strip { padding: clamp(3rem, 7vw, 5rem) 0; }
.info-strip__card {
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--dark); border-radius: var(--r-xl);
  color: var(--white);
}
.info-strip__tag {
  display: inline-block; padding: 0.3rem 0.85rem;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  background: var(--gold-soft); border-radius: var(--r-pill);
  margin-bottom: 1.5rem;
}
.info-strip__layout {
  display: grid; grid-template-columns: auto 1fr;
  gap: 2.5rem; align-items: start;
}
.info-strip__icon {
  width: 4.5rem; height: 4.5rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); background: var(--gold-soft);
  border-radius: var(--r-xl);
}
.info-strip__icon svg { width: 2rem; height: 2rem; }
.info-strip__content .section-label { color: rgba(255,255,255,0.65); }
.info-strip__content .section-title { color: var(--white); margin-bottom: 1rem; }
.info-strip__lead {
  color: rgba(255,255,255,0.82); font-size: 1rem;
  line-height: 1.7; margin-bottom: 0.75rem;
}
.info-strip__text {
  color: rgba(255,255,255,0.65); font-size: 0.9rem;
  line-height: 1.65; margin-bottom: 1.5rem;
}

/* ── CTA actions (due bottoni) ── */
.cta__actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}

/* ── Footer meta ── */
.site-footer__meta {
  margin-top: 0.5rem; font-size: 0.8rem; opacity: 0.65;
}

/* ── About (chi-siamo page) ── */
.about { padding: clamp(3rem, 7vw, 5rem) 0; }
.about__grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem; align-items: start;
}
.about__photo {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-soft); aspect-ratio: 3 / 4;
  background: var(--surface);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__contexts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1rem;
}
.about__context-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: box-shadow var(--ease), border-color var(--ease);
}
.about__context-card:hover {
  border-color: rgba(197, 160, 40, 0.35);
  box-shadow: var(--shadow-soft);
}
.about__context-card svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.about__context-card strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.35;
}
.about-bottom {
  padding: clamp(3rem, 7vw, 5rem) 0; background: var(--surface);
}
.about-bottom__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; align-items: start;
}
.about__panel {
  padding: 2rem 1.75rem;
  background: var(--surface-raised);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}
.about__legal {
  display: flex; flex-direction: column; gap: 0.65rem; margin: 1.25rem 0;
}
.about__legal li { display: flex; gap: 0.75rem; font-size: 0.9rem; }
.about__legal li span {
  font-weight: 600; color: var(--gold); min-width: 3.5rem;
}
.about__tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem;
}
.about__tag {
  padding: 0.3rem 0.85rem; font-size: 0.72rem; font-weight: 600;
  color: var(--gold); background: var(--gold-soft);
  border-radius: var(--r-pill);
}

/* ── Service section (servizi page) ── */
.service-section {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 8rem;
}
.service-section:first-of-type { border-top: none; }
.service-section__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3.5rem; align-items: center;
}
.service-section--reverse .service-section__grid { direction: rtl; }
.service-section--reverse .service-section__grid > * { direction: ltr; }
.media-block {
  aspect-ratio: 4 / 3; border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-soft);
  background: var(--surface);
}
.media-block img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 0.85rem;
  background: var(--surface);
}
.service-section__title {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700;
  color: var(--dark); margin-bottom: 0.5rem;
}
.service-section__lead {
  font-size: 1rem; font-weight: 600; color: var(--gold); margin-bottom: 0.75rem;
}
.service-section__text {
  color: var(--muted); font-size: 0.95rem; line-height: 1.7;
}
.service-section__list { margin: 1.25rem 0; }
.service-section__list li {
  position: relative; padding-left: 1.1rem;
  margin-bottom: 0.5rem; font-size: 0.925rem; color: var(--dark);
}
.service-section__list li::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.service-section__wa-note {
  margin-top: 0.75rem; font-size: 0.8rem; color: var(--muted); font-style: italic;
}

.service-block__wa-note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: #aaa;
  font-style: normal;
}

/* ── Cookie Banner ── */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(44rem, 92vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.75rem;
  background: var(--dark);
  border: 1px solid rgba(197, 160, 40, 0.2);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-float);
  animation: cookieIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#cookie-banner p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  margin: 0;
}

#cookie-banner p a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
}

.cookie-banner__actions .btn {
  padding: 0.6rem 1.1rem;
  font-size: 0.78rem;
  white-space: nowrap;
}

.cookie-banner__actions .btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-banner--hidden {
  animation: cookieOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes cookieIn {
  from { opacity: 0; transform: translateX(-50%) translateY(1rem); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes cookieOut {
  from { opacity: 1; transform: translateX(-50%) translateY(0); }
  to   { opacity: 0; transform: translateX(-50%) translateY(1rem); }
}

@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    bottom: 1rem;
    padding: 1.1rem 1.25rem;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
    justify-content: center;
  }
}

/* ── Gallery caption ── */
.gallery__item { position: relative; }
figcaption.gallery__caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.65rem 1rem; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.05em; color: var(--white);
  background: linear-gradient(to top, rgba(11,17,23,0.55), transparent);
  opacity: 0; transition: opacity var(--ease);
}
.gallery__item:hover figcaption.gallery__caption { opacity: 1; }

/* ── Catalog nav button reset ── */
button.catalog-nav__link {
  border: none; font-family: var(--font);
  cursor: pointer; text-align: center;
}
button.catalog-nav__link:not(.catalog-nav__link--active) { background: none; }

/* ── Header scrolled shadow ── */
.site-header--scrolled .site-header__bar {
  box-shadow: 0 4px 32px rgba(11,17,23,0.22);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .carousel__btn { display: none; }
}
@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about-bottom__grid { grid-template-columns: 1fr; }
  .service-section__grid { grid-template-columns: 1fr; }
  .service-section--reverse .service-section__grid { direction: ltr; }
  .info-strip__layout { grid-template-columns: 1fr; }
  .about__contexts { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .carousel__slide { flex: 0 0 80vw; }
  .hero__stats-bar { flex-direction: column; gap: 1rem; padding: 1.5rem; }
  .hero__stats-divider { width: 2.5rem; height: 1px; }
  .services__grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   MOBILE — adattamento completo
   ══════════════════════════════════════════ */

@media (max-width: 600px) {
  :root {
    --container: min(70rem, 94vw);
    --header-h: 4.75rem;
  }

  body { font-size: 0.9625rem; }

  /* ── Header ── */
  .site-header__bar {
    margin-top: 0.75rem;
    padding: 0 1rem;
    border-radius: 1rem;
  }

  .logo img { height: 3.25rem; }

  /* ── Hero ── */
  .hero--full { min-height: 100svh; }

  .hero--full .hero__inner {
    padding-top: calc(var(--header-h) + 1.5rem);
    padding-bottom: 1.5rem;
  }

  .hero__title { font-size: clamp(1.875rem, 8vw, 2.5rem); }
  .hero__text { font-size: 0.95rem; max-width: 100%; }

  .hero__actions { flex-direction: column; gap: 0.65rem; }
  .hero__actions .btn { width: 100%; padding: 1rem 1.25rem; justify-content: center; }

  .hero__note { font-size: 0.75rem; }

  .hero__stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0;
    padding: 1.1rem 0.75rem;
  }

  .hero__stats-divider { display: block; width: 1px; height: 2rem; background: rgba(11,17,23,0.12); }
  .hero__stat { flex: 1; text-align: center; }
  .hero__stat strong { font-size: 1.25rem; }
  .hero__stat span { font-size: 0.7rem; }

  /* ── Sezioni generali ── */
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .section-lead { max-width: 100%; font-size: 0.925rem; }

  .services { padding: 2.5rem 0; }
  .carousel-section { padding: 2.5rem 0 1.5rem; }
  .info-strip { padding: 2rem 0; }
  .cta { padding: 1rem 0 2rem; }
  .map-section { padding: 2.5rem 0; }
  .values { padding: 2.5rem 0; }
  .about-story { padding: 2.5rem 0; }
  .about-bottom { padding: 2.5rem 0; }

  /* ── Servizi card (home) — 2 colonne ── */
  .services__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .service-card { padding: 1.25rem 1rem; }
  .service-card__title { font-size: 0.875rem; }
  .service-card__text { font-size: 0.82rem; }

  /* ── Carousel ── */
  .carousel__slide { flex: 0 0 72vw; }

  /* ── Blocchi servizi (pagina servizi) ── */
  .service-block__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-block--reverse .service-block__grid { direction: ltr; }
  .service-block__title { font-size: 1.35rem; }
  .service-block .btn { width: 100%; text-align: center; justify-content: center; }

  /* ── Catalog nav ── */
  .catalog-nav__track {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0.65rem;
  }
  .catalog-nav__track::-webkit-scrollbar { display: none; }
  .catalog-nav__link { font-size: 0.75rem; padding: 0.55rem 1rem; white-space: nowrap; }

  /* ── Valori — 2 colonne ── */
  .values__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
  .value-card { padding: 1.25rem 1rem; }
  .value-card h3 { font-size: 0.9rem; }
  .value-card p { font-size: 0.8rem; }

  /* ── About ── */
  .about__grid { grid-template-columns: 1fr; gap: 2rem; }
  .about__photo { aspect-ratio: 4 / 3; }
  .about-bottom__grid { grid-template-columns: 1fr; }
  .about-contexts { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .about__context-card { padding: 0.75rem; }

  /* ── Processo ── */
  .process-flow__track { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .process-flow__line { display: none; }
  .process__timeline { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .process__timeline::before { display: none; }

  /* ── Mappa ── */
  .map-section__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .map-section__embed { aspect-ratio: 4 / 3; }

  /* ── Contatti ── */
  .contact-cards { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .contact-card { padding: 1.1rem; }

  /* ── CTA box ── */
  .cta__box {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.25rem;
    gap: 1.25rem;
  }
  .cta__actions { width: 100%; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .cta__actions .btn { flex: 1; min-width: 8rem; justify-content: center; }

  /* ── Info strip ── */
  .info-strip__card { padding: 1.5rem 1.25rem; }
  .info-strip__layout { grid-template-columns: 1fr; gap: 1rem; }
  .info-strip__icon { width: 3rem; height: 3rem; }
  .info-strip__content .btn { width: 100%; justify-content: center; }

  /* ── Galleria — 2 colonne ── */
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
  .gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 7; }
  .gallery__item--tall { aspect-ratio: 4 / 3; }

  /* ── Footer ── */
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .site-footer__top { flex-direction: column; gap: 1.25rem; }
  .site-footer { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .site-footer__bottom { flex-direction: column; gap: 0.35rem; text-align: center; }
}

/* ── Schermi molto piccoli (< 400px) — 1 colonna ── */
@media (max-width: 400px) {
  .services__grid { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .about-contexts { grid-template-columns: 1fr; }
  .process-flow__track { grid-template-columns: 1fr; }
  .process__timeline { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; aspect-ratio: 4 / 3; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .cta__actions { flex-direction: column; }
  .cta__actions .btn { width: 100%; }
}
