/* JP Wash - one page refresh */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

:root {
  /* Speed Queen Official Brand Palette */
  --navy-950: #000000;       /* Rich Black */
  --navy-900: #000000;       /* Rich Black */
  --navy-800: #575756;       /* Cool Grey 11C */
  --navy-700: #878787;       /* Cool Grey 9C */
  --blue-500: #e63b11;       /* Warm Red C */
  --blue-400: #f06030;       /* Warm Red C lighter tint */
  --cyan-300: #fac9b8;       /* Warm Red C soft tint */
  --magenta-500: #e63b11;    /* Warm Red C — primary accent */
  --magenta-600: #bf3010;    /* Warm Red C darker shade */
  --magenta-100: #fdeee9;    /* Warm Red C lightest tint */
  --white: #ffffff;
  --paper: #f7f7f7;
  --paper-strong: #efefef;
  --text: #000000;           /* Rich Black */
  --text-soft: #575756;      /* Cool Grey 11C */
  --muted: #878787;          /* Cool Grey 9C */
  --line: rgba(0, 0, 0, 0.12);
  --line-strong: rgba(0, 0, 0, 0.20);
  --success-soft: rgba(230, 59, 17, 0.08);

  --font-display: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;

  --container: 1240px;
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 40px;

  --shadow-xs: 0 6px 18px rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 16px 40px rgba(0, 0, 0, 0.10);
  --shadow-md: 0 26px 70px rgba(0, 0, 0, 0.14);
  --shadow-lg: 0 36px 100px rgba(0, 0, 0, 0.20);
  --shadow-brand: 0 22px 60px rgba(230, 59, 17, 0.30);

  --transition: 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(230, 59, 17, 0.04), transparent 24%),
    linear-gradient(180deg, #fbfbfc 0%, #f4f4f6 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body,
.site-header,
main,
section,
.section-inner,
.intro-inner,
.footer-inner {
  width: 100%;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--magenta-500);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
}

section {
  position: relative;
  padding: 6.5rem 1.5rem;
}

.section-inner,
.intro-inner,
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-heading h2,
.intro-body h2,
.footer-heading h2,
.membership-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
}

.section-description {
  margin-top: 1.25rem;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta-500);
}

.section-kicker::before,
.section-kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section-kicker-left::before {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 54px;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--magenta-500) 0%, #f06030 100%);
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--magenta-600) 0%, var(--magenta-500) 100%);
}

.btn-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  color: var(--navy-950);
  background: var(--white);
  border-color: var(--white);
}

.btn-light {
  color: var(--navy-900);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(248, 251, 255, 0.82);
  backdrop-filter: blur(18px);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(18, 32, 51, 0.08);
  box-shadow: 0 10px 34px rgba(8, 19, 31, 0.07);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  min-height: 84px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
}

.site-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 999px;
  background: rgba(18, 32, 51, 0.05);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy-900);
  transition: transform var(--transition), opacity var(--transition);
}

.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);
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 84px;
  padding: 0 1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color var(--transition);
}

.main-nav a:hover {
  color: var(--magenta-500);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform var(--transition), background var(--transition);
}

.header-cta:hover {
  transform: translateY(-2px);
  background: var(--magenta-500);
}

/* ── Hero + Trust background wrapper ── */
.hero-trust-wrap {
  position: relative;
  overflow: hidden;
}

.hero-trust-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: clamp(420px, 62vh, 620px);
  padding: 0;
  background: transparent;
}

/* .hero-static mantenuto per retrocompatibilità */
.hero-static {
  position: relative;
  min-height: clamp(420px, 62vh, 620px);
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: -40% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10, 10, 10, 0.18) 0%,
      rgba(10, 10, 10, 0.44) 40%,
      rgba(10, 10, 10, 0.72) 68%,
      rgba(10, 10, 10, 0.90) 100%
    );
  z-index: 1;
}

.hero-overlay::after {
  content: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  min-height: clamp(420px, 62vh, 620px);
  padding: 4.2rem 1.5rem 3.6rem;
  display: flex;
  align-items: flex-end;
}

.hero-static .hero-inner {
  min-height: clamp(420px, 62vh, 620px);
}

.hero-copy {
  color: var(--white);
  max-width: 760px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hero h1 {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.8rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
  overflow-wrap: anywhere;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
}

.hero-panel-kicker,
.price-label,
.app-download-kicker,
.footer-label,
.service-tag,
.intro-card-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  color: var(--magenta-500);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  transition: width var(--transition), background var(--transition);
}

.carousel-dots button.is-active {
  width: 28px;
  background: var(--magenta-500);
}

.trust-bar {
  position: relative;
  z-index: 2;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
  margin-top: 0;
  overflow: visible;
  background: transparent;
}

/* overlay scuro semi-opaco sopra la foto nella zona trust */
.trust-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.70);
  z-index: -1;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.trust-item {
  position: relative;
  padding: 2rem 1.6rem 1.8rem;
  border-radius: 20px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.trust-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--magenta-500);
  border-radius: 3px 0 0 3px;
}

.trust-item:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 59, 17, 0.3);
}

.trust-item strong {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
}

.trust-item p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.55;
}

.intro {
  padding-top: 4.75rem;
}

.intro-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3.2rem;
  align-items: start;
}

/* ── Google Business Card ── */
.gbiz-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  font-size: 0.92rem;
}

.gbiz-photo {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.gbiz-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gbiz-header {
  padding: 1.2rem 1.4rem 0.8rem;
  border-bottom: 1px solid var(--line);
}

.gbiz-name-row {
  margin-bottom: 0.4rem;
}

.gbiz-logo {
  height: 28px;
  width: auto;
  display: block;
}

.gbiz-category {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.gbiz-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gbiz-stars {
  color: #f5a623;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.gbiz-rating-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text);
}

.gbiz-rating-count {
  font-size: 0.8rem;
  color: var(--muted);
}

.gbiz-info {
  padding: 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.gbiz-info li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.gbiz-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0;
  color: var(--muted);
}

.gbiz-info a {
  color: var(--text-soft);
  transition: color var(--transition);
}

.gbiz-info a:hover {
  color: var(--magenta-500);
}

.gbiz-location-item {
  align-items: center !important;
}

.gbiz-pin-wrap {
  flex-shrink: 0;
  width: 24px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.gbiz-pin-note {
  margin-top: 0.18rem;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--magenta-500);
  text-transform: uppercase;
}

.gbiz-location-item a {
  line-height: 1.35;
}

.gbiz-map {
  width: 100%;
}

.gbiz-map iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: none;
}

.gbiz-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 160px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.85rem;
}

.gbiz-map-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.4;
}

.gbiz-actions {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line);
}

.gbiz-btn {
  flex: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.9rem 0.5rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--magenta-500);
  transition: background var(--transition), color var(--transition);
  border-right: 1px solid var(--line);
}

.gbiz-btn:last-child {
  border-right: none;
}

.gbiz-btn:hover {
  background: var(--magenta-100);
}

.gbiz-btn svg {
  width: 18px;
  height: 18px;
}

/* ── GBiz Slider (mappa + foto con miniature) ── */
.gbiz-slider {
  display: grid;
  grid-template-columns: 1fr 80px;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.gbiz-main-panel {
  position: relative;
  overflow: hidden;
}

.gbiz-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.gbiz-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.gbiz-slide picture,
.gbiz-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* thumbs column */
.gbiz-thumbs {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--navy-950);
  overflow: hidden;
}

.gbiz-thumb {
  flex: 1;
  overflow: hidden;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: var(--navy-950);
  position: relative;
  transition: opacity 0.2s;
  border-left: 3px solid transparent;
}

.gbiz-thumb:hover {
  opacity: 0.85;
}

.gbiz-thumb.is-active {
  border-left-color: var(--magenta-500);
}

.gbiz-thumb picture,
.gbiz-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* thumb 0 = mappa icon */
.gbiz-thumb-map {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: rgba(255,255,255,0.75);
}

.gbiz-thumb-map svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.gbiz-thumb-map.is-active svg {
  color: var(--magenta-500);
}

/* ── Intro facts (left column icon list) ── */
.intro-facts {
  list-style: none;
  margin: 1.6rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.intro-facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.intro-facts li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--magenta-500);
  stroke-width: 1.8;
}

.intro-facts li strong {
  color: var(--text);
  font-weight: 700;
}

/* ── Intro CTAs ── */
.intro-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.intro-grid,
.ozone-grid,
.membership-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 3.2rem;
  align-items: center;
}

/* Colonna mappa */
.intro-map-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.intro-map-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.intro-map-embed {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.intro-map-embed iframe {
  display: block;
}

.intro-locations {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.intro-locations li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.intro-locations a {
  color: var(--text-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.intro-locations a:hover {
  color: var(--magenta-500);
}

.intro-locations em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.85rem;
}

.intro-body p,
.ozone-copy p,
.membership-copy p {
  margin-bottom: 1rem;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.intro-checks,
.ozone-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.intro-checks li,
.ozone-list li,
.price-features li {
  position: relative;
  padding-left: 1.7rem;
}

.intro-checks li::before,
.ozone-list li::before,
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta-500), var(--blue-400));
}

.ozone-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.8rem;
}

/* ── Ozone icon list ── */
.ozone-icons {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.ozone-icons li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.ozone-icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--magenta-500);
  color: var(--white);
}

.ozone-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.ozone-icon-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.ozone-icon-text strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.ozone-icon-text em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
}

.intro-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem 1rem;
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}

.intro-icons li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.intro-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--magenta-100);
  color: var(--magenta-500);
  flex-shrink: 0;
}

.intro-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.intro-icons strong {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.01em;
}

.intro-icons span {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.3;
}

.intro-visual {
  position: relative;
  overflow: hidden;
}

.intro-figure {
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 420px;
  background:
    radial-gradient(circle at 20% 20%, rgba(230, 59, 17, 0.10), transparent 26%),
    linear-gradient(135deg, #f2f2f4 0%, #fafafc 100%);
  box-shadow: var(--shadow-md);
}

.intro-figure img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.intro-figure.img-fallback::after,
.service-card figure.img-fallback::after,
.price-card figure.img-fallback::after {
  content: "Speed Queen";
  position: absolute;
  inset: auto 1.4rem 1.4rem auto;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(8, 19, 31, 0.72);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-card {
  position: absolute;
  right: 1rem;
  bottom: 2rem;
  max-width: 260px;
  padding: 1.2rem 1.25rem;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(18, 32, 51, 0.08);
}

.intro-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.intro-card p {
  margin: 0.35rem 0 0.55rem;
  color: var(--text-soft);
}

.intro-card a {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-900);
}

.services {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(244, 244, 246, 0.96));
}

.carousel {
  position: relative;
  padding: 0 4rem;
  overflow: hidden;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 1.4rem;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.service-card {
  flex: 0 0 calc((100% - 2.8rem) / 3);
  overflow: hidden;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid rgba(18, 32, 51, 0.07);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover,
.price-card:hover,
.membership-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.why-list li:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(230, 59, 17, 0.4);
}

.service-card figure,
.price-card figure {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(230, 59, 17, 0.08), transparent 26%),
    linear-gradient(135deg, #f1f1f3 0%, #fafafc 100%);
}

.service-card figure {
  aspect-ratio: 4 / 4.6;
}

.price-card figure {
  aspect-ratio: 16 / 10;
}

.service-card img,
.price-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.service-card:hover img,
.price-card:hover img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card h3 {
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.service-card p:last-child {
  color: var(--text-soft);
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 40%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
  font-size: 1.5rem;
  z-index: 2;
  transform: translateY(-50%);
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--navy-900);
  color: var(--white);
}

.carousel-prev:disabled,
.carousel-next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.8rem;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(18, 32, 51, 0.15);
  transition: width var(--transition), background var(--transition);
}

.carousel-dots button.is-active {
  width: 28px;
  background: var(--magenta-500);
}

.pricing,
.app-benefits {
  background: rgba(255, 255, 255, 0.72);
}

/* ── Why Us — sfondo scuro con immagine ── */
.why-us {
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.why-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.why-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.why-us::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.62) 50%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.why-us .section-inner {
  position: relative;
  z-index: 2;
}

.why-us .section-heading h2,
.why-us .section-heading p {
  color: var(--white);
}

.why-us .section-kicker {
  color: var(--magenta-500);
}

.why-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.why-list li {
  padding: 2rem 1.35rem 1.6rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(18, 32, 51, 0.06);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: var(--magenta-500);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.why-list h3 {
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.why-list p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.94rem;
}

.ozone {
  background:
    radial-gradient(circle at 85% 15%, rgba(230, 59, 17, 0.04), transparent 24%),
    linear-gradient(180deg, #f6f6f8 0%, #fbfbfc 100%);
}

.ozone-callout,
.app-download {
  position: relative;
  overflow: hidden;
  color: var(--white);
  border-radius: 32px;
  background: linear-gradient(150deg, var(--navy-900) 0%, #232323 46%, var(--magenta-500) 100%);
  box-shadow: var(--shadow-lg);
}

.ozone-callout {
  padding: 2.6rem;
}

.ozone-callout::before,
.app-download::before,
.membership::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.14), transparent 22%),
    radial-gradient(circle at 10% 100%, rgba(230, 59, 17, 0.16), transparent 25%);
}

.ozone-big {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.ozone-callout h3,
.app-download h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.ozone-callout p,
.app-download p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.82);
}

.pricing .section-heading {
  margin-bottom: 3rem;
}

.price-tabs {
  display: none;
}

.price-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.price-card {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(18, 32, 51, 0.07);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
}

.price-card.is-featured {
  border-color: rgba(230, 59, 17, 0.22);
  box-shadow: var(--shadow-brand);
}

.price-dots {
  display: none;
}

.price-content {
  padding: 1.7rem;
}

.price-content header {
  padding-bottom: 1.2rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.price-content h3 {
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.42rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.price {
  color: var(--text-soft);
}

.price span {
  color: var(--magenta-500);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price-details {
  margin-bottom: 1.1rem;
}

.price-details > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(18, 32, 51, 0.12);
}

.price-details dt {
  color: var(--text-soft);
}

.price-details dd {
  font-family: var(--font-display);
  font-weight: 700;
}

.price-note {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: var(--magenta-100);
  color: var(--magenta-600);
  font-size: 0.78rem;
  line-height: 1.45;
}

.price-features {
  display: grid;
  gap: 0.7rem;
  color: var(--text-soft);
}

.membership {
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-950) 0%, #1a1a1a 48%, #2a2a2a 100%);
}

.membership::before {
  opacity: 1;
}

.membership-copy h2,
.membership-copy p,
.membership .section-kicker {
  position: relative;
  z-index: 1;
}

.membership-copy h2 {
  color: var(--white);
}

.membership-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.membership .section-kicker {
  color: var(--cyan-300);
}

.membership .section-kicker::after {
  background: currentColor;
}

.membership-cards {
  position: relative;
  z-index: 1;
  display: block;
}

.membership-showcase {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 1rem;
}

.membership-card {
  position: relative;
  overflow: hidden;
  padding: 1.4rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px);
  transition: transform var(--transition), box-shadow var(--transition);
}

.membership-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  background-size: cover;
  background-position: center;
}

.membership-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(155deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.7) 72%),
    radial-gradient(circle at top left, rgba(230, 59, 17, 0.34), transparent 48%);
}

.membership-card > * {
  position: relative;
  z-index: 1;
}

.membership-card--card::before {
  background-image: url("../img/avif/card.avif");
}

.membership-card--app::before {
  background-image: url("../img/avif/app.avif");
}

.membership-card span {
  display: inline-flex;
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta-500);
}

.membership-card strong {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.membership-card p {
  color: rgba(255, 255, 255, 0.76);
}


/* ── APP SECTION – layout a due colonne ── */

.app-benefits {
  background: var(--white);
}

.app-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: start;
}

/* Colonna sinistra */
.app-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 2.4rem;
}

/* ── App Steps Accordion ── */
.app-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
}

.app-steps li {
  border-bottom: 1px solid var(--line);
}

.app-steps li:last-child {
  border-bottom: none;
}

.app-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.app-step-header h3 {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}

.app-step-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.28s ease;
}

.app-steps li.is-open .app-step-chevron {
  transform: rotate(180deg);
  color: var(--magenta-500);
}

.app-steps li.is-open .app-step-num {
  background: var(--magenta-600);
}

.app-step-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 0 0 3.4rem;
}

.app-steps li.is-open .app-step-body {
  max-height: 200px;
  padding-bottom: 1.1rem;
}

.app-step-body p {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

.app-step-body strong {
  color: var(--text);
  font-weight: 700;
}

.app-step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--magenta-500);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  transition: background 0.2s;
}

/* Colonna destra */
.app-right {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.app-mockup-wrap {
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  max-height: none;
  background: transparent;
}

.app-mockup-img {
  width: 70%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  display: block;
  background: transparent;
}

/* Fallback se immagine mancante */
.app-mockup-wrap:not(:has(img[src])) {
  min-height: 320px;
  background: var(--paper-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-cta-banner {
  margin-top: 2rem;
  padding: 1.6rem 2rem;
  border-radius: 20px;
  border: 2px dashed var(--magenta-500);
  background: var(--magenta-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.app-cta-banner > p {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  text-align: center;
}

.app-cta-banner .btn-cashback {
  width: 100%;
  max-width: 520px;
}

.btn-cashback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: var(--magenta-500);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: var(--shadow-brand);
  transition: background var(--transition), transform var(--transition);
}

.btn-cashback:hover {
  background: var(--magenta-600);
  transform: translateY(-2px);
}

.app-store-badges {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  background: #111;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform var(--transition), background var(--transition);
}

.store-badge:hover {
  transform: translateY(-2px);
  background: #2a2a2a;
}

.badge-fallback {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ── SEZIONE RECENSIONI ── */
.reviews {
  background: #0a0a0a;
  color: var(--white);
  padding: 5rem 0;
}

.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-stars {
  font-size: 2.4rem;
  color: #f5a623;
  letter-spacing: 4px;
  margin-bottom: 1rem;
  line-height: 1;
}

.reviews-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.15;
}

/* Carousel reviews */
.reviews-carousel {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.reviews-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.reviews-track {
  display: flex;
  gap: 1.2rem;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.review-card {
  flex: 0 0 calc((100% - 2.4rem) / 3);
  background: #1c1c1c;
  border-radius: 20px;
  padding: 1.6rem;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform var(--transition), border-color var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 59, 17, 0.25);
}

.review-author {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.review-avatar {
  flex-shrink: 0;
  flex-grow: 0;
  flex-basis: 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  align-self: center;
}

.review-author > div:not(.review-avatar) {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.review-author strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
}

.review-author span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.review-google {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: auto;
}

.review-stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.review-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  font-style: italic;
}

.reviews-prev,
.reviews-next {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  line-height: 1;
}

.reviews-prev:hover,
.reviews-next:hover {
  background: var(--magenta-500);
  border-color: var(--magenta-500);
}

.reviews-prev:disabled,
.reviews-next:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.reviews-dots {
  order: 10;
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.reviews-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transition: width var(--transition), background var(--transition);
}

.reviews-dots button.is-active {
  width: 28px;
  background: var(--magenta-500);
}

.site-footer {
  padding: 5.6rem 1.5rem 2rem;
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, var(--navy-950) 0%, #181818 100%);
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-heading h2 {
  color: var(--white);
  max-width: 700px;
}

.site-footer .section-kicker {
  color: var(--cyan-300);
}

.site-footer .section-kicker::after {
  background: currentColor;
}

.footer-contacts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.4rem 0;
}

.footer-contacts li {
  padding: 1.35rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contacts h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--white);
}

.footer-bottom {
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social h4 {
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.footer-social ul,
.footer-legal ul {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-social a,
.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.footer-social a:hover,
.footer-legal a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.footer-copy {
  margin-top: 1.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 30;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--magenta-500);
  color: var(--white);
  box-shadow: var(--shadow-brand);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--magenta-600);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .hero-inner,
  .intro-grid,
  .intro-grid-2,
  .ozone-grid,
  .membership-grid,
  .app-layout {
    grid-template-columns: 1fr;
  }

  .app-layout {
    gap: 3rem;
  }

  .membership-showcase {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .hero-inner {
    min-height: clamp(390px, 58vh, 540px);
    padding: 3.4rem 1.25rem 3rem;
  }

  .trust-grid,
  .footer-contacts,
  .why-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-list {
    grid-template-columns: 1fr;
  }

  .footer-top,
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .intro-card {
    right: 1rem;
    bottom: 1rem;
  }
}

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

  .site-header {
    backdrop-filter: none;
  }

  .hero,
  .hero-static,
  .hero-inner {
    min-height: clamp(360px, 56vh, 500px);
  }

  .hero-bg-img {
    object-position: center top;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(16, 16, 16, 0.1) 0%, rgba(16, 16, 16, 0.36) 42%, rgba(16, 16, 16, 0.74) 100%),
      radial-gradient(circle at 50% 18%, rgba(230, 59, 17, 0.10), transparent 30%);
  }

  .hero-overlay::after {
    opacity: 0.12;
  }

  .header-inner {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 74px;
    right: 0;
    left: 0;
    bottom: 0;
    height: calc(100dvh - 74px);
    padding: 1.5rem;
    overflow-y: auto;
    background: rgba(248, 251, 255, 0.98);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 110;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav a {
    min-height: 58px;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(18, 32, 51, 0.08);
  }

  .carousel {
    padding: 0 3rem;
  }

  .service-card {
    flex: 0 0 calc((100% - 1.4rem) / 2);
  }
}

@media (max-width: 680px) {
  :root {
    --mobile-gutter: 1.25rem;
  }

  .hero,
  .hero-static,
  .hero-inner {
    min-height: clamp(320px, 52vh, 420px);
  }

  .hero,
  .hero-static {
    min-height: auto;
  }

  section {
    padding: 4.6rem var(--mobile-gutter);
  }

  .hero-inner {
    min-height: auto;
    padding: 40vh var(--mobile-gutter) 1.6rem;
    align-items: flex-start;
    align-content: flex-start;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 7.6vw, 2.35rem);
    line-height: 1.06;
    margin-bottom: 1.1rem;
  }

  .hero-lead {
    display: none;
  }

  .hero-kicker {
    display: none;
  }

  .hero-kicker::before {
    width: 24px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(16, 16, 16, 0.03) 0%, rgba(16, 16, 16, 0.16) 35%, rgba(16, 16, 16, 0.5) 100%),
      radial-gradient(circle at 50% 14%, rgba(230, 59, 17, 0.06), transparent 28%);
  }

  .hero-overlay::after {
    display: none;
  }

  .hero-bg-img {
    inset: 0;
    height: 100%;
    object-fit: contain;
    object-position: center top;
  }

  .trust-grid,
  .footer-contacts,
  .why-list {
    grid-template-columns: 1fr;
  }

  .hero-ctas .btn,
  .footer-top .btn {
    width: 100%;
  }

  .price-details > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .price-list {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 0 0.3rem;
    margin: 0;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .price-list::-webkit-scrollbar {
    display: none;
  }

  .price-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    transform: none;
  }

  .price-card.is-featured {
    border-color: transparent;
    box-shadow: none;
  }

  .price-tabs {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding: 0 0 0.6rem;
    margin: 0 0 0.5rem;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .price-tabs::-webkit-scrollbar {
    display: none;
  }

  .price-tabs button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0.5rem 0.8rem;
    border: 1px solid rgba(18, 32, 51, 0.14);
    border-radius: 999px;
    background: var(--white);
    color: var(--text-soft);
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
  }

  .price-tabs button.is-active {
    background: var(--magenta-500);
    border-color: var(--magenta-500);
    color: var(--white);
  }

  .price-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.7rem;
  }

  .price-dots button {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(18, 32, 51, 0.22);
    transition: width var(--transition), background var(--transition);
  }

  .price-dots button.is-active {
    width: 28px;
    background: var(--magenta-500);
  }

  .service-card {
    flex: 0 0 92%;
  }

  .carousel {
    padding: 0;
  }

  .carousel-prev,
  .carousel-next,
  .reviews-prev,
  .reviews-next {
    display: none;
  }

  .reviews-carousel {
    display: block;
  }

  .reviews-track {
    gap: 1rem;
  }

  .reviews-viewport {
    padding: 0 0.45rem;
  }

  .review-card {
    flex: 0 0 92%;
  }

  .carousel.is-mobile-swipe::after,
  .reviews-carousel.is-mobile-swipe::after {
    content: "Scorri per vedere di piu";
    display: block;
    margin-top: 0.45rem;
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    color: var(--muted);
    animation: swipe-hint 1.35s ease-in-out infinite alternate;
  }

  .intro-figure,
  .intro-figure img {
    min-height: 420px;
  }

  .intro-card {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }

  .ozone-callout {
    padding: 1.7rem;
  }

  .app-right {
    width: 100%;
    align-items: center;
  }

  .app-mockup-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .app-mockup-wrap picture {
    display: block;
    width: 100%;
  }

  .app-mockup-img {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .trust-bar {
    margin-top: 0;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

}

@keyframes swipe-hint {
  from {
    transform: translateX(-6px);
    opacity: 0.65;
  }
  to {
    transform: translateX(6px);
    opacity: 1;
  }
}
