/* ============================================
   Natemy Studio — Design System
   Palette: bianco, nero, marrone rgb(105, 68, 10)
   ============================================ */

:root {
  --color-white: #ffffff;
  --color-black: #0a0a0a;
  --color-gray-100: #f7f7f7;
  --color-gray-200: #e8e8e8;
  --color-gray-400: #999999;
  --color-gray-600: #555555;
  --color-accent: rgb(105, 68, 10);
  --color-accent-light: rgba(105, 68, 10, 0.08);
  --color-accent-hover: rgb(85, 55, 8);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  --header-height: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1200px;
  --section-padding: clamp(80px, 10vw, 140px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-gray-600);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

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

/* Typography */
.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-black);
  margin-bottom: 24px;
}

.section__desc {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--color-gray-600);
}

.section__header {
  margin-bottom: 64px;
}

.section__header--center {
  text-align: center;
}

.section {
  padding: var(--section-padding) 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background-color: var(--color-black);
  color: var(--color-white);
  border: 1px solid var(--color-black);
}

.btn--primary:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

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

.btn--outline:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.5s ease,
    backdrop-filter 0.5s ease,
    border-color var(--transition),
    box-shadow var(--transition),
    transform 0.6s ease,
    opacity 0.6s ease;
}

.header--scrolled {
  border-bottom-color: var(--color-gray-200);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.logo__img--footer {
  height: 38px;
  filter: brightness(0) invert(1);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-600);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width var(--transition);
}

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

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link--cta {
  padding: 10px 24px;
  border: 1px solid var(--color-black);
  color: var(--color-black);
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

.nav__profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--color-gray-400);
  transition: color var(--transition), background-color var(--transition);
}

.nav__profile:hover {
  color: var(--color-gray-600);
  background-color: rgba(0, 0, 0, 0.04);
}

.nav__profile-icon {
  display: block;
}

button.nav__link {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  line-height: inherit;
}

/* Booking modal */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

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

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(6px);
}

.booking-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  background-color: var(--color-white);
  padding: 48px 40px 40px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
  transform: translateY(16px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.booking-modal--open .booking-modal__dialog {
  transform: translateY(0);
}

.booking-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-gray-400);
  padding: 4px 8px;
  transition: color var(--transition);
}

.booking-modal__close:hover {
  color: var(--color-black);
}

.booking-modal__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.2;
  margin-bottom: 16px;
}

.booking-modal__text {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 8px;
}

.booking-modal__info {
  font-size: 0.8rem;
  color: var(--color-gray-400);
  margin-bottom: 32px;
  line-height: 1.6;
}

.booking-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-modal__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--color-black);
  color: var(--color-black);
  transition: all var(--transition);
}

.booking-modal__btn:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

.booking-modal__btn--primary {
  background-color: var(--color-black);
  color: var(--color-white);
}

.booking-modal__btn--primary:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.nav-overlay {
  display: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--color-black);
  transition: all var(--transition);
}

.menu-toggle--open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

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

.menu-toggle--open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

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

.hero--image .hero__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.65) 0%,
    rgba(10, 10, 10, 0.35) 50%,
    rgba(10, 10, 10, 0.5) 100%
  );
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, var(--color-accent-light) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-gray-100) 0%, var(--color-white) 60%);
  z-index: 0;
}

.hero__content--light .hero__title,
.hero__content--light .hero__subtitle {
  color: var(--color-white);
}

.hero__content--light .hero__title em {
  color: rgba(255, 255, 255, 0.85);
}

.btn--light {
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--light:hover {
  background-color: var(--color-white);
  color: var(--color-black);
}

/* Page Hero */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-height);
  padding-bottom: 64px;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="servizi"] .page-hero__bg img {
  object-position: center 35%;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 0.3) 100%);
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.1;
}

.page-hero--classic {
  min-height: 40vh;
  align-items: center;
  background:
    radial-gradient(ellipse at 80% 20%, var(--color-accent-light) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-gray-100) 0%, var(--color-white) 100%);
}

.page-hero--classic .page-hero__title {
  color: var(--color-black);
}

.page-hero--home {
  min-height: 55vh;
  padding-bottom: 72px;
}

.page-hero--fullscreen {
  min-height: 100vh;
  min-height: 100dvh;
  align-items: flex-end;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 96px;
}

body[data-page="home"] .page-hero--home.page-hero--fullscreen {
  min-height: 100vh;
  min-height: 100dvh;
}

body[data-page="home"] .page-hero--fullscreen .page-hero__overlay {
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.72) 0%,
    rgba(10, 10, 10, 0.2) 45%,
    rgba(10, 10, 10, 0.35) 100%
  );
}

body[data-page="home"] .page-hero--fullscreen .page-hero__content {
  text-align: center;
  width: 100%;
  padding-bottom: 24px;
}

body[data-page="home"] .page-hero--fullscreen .page-hero__title {
  font-size: clamp(2.75rem, 7vw, 5rem);
}

body[data-page="home"] .header:not(.header--scrolled) {
  background-color: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

body[data-page="home"] .header:not(.header--scrolled) .logo__img {
  filter: brightness(0) invert(1);
}

body[data-page="home"] .header:not(.header--scrolled) .nav__link {
  color: rgba(255, 255, 255, 0.88);
}

body[data-page="home"] .header:not(.header--scrolled) .nav__link:hover,
body[data-page="home"] .header:not(.header--scrolled) .nav__link--active {
  color: var(--color-white);
}

body[data-page="home"] .header:not(.header--scrolled) .nav__link--cta {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--color-white);
}

body[data-page="home"] .header:not(.header--scrolled) .nav__link--cta:hover {
  background-color: var(--color-white);
  color: var(--color-black);
}

body[data-page="home"] .header:not(.header--scrolled) .menu-toggle span {
  background-color: var(--color-white);
}

body[data-page="home"] .header:not(.header--scrolled) .nav__profile {
  color: rgba(255, 255, 255, 0.45);
}

body[data-page="home"] .header:not(.header--scrolled) .nav__profile:hover {
  color: rgba(255, 255, 255, 0.82);
  background-color: rgba(255, 255, 255, 0.08);
}

body[data-page="home"]:not(.is-loaded) .header {
  opacity: 0;
  transform: translateY(-16px);
}

body[data-page="home"].is-loaded .header {
  opacity: 1;
  transform: translateY(0);
}

body[data-page="home"]:not(.is-loaded) .page-hero__bg img {
  transform: scale(1.12);
}

body[data-page="home"].is-loaded .page-hero__bg img {
  transition: transform 0.15s linear;
  will-change: transform;
}

body[data-page="home"]:not(.is-loaded) .page-hero__content .page-hero__title,
body[data-page="home"]:not(.is-loaded) .page-hero__content .page-hero__subtitle {
  opacity: 0;
  transform: translateY(36px);
}

body[data-page="home"].is-loaded .page-hero__content .page-hero__title {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.1s ease 0.35s, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}

body[data-page="home"].is-loaded .page-hero__content .page-hero__subtitle {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease 0.65s, transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.65s;
}

body[data-page="home"] .page-hero--fullscreen {
  --hero-fade: 1;
}

body[data-page="home"] .page-hero--fullscreen .page-hero__content {
  opacity: var(--hero-fade);
  transition: opacity 0.25s ease;
}

body[data-page="home"] .home-intro:not(.visible) .home-intro__text,
body[data-page="home"] .home-intro:not(.visible) .home-nav__card,
body[data-page="home"] .section.gallery:not(.visible) .gallery__header .section__title,
body[data-page="home"] .section.gallery:not(.visible) .gallery__desc,
body[data-page="home"] .section.gallery:not(.visible) .instagram-preview,
body[data-page="home"] .section.home-visit:not(.visible) .home-visit__info,
body[data-page="home"] .section.home-visit:not(.visible) .home-visit__actions {
  opacity: 0;
}

body[data-page="home"] .home-intro:not(.visible) .home-intro__text {
  transform: translateY(40px) scale(0.98);
}

body[data-page="home"] .home-intro:not(.visible) .home-nav__card {
  transform: translateY(48px);
}

body[data-page="home"] .section.gallery:not(.visible) .gallery__header .section__title {
  transform: translateY(40px);
}

body[data-page="home"] .section.gallery:not(.visible) .gallery__desc {
  transform: translateY(32px);
}

body[data-page="home"] .section.gallery:not(.visible) .instagram-preview {
  transform: translateY(56px) scale(0.94);
}

body[data-page="home"] .section.home-visit:not(.visible) .home-visit__info {
  transform: translateX(-36px);
}

body[data-page="home"] .section.home-visit:not(.visible) .home-visit__actions {
  transform: translateX(36px);
}

body[data-page="home"] .home-intro.visible .home-intro__text,
body[data-page="home"] .home-intro.visible .home-nav__card,
body[data-page="home"] .section.gallery.visible .gallery__header .section__title,
body[data-page="home"] .section.gallery.visible .gallery__desc,
body[data-page="home"] .section.gallery.visible .instagram-preview,
body[data-page="home"] .section.home-visit.visible .home-visit__info,
body[data-page="home"] .section.home-visit.visible .home-visit__actions {
  opacity: 1;
  transform: translate(0) scale(1);
}

body[data-page="home"] .home-intro__text,
body[data-page="home"] .home-nav__card,
body[data-page="home"] .gallery__header .section__title,
body[data-page="home"] .gallery__desc,
body[data-page="home"] .instagram-preview,
body[data-page="home"] .home-visit__info,
body[data-page="home"] .home-visit__actions {
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-page="home"] .section.gallery.fade-in {
  opacity: 1;
  transform: none;
}

body[data-page="home"] .visible .section__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background-color: var(--color-accent);
  margin-top: 18px;
  animation: lineGrow 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

body[data-page="home"] .gallery__header .section__title::after,
body[data-page="home"] .home-visit__info .section__title::after {
  margin-left: auto;
  margin-right: auto;
}

@keyframes lineGrow {
  from {
    opacity: 0;
    transform: scaleX(0);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

body[data-page="home"] .home-intro.visible .home-nav__card:nth-child(1) {
  transition-delay: 0.15s;
}

body[data-page="home"] .home-intro.visible .home-nav__card:nth-child(2) {
  transition-delay: 0.3s;
}

body[data-page="home"] .home-intro.visible .home-nav__card:nth-child(3) {
  transition-delay: 0.45s;
}

body[data-page="home"] .section.gallery.visible .gallery__header .section__title {
  transition-delay: 0s;
}

body[data-page="home"] .section.gallery.visible .gallery__desc {
  transition-delay: 0.2s;
}

body[data-page="home"] .section.gallery.visible .instagram-preview {
  transition-delay: 0.45s;
}

body[data-page="home"] .section.home-visit.visible .home-visit__actions {
  transition-delay: 0.2s;
}

.page-hero__subtitle {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 16px;
}

body[data-page="home"] .page-hero__title {
  margin-bottom: 0;
}

/* Chi Siamo — spaziatura bilanciata */
body[data-page="chi-siamo"] .page-hero--classic {
  min-height: auto;
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 48px;
}

body[data-page="chi-siamo"] .page-hero__title {
  margin-bottom: 0;
}

body[data-page="chi-siamo"] .section {
  padding: 64px 0;
}

body[data-page="chi-siamo"] .section__eyebrow {
  margin-bottom: 14px;
}

body[data-page="chi-siamo"] .section__title {
  margin-bottom: 20px;
}

body[data-page="chi-siamo"] .section__header {
  margin-bottom: 48px;
}

body[data-page="chi-siamo"] .about {
  padding-top: 48px;
}

body[data-page="chi-siamo"] .about__grid {
  gap: 64px;
}

body[data-page="chi-siamo"] .about__image-frame {
  aspect-ratio: 3 / 4;
}

body[data-page="chi-siamo"] .location__map {
  aspect-ratio: 3 / 4;
  min-height: 400px;
}

body[data-page="chi-siamo"] .about__content p {
  margin-bottom: 16px;
}

body[data-page="chi-siamo"] .location__grid {
  gap: 64px;
}

body[data-page="chi-siamo"] .location__lead {
  margin-bottom: 32px;
}

body[data-page="chi-siamo"] .location__address {
  margin-bottom: 32px;
}

body[data-page="chi-siamo"] .location {
  padding-top: 56px;
  padding-bottom: 72px;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 60px 24px 120px;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--color-black);
  margin-bottom: 28px;
}

.hero__title em {
  font-style: italic;
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--color-gray-600);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.hero__scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gray-400);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* About */
.about {
  background-color: var(--color-white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__image-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.about__image-frame::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid var(--color-accent);
  z-index: 0;
}

.about__image-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__lead {
  font-size: 1.15rem;
  color: var(--color-black);
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.8;
}

.about__content p {
  margin-bottom: 16px;
}

.about__features {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about__features li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.about__feature-icon {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-accent);
  flex-shrink: 0;
  width: 32px;
}

.about__features strong {
  display: block;
  font-weight: 500;
  color: var(--color-black);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.about__features p {
  font-size: 0.9rem;
  margin: 0;
}

/* Services */
.services {
  background-color: var(--color-gray-100);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background-color: var(--color-gray-200);
}

.service-card {
  background-color: var(--color-white);
  padding: 48px 36px;
  transition: background-color var(--transition);
}

.service-card:hover {
  background-color: var(--color-black);
}

.service-card:hover .service-card__number,
.service-card:hover .service-card__title,
.service-card:hover .service-card__desc,
.service-card:hover .service-card__list li {
  color: var(--color-white);
}

.service-card:hover .service-card__number {
  color: var(--color-accent);
}

.service-card__number {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--color-accent);
  margin-bottom: 24px;
  transition: color var(--transition);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-black);
  margin-bottom: 16px;
  transition: color var(--transition);
}

.service-card__desc {
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.7;
  transition: color var(--transition);
}

.service-card__list li {
  font-size: 0.82rem;
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
  color: var(--color-gray-600);
  transition: color var(--transition);
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 1px;
  background-color: var(--color-accent);
}

/* Experience */
.experience {
  background-color: var(--color-black);
  color: var(--color-white);
}

.experience__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.experience .section__eyebrow {
  color: var(--color-accent);
}

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

.experience__content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.experience__stats {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.stat {
  padding-left: 24px;
  border-left: 2px solid var(--color-accent);
}

.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* Contact */
.contact {
  background-color: var(--color-white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__intro {
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.contact__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.contact__item p {
  color: var(--color-black);
  font-weight: 400;
}

.contact__item a:hover {
  color: var(--color-accent);
}

.contact__form {
  background-color: var(--color-gray-100);
  padding: 48px;
}

.contact__form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-black);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gray-600);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-black);
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-200);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}

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

/* Cookie banner */
body.cookie-banner-open {
  overflow: hidden;
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 3000;
  padding: 0 0 max(16px, env(safe-area-inset-bottom));
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
  transition:
    opacity 0.3s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
}

.cookie-banner__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-black);
}

.cookie-banner__desc {
  margin: 0;
  max-width: 720px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-gray-600);
}

.cookie-banner__desc a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__desc a:hover {
  color: var(--color-black);
}

.cookie-banner__actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner__btn {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cookie-banner__actions {
    flex-direction: column;
  }

  .cookie-banner__btn {
    width: 100%;
  }
}

/* Footer */
.footer {
  background-color: var(--color-black);
  color: rgba(255, 255, 255, 0.6);
  padding: 72px 0 40px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
}

.logo--footer {
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-top: 8px;
  text-align: center;
}

.footer__nav {
  display: flex;
  gap: 32px;
}

.footer__nav a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

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

.footer__copy {
  text-align: right;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.footer__legal {
  padding-top: 40px;
}

.footer__legal p {
  font-size: 0.68rem;
  line-height: 1.7;
  text-align: center;
  color: rgba(255, 255, 255, 0.32);
  margin: 0;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

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

.footer__social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition);
}

.footer__social a:hover {
  color: var(--color-white);
  border-color: var(--color-accent);
  background-color: var(--color-accent);
}

.footer__social-icon {
  display: block;
}

/* Legal pages */
.legal-page__content {
  max-width: 720px;
}

.legal-page__updated {
  font-size: 0.85rem;
  color: var(--color-gray-600);
  margin-bottom: 40px;
}

.legal-page__content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-black);
  margin: 40px 0 16px;
}

.legal-page__content p,
.legal-page__content li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-gray-600);
  margin-bottom: 12px;
}

.legal-page__content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-page__content a {
  color: var(--color-accent);
}

.legal-page__content a:hover {
  text-decoration: underline;
}

body[data-page="legal"] .section {
  padding-top: 64px;
  padding-bottom: 96px;
}

/* Staff area */
body[data-page="staff-login"] {
  min-height: 100vh;
}

.staff-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background:
    radial-gradient(ellipse at 80% 20%, var(--color-accent-light) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-gray-100) 0%, var(--color-white) 100%);
}

.staff-login__card {
  width: 100%;
  max-width: 400px;
  padding: 48px 40px;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-200);
}

.staff-login__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.staff-login__logo img {
  height: 48px;
  width: auto;
}

.staff-login__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 12px;
}

.staff-login__desc {
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-gray-600);
  margin-bottom: 32px;
}

.staff-login__form .section__eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 16px;
}

.staff-login__error {
  font-size: 0.85rem;
  color: #9a3412;
  margin-bottom: 16px;
  text-align: center;
}

.staff-header .header__inner {
  gap: 24px;
}

.staff-header__label {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.staff-header__logout {
  padding: 10px 20px;
  font-size: 0.72rem;
}

body[data-page="staff"] .staff-hero {
  min-height: auto;
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 48px;
}

.staff-hero__desc {
  max-width: 480px;
  font-size: 1.05rem;
  color: var(--color-gray-600);
  line-height: 1.7;
}

.staff-panel {
  padding-top: 56px;
  padding-bottom: 56px;
}

.staff-panel--muted {
  background-color: var(--color-gray-100);
}

.staff-panel__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 32px;
}

.staff-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.staff-links__card {
  display: block;
  padding: 28px 24px;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-200);
  color: inherit;
  transition: all var(--transition);
}

.staff-links__card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.staff-links__card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.staff-links__card p {
  font-size: 0.85rem;
  color: var(--color-gray-600);
  margin: 0;
  line-height: 1.5;
}

.staff-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.staff-info__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.staff-info__list li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-gray-600);
  padding: 10px 0;
  border-bottom: 1px solid var(--color-gray-200);
}

.staff-info__list li:last-child {
  border-bottom: none;
}

.staff-info__list strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2px;
}

.staff-info__list a:hover {
  color: var(--color-accent);
}

.staff-info__note {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-gray-600);
  margin: 0;
}

/* Home */
.home-intro {
  padding-top: 72px;
  padding-bottom: 72px;
}

.home-intro__text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 400;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
  line-height: 1.7;
  color: var(--color-black);
}

.home-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-nav__card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  background-color: var(--color-white);
  transition:
    border-color var(--transition),
    box-shadow 0.4s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  color: inherit;
}

.home-nav__card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-8px);
}

.home-nav__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.home-nav__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-nav__card:hover .home-nav__image img {
  transform: scale(1.07);
}

.home-nav__body {
  padding: 24px 28px;
}

.home-nav__body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--color-black);
}

.home-nav__body p {
  font-size: 0.85rem;
  color: var(--color-gray-600);
  margin: 0;
}

.gallery__header {
  text-align: center;
  margin-bottom: 48px;
}

.gallery__header .section__title {
  margin-bottom: 16px;
}

.gallery__desc {
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  color: var(--color-gray-600);
  line-height: 1.7;
}

.gallery__header .social-bar {
  margin-bottom: 0;
}

.gallery .instagram-preview {
  width: 100%;
  max-width: 658px;
  margin: 0 auto;
}

.instagram-preview__shell {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-200);
  overflow: hidden;
}

.instagram-preview__profile {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 28px 20px;
  color: inherit;
  transition: background-color var(--transition);
}

.instagram-preview__profile:hover {
  background-color: var(--color-gray-100);
}

.instagram-preview__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: contain;
  border: 1px solid var(--color-gray-200);
  flex-shrink: 0;
  padding: 8px;
  background-color: var(--color-white);
}

.instagram-preview__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.instagram-preview__handle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-black);
  letter-spacing: 0.02em;
}

.instagram-preview__bio {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.instagram-preview__embed {
  border-top: 1px solid var(--color-gray-200);
  overflow: hidden;
  line-height: 0;
  display: flex;
  justify-content: center;
  background-color: var(--color-white);
}

.instagram-preview__embed iframe {
  width: 658px;
  max-width: 100%;
  height: 600px;
  border: 0;
  display: block;
  margin: 0 auto;
}

.instagram-preview__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 24px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  background-color: var(--color-black);
  transition: background-color var(--transition);
}

.instagram-preview__cta:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.home-visit {
  background-color: var(--color-gray-100);
}

.home-visit__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: end;
}

.home-visit__text {
  font-size: 1.05rem;
  color: var(--color-gray-600);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.7;
}

.home-visit__details {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
}

.home-visit__item p {
  margin: 0;
  color: var(--color-black);
}

.home-visit__item a:hover {
  color: var(--color-accent);
}

.home-visit__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 260px;
}

.home-visit__actions .btn {
  width: 100%;
}

/* Intro */
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.intro__lead {
  font-size: 1.15rem;
  color: var(--color-black);
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.8;
}

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

.preview-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px;
  background-color: var(--color-gray-100);
  transition: all var(--transition);
  overflow: hidden;
}

.preview-card:hover {
  background-color: var(--color-black);
}

.preview-card:hover .preview-card__label,
.preview-card:hover p {
  color: var(--color-white);
}

.preview-card img {
  width: 120px;
  height: 90px;
  object-fit: cover;
}

.preview-card__label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-black);
  margin-bottom: 4px;
  transition: color var(--transition);
}

.preview-card p {
  font-size: 0.85rem;
  margin: 0;
  transition: color var(--transition);
}

/* Gallery */
.gallery {
  background-color: var(--color-gray-100);
}

.social-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-black);
  border: 1px solid var(--color-black);
  transition: all var(--transition);
}

.social-link:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

.gallery__grid {
  columns: 4;
  column-gap: 12px;
}

.gallery__item {
  break-inside: avoid;
  margin-bottom: 12px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.gallery__item img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

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

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2.5rem;
  color: var(--color-white);
  line-height: 1;
  padding: 8px;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox__close:hover {
  opacity: 1;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: var(--color-white);
  padding: 16px;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.lightbox__nav:hover {
  opacity: 1;
}

.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

/* Highlights */
.highlights {
  background-color: var(--color-white);
}

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

.highlight {
  text-align: center;
  padding: 32px 24px;
}

.highlight__icon {
  display: block;
  font-size: 0.6rem;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.highlight h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-black);
  margin-bottom: 12px;
}

.highlight p {
  font-size: 0.9rem;
}

/* About story */
.about-story {
  background-color: var(--color-gray-100);
}

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

.about-story__images {
  position: relative;
  min-height: 400px;
}

.about-story__img {
  object-fit: cover;
}

.about-story__img--single {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-story__img--main {
  width: 75%;
  height: 380px;
  margin-left: auto;
}

.about-story__img--secondary {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 240px;
  border: 4px solid var(--color-gray-100);
}

.about__features--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.values {
  background-color: var(--color-white);
}

/* Location */
.location {
  background-color: var(--color-gray-100);
}

.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.location__grid--reverse .location__content {
  order: 1;
}

.location__grid--reverse .location__map {
  order: 2;
}

.location__map {
  aspect-ratio: 4 / 3;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  background-color: var(--color-gray-200);
}

.location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.location__lead {
  font-size: 1.05rem;
  margin-bottom: 28px;
  line-height: 1.8;
}

.location__address {
  margin-bottom: 28px;
}

.location__hours {
  margin-bottom: 28px;
}

.location__address p,
.location__hours p {
  font-size: 1.1rem;
  color: var(--color-black);
  font-weight: 400;
  line-height: 1.7;
}

/* Products */
.products-page {
  background-color: var(--color-white);
}

.brands-intro {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--color-gray-600);
}

.brands-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.brand-block {
  text-align: center;
}

.brand-block__media {
  margin-bottom: 24px;
  overflow: hidden;
  background: var(--color-gray-100);
}

.brand-block__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  padding: 24px;
  background: var(--color-gray-100);
}

.brand-block__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--color-black);
}

.brand-block__text {
  max-width: 360px;
  margin: 0 auto;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-gray-600);
}

.products-toolbar {
  margin-bottom: 36px;
}

.products-toolbar__text {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.products-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.products-filter {
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gray-600);
  background-color: var(--color-gray-100);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.products-filter:hover {
  color: var(--color-black);
  border-color: var(--color-gray-200);
}

.products-filter--active {
  color: var(--color-white);
  background-color: var(--color-black);
  border-color: var(--color-black);
}

.products-filter--active:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.product-card--hidden {
  display: none;
}

.products-empty {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-gray-600);
  padding: 48px 0;
}

.products-page__header {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: end;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-gray-200);
}

.products-page__heading .section__title {
  margin-bottom: 0;
}

.products-page__intro {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-gray-600);
  margin: 0;
}

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

.products__grid--compact {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-200);
  transition:
    border-color var(--transition),
    box-shadow 0.4s ease,
    background-color var(--transition),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.product-card--compact {
  background-color: var(--color-gray-100);
  border-color: transparent;
}

.product-card--compact:hover {
  background-color: var(--color-white);
}

.product-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.product-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.products__grid--compact .product-card__image {
  aspect-ratio: 1 / 1;
}

.product-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
}

.product-card__logo {
  width: 50%;
  max-width: 90px;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.product-card:hover .product-card__logo {
  opacity: 1;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card:hover .product-card__image--placeholder img {
  transform: none;
}

.product-card__body {
  padding: 28px 24px;
}

.products__grid--compact .product-card__body {
  padding: 14px 14px 18px;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-black);
  margin-bottom: 12px;
}

.products__grid--compact .product-card__title {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.product-card__desc {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.products__grid--compact .product-card__desc {
  font-size: 0.78rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.product-card__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 4px 12px;
}

.products__grid--compact .product-card__tag {
  font-size: 0.58rem;
  padding: 3px 8px;
  margin-bottom: 8px;
  border: none;
  padding-left: 0;
}

.products-page__note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-gray-200);
}

.products-page__note p {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  margin: 0;
  max-width: 520px;
}

.product-showcase {
  background-color: var(--color-gray-100);
}

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

.product-showcase__grid img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.product-showcase__text p {
  margin-bottom: 28px;
}

/* Services page */
.services-page {
  background-color: var(--color-white);
  padding-top: 64px;
  padding-bottom: 80px;
}

.services-page__layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
}

.services-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.services-tabs__btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 0;
  color: var(--color-gray-400);
  border: none;
  border-bottom: 1px solid transparent;
  background: none;
  cursor: pointer;
  transition: all var(--transition);
}

.services-tabs__btn:hover {
  color: var(--color-black);
}

.services-tabs__btn--active {
  color: var(--color-black);
  border-bottom-color: var(--color-accent);
  font-weight: 500;
}

.services-panels {
  min-height: 400px;
}

.services-panel {
  display: none;
  animation: panelFade 0.4s ease;
}

.services-panel--active {
  display: block;
}

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

.services-panel__head {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-gray-200);
}

.services-panel__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--color-black);
  line-height: 1.1;
  margin-bottom: 12px;
}

.services-panel__desc {
  font-size: 0.92rem;
  color: var(--color-gray-600);
  font-style: italic;
  margin: 0;
}

.menu-block {
  margin-bottom: 40px;
}

.menu-block:last-child {
  margin-bottom: 0;
}

.menu-block__label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.spa-menu {
  list-style: none;
}

.spa-menu__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 13px 0;
}

.spa-menu__row--sub {
  padding-left: 16px;
}

.spa-menu__row--sub .spa-menu__name {
  font-size: 0.84rem;
  color: var(--color-gray-400);
}

.spa-menu__row--featured .spa-menu__name,
.spa-menu__row--featured .spa-menu__price {
  font-weight: 500;
  color: var(--color-black);
}

.spa-menu__name {
  font-size: 0.92rem;
  color: var(--color-gray-600);
  flex-shrink: 0;
}

.spa-menu--rich .spa-menu__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-black);
}

.spa-menu__dots {
  flex: 1;
  border-bottom: 1px dotted var(--color-gray-400);
  min-width: 24px;
  margin-bottom: 5px;
  opacity: 0.5;
}

.spa-menu__price {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-black);
  flex-shrink: 0;
}

.spa-menu__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
  max-width: 70%;
}

.spa-menu__note {
  font-size: 0.78rem;
  color: var(--color-gray-400);
  font-style: italic;
}

.spa-menu--rich .spa-menu__row {
  align-items: flex-end;
}

.spa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.spa-table th {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-align: left;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--color-black);
}

.spa-table th:not(:first-child) {
  text-align: right;
}

.spa-table td {
  padding: 14px 0;
  color: var(--color-gray-600);
  border-bottom: 1px solid var(--color-gray-200);
}

.spa-table td:not(:first-child) {
  text-align: right;
  font-weight: 500;
  color: var(--color-black);
}

.spa-table tbody tr:last-child td {
  border-bottom: none;
}

.services-page__footer {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--color-gray-200);
  text-align: center;
}

/* CTA Banner */
.cta-banner {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 64px 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 8px;
}

.cta-banner__inner p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}

.cta-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

body[data-page="home"] .fade-in {
  transform: translateY(48px);
  transition-duration: 0.9s;
}

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

  .fade-in,
  body[data-page="home"] .home-intro__text,
  body[data-page="home"] .home-nav__card,
  body[data-page="home"] .gallery__header .section__title,
  body[data-page="home"] .gallery__desc,
  body[data-page="home"] .instagram-preview,
  body[data-page="home"] .home-visit__info,
  body[data-page="home"] .home-visit__actions {
    opacity: 1 !important;
    transform: none !important;
  }

  body[data-page="home"]:not(.is-loaded) .header,
  body[data-page="home"]:not(.is-loaded) .page-hero__content .page-hero__title,
  body[data-page="home"]:not(.is-loaded) .page-hero__content .page-hero__subtitle {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .services__grid,
  .products__grid,
  .products__grid--compact {
    grid-template-columns: repeat(3, 1fr);
  }

  .products-page__header {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .products-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .products-filter {
    flex-shrink: 0;
  }

  .gallery__grid {
    columns: 3;
  }

  .intro__grid,
  .about__grid,
  .about-story__grid,
  .experience__inner,
  .contact__grid,
  .product-showcase__grid,
  .location__grid {
    gap: 48px;
  }

  .highlights__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .header {
    z-index: 1102;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    background: rgba(0, 0, 0, 0.4);
  }

  body.nav-open .nav-overlay {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 1101;
    display: flex;
    flex-direction: column;
    width: 50%;
    max-width: 320px;
    min-width: 240px;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 88px 20px calc(28px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    background-color: var(--color-white);
    border: none;
    border-left: 1px solid var(--color-gray-200);
    box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    visibility: hidden;
    opacity: 1;
    pointer-events: none;
    transition: transform 0.28s ease, visibility 0.28s ease;
  }

  .nav--open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  /* Home: link bianchi sull'hero diventano illeggibili sul pannello bianco */
  body[data-page="home"] .header:not(.header--scrolled) .nav--open .nav__link {
    color: var(--color-gray-600);
  }

  body[data-page="home"] .header:not(.header--scrolled) .nav--open .nav__link:hover,
  body[data-page="home"] .header:not(.header--scrolled) .nav--open .nav__link--active {
    color: var(--color-black);
  }

  body[data-page="home"] .header:not(.header--scrolled) .nav--open .nav__link--cta {
    border-color: var(--color-black);
    color: var(--color-black);
  }

  body[data-page="home"] .header:not(.header--scrolled) .nav--open .nav__link--cta:hover {
    background-color: var(--color-black);
    color: var(--color-white);
  }

  body[data-page="home"] .header:not(.header--scrolled) .nav--open .nav__profile {
    color: var(--color-gray-600);
  }

  body[data-page="home"] .header:not(.header--scrolled) .nav--open .nav__profile:hover {
    color: var(--color-black);
    background-color: rgba(0, 0, 0, 0.04);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  .nav__list > li {
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 14px 12px;
    border-radius: 12px;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link--active {
    background: rgba(105, 68, 10, 0.08);
    color: var(--color-accent);
  }

  .nav__link--cta {
    text-align: center;
    margin-top: 8px;
  }

  .nav__profile {
    display: inline-flex;
    margin: 4px 12px;
  }

  .menu-toggle {
    display: flex;
  }

  .intro__grid,
  .about__grid,
  .about-story__grid,
  .experience__inner,
  .contact__grid,
  .product-showcase__grid,
  .location__grid,
  .home-nav,
  .home-visit__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-nav {
    max-width: 400px;
    margin: 0 auto;
  }

  .home-visit__actions {
    min-width: unset;
  }

  .home-visit__details {
    flex-direction: column;
    gap: 24px;
  }

  .services-page__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    position: static;
    gap: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-gray-200);
    -webkit-overflow-scrolling: touch;
  }

  .services-tabs__btn {
    flex-shrink: 0;
    padding: 12px 16px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }

  .services-tabs__btn--active {
    border-bottom-color: var(--color-accent);
  }

  .spa-menu__info {
    max-width: 60%;
  }

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

  .gallery__grid {
    columns: 2;
  }

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

  .brands-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }

  .brand-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: center;
    text-align: left;
  }

  .brand-block--reverse .brand-block__media {
    order: 2;
  }

  .brand-block--reverse .brand-block__body {
    order: 1;
  }

  .brand-block__media {
    margin-bottom: 0;
  }

  .brand-block__media img {
    aspect-ratio: 1;
    padding: 12px;
  }

  .brand-block__name {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .brand-block__text {
    max-width: none;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .products-page__note {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-banner__actions .btn {
    width: 100%;
  }

  .location__grid--reverse .location__content,
  .location__grid--reverse .location__map {
    order: unset;
  }

  .about__image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

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

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

  .contact__form {
    padding: 32px 24px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .footer__nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 28px;
  }

  .footer__copy {
    text-align: center;
  }

  .instagram-preview__embed {
    max-height: 360px;
  }

  .instagram-preview__embed iframe {
    height: 360px;
  }

  .instagram-preview__profile {
    padding: 20px 20px 16px;
  }

  .hero__scroll {
    display: none;
  }

  .logo__img {
    height: 42px;
  }

  .preview-card {
    grid-template-columns: 1fr;
  }

  .preview-card img {
    width: 100%;
    height: 160px;
  }

  .gallery__grid {
    columns: 1;
  }

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

  .staff-info {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .staff-header__label {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .staff-links {
    grid-template-columns: 1fr;
  }

  .staff-login__card {
    padding: 36px 24px;
  }
}
