:root {
  --green-950: #071f1f;
  --green-900: #0d3936;
  --green-800: #124f49;
  --green-700: #176a60;
  --green-200: #d8ece6;
  --yellow: #ffd400;
  --yellow-dark: #d6ac00;
  --ink: #111513;
  --muted: #64716d;
  --line: #dce5e0;
  --paper: #f8faf5;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(7, 31, 31, 0.14);
  --radius: 8px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

body.cart-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1;
}

h1,
h2,
.brand span {
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

ul {
  margin: 0;
  padding-left: 1.1rem;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  color: var(--green-950);
  background: var(--yellow);
}

.skip-link:focus {
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  overflow: visible;
  clip-path: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 0.9vw, 0.9rem);
  min-height: var(--header);
  padding: 0 clamp(1rem, 2.6vw, 3rem);
  color: var(--green-950);
  background: rgba(255, 212, 0, 0.97);
  border-top: 0;
  border-bottom: 1px solid rgba(7, 31, 31, 0.12);
  box-shadow: 0 10px 32px rgba(7, 31, 31, 0.07);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, min-height 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  background: rgba(255, 212, 0, 0.99);
  box-shadow: 0 12px 30px rgba(7, 31, 31, 0.15);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  min-width: 210px;
}

.brand img {
  width: 40px;
  height: 44px;
  object-fit: contain;
}

.brand span {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 0.88;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.38rem, 0.76vw, 0.9rem);
  flex: 1;
  min-width: 0;
  font-size: clamp(0.74rem, 0.72vw, 0.86rem);
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 0.22rem;
  line-height: 1;
  white-space: nowrap;
}

.site-nav a[href="/concorsi"],
.site-nav a[href="/pv-fit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 clamp(0.68rem, 0.9vw, 1rem);
  color: var(--white);
  background: var(--green-950);
  border: 1px solid rgba(7, 31, 31, 0.86);
  border-radius: 999px;
  box-shadow: inset 0 -2px 0 rgba(255, 212, 0, 0.9), 0 8px 18px rgba(7, 31, 31, 0.11);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-nav a[href="/concorsi"]:hover,
.site-nav a[href="/concorsi"]:focus-visible,
.site-nav a[href="/pv-fit"]:hover,
.site-nav a[href="/pv-fit"]:focus-visible {
  color: var(--yellow);
  background: var(--green-900);
  border-color: var(--green-950);
  transform: translateY(-1px);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.35rem;
  height: 2px;
  background: var(--green-950);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a[href="/concorsi"]::after,
.site-nav a[href="/pv-fit"]::after {
  display: none;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 52px;
  padding: 0 1.1rem;
  color: var(--white);
  background: var(--green-950);
  border-radius: var(--radius);
  font-weight: 800;
  white-space: nowrap;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  min-height: 52px;
  margin-left: 0;
  padding: 0 1rem;
  color: var(--green-950);
  border: 1px solid rgba(7, 31, 31, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.42);
  font-weight: 800;
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 rgba(7, 31, 31, 0.16);
}

.cart-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button span {
  min-width: 24px;
  min-height: 24px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--green-950);
  border-radius: 999px;
  font-size: 0.82rem;
}

.cart-button .cart-label {
  min-width: auto;
  min-height: auto;
  display: inline;
  color: inherit;
  background: transparent;
  border-radius: 0;
  font-size: inherit;
}

.menu-toggle {
  display: none;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(7, 31, 31, 0.48);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 81;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: min(440px, 100%);
  height: 100svh;
  height: 100dvh;
  padding: 1.2rem;
  padding-bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  color: var(--green-950);
  background: var(--white);
  box-shadow: -24px 0 60px rgba(7, 31, 31, 0.24);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  transition: transform 240ms ease;
}

.cart-open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer[aria-hidden="true"] {
  display: none;
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.cart-head h2 {
  font-size: 2.4rem;
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.cart-head button,
.cart-qty button {
  min-height: 36px;
  padding: 0 0.75rem;
  color: var(--green-950);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-weight: 800;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-height: 0;
  flex: 0 0 auto;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.cart-row-main {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.cart-row-main p {
  color: var(--green-700);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.cart-row strong,
.cart-row span {
  display: block;
}

.cart-row strong {
  overflow-wrap: anywhere;
  line-height: 1.18;
}

.cart-row span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.cart-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  width: 100%;
}

.cart-qty input {
  width: 54px;
  min-height: 36px;
  padding: 0.35rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-weight: 900;
}

.cart-row-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cart-row-detail,
.cart-remove {
  min-height: 38px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green-950);
  font-weight: 850;
}

.cart-remove {
  border-color: rgba(128, 26, 26, 0.22);
  color: #7b1f1f;
  background: #fff6f3;
}

.cart-loading {
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.cart-empty {
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.cart-total {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.cart-total strong {
  font-size: 1.6rem;
}

.cart-customer {
  flex: 0 0 auto;
  display: grid;
  gap: 0.75rem;
}

.cart-customer label {
  display: grid;
  gap: 0.35rem;
  font-weight: 800;
}

.consent-check {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.7rem !important;
  color: rgba(13, 36, 30, 0.82);
  font-size: 0.92rem;
  line-height: 1.45;
  text-transform: none;
}

.consent-check input {
  width: 34px !important;
  height: 34px;
  min-height: 0 !important;
  margin-top: 0;
  padding: 0 !important;
  accent-color: var(--green-700);
}

.consent-check a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--green-700);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.cart-customer input {
  min-height: 44px;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.payment-choice {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.payment-choice legend {
  margin: 0;
  padding: 0;
  color: var(--green-950);
  font-weight: 900;
}

.payment-choice-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.cart-customer .payment-choice-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
  min-width: 0;
  min-height: 116px;
  padding: 0.85rem;
  color: var(--green-950);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.cart-customer .payment-choice-option input {
  width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 0;
  padding: 0;
  accent-color: var(--green-700);
}

.payment-choice-option > span {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.payment-choice-option strong {
  line-height: 1.2;
}

.payment-choice-option small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.payment-choice-option.is-selected {
  border-color: var(--green-700);
  background: #f5f7e9;
  box-shadow: inset 0 0 0 1px var(--green-700);
}

.payment-choice-option:focus-within {
  outline: 3px solid rgba(255, 212, 0, 0.75);
  outline-offset: 2px;
}

.payment-choice-option.is-disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.cart-checkout {
  width: 100%;
  min-height: 52px;
  white-space: normal;
  line-height: 1.2;
}

@media (hover: hover) {
  .payment-choice-option:not(.is-disabled):hover {
    border-color: var(--green-700);
    background: #f8faef;
  }
}

.cart-message,
.form-message {
  min-height: 1.4rem;
  color: var(--green-800);
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(88svh - var(--header));
  overflow: hidden;
  color: var(--white);
  background: var(--green-950);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 15, 15, 0.96), rgba(7, 31, 31, 0.82) 44%, rgba(7, 31, 31, 0.36)),
    linear-gradient(0deg, rgba(3, 15, 15, 0.82), rgba(7, 31, 31, 0.12) 48%);
}

.hero-content {
  position: relative;
  isolation: isolate;
  z-index: 1;
  width: min(760px, calc(100% - 3rem));
  margin-left: clamp(1.5rem, 8%, 7rem);
  padding: 6rem 0 6rem;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 4.3rem -1.45rem 4.3rem -1.45rem;
  z-index: -1;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.46) 72%, rgba(0, 0, 0, 0.1));
  pointer-events: none;
}

.hero h1,
.detail-page .detail-hero .section-heading h1 {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.kicker,
.eyebrow {
  color: var(--green-800);
  font-weight: 800;
  text-transform: uppercase;
}

.hero .kicker,
.dark-section .eyebrow,
.booking-section .eyebrow,
.contact-panel .eyebrow {
  color: var(--yellow);
}

.kicker {
  margin-bottom: 1rem;
}

.hero h1 {
  max-width: 720px;
  font-size: 6rem;
  font-weight: 800;
}

.hero-copy {
  max-width: 620px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--green-950);
  background: var(--yellow);
}

.button.primary:hover {
  background: #ffe45a;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.shop-section .button.secondary {
  color: var(--green-950);
  border-color: rgba(7, 31, 31, 0.28);
  background: var(--white);
}

.text-action {
  width: fit-content;
  min-height: 40px;
  margin-top: auto;
  padding: 0 0.9rem;
  color: var(--green-950);
  border: 1px solid rgba(7, 31, 31, 0.18);
  border-radius: var(--radius);
  background: var(--yellow);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.text-action:hover,
.text-action:focus-visible {
  transform: translateY(-2px);
  background: #ffe45a;
}

.price-card.highlight .text-action {
  border-color: var(--green-950);
  background: var(--green-950);
  color: var(--white);
}

.hero-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 31, 31, 0.78);
}

.hero-facts span {
  padding: 1.05rem 1.5rem;
  text-align: center;
  font-weight: 800;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.brand-banner {
  padding: 2.5rem 1.5rem;
  background: var(--green-900);
}

.brand-banner img {
  width: min(880px, 100%);
  margin: 0 auto;
}

.section {
  scroll-margin-top: calc(var(--header) + 1rem);
  padding: 6.5rem 2rem;
}

.section-heading,
.section-copy {
  width: min(1060px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-heading h2,
.section-copy h2 {
  max-width: 880px;
  color: var(--green-950);
  font-size: 3.45rem;
  font-weight: 800;
}

.section-heading p,
.section-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
  gap: 4rem;
  align-items: center;
  width: min(1180px, calc(100% - 4rem));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.split-section.alt {
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 0.9fr);
}

.section-copy {
  display: grid;
  gap: 1.4rem;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.check-list span {
  padding: 0.85rem 1rem;
  background: var(--white);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(7, 31, 31, 0.08);
  font-weight: 700;
}

.media-block {
  margin: 0;
}

.media-block img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  object-position: center;
  background: #f2efe7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-block figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.offer-section {
  background: var(--white);
}

.offer-grid {
  display: grid;
  gap: 1rem;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.macro-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(1180px, 100%);
  margin: -1rem auto 1.2rem;
}

.macro-shortcuts a {
  display: grid;
  gap: 0.2rem;
  min-height: 86px;
  padding: 1rem;
  color: var(--green-950);
  background: var(--yellow);
  border: 1px solid rgba(7, 31, 31, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(7, 31, 31, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.macro-shortcuts a:hover,
.macro-shortcuts a:focus-visible {
  transform: translateY(-2px);
  background: #ffe45a;
  box-shadow: 0 18px 38px rgba(7, 31, 31, 0.13);
}

.macro-shortcuts span {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.macro-shortcuts strong {
  font-size: 0.9rem;
  line-height: 1.25;
}

.offer-card {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  min-height: 310px;
  overflow: hidden;
  color: var(--white);
  background: var(--green-900);
  border-radius: var(--radius);
}

.offer-card:nth-child(2) {
  background: #263c37;
}

.offer-card:nth-child(3) {
  background: #241f19;
}

.offer-card img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  object-position: center;
}

.offer-card:nth-child(1) img {
  object-position: center 35%;
}

.offer-card:nth-child(2) img {
  object-position: center 28%;
}

.offer-card:nth-child(3) img {
  object-position: center 58%;
  filter: brightness(1.12) saturate(1.06) contrast(1.02);
}

.offer-card div {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: 2.5rem;
}

.offer-card div::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.offer-card p {
  color: var(--yellow);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.offer-card h3 {
  max-width: 560px;
  font-size: 2.6rem;
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.offer-card span {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.55;
}

.offer-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 0.4rem;
  padding: 0 0.95rem;
  color: var(--green-950);
  background: var(--yellow);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.offer-card a:hover,
.offer-card a:focus-visible {
  transform: translateY(-2px);
  background: #ffe45a;
}

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

.dark-section .section-heading h2,
.dark-section .group-intro h3 {
  color: var(--white);
}

.dark-section .section-heading p,
.dark-section .group-intro p {
  color: rgba(255, 255, 255, 0.72);
}

.schedule-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1180px, 100%);
  margin: 0 auto 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.schedule-strip span {
  min-height: 92px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 700;
}

.tabs,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  width: min(1180px, 100%);
  margin: 0 auto 2rem;
}

.tab-button,
.filter-button {
  min-height: 42px;
  padding: 0 1rem;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  font-weight: 800;
}

.tab-button.is-active,
.filter-button.is-active {
  color: var(--green-950);
  border-color: var(--yellow);
  background: var(--yellow);
}

.pricing-groups,
.performance-layout,
.professional-grid,
.testimonial-grid,
.booking-layout,
.blog-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.pricing-group {
  display: none;
}

.pricing-group.is-active {
  display: block;
}

.group-intro {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.group-intro h3 {
  font-size: 2.8rem;
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

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

.price-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 270px;
  padding: 1.4rem;
  color: var(--green-950);
  background: var(--white);
  border: 1px solid rgba(7, 31, 31, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(7, 31, 31, 0.08);
}

.dark-section .price-card {
  border-color: rgba(255, 255, 255, 0.12);
}

.price-card.highlight {
  background: var(--yellow);
  border-color: var(--yellow);
}

.price-card h3,
.price-card h4 {
  font-size: 1.8rem;
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.price-card strong {
  font-size: 2.1rem;
  line-height: 1;
}

.price-card li {
  margin-bottom: 0.45rem;
}

.compact-prices {
  display: grid;
  gap: 1rem;
}

.compact-prices article {
  display: grid;
  grid-template-columns: 120px 100px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(7, 31, 31, 0.08);
}

.compact-prices h3 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.6rem;
  text-transform: uppercase;
}

.compact-prices strong {
  font-size: 1.6rem;
}

.compact-prices p {
  color: var(--muted);
  font-size: 0.97rem;
}

.performance-section {
  background: var(--white);
}

.performance-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
}

.performance-image {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 560px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

.page-performance .performance-layout .mini-product-grid {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.professionals-section {
  background: var(--paper);
}

.filters {
  margin-bottom: 1.5rem;
}

.filter-button {
  color: var(--green-950);
  border-color: var(--line);
  background: var(--white);
}

.professional-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.professional-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 320px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(7, 31, 31, 0.08);
}

.professional-card.is-hidden {
  display: none;
}

.professional-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.professional-card div {
  display: grid;
  gap: 0.7rem;
  padding: 1.3rem;
}

.professional-card p:first-child {
  color: var(--green-800);
  font-weight: 800;
  text-transform: uppercase;
}

.professional-card h3 {
  color: var(--green-950);
  font-size: 2rem;
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: none;
}

.professional-card dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  margin: 0;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.professional-card dt {
  color: var(--muted);
}

.professional-card dd {
  margin: 0;
  font-weight: 800;
}

.gallery-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--green-950);
}

.gallery-band img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.proof-section {
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.testimonial {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.testimonial img {
  width: 120px;
}

.testimonial blockquote {
  margin: 0;
  color: var(--green-950);
  font-weight: 600;
}

.testimonial figcaption {
  color: var(--muted);
  font-weight: 800;
}

.booking-section {
  background: var(--green-900);
  color: var(--white);
}

.booking-section .section-heading h2 {
  color: var(--white);
}

.booking-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.booking-options {
  display: grid;
  gap: 1rem;
}

.booking-options a {
  display: grid;
  gap: 0.4rem;
  min-height: 128px;
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  transition: background 180ms ease, transform 180ms ease;
}

.booking-options a:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.booking-options span {
  color: var(--yellow);
  font-weight: 800;
  text-transform: uppercase;
}

.booking-options strong {
  font-size: 1.2rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.3rem;
  color: var(--green-950);
  background: var(--white);
  border-radius: var(--radius);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.contact-form.form-pulse {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.42), var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 800;
}

.contact-form label:nth-of-type(4),
.contact-form label:nth-of-type(5),
.contact-form label:nth-of-type(6),
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form .consent-check,
.contact-form .form-message {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.8rem;
  color: var(--green-950);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfa;
}

.contact-form textarea {
  resize: vertical;
}

.hidden-field {
  display: none;
}

.shop-section {
  background: #f0f4ed;
}

.shop-tools,
.product-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.shop-tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.shop-tools label {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  width: min(320px, 100%);
  color: var(--green-950);
  font-weight: 800;
}

.shop-tools select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

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

.product-card {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-height: 310px;
  padding: 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(7, 31, 31, 0.08);
}

.product-card p {
  color: var(--green-800);
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 1.75rem;
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.product-card span {
  color: var(--muted);
  line-height: 1.55;
}

.product-card ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(13, 36, 30, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.product-card strong {
  margin-top: auto;
  font-size: 1.55rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.product-actions .text-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-align: center;
  line-height: 1.12;
  white-space: normal;
}

.mini-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.mini-product {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  min-height: 220px;
  padding: 1rem;
  color: var(--green-950);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mini-product p {
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-product h3 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  line-height: 1.02;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: normal;
}

.mini-product span {
  color: var(--muted);
  line-height: 1.45;
}

.mini-product strong {
  margin-top: auto;
  font-size: 1.45rem;
}

.product-modal[aria-hidden="true"] {
  display: none;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.cart-open,
.product-modal-open {
  overflow: hidden;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 31, 31, 0.62);
}

.product-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  width: min(760px, 100%);
  max-height: min(86svh, 820px);
  overflow: auto;
  padding: clamp(1.1rem, 3vw, 2rem);
  color: var(--green-950);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.product-modal-close {
  position: sticky;
  top: 0;
  z-index: 2;
  justify-self: end;
  min-height: 40px;
  padding: 0 0.85rem;
  color: var(--green-950);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-weight: 800;
}

.product-modal-panel > p {
  color: var(--green-800);
  font-weight: 900;
  text-transform: uppercase;
}

.product-modal-panel h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.product-modal-panel > strong {
  font-size: 1.8rem;
}

.product-modal-description {
  display: grid;
  gap: 0.8rem;
  color: var(--muted);
  line-height: 1.65;
}

.product-modal-panel ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.1rem;
}

.detail-hero {
  padding: clamp(4rem, 8vw, 7rem) 1rem;
  background: var(--paper);
}

.detail-hero .section-heading h1 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.9;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.detail-hero .eyebrow,
.detail-hero .section-heading p {
  overflow-wrap: anywhere;
}

.compact-section {
  padding-top: 2rem;
}

.notice-line {
  width: min(1180px, 100%);
  margin: 1rem auto 2rem;
  padding: 1rem;
  color: var(--green-950);
  background: var(--yellow);
  border-radius: var(--radius);
  font-weight: 800;
}

.professionals-teaser {
  background: var(--paper);
}

.professional-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: start;
}

.professional-detail.alt {
  background: var(--paper);
}

.professional-detail .mini-product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.professional-detail .section-copy h2 {
  text-transform: none;
}

.readable-button,
.legal-header .button.secondary,
.cookie-notice .button.secondary {
  color: var(--green-950);
  border-color: rgba(7, 31, 31, 0.28);
  background: var(--yellow);
}

.moved-off-home {
  display: none !important;
}

.home-professionals-cta {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--paper);
}

.home-professionals-cta .media-block {
  min-height: 520px;
}

.home-professionals-cta .media-block img {
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.home-professionals-cta .section-copy {
  width: min(640px, 100%);
  margin: 0;
}

.home-professionals-cta .button {
  margin-top: 0.7rem;
}

.detail-page {
  background: #f5f3ec;
}

.detail-page .detail-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(440px, 58svh, 680px);
  padding: clamp(4rem, 8vw, 7rem) 1rem clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  color: var(--white);
  background: var(--green-950);
}

.detail-page .detail-hero::before,
.detail-page .detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.detail-page .detail-hero::before {
  background: center / cover no-repeat var(--green-950);
  filter: saturate(0.9) contrast(1.05);
  transform: scale(1.01);
}

.detail-page .detail-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 15, 15, 0.99), rgba(7, 31, 31, 0.92) 50%, rgba(7, 31, 31, 0.52)),
    linear-gradient(0deg, rgba(3, 15, 15, 0.92), rgba(7, 31, 31, 0.28) 58%);
}

.page-concorsi .detail-hero::before {
  background-image: url("assets/optimized/training-group.jpg");
  background-position: center 34%;
}

.page-fit .detail-hero::before {
  background-image: url("assets/optimized/fit-training.jpg");
  background-position: center 24%;
}

.page-performance .detail-hero::before {
  background-image: url("assets/optimized/trainer-card.jpg");
  background-position: center 58%;
}

.page-professionisti .detail-hero::before {
  background-image: url("assets/optimized/psychology-office.jpg");
  background-position: center 28%;
}

.page-shop .detail-hero::before {
  background-image: url("assets/optimized/hero-storefront.jpg");
  background-position: center 45%;
}

.detail-page .detail-hero .section-heading {
  position: relative;
  isolation: isolate;
  width: min(1120px, 100%);
  margin: 0 auto;
  gap: 1.1rem;
}

.detail-page .detail-hero .section-heading::before {
  content: "";
  position: absolute;
  inset: -1.2rem -1.35rem;
  z-index: -1;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.6) 72%, rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.detail-page .detail-hero .eyebrow {
  width: fit-content;
  padding: 0.44rem 0.72rem;
  color: var(--white);
  background: rgba(3, 15, 15, 0.78);
  border: 1px solid rgba(255, 212, 0, 0.72);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  font-size: 0.86rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.detail-page .detail-hero .section-heading h1 {
  max-width: 920px;
  color: var(--white);
  font-size: clamp(3.1rem, 8.4vw, 7.4rem);
  text-wrap: balance;
}

.detail-page .detail-hero .section-heading p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.55;
}

.detail-page .section {
  padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 4vw, 2rem);
}

.detail-page .split-section,
.detail-page .professional-detail {
  width: min(1180px, calc(100% - 2rem));
  padding-left: 0;
  padding-right: 0;
}

.detail-page .split-section {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}

.detail-page .split-section.alt {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
}

.detail-page .media-block {
  min-height: 420px;
  border-radius: var(--radius);
}

.detail-page .media-block img {
  height: 100%;
  object-fit: cover;
}

.detail-page .section-copy {
  display: grid;
  gap: 1rem;
  align-content: center;
  margin: 0;
}

.detail-page .section-copy h2,
.detail-page .section-heading h2 {
  max-width: 780px;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  line-height: 0.96;
  text-wrap: balance;
}

.detail-page .section-copy p,
.detail-page .section-heading p {
  max-width: 760px;
  line-height: 1.65;
}

.detail-page .compact-section {
  padding-top: 0;
}

.detail-page .mini-product-grid {
  gap: 0.85rem;
}

.detail-page .mini-product {
  min-height: 260px;
  padding: clamp(1.1rem, 2vw, 1.35rem);
  background: #fffefa;
  border-color: rgba(7, 31, 31, 0.14);
  box-shadow: 0 12px 28px rgba(7, 31, 31, 0.08);
}

.detail-page .mini-product p {
  font-size: 0.74rem;
  letter-spacing: 0;
}

.detail-page .mini-product h3 {
  font-size: clamp(1.65rem, 2.1vw, 2.25rem);
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.detail-page .mini-product span {
  color: #52605b;
  font-size: 0.94rem;
}

.detail-page .mini-product strong {
  color: var(--green-950);
  font-size: 1.55rem;
}

.detail-page .product-actions {
  align-self: end;
  width: 100%;
}

.detail-page .product-actions .text-action {
  flex: 1 1 150px;
  min-width: 0;
  width: auto;
}

.detail-page .readable-button,
.detail-page .split-section .button.secondary {
  color: var(--green-950);
  border-color: rgba(7, 31, 31, 0.24);
  background: var(--yellow);
}

.detail-page .readable-button:hover,
.detail-page .readable-button:focus-visible,
.detail-page .split-section .button.secondary:hover,
.detail-page .split-section .button.secondary:focus-visible {
  background: #ffe45a;
}

.detail-page .notice-line {
  line-height: 1.55;
}

.detail-page .professionals-teaser {
  color: var(--white);
  background: var(--green-950);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.detail-page .professionals-teaser .section-heading h2 {
  max-width: 920px;
  color: var(--white);
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  line-height: 0.98;
}

.detail-page .professionals-teaser .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.detail-page .professional-detail {
  align-items: stretch;
  grid-template-columns: minmax(280px, 0.56fr) minmax(0, 1fr);
  background: transparent;
}

.detail-page .professional-detail.alt {
  background: transparent;
}

.detail-page .professional-detail + .professional-detail {
  border-top: 1px solid rgba(7, 31, 31, 0.12);
}

.detail-page .professional-detail .media-block {
  position: sticky;
  top: calc(var(--header) + 1rem);
  min-height: 520px;
  max-height: 720px;
}

.detail-page .professional-detail .section-copy {
  width: 100%;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.detail-page .professional-detail .mini-product-grid {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-shop .shop-section {
  background: #f0f4ed;
}

.page-shop .shop-section .section-copy {
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

.page-shop .product-card {
  min-height: 360px;
  background: #fffefa;
  border-color: rgba(7, 31, 31, 0.14);
  box-shadow: 0 12px 28px rgba(7, 31, 31, 0.08);
}

.page-shop .product-card h3 {
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
}

.blog-section {
  background: var(--white);
}

.blog-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.blog-teaser-copy {
  display: grid;
  gap: 0.65rem;
  max-width: 760px;
}

.blog-teaser h2 {
  max-width: 760px;
}

.blog-teaser p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  width: min(920px, 100%);
  margin: 0 auto;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(7, 31, 31, 0.08);
}

.faq-list summary {
  min-height: 58px;
  padding: 1rem 1.1rem;
  color: var(--green-950);
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  padding: 0 1.1rem 1rem;
  color: var(--muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.blog-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.blog-card div {
  display: grid;
  align-content: center;
  gap: 0.85rem;
  padding: 1.4rem;
}

.blog-card time {
  color: var(--green-800);
  font-weight: 800;
}

.blog-card h3 {
  font-size: 2rem;
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.blog-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 0.9rem;
  color: var(--green-950);
  background: var(--yellow);
  border: 1px solid rgba(7, 31, 31, 0.16);
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.blog-card a:hover,
.blog-card a:focus-visible {
  transform: translateY(-2px);
  background: #ffe45a;
}

.social-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  width: min(1180px, 100%);
  margin: 1rem auto 0;
  padding: 1rem 0;
  color: var(--muted);
}

.social-line a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.48rem 0.74rem;
  color: var(--green-950);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 36, 30, 0.14);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(13, 36, 30, 0.08);
}

.social-line svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

.contact-section {
  padding-top: 0;
  background: var(--white);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 3rem;
  color: var(--white);
  background: var(--green-950);
  border-radius: var(--radius);
}

.contact-panel > *,
.hours-panel,
.contact-grid,
.contact-grid a {
  min-width: 0;
}

.hours-panel {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 36, 30, 0.1);
  border-radius: 8px;
}

.hours-panel span {
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hours-panel strong {
  font-size: 1.08rem;
}

.hours-panel small {
  color: var(--green-950);
  font-weight: 700;
}

.partners-section {
  background: #f7f5ef;
}

.partners-shell {
  display: grid;
  gap: clamp(1.6rem, 4vw, 2.8rem);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.partners-label {
  display: grid;
  grid-template-columns: minmax(120px, auto) 1fr;
  align-items: center;
  gap: 1rem;
  color: var(--green-900);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partners-label::after {
  content: "";
  height: 1px;
  background: rgba(13, 36, 30, 0.18);
}

.partner-main {
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: clamp(190px, 24vw, 320px);
  padding: clamp(1.2rem, 4vw, 2.5rem);
  background: #fff;
  border: 1px solid rgba(13, 36, 30, 0.1);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(13, 36, 30, 0.07);
}

.partner-main img {
  width: min(1080px, 100%);
  height: auto;
  max-height: 250px;
  object-fit: contain;
}

.partner-lockup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr);
  align-items: stretch;
  height: clamp(170px, 26vw, 320px);
  overflow: hidden;
  background: #020202;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(13, 36, 30, 0.12);
}

.partner-lockup-logo {
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.partner-lockup-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 320ms ease, opacity 320ms ease;
}

.partner-lockup-divider {
  align-self: center;
  width: 2px;
  height: 62%;
  background: rgba(255, 255, 255, 0.88);
  transition: opacity 320ms ease;
}

@media (hover: hover) {
  .partner-lockup:hover .partner-lockup-logo img {
    transform: scale(1.012);
  }

  .partner-lockup:hover .partner-lockup-divider {
    opacity: 0.72;
  }
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 6.4rem;
  z-index: 68;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.72rem 0.95rem;
  color: #fff;
  font-weight: 900;
  background: #08783f;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-panel h2 {
  max-width: 780px;
  font-size: 3.2rem;
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.contact-panel > p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.75);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.contact-grid a {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  overflow-wrap: anywhere;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.contact-grid span {
  color: var(--yellow);
  font-weight: 800;
  text-transform: uppercase;
}

.contact-request {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  align-items: start;
  margin-top: 0.75rem;
}

.contact-request .contact-form h3 {
  grid-column: 1 / -1;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 2.2fr);
  gap: 2rem;
  align-items: start;
  padding: 2rem;
  color: var(--green-200);
  background: var(--green-950);
}

.footer-identity {
  display: grid;
  justify-items: start;
  gap: 0.25rem;
}

.footer-brand-logo {
  display: inline-grid;
  width: 88px;
  min-height: 92px;
  margin-bottom: 0.55rem;
  padding: 0.55rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: var(--yellow);
}

.site-footer .footer-brand-logo img {
  display: block;
  width: 64px;
  height: auto;
  margin: 0;
}

.site-footer small {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 700;
  line-height: 1.5;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  justify-content: center;
  font-weight: 800;
}

.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.35rem;
  color: var(--white);
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: var(--yellow);
}

.site-footer > p {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.66);
  text-align: right;
}

.cookie-notice {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(620px, calc(100% - 2rem));
  padding: 1rem;
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(13, 36, 30, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.cookie-notice[hidden] {
  display: none;
}

body:has(.cookie-notice:not([hidden])) .whatsapp-float {
  visibility: hidden;
  pointer-events: none;
}

.cookie-notice p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.cookie-notice a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--green-700);
  font-weight: 900;
}

.cookie-notice .button {
  flex: 0 0 auto;
  min-width: 158px;
  white-space: normal;
}

.legal-page {
  min-height: 100svh;
  background: #f6f3eb;
  color: var(--green-950);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
}

.legal-header .brand {
  position: static;
  color: var(--green-950);
}

.legal-header .brand span {
  color: var(--green-950);
}

.legal-shell {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.legal-shell h1 {
  max-width: 760px;
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.legal-shell h2 {
  margin: 2.4rem 0 0.7rem;
  color: var(--green-900);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.legal-shell p,
.legal-shell li {
  color: rgba(13, 36, 30, 0.78);
  font-size: 1.03rem;
  line-height: 1.78;
}

.legal-shell a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--green-700);
  font-weight: 900;
}

.legal-shell ul {
  display: grid;
  gap: 0.7rem;
  padding-left: 1.2rem;
}

.legal-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(13, 36, 30, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.legal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(13, 36, 30, 0.1);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--green-950);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.blog-page-shell h1 {
  max-width: 780px;
  color: var(--green-950);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.blog-page-intro {
  max-width: 720px;
  margin: 1rem 0 2rem;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 700;
}

.blog-page-grid .blog-card h2 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 2.1rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.article-shell {
  width: min(920px, calc(100% - 2rem));
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 1.4rem;
}

.article-meta time,
.article-meta span {
  padding: 0.45rem 0.75rem;
  color: var(--green-950);
  background: rgba(255, 212, 0, 0.28);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-hero {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

.article-body {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-body h2 {
  margin-top: 0.5rem;
  color: var(--green-950);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 2.2rem;
  text-transform: uppercase;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
}

.legal-footer {
  margin-top: 0;
}

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

.js .reveal,
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms ease, transform 220ms ease;
}

.success-page {
  min-height: 100svh;
  background: var(--green-950);
}

.success-wrap {
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: min(520px, calc(100% - 2rem));
  min-height: calc(100svh - var(--header));
  margin: 0 auto;
  padding: 2rem;
  color: var(--white);
  text-align: center;
  align-content: center;
}

.success-wrap img {
  width: 90px;
}

.success-wrap h1 {
  font-size: 3.6rem;
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.admin-page {
  min-height: 100svh;
  color: var(--green-950);
  background:
    linear-gradient(180deg, rgba(255, 212, 0, 0.08), transparent 360px),
    #edf3ee;
}

.admin-shell {
  width: min(1360px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
}

.admin-login {
  display: grid;
  gap: 1rem;
  width: min(480px, 100%);
  margin: 8svh auto 0;
  padding: 2rem;
  color: var(--green-950);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin-login img {
  width: 70px;
}

.admin-login h1,
.admin-dashboard h1,
.admin-section h2,
.admin-category h3 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}

.admin-login h1,
.admin-dashboard h1 {
  font-size: 3rem;
}

.admin-login form,
.admin-new-form,
.admin-record-form {
  display: grid;
  gap: 1rem;
}

.admin-login label,
.admin-new-form label,
.admin-record-form label,
.admin-filters label {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
  color: var(--green-950);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-login input,
.admin-new-form input,
.admin-new-form select,
.admin-new-form textarea,
.admin-record-form input,
.admin-record-form select,
.admin-record-form textarea,
.admin-filters input,
.admin-filters select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-transform: none;
}

.admin-message {
  min-height: 1.4rem;
  color: var(--green-800);
  font-weight: 800;
}

.admin-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.admin-topbar,
.admin-stats,
.admin-section {
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(7, 31, 31, 0.08);
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem;
}

.admin-actions {
  display: flex;
  gap: 0.7rem;
}

.admin-storage-status {
  max-width: 720px;
  margin-top: 0.55rem;
  color: rgba(13, 36, 30, 0.74);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.45;
}

.admin-storage-status[data-tone="server"] {
  color: var(--green-700);
}

.admin-storage-status[data-tone="local"] {
  color: #7b5b00;
}

.admin-actions .button.secondary {
  color: var(--green-950);
  border-color: var(--line);
  background: var(--paper);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  overflow: hidden;
}

.admin-stats article {
  display: grid;
  gap: 0.5rem;
  padding: 1.2rem;
  background: var(--paper);
}

.admin-stats span {
  color: var(--muted);
  font-weight: 800;
}

.admin-stats strong {
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  line-height: 1;
}

.admin-section {
  padding: 1.2rem;
}

.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-section h2 {
  font-size: 2rem;
}

.admin-section-head p {
  min-height: 1.4rem;
  color: var(--green-800);
  font-weight: 800;
}

.admin-section-head p[data-tone="neutral"] {
  color: var(--muted);
}

.admin-section-head > div {
  min-width: 0;
}

.admin-section-copy {
  max-width: 760px;
  margin-top: 0.3rem;
  color: var(--muted) !important;
  font-size: 0.94rem;
  line-height: 1.45;
}

.admin-view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.admin-view-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  color: var(--green-950);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.admin-view-tabs button.is-active {
  color: var(--white);
  background: var(--green-950);
  border-color: var(--green-950);
}

.admin-view-tabs button span {
  display: inline-grid;
  min-width: 25px;
  min-height: 25px;
  place-items: center;
  padding: 0 0.38rem;
  color: var(--green-950);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.78rem;
}

.admin-retention-note {
  margin-bottom: 1rem;
  padding: 0.8rem 0.9rem;
  color: #6f5100;
  background: #fff7cf;
  border-left: 4px solid var(--yellow);
  font-weight: 800;
  line-height: 1.45;
}

.admin-new-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  min-width: 0;
}

.admin-wide {
  grid-column: span 2;
}

.admin-new-form button {
  min-height: 46px;
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(4, minmax(150px, 1fr));
  gap: 0.8rem;
  align-items: end;
  min-width: 0;
  margin-bottom: 1rem;
}

.admin-empty {
  padding: 1.2rem;
  color: var(--muted);
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

.admin-records,
.admin-category > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.admin-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
  min-width: 0;
}

.admin-category + .admin-category {
  margin-top: 1.4rem;
}

.admin-category h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  min-width: 0;
  color: var(--green-950);
  font-size: 1.65rem;
  overflow-wrap: anywhere;
}

.admin-category h3 span {
  display: inline-grid;
  min-width: 30px;
  min-height: 30px;
  place-items: center;
  padding: 0 0.45rem;
  color: var(--white);
  background: var(--green-950);
  border-radius: 999px;
  font: 800 0.85rem/1 "Inter", Arial, sans-serif;
}

.admin-record {
  display: grid;
  gap: 1.15rem;
  min-width: 0;
  padding: 1.2rem;
  background: #fbfcf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-record.is-request {
  border-color: rgba(214, 172, 0, 0.5);
  box-shadow: inset 4px 0 0 var(--yellow);
}

.admin-record.is-trashed {
  background: #f7f7f4;
  border-color: rgba(139, 31, 31, 0.24);
  box-shadow: inset 4px 0 0 #8b1f1f;
}

.admin-record header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 1rem;
}

.admin-record header p {
  margin-bottom: 0.25rem;
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-record h3 {
  color: var(--green-950);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.1;
}

.admin-record header > div:first-child > span {
  color: var(--muted);
  font-weight: 800;
}

.admin-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.admin-arrival,
.admin-status,
.admin-payment {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-arrival {
  color: var(--green-950);
  background: var(--green-200);
}

.admin-status {
  color: var(--green-950);
  background: var(--yellow);
}

.admin-status.is-attivo,
.admin-status.is-completato {
  color: var(--white);
  background: var(--green-800);
}

.admin-status.is-scaduto,
.admin-status.is-terminato,
.admin-status.is-annullato,
.admin-status.is-cestinato {
  color: var(--white);
  background: #8b1f1f;
}

.admin-payment {
  color: var(--green-950);
  background: #e7ece8;
}

.admin-payment.is-non_pagato {
  color: #6f5100;
  background: #fff0a8;
}

.admin-payment.is-in_attesa {
  color: #174f68;
  background: #d9f1fb;
}

.admin-payment.is-pagato {
  color: var(--white);
  background: var(--green-800);
}

.admin-payment.is-fallito,
.admin-payment.is-annullato {
  color: var(--white);
  background: #8b1f1f;
}

.admin-payment.is-verifica {
  color: #5c3b00;
  background: #ffd99b;
}

.admin-record-contact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 0.55rem 1rem;
  padding: 0.75rem;
  color: var(--green-950);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-record-contact strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.admin-record-contact a {
  color: var(--green-800);
  font-weight: 900;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 0.16rem;
}

.admin-record-contact > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-record-contact > span {
  display: block;
  color: var(--green-950);
  font-weight: 800;
}

.admin-service-detail {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.admin-service-detail > strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.admin-service-detail p {
  margin-bottom: 0.5rem;
  color: var(--green-950);
  font-weight: 800;
  line-height: 1.5;
}

.admin-service-detail ul {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--green-800);
  font-weight: 800;
}

[data-request-code] {
  overflow-wrap: anywhere;
}

.admin-record-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.7rem;
}

.admin-record-metrics span {
  min-height: 74px;
  padding: 0.75rem;
  color: var(--green-950);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.admin-record-metrics strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.admin-record-metrics .is-warning {
  border-color: rgba(214, 172, 0, 0.45);
  background: rgba(255, 212, 0, 0.18);
}

.admin-record-metrics .is-danger {
  color: #721919;
  border-color: rgba(139, 31, 31, 0.32);
  background: #fff0ed;
}

.admin-record-metrics .is-good {
  border-color: rgba(18, 79, 73, 0.25);
  background: #eff8f2;
}

.admin-record-form {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  align-items: end;
  min-width: 0;
}

.admin-record-form textarea {
  resize: vertical;
}

.admin-record-form :disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.admin-form-note {
  grid-column: 1 / -1;
  padding: 0.75rem;
  color: #6f5100;
  background: #fff7cf;
  border: 1px solid rgba(214, 172, 0, 0.35);
  border-radius: var(--radius);
  font-weight: 800;
}

.admin-record-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  grid-column: 1 / -1;
}

.admin-record-actions .button.secondary {
  color: var(--green-950);
  border-color: rgba(7, 31, 31, 0.28);
  background: #eef5ee;
}

.admin-record-actions .button.secondary:hover,
.admin-record-actions .button.secondary:focus-visible {
  background: #dfeadd;
}

.admin-record-actions .button[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
}

@media (max-width: 1480px) {
  .site-header {
    padding: 0 1rem;
  }

  .brand {
    min-width: 176px;
  }

  .site-nav {
    gap: 0.62rem;
    font-size: 0.76rem;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 1240px) {
  .site-header {
    padding: 0 1rem;
  }

  .site-nav {
    gap: 0.7rem;
    font-size: 0.78rem;
  }

  .header-cta {
    display: none;
  }

  .cart-button {
    margin-left: auto;
  }

  .price-grid,
  .testimonial-grid,
  .schedule-strip,
  .contact-grid,
  .product-grid,
  .mini-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .admin-new-form,
  .admin-filters,
  .admin-record-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .admin-record-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .professional-grid,
  .booking-layout,
  .contact-request,
  .blog-grid,
  .performance-layout,
  .professional-detail {
    grid-template-columns: 1fr;
  }

  .page-shop .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-page .professional-detail .media-block {
    position: relative;
    top: auto;
    min-height: 360px;
    max-height: 520px;
  }
}

@media (max-width: 1100px) {
  :root {
    --header: 68px;
  }

  .site-header {
    justify-content: space-between;
  }

  .brand {
    min-width: 0;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 42px;
    padding: 0 0.8rem;
    color: var(--green-950);
    border: 1px solid rgba(7, 31, 31, 0.28);
    border-radius: var(--radius);
    background: transparent;
    font-weight: 800;
  }

  .cart-button {
    order: 2;
    margin-left: 0;
    min-width: 44px;
    padding: 0 0.65rem;
    color: var(--white);
    background: var(--green-950);
    font-size: 0;
  }

  .cart-button span {
    font-size: 0.78rem;
  }

  .cart-button .cart-label {
    display: none;
  }

  .menu-toggle {
    order: 3;
  }

  .menu-toggle .menu-lines {
    display: grid;
    gap: 4px;
    width: 18px;
  }

  .menu-toggle .menu-lines span {
    display: block;
    width: 16px;
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: fixed;
    inset: var(--header) 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    align-items: start;
    justify-content: start;
    gap: 0;
    max-height: calc(100svh - var(--header));
    overflow: auto;
    padding: 1rem;
    background: var(--yellow);
    border-top: 1px solid rgba(7, 31, 31, 0.18);
  }

  .nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    min-height: 42px;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(7, 31, 31, 0.12);
  }

  .site-nav a[href="/concorsi"],
  .site-nav a[href="/pv-fit"] {
    justify-content: center;
    min-height: 46px;
    margin: 0.12rem 0;
    padding: 0.75rem 0.9rem;
    background: var(--green-950);
    color: var(--yellow);
    border-color: rgba(7, 31, 31, 0.3);
  }

  .hero {
    min-height: calc(86svh - var(--header));
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 31, 31, 0.96), rgba(7, 31, 31, 0.82)),
      linear-gradient(0deg, rgba(7, 31, 31, 0.76), rgba(7, 31, 31, 0.12) 55%);
  }

  .hero-content {
    width: calc(100% - 2rem);
    margin-left: 1rem;
    padding: 4.5rem 0 3.4rem;
  }

  .hero-content::before {
    inset: 3.3rem -0.8rem 2.6rem -0.8rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.38) 72%, rgba(0, 0, 0, 0.08));
  }

  .hero h1 {
    font-size: 4.2rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts span {
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .section {
    padding: 3.6rem 1rem;
  }

  .blog-teaser {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .blog-teaser .button {
    width: fit-content;
  }

  .split-section,
  .split-section.alt {
    grid-template-columns: 1fr;
    width: calc(100% - 2rem);
  }

  .home-professionals-cta {
    grid-template-columns: 1fr;
  }

  .home-professionals-cta .media-block {
    min-height: 300px;
  }

  .detail-page .detail-hero {
    min-height: 420px;
    padding: max(4.5rem, calc(var(--header) + 1.2rem)) 1rem 3rem;
  }

  .detail-page .detail-hero::after {
    background:
      linear-gradient(90deg, rgba(3, 15, 15, 0.99), rgba(7, 31, 31, 0.92)),
      linear-gradient(0deg, rgba(3, 15, 15, 0.9), rgba(7, 31, 31, 0.26) 55%);
  }

  .detail-page .detail-hero .section-heading::before {
    inset: -0.9rem -0.8rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.52) 78%, rgba(0, 0, 0, 0.16));
  }

  .detail-page .detail-hero .section-heading h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
    line-height: 0.92;
  }

  .detail-page .split-section,
  .detail-page .split-section.alt,
  .detail-page .professional-detail {
    width: min(1180px, calc(100% - 2.3rem));
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 1fr;
  }

  .detail-page .media-block {
    min-height: 300px;
  }

  .detail-page .professional-detail .media-block {
    position: relative;
    top: auto;
    min-height: 260px;
    max-height: 340px;
  }

  .detail-page .professional-detail .mini-product-grid {
    grid-template-columns: 1fr;
  }

  .page-performance .performance-layout .mini-product-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .section-copy h2 {
    font-size: 2.7rem;
  }

  .detail-page .section-copy h2,
  .detail-page .section-heading h2,
  .detail-page .professionals-teaser .section-heading h2 {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 2.55rem);
    line-height: 1.02;
    text-wrap: balance;
    overflow-wrap: normal;
  }

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

  .macro-shortcuts {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin: -0.7rem auto 1rem;
  }

  .macro-shortcuts a {
    min-height: 68px;
    padding: 0.8rem 0.95rem;
  }

  .offer-card img {
    min-height: 210px;
  }

  .offer-card div {
    padding: 1.15rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.04)), rgba(7, 31, 31, 0.86);
  }

  .offer-card h3 {
    font-size: 2rem;
    line-height: 1.02;
  }

  .price-grid,
  .price-grid.two,
  .testimonial-grid,
  .schedule-strip,
  .contact-grid,
  .site-footer,
  .gallery-band,
  .admin-stats,
  .product-grid,
  .mini-product-grid,
  .page-performance .performance-layout .mini-product-grid,
  .professional-detail .mini-product-grid,
  .page-shop .product-grid {
    grid-template-columns: 1fr;
  }

  .gallery-band img {
    height: 250px;
  }

  .professional-card,
  .blog-card {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .professional-card img,
  .blog-card img {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 220px;
    max-height: 320px;
    object-fit: cover;
  }

  .blog-card div {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: start;
    padding: 1.15rem;
    background: var(--paper);
  }

  .blog-card h2,
  .blog-card h3 {
    font-size: 1.8rem;
    line-height: 1.02;
  }

  .compact-prices article,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .shop-tools {
    display: grid;
    align-items: stretch;
  }

  .shop-tools label {
    width: 100%;
  }

  .product-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    align-items: stretch;
  }

  .product-actions .text-action {
    width: 100%;
    min-height: 48px;
    padding: 0.5rem 0.85rem;
  }

  .cart-drawer {
    width: 100%;
  }

  .admin-topbar {
    display: grid;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-topbar > div,
  .admin-actions {
    width: 100%;
    min-width: 0;
  }

  .admin-dashboard h1 {
    font-size: 2.35rem;
    overflow-wrap: anywhere;
  }

  .admin-actions {
    display: grid;
  }

  .admin-section-head,
  .admin-record header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-record header,
  .admin-record-contact {
    grid-template-columns: 1fr;
  }

  .admin-badges {
    justify-content: flex-start;
  }

  .admin-new-form,
  .admin-filters,
  .admin-record-form,
  .admin-record-metrics {
    grid-template-columns: 1fr;
  }

  .admin-wide,
  .admin-record-actions {
    grid-column: auto;
  }

  .admin-record-actions {
    display: grid;
  }

  .admin-view-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-view-tabs button {
    justify-content: center;
  }

  .contact-form label:nth-of-type(4),
  .contact-form label:nth-of-type(5),
  .contact-form label:nth-of-type(6),
  .contact-form button {
    grid-column: auto;
  }

  .contact-panel {
    padding: 2rem 1rem;
  }

  .contact-panel h2 {
    font-size: 2.5rem;
  }

  .site-footer > p {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .site-header {
    gap: 0.35rem;
    padding: 0 0.55rem;
  }

  .brand img {
    width: 34px;
    height: 38px;
  }

  .brand span {
    font-size: 1.12rem;
  }

  .menu-toggle {
    min-width: 44px;
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .menu-toggle > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .cart-button {
    min-width: 44px;
    padding: 0 0.5rem;
  }

  .cookie-notice {
    align-items: stretch;
    flex-direction: column;
    right: 0.75rem;
    left: 0.75rem;
    bottom: 0.75rem;
    width: auto;
    max-height: min(42svh, 300px);
    padding: 0.8rem;
    gap: 0.65rem;
    overflow: auto;
  }

  .cookie-notice .button {
    width: 100%;
    min-width: 0;
    min-height: 42px;
  }

  .cookie-notice p {
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .legal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-table-wrap {
    overflow-x: visible;
  }

  .legal-table {
    display: block;
    min-width: 0;
  }

  .legal-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .legal-table tbody,
  .legal-table tr,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table tr {
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(13, 36, 30, 0.12);
  }

  .legal-table tr:last-child {
    border-bottom: 0;
  }

  .legal-table td {
    display: grid;
    grid-template-columns: minmax(76px, 0.38fr) minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.52rem 0.8rem;
    border-bottom: 0;
    overflow-wrap: anywhere;
  }

  .legal-table td::before {
    color: var(--green-700);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .legal-table td:nth-child(1)::before {
    content: "Nome";
  }

  .legal-table td:nth-child(2)::before {
    content: "Tipo";
  }

  .legal-table td:nth-child(3)::before {
    content: "Finalità";
  }

  .legal-table td:nth-child(4)::before {
    content: "Durata";
  }

  .brand span {
    font-size: 1.12rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-content {
    padding: 3.8rem 0 2.8rem;
  }

  .hero-actions {
    display: grid;
  }

  .section-heading h2,
  .section-copy h2 {
    font-size: 2.1rem;
    line-height: 1.04;
  }

  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .blog-teaser {
    padding: 1.05rem;
    border-radius: var(--radius);
  }

  .blog-teaser .button {
    width: 100%;
  }

  .detail-hero {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .split-section,
  .split-section.alt,
  .home-professionals-cta {
    width: 100%;
  }

  .section-heading {
    margin-bottom: 1.6rem;
  }

  .macro-shortcuts span {
    font-size: 1.55rem;
  }

  .detail-page .section-copy h2,
  .detail-page .section-heading h2,
  .detail-page .professionals-teaser .section-heading h2 {
    font-size: clamp(1.85rem, 9vw, 2.25rem);
  }

  .product-modal {
    padding: 0.75rem;
  }

  .product-modal-panel {
    max-height: calc(100svh - 1.5rem);
    padding: 1rem;
  }

  .product-modal-panel h2 {
    font-size: clamp(1.9rem, 11vw, 2.65rem);
    line-height: 0.98;
  }

  .product-card,
  .mini-product {
    padding: 1.05rem;
  }

  .product-card h3,
  .mini-product h3 {
    font-size: 1.55rem;
    line-height: 1.02;
  }

  .contact-panel {
    padding: 1.5rem 1rem;
  }

  .offer-card p {
    font-size: 1.25rem;
  }

  .partner-lockup {
    height: 142px;
    border-radius: 6px;
  }

  .partner-lockup-divider {
    height: 66%;
  }

  .partners-label {
    grid-template-columns: 1fr;
  }

  .partners-label::after {
    width: 100%;
  }

  .whatsapp-float {
    right: 0.8rem;
    bottom: 0.8rem;
    justify-content: center;
    width: 50px;
    height: 50px;
    min-height: 50px;
    padding: 0;
    border-radius: 50%;
  }

  .whatsapp-float span {
    display: none;
  }

  .cart-drawer {
    width: 100%;
    padding: 0.95rem;
    padding-bottom: calc(0.95rem + env(safe-area-inset-bottom, 0px));
    gap: 0.75rem;
  }

  .cart-head {
    padding-bottom: 0.7rem;
  }

  .cart-head h2 {
    font-size: 2rem;
  }

  .cart-row {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }

  .cart-qty {
    justify-content: space-between;
    width: 100%;
  }

  .cart-head button,
  .cart-qty button,
  .cart-row-detail,
  .cart-remove {
    min-height: 42px;
  }

  .cart-qty input {
    width: min(82px, 32vw);
    min-height: 42px;
  }

  .cart-row-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .detail-page .professional-detail {
    gap: 0.9rem;
  }

  .detail-page .professional-detail .section-copy {
    padding: 1rem;
  }

  .blog-page-shell,
  .article-shell,
  .legal-shell {
    width: min(100% - 2.5rem, 1180px);
  }

  .article-body {
    padding: 1.15rem;
  }

  .cart-customer {
    gap: 0.62rem;
  }

  .cart-customer input {
    min-height: 42px;
  }
}

@media (max-width: 340px) {
  .cookie-notice {
    right: 0.5rem;
    left: 0.5rem;
    bottom: 0.5rem;
    max-height: min(38svh, 250px);
    padding: 0.65rem;
    gap: 0.5rem;
  }

  .cookie-notice p {
    font-size: 0.78rem;
    line-height: 1.32;
  }

  .cookie-notice a {
    min-height: 28px;
  }

  .cookie-notice .button {
    min-height: 38px;
    padding-inline: 0.65rem;
  }
}

@media (max-width: 390px) {
  .payment-choice-options {
    grid-template-columns: 1fr;
  }

  .cart-customer .payment-choice-option {
    min-height: 88px;
  }
}

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

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