/* Home page (e blocchi riusati in altre pagine: tessere categoria, offerte, destinazioni, domande frequenti, passi) */

/* ---------- hero ---------- */
.hero { position: relative; z-index: 3; isolation: isolate; margin-top: calc(-1 * var(--header-space)); padding-top: calc(var(--header-space) + clamp(20px, 4.5vw, 56px)); padding-bottom: clamp(36px, 6vw, 72px); color: #fff;
  background: radial-gradient(60% 55% at 76% 42%, rgba(214, 242, 76, .15), transparent 66%), radial-gradient(55% 70% at 0% 100%, rgba(39, 151, 111, .35), transparent 62%), linear-gradient(165deg, #0c4a3b 0%, #063026 48%, #04201a 100%);
  border-radius: 0 0 clamp(28px, 4vw, 52px) clamp(28px, 4vw, 52px); }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: clip; border-radius: inherit; }
.hero__road { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__grid { display: grid; gap: 8px; align-items: center; }
.hero__copy { display: grid; gap: 20px; align-content: center; padding-block: 8px; }
.hero h1 { display: grid; gap: 18px; font-size: clamp(3rem, 1.2rem + 6.4vw, 6rem); line-height: .96; letter-spacing: -.045em; font-weight: 700; }
.hero h1 .eyebrow { font-size: .8rem; letter-spacing: .09em; line-height: 1.2; font-weight: 600; }
.hero h1 .hl { position: relative; display: inline-block; color: var(--lime); }
.hero h1 .hl::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.08em; height: .14em; border-radius: 99px; background: var(--lime); opacity: .28; }
.hero__lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); line-height: 1.6; color: rgba(255, 255, 255, .8); max-width: 540px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 550; font-size: .95rem; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .i { color: var(--lime); }
.hero__visual { position: relative; display: grid; place-items: center; min-height: 0; margin-inline: calc(-1 * var(--gutter)); }
.hero__img { width: min(100%, 560px); height: auto; aspect-ratio: 1; object-fit: cover;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.hero__fallback { display: grid; place-items: center; width: min(78%, 420px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(214, 242, 76, .18), transparent); color: rgba(255, 255, 255, .22); }
.hero__fallback .i { width: 46%; height: 46%; stroke-width: .8; }
.hero__chip { position: absolute; left: clamp(16px, 6vw, 56px); bottom: 12%; display: inline-flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: .9rem; font-weight: 550; line-height: 1.2; transition: background-color .25s, transform .3s var(--ease); }
.hero__chip b { display: grid; font-weight: 700; color: var(--lime); font-size: 1.02rem; }
.hero__chip b small { font-size: .72rem; color: rgba(255, 255, 255, .7); font-weight: 500; }
.hero__chip .i { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--lime); color: var(--green-950); }
@media (hover: hover) { .hero__chip:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); } }
.hero__sticker { position: absolute; right: clamp(16px, 6vw, 60px); top: 6%; display: grid; place-items: center; align-content: center; width: 104px; height: 104px; border-radius: 50%; background: var(--lime); color: var(--green-950); text-align: center; transform: rotate(10deg); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); font-size: .66rem; line-height: 1.15; font-weight: 600; }
.hero__sticker b { font: 700 1.7rem/1 var(--font-display); letter-spacing: -.04em; }
.hero__bar { position: relative; z-index: 5; margin-top: clamp(8px, 2vw, 20px); }
/* Sotto i 1080 px la ricerca sale subito dopo il titolo (è l'azione principale: deve vedersi senza scorrere) e l'auto sta sotto, ritagliata più bassa */
@media (max-width: 1079.98px) {
  .hero { display: flex; flex-direction: column; }
  .hero__grid { display: contents; }
  .hero__copy { order: 1; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
  .hero__bar { order: 2; margin-top: 22px; }
  .hero__visual { order: 3; width: 100%; margin: 10px 0 0; }
  .hero__img { width: min(100%, 680px); aspect-ratio: 16 / 10; }
  .hero__fallback { width: min(60%, 320px); }
  .hero__chip { bottom: 6%; }
  .hero__sticker { top: 0; }
}
@media (max-width: 559.98px) {
  .hero__copy { gap: 14px; }
  .hero h1 { gap: 14px; }
  .hero__lead { font-size: 1rem; line-height: 1.5; }
  .hero__points { gap: 6px 18px; font-size: .9rem; }
}
@media (min-width: 1080px) {
  .hero { padding-bottom: clamp(48px, 5vw, 76px); }
  .hero__grid { grid-template-columns: 1.02fr 1fr; gap: 24px; min-height: 480px; }
  .hero__visual { margin: 0 -24px 0 0; }
  .hero__img { width: min(112%, 680px); }
  .hero__chip { left: 2%; bottom: 14%; }
  .hero__sticker { right: 2%; top: 2%; width: 118px; height: 118px; font-size: .72rem; }
  .hero__sticker b { font-size: 1.95rem; }
}

/* ---------- vantaggi ---------- */
.benefits { padding-top: clamp(40px, 6vw, 72px); }
.benefits__grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .benefits__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .benefits__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.benefit { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line-2); }
.benefit__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--lime-100); color: var(--green-800); margin-bottom: 6px; }
.benefit__ic .i { width: 26px; height: 26px; }
.benefit__t { font: 650 1.15rem/1.2 var(--font-display); letter-spacing: -.02em; }
.benefit p { color: var(--muted); font-size: .94rem; line-height: 1.55; }

/* ---------- categorie ---------- */
.cat-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.cat-tile { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line-2); overflow: clip; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
@media (hover: hover) { .cat-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); } .cat-tile:hover .cat-tile__media img { transform: scale(1.06); } .cat-tile:hover .cat-tile__text strong { color: var(--green-700); } }
.cat-tile__media { aspect-ratio: 16 / 10; background: radial-gradient(120% 90% at 50% 100%, #e8ebe5, #f4f5f1); overflow: hidden; }
.cat-tile__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transition: transform .7s var(--ease); }
.cat-tile__media .ph { border-radius: 0; }
.cat-tile__body { display: grid; gap: 10px; padding: 14px 16px 16px; position: relative; }
.cat-tile__icon { position: absolute; right: 14px; top: -22px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--lime); color: var(--green-950); box-shadow: var(--shadow-sm); }
.cat-tile__text { display: grid; gap: 3px; padding-right: 36px; }
.cat-tile__text strong { font: 650 1.12rem/1.2 var(--font-display); letter-spacing: -.02em; transition: color .2s; }
.cat-tile__text small { color: var(--muted); font-size: .84rem; line-height: 1.4; display: none; }
@media (min-width: 760px) { .cat-tile__text small { display: block; } }
.cat-tile__price { font-size: .86rem; color: var(--green-700); font-weight: 550; }
.cat-tile__price b { font-weight: 700; }

/* ---------- mappa nella home ---------- */
.map-section { background: var(--green-950); color: #fff; border-radius: clamp(28px, 4vw, 52px); margin-inline: clamp(8px, 1.5vw, 20px); overflow: clip; }
.map-section__grid { display: grid; gap: 32px; align-items: center; }
.map-section__copy { display: grid; gap: 20px; align-content: center; }
.map-section__copy h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); }
.map-section__copy > p { color: rgba(255, 255, 255, .78); font-size: 1.06rem; max-width: 480px; }
.stats { display: flex; gap: 12px; flex-wrap: wrap; }
.stats > div { display: grid; gap: 2px; min-width: 96px; padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.stats dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); font-weight: 600; }
.stats dd { font: 700 2rem/1 var(--font-display); color: var(--lime); letter-spacing: -.03em; }
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
.chip-dark small { opacity: .6; }
@media (hover: hover) { a.chip-dark:hover { background: var(--lime); color: var(--green-950); border-color: var(--lime); } }
.map-section__map { min-width: 0; }
.map { position: relative; width: 100%; height: clamp(340px, 52vw, 560px); border-radius: var(--r-xl); overflow: hidden; background: #dfe7e2; isolation: isolate; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.map-fallback { padding: 24px; color: var(--ink); }
@media (min-width: 1000px) { .map-section__grid { grid-template-columns: .8fr 1.2fr; gap: 56px; } .map { height: 580px; } }

/* ---------- passi ---------- */
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.step { position: relative; display: grid; gap: 10px; align-content: start; padding: 26px 24px 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line-2); }
.step__n { position: absolute; right: 18px; top: 10px; font: 700 4.4rem/1 var(--font-display); letter-spacing: -.06em; color: var(--paper-2); }
.step__ic { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--green-900); color: var(--lime); }
.step__ic .i { width: 28px; height: 28px; }
.step h3 { position: relative; font-size: 1.3rem; margin-top: 8px; }
.step p { position: relative; color: var(--muted); font-size: .95rem; }

/* ---------- offerte ---------- */
.offer-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .offer-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1100px) { .offer-grid { grid-template-columns: repeat(4, 1fr); } }
.offer-card { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: var(--r-lg); overflow: hidden; color: #fff; background: var(--green-900); isolation: isolate; }
.offer-card > img, .offer-card > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.offer-card > .ph { background: linear-gradient(135deg, var(--green-800), var(--green-950)); color: rgba(255, 255, 255, .2); }
@media (hover: hover) { .offer-card:hover > img { transform: scale(1.06); } }
.offer-card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 32, 26, .35) 0%, rgba(4, 32, 26, 0) 32%, rgba(4, 32, 26, .88) 100%); }
.offer-card__top { position: absolute; left: 16px; right: 16px; top: 16px; display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.offer-card__disc { font: 700 2rem/1 var(--font-display); letter-spacing: -.04em; color: var(--lime); text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.offer-card__body { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; gap: 6px; }
.offer-card__body strong { font: 650 1.4rem/1.15 var(--font-display); letter-spacing: -.02em; }
.offer-card__body small { color: rgba(255, 255, 255, .82); font-size: .9rem; }
.offer-card__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 650; font-size: .92rem; color: var(--lime); }
.offer-card__cta .i { transition: transform .25s var(--ease); }
@media (hover: hover) { .offer-card:hover .offer-card__cta .i { transform: translateX(4px); } }

@media (min-width: 700px) { .offer-card { aspect-ratio: 4 / 5; } }

/* ---------- destinazioni ---------- */
.dest-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .dest-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.dest { position: relative; display: block; aspect-ratio: 1 / 1.1; border-radius: var(--r-lg); overflow: hidden; color: #fff; background: var(--green-800); isolation: isolate; }
.dest > img, .dest > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.dest > .ph { background: linear-gradient(135deg, var(--green-700), var(--green-950)); color: rgba(255, 255, 255, .22); }
@media (hover: hover) { .dest:hover > img { transform: scale(1.07); } }
.dest__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 32, 26, 0) 40%, rgba(4, 32, 26, .85) 100%); }
.dest__txt { position: absolute; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 2px; }
.dest__txt strong { font: 650 1.35rem/1.1 var(--font-display); letter-spacing: -.02em; }
.dest__txt small { font-size: .8rem; color: rgba(255, 255, 255, .82); }

/* ---------- recensioni ---------- */
.review-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .review-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review { display: grid; gap: 14px; align-content: start; padding: 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line-2); }
.review blockquote { font-size: 1.02rem; line-height: 1.6; color: var(--ink-2); }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption span:last-child { display: grid; line-height: 1.25; }
.review small { color: var(--muted); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green-900); color: var(--lime); font-weight: 700; flex: none; }

/* ---------- domande frequenti ---------- */
.faq-section { display: grid; gap: 32px; }
.faq-section__intro { display: grid; gap: 16px; align-content: start; }
.faq-section__intro h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
@media (min-width: 960px) { .faq-section { grid-template-columns: .8fr 1.2fr; gap: 64px; } .faq-section__intro { position: sticky; top: calc(var(--header-space) + 12px); align-self: start; } }
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--white); border: 1px solid var(--line-2); border-radius: 20px; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--green-200); box-shadow: var(--shadow-sm); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 22px; cursor: pointer; font: 600 1.04rem/1.35 var(--font-body); list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .i { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--paper-2); transition: transform .3s var(--ease), background-color .2s; }
.faq__item[open] summary .i { transform: rotate(45deg); background: var(--lime); }
@media (hover: hover) { .faq__item summary:hover { color: var(--green-700); } }
.faq__a { padding: 0 22px 22px; color: var(--ink-2); line-height: 1.65; }
.faq__a p { max-width: 62ch; }

/* ---------- fascia finale ---------- */
.cta-band { margin-top: clamp(56px, 8vw, 100px); }
.cta-band__in { display: grid; gap: 22px; justify-items: start; align-items: center; padding: clamp(28px, 5vw, 52px); border-radius: var(--r-xl); background: var(--lime); color: var(--green-950); position: relative; overflow: hidden; isolation: isolate; }
.cta-band__in::after { content: ''; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, .35); z-index: -1; }
.cta-band__mark { width: 52px; height: 52px; }
.cta-band h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); }
.cta-band p { max-width: 460px; margin-top: 8px; font-size: 1.06rem; }
.cta-band .btn { background: var(--green-950); color: #fff; }
@media (min-width: 800px) { .cta-band__in { grid-template-columns: auto 1fr auto; gap: 32px; } }
@media (hover: hover) { .cta-band .btn:hover { background: var(--green-800); } }
.site-footer { margin-top: clamp(40px, 6vw, 72px); }

/* ---------- filiali (scheda) e stato di apertura ---------- */
.status { display: inline-flex; align-items: center; gap: 7px; font-size: .8125rem; font-weight: 600; color: #8e271e; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #d6403a; }
.status.is-open { color: var(--green-700); } .status.is-open i { background: var(--green-500); box-shadow: 0 0 0 4px rgba(39, 151, 111, .2); }
.branch-card { display: grid; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line-2); overflow: clip; box-shadow: var(--shadow-sm); }
.branch-card__media { aspect-ratio: 16 / 9; background: var(--paper-2); overflow: hidden; display: block; }
.branch-card__media img { width: 100%; height: 100%; object-fit: cover; }
.branch-card__body { display: grid; gap: 10px; padding: 18px 20px 20px; }
.branch-card h3 { font-size: 1.2rem; }
.branch-card__act { --gap: 18px; margin-top: 4px; }

.review__reply { display: grid; gap: 4px; margin-top: 4px; padding: 14px 16px; border-radius: 14px; background: var(--white); border-left: 3px solid var(--lime-700); font-size: .9rem; } .review__reply b { font-size: .8rem; letter-spacing: .02em; color: var(--green-800); } .review__reply p { color: var(--ink-2); line-height: 1.5; }
