/* Art direction:
   - Tono: professionale, caldo, rassicurante.
   - Palette: sfondi blu-petrolio scuri, card blu più chiare, accenti verde menta.
   - Font: 'Nunito' per titoli e testi (simile alla tipografia originale).
   - Layout: una colonna centrale, card arrotondate, grandi titoli leggibili.
*/

:root {
  /* Nuovo tema: sfondo bianco, testi verdi */
  --color-bg: #ffffff;
  --color-section-dark: #ffffff;
  --color-section-dark-alt: #ffffff;
  --color-card: #ffffff;
  --color-banner: #ffffff;

  --color-primary-1: #1C8262;       /* verde principale (il tuo verde) */
  --color-primary-2: #178055;
  --color-primary-3: #145e47;
  --color-primary-4: #0f4a38;
  --color-primary-5: #0a3629;

  --color-text: #1C8262;            /* heading color → verde */
  --color-text-muted: #2a6e52;      /* body color → verde leggermente attenuato */
  --color-link: #1C8262;

  --color-accent: #1C8262;          /* pulsanti → verde */
  --color-accent-hover: #21976e;
  --color-accent-deep: #166b52;
  --color-outline: #1C8262;

  /* Colori social invariati */
  --color-facebook: #1877f2;
  --color-instagram: #e1306c;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.10);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
}
/* Reset essenziale */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Cabin', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Accessibilità */

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background-color: var(--color-accent);
  color: #022020;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 16px;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-outline);
  outline-offset: 3px;
}

/* Layout generico */

.container {
  width: min(1120px, 100% - 2 * var(--space-4));
  margin-inline: auto;
}

.section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

/* Stringe lo spazio tra "Il Nostro Impegno" e "Servizi Personalizzati" */
.section.section-dark {
  padding-bottom: clamp(var(--space-6), 3vw, var(--space-10));
}

.section.section-dark-alt {
  padding-top: clamp(var(--space-6), 3vw, var(--space-10));
}

/* Top bar */
/* Top bar */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 2000;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.top-bar.scrolled {
  background-color: rgba(240, 250, 246, 0.96);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
}

.top-bar-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-bar-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.btn-top-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 280px;
  height: 56px;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  background-color: var(--color-accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  text-align: center;
  white-space: nowrap;
  flex: 0 0 auto;
}

.btn-top-action:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
}

.btn-top-action:active {
  background-color: var(--color-accent-deep);
  transform: translateY(0);
}

.top-bar-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.top-bar-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Sposta leggermente a destra il simbolo interno di WhatsApp */
.btn-whatsapp-top .top-bar-icon {
  transform: translateX(2px);
}

@media (max-width: 719.98px) {
  .top-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 2000;
    width: 100%;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
    border-top: 1px solid rgba(28, 130, 98, 0.10);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 220ms ease-out,
      opacity 220ms ease-out,
      visibility 220ms ease-out;
  }

  .top-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .top-bar-inner {
    width: 100%;
    max-width: none;
  }

  .top-bar-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .top-bar .btn-top-action,
  .top-bar a.btn-top-action,
  .top-bar .btn.btn-top-action {
    width: 100% !important;
    min-width: 0;
    max-width: none;
    height: 52px;
    padding: 0 16px !important;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    box-shadow: none;
    white-space: nowrap;
  }

  .top-bar .btn-top-action span:last-child {
    display: none;
  }

  .top-bar .top-bar-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
  }

  .top-bar .btn-top-call .top-bar-icon {
    transform: translateX(1px);
  }

  .top-bar .btn-whatsapp-top .top-bar-icon {
    width: 26px;
    height: 26px;
    transform: translateX(2px);
  }

  .top-bar .btn-whatsapp-top svg {
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .btn:not(.btn-top-action) {
    width: 100%;
  }

  body {
    padding-bottom: 84px;
  }

  .hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    margin: 0 auto;
  }

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

  .hero-body {
    margin-inline: auto;
  }

  .section-title {
    text-align: center;
  }

  .location-row {
    text-align: center;
  }

  .location-map {
    order: -1;
  }

  .rapporto-grid {
    text-align: center;
  }

  .rapporto-steps {
    text-align: left;
  }

  .servizi-card {
    border-radius: var(--radius-lg);
  }
}
body {
  padding-bottom: 88px;
}

/* Pulsanti */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 140ms ease-out, box-shadow 140ms ease-out,
    background-color 140ms ease-out, color 140ms ease-out;
  white-space: nowrap;
}

/* Hero: "Prenota un Controllo" – testo scuro */

.btn-primary {
  display: inline-block;
  padding: 0.9rem 3rem;
  white-space: nowrap;
  background-color: var(--color-accent);
  color: #ffffff;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 140ms ease-out, transform 140ms ease-out;
}

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

.btn-primary:active {
  background-color: var(--color-accent-deep);
  transform: translateY(0);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  box-shadow: none;
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: #ffffff;
}

.btn-outline:active {
  background-color: var(--color-accent-deep);
  color: #ffffff;
  transform: translateY(0);
}
/* Top bar: "Prenota un appuntamento su Whatsapp" – testo bianco */

.btn-whatsapp-top {
  background-color: var(--color-accent);
  color: #ffffff; /* testo bianco */
  padding-inline: 1.75rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.btn-whatsapp-top:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
}

.btn-whatsapp-top:active {
  background-color: var(--color-accent-deep);
  transform: translateY(0);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}


/* Logo section */

.logo-section {
  background-color: #ffffff;
  padding-block: var(--space-4);    /* poco bianco sopra e sotto */
}

.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-main {
  max-width: 1100px;               /* spingiamo ancora di più il logo */
  width: min(100%, 1100px);
}
/* Hero con foto */

.hero-intro {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  isolation: isolate;  /* crea un nuovo stacking context */
}
.hero-background {
  position: absolute;
  inset: 0;
  background-image: url("./images/hero-interno-negozio.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* niente opacity qui */
  z-index: -2;
}

.hero-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #021a2a;
  opacity: 0.45;   /* filtro unico, intermedio */
  z-index: -1;
}
.hero-inner {
  max-width: 960px;        /* o il valore che stai usando */
  margin: 0 auto;          /* centra il blocco nel layout */
  padding: 120px 24px 140px;  /* mantieni i tuoi padding se li hai */
  display: flex;
  flex-direction: column;
  align-items: center;      /* centra orizzontalmente il contenuto */
}

.hero-text {
  text-align: center;       /* centra titolo, paragrafi e bottone */
}

.hero-intro .hero-text h1,
.hero-intro .hero-subtitle,
.hero-intro .hero-body {
  color: #ffffff;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  font-weight: 400;
  margin-bottom: var(--space-5);
}

.hero-subtitle {
  font-size: 1.4rem;           /* più grande e più vicino al titolo */
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}


.hero-subtitle,
.hero-body {
  max-width: 52rem;      /* opzionale, per non farla troppo lunga */
  margin-left: auto;
  margin-right: auto;
}

.hero-text .btn {
  display: inline-flex;
  margin-inline: auto;
  margin-top: var(--space-20);  /* aggiunge spazio sopra il bottone */
}

/* Sezioni scure */

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

.section-dark-alt {
  background-color: var(--color-section-dark-alt);
}

.section-title {
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  margin-bottom: var(--space-6);
}

.section-title-centered {
  text-align: center;
}

/* Impegno */

.impegno-grid {
  display: grid;
  gap: var(--space-8);
}

/* Card per i due blocchi di impegno */
.impegno-item {
  background-color: var(--color-card);        /* stesso colore della card servizi */
  border-radius: var(--radius-xl);           /* stessi angoli arrotondati */
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  box-shadow: var(--shadow-soft);            /* stessa ombra morbida */
}

.impegno-item h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}

.impegno-item p {
  color: var(--color-text-muted);
}

/* Servizi */

.servizi-card {
  background-color: var(--color-card);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  box-shadow: var(--shadow-soft);
}

.card {
  background-color: var(--color-card);
  border-radius: var(--radius-lg);
}

.servizi-grid {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-4);
}

.servizio h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-2);
}

.servizio p {
  color: var(--color-text-muted);
}

.servizio-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}


/* Icone servizi (stilizzate via CSS) */

.icon-circle,
.icon-glasses,
.icon-lens {
  display: inline-block;
  border-radius: 999px;
  border: 2px solid var(--color-accent);
  width: 40px;
  height: 40px;
  position: relative;
}

.icon-glasses::before,
.icon-glasses::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  width: 14px;
  height: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.icon-glasses::before {
  left: 4px;
}

.icon-glasses::after {
  right: 4px;
}

.icon-glasses::marker {
  content: '';
}

.icon-lens::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px dashed var(--color-accent);
}

/* Rapporto Diretto con piramide */

.rapporto-section {
  position: relative;
  color: var(--color-text);
  overflow: hidden;
}

.rapporto-background {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to bottom,
      rgba(17, 40, 54, 0.5),
      rgba(17, 40, 54, 0.7)
    ),
    url('./images/rapporto-interno-negozio.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}


.rapporto-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.rapporto-header {
  text-align: center;
}

.rapporto-subtitle {
  color: var(--color-text-muted);
  max-width: 40rem;
  margin-inline: auto;
}

.rapporto-grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

.piramide-wrapper {
  position: relative;
  margin-inline: auto;
  width: min(360px, 100%);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.piramide {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-color: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}

.livello-1 {
  border-width: 52px 110px 0 110px;
  bottom: 68%;
}

.livello-2 {
  border-width: 52px 140px 0 140px;
  bottom: 34%;
}

.livello-3 {
  border-width: 52px 170px 0 170px;
  bottom: 0;
}

.piramide-number {
  position: absolute;
  bottom: -38px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text);
}

.rapporto-steps {
  display: grid;
  gap: var(--space-4);
}

.rapporto-step h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.rapporto-step p {
  color: var(--color-text-muted);
}

/* Social */

.social-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.social-grid {
  display: grid;
  gap: var(--space-8);
  align-items: flex-start;
}

.social-video {
  min-height: 280px;
}

.video-placeholder {
  border-radius: var(--radius-lg);
  background-color: var(--color-bg);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background-color: rgba(0, 0, 0, 0.15);
  transition: background-color 140ms ease-out, transform 140ms ease-out;
}

.social-link span:last-child {
  font-weight: 600;
}

.social-link:hover {
  background-color: rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.social-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  position: relative;
}

.social-icon-facebook {
  background-color: var(--color-facebook);
}

.social-icon-instagram {
  background-image: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

/* Sedi e mappe */

.section-locations {
  position: relative;
  padding-block: clamp(var(--space-16), 9vw, var(--space-20));
}

.locations-background {
  position: absolute;
  inset: 0;
  background-image: url('/images/sfondo-onde-alberghina.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  z-index: -2;
}

.locations-card {
  background-color: #ffffff;
    border: 1px solid rgba(28, 130, 98, 0.12);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  box-shadow: var(--shadow-soft);
}

.location-row {
  display: block;
  margin-top: var(--space-6);
}

@media (max-width: 768px) {
  .location-row {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .location-map {
    margin-top: var(--space-4);
    max-width: 100%;    /* su mobile occupa tutta la larghezza disponibile */
    aspect-ratio: 4 / 3;
  }
}

.location-row-second {
  margin-top: var(--space-10);
}

.location-info h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-2);
}

.location-info p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.location-info {
  text-align: center;
}

.location-map {
  min-height: 220px;
  aspect-ratio: 4 / 3;      /* meno alta, più vicina all’originale */
  max-width: 420px;         /* non supera questa larghezza su desktop */
  margin-left: auto;        /* la tiene allineata verso destra nella colonna */
}

.location-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

.map-placeholder {
  border-radius: var(--radius-lg);
  background-color: #02151e;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  text-align: center;
  padding-inline: var(--space-4);
}

/* Banner finale */

.section-banner-final {
  background-color: var(--color-banner);
  padding-block: var(--space-16);
  text-align: center;
}

/* Footer */

.footer {
  position: relative;
  padding-block: var(--space-12);
  background-color: #f0faf6;
  color: var(--color-text);
}

.footer-background {
  position: absolute;
  inset-inline: 0;
  inset-block: 0;
  background-image: url('/images/sfondo-onde-alberghina.jpg');
  background-size: cover;
  background-position: center bottom;
  opacity: 0.25;
  z-index: -1;
}

.footer-inner {
  display: flex;
  justify-content: center;
}

.footer-box {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  max-width: 900px;
  text-align: center;
}

.footer-main {
  margin-bottom: var(--space-4);
}

.footer-privacy {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* Tipografia di base */

h1,
h2,
h3 {
  font-family: 'Unbounded', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;          /* niente bold */
  letter-spacing: 0.01em;
  color: var(--color-text);
}
.section-title {
  text-align: center;
}
/* Animazione di apparizione su scroll */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
  will-change: opacity, transform;
}

/* Stato visibile quando l'elemento entra in viewport */
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Rispetta chi ha ridotto le animazioni nel sistema */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* Responsive */

@media (min-width: 720px) {
  .impegno-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .rapporto-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  }

  .social-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }

  .location-row {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr);
  }

  .footer-box {
    text-align: left;
  }
}

@media (max-width: 719.98px) {
.top-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  z-index: 2000;
  width: 100%;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
  border-top: 1px solid rgba(28, 130, 98, 0.10);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 220ms ease-out,
    opacity 220ms ease-out,
    visibility 220ms ease-out;
}

.top-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.top-bar-inner {
  width: 100%;
  max-width: none;
}

.top-bar-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.top-bar .btn-top-action,
.top-bar a.btn-top-action,
.top-bar .btn.btn-top-action {
  width: 100% !important;
  min-width: 0;
  max-width: none;
  height: 54px;
  padding: 0 16px !important;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: none;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 600;
}

.top-bar .btn-top-action span:last-child {
  display: inline;
}

.top-bar .top-bar-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  flex-shrink: 0;
}

.top-bar .btn-top-call .top-bar-icon {
  transform: translateX(1px);
}

.top-bar .btn-whatsapp-top .top-bar-icon {
  width: 26px;
  height: 26px;
  transform: translateX(1px);
}

.top-bar .btn-whatsapp-top svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.btn:not(.btn-top-action) {
  width: 100%;
}

body {
  padding-bottom: 84px;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;   /* ← aggiungi questo */
  min-height: 420px;
  margin: 0 auto;
}

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

  .hero-body {
    margin-inline: auto;
  }

  .section-title {
    text-align: center;
  }

  .location-row {
    text-align: center;
  }

  .location-map {
    order: -1;
  }

  .rapporto-grid {
    text-align: center;
  }

  .rapporto-steps {
    text-align: left;
  }

  .servizi-card {
    border-radius: var(--radius-lg);
  }
}
/* ===========================
   SEZIONE RAPPORTO DIRETTO
   =========================== */

.section-direct-relationship {
  position: relative;
  padding-block: clamp(var(--space-16), 9vw, var(--space-20));
  overflow: hidden;
}

.section-direct-bg {
  position: absolute;
  inset: 0;
  background-image: url('./images/rapporto-interno-negozio.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.section-direct-relationship::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #021a2a;
  opacity: 0.45;
  z-index: 1;
}

.section-direct-relationship .container {
  position: relative;
  z-index: 2;
}

/* Testi: bianco con !important per vincere su qualsiasi altra regola */
.section-direct-relationship,
.section-direct-relationship h2,
.section-direct-relationship h3,
.section-direct-relationship p,
.section-direct-relationship .direct-rel-step-title,
.section-direct-relationship .direct-rel-step-text {
  color: #ffffff !important;
}
.direct-rel-step {
  padding-block: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.direct-rel-step:first-child {
  border-top: none;
}

.direct-rel-step-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}

.direct-rel-step-text {
  color: var(--color-text-muted);
}

.direct-rel-step-title,
.direct-rel-step-text {
  text-align: center;
}

/* Nuova sezione social: solo loghi grandi cliccabili */
.social-logos {
  margin-top: var(--space-8);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(var(--space-6), 5vw, var(--space-10));
  flex-wrap: wrap;
}

.social-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  transition: transform 140ms ease-out, opacity 140ms ease-out;
}

.social-logo-link:hover {
  transform: translateY(-2px);
  opacity: 0.85;
  box-shadow: none;
}
.social-logo-image {
  display: block;
  width: clamp(64px, 7vw, 88px); /* dimensione logo */
  height: auto;
}
.contact-phone-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
  padding: 0.95rem 1.4rem;
  background-color: var(--color-accent);
  color: #ffffff;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 140ms ease-out, background-color 140ms ease-out;
}

.contact-phone-button:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
}

.contact-phone-button:active {
  background-color: var(--color-accent-deep);
  transform: translateY(0);
}

.contact-phone-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  flex-shrink: 0;
}

.contact-phone-icon svg {
  width: 100%;
  height: 100%;
}

.location-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.location-info a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}