/*----------------------------------------*/
/*  Garage 84 - stile del sito
/*  Si appoggia a style.css (base Bootstrap del template)
/*----------------------------------------*/
:root {
  --g84-green: #006d2a;
  --g84-green-dark: #004f1e;
  --g84-green-light: #e6f1ea;
  --g84-black: #0b0b0e;
  --g84-ink: #1d1f22;
  --g84-muted: #5c6168;
  --g84-line: #e4e7ea;
  --g84-bg-soft: #f4f6f5;
  --g84-radius: 14px;
  --g84-heading: 'Montserrat', 'Rubik', sans-serif;
}

body {
  font-family: 'Rubik', sans-serif;
  color: var(--g84-ink);
  background: #fff;
}
h1, h2, h3, h4, .g84-heading {
  font-family: var(--g84-heading);
  color: var(--g84-ink);
}
a { color: var(--g84-green); }
a:hover { color: var(--g84-green-dark); }
::selection { background: var(--g84-green); color: #fff; }

/* ---Bottoni--- */
.btn-g84 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--g84-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
  border: 2px solid var(--g84-green);
  background: var(--g84-green);
  color: #fff;
  transition: all .25s ease;
}
.btn-g84:hover { background: var(--g84-green-dark); border-color: var(--g84-green-dark); color: #fff; transform: translateY(-2px); }
.btn-g84.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-g84.btn-outline:hover { background: #fff; color: var(--g84-green); }
.btn-g84.btn-outline-dark { background: transparent; border-color: var(--g84-green); color: var(--g84-green); }
.btn-g84.btn-outline-dark:hover { background: var(--g84-green); color: #fff; }
.btn-g84.btn-whatsapp { background: #25d366; border-color: #25d366; }
.btn-g84.btn-whatsapp:hover { background: #1da851; border-color: #1da851; }
.btn-g84 i { font-size: 18px; }

/* ---Topbar--- */
.g84-topbar {
  background: var(--g84-black);
  color: #c9cdd2;
  font-size: 14px;
  padding: 9px 0;
}
.g84-topbar a { color: #fff; }
.g84-topbar a:hover { color: #7fd39f; }
.g84-topbar i { color: #2fb563; margin-right: 6px; }
.g84-topbar .sep { margin: 0 14px; opacity: .35; }

/* ---Header--- */
.main-header-area .header-middle { background: #fff; border-bottom: 1px solid var(--g84-line); }
.header-logo img { height: 66px; width: auto; }
.header-sticky.sticky .header-logo img { height: 54px; }
.main-nav > ul > li > a { line-height: 96px; font-family: var(--g84-heading); font-weight: 700; color: var(--g84-ink); position: relative; }
.header-sticky.sticky .main-nav > ul > li > a { line-height: 76px; }
.main-nav > ul > li > a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 28px; height: 3px;
  background: var(--g84-green); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.header-sticky.sticky .main-nav > ul > li > a::after { bottom: 20px; }
.main-nav > ul > li.active > a,
.main-nav > ul > li:hover > a { color: var(--g84-green); }
.main-nav > ul > li.active > a::after,
.main-nav > ul > li:hover > a::after { transform: scaleX(1); }
.header-middle-wrap { display: flex; align-items: center; justify-content: space-between; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .call-label { font-size: 12px; color: var(--g84-muted); text-transform: uppercase; letter-spacing: .06em; line-height: 1.2; }
.header-cta .call-number { font-family: var(--g84-heading); font-weight: 800; font-size: 19px; color: var(--g84-ink); line-height: 1.2; }
.header-cta .call-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--g84-green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px;
}
.header-cta a:hover .call-number { color: var(--g84-green); }
.mobile-menu_btn { font-size: 32px; color: var(--g84-ink); }
@media (max-width: 991.98px) {
  .header-logo img { height: 52px; }
}

/* ---Menu mobile--- */
.mobile-menu_wrapper .offcanvas-logo { padding: 0 30px 20px; }
.mobile-menu_wrapper .offcanvas-logo img { height: 70px; width: auto; }
.mobile-menu .mm-text { font-family: var(--g84-heading); font-weight: 700; text-transform: uppercase; }
.offcanvas-contact { padding: 24px 30px; border-top: 1px solid var(--g84-line); margin-top: 20px; }
.offcanvas-contact li { margin-bottom: 12px; font-size: 15px; }
.offcanvas-contact i { width: 22px; color: var(--g84-green); }
.offcanvas-contact a { color: var(--g84-ink); }

/* ---Hero--- */
.g84-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.g84-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5, 8, 6, .92) 0%, rgba(5, 8, 6, .78) 42%, rgba(0, 109, 42, .25) 100%);
}
.g84-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px;
  background: #fff; clip-path: polygon(0 100%, 100% 30%, 100% 100%);
}
.g84-hero .container { position: relative; z-index: 2; }
.g84-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0, 109, 42, .9); padding: 8px 18px; border-radius: 40px;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px;
}
.g84-hero h1 {
  color: #fff; font-weight: 900; font-style: italic; text-transform: uppercase;
  font-size: clamp(38px, 6vw, 74px); line-height: 1.02; margin-bottom: 22px;
}
.g84-hero h1 span { color: #2fb563; display: block; }
.g84-hero .lead { font-size: 20px; color: #dfe3e0; max-width: 560px; margin-bottom: 34px; }
.g84-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.g84-hero .hero-badges { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 44px; font-size: 15px; color: #dfe3e0; }
.g84-hero .hero-badges i { color: #2fb563; margin-right: 8px; }
@media (max-width: 767.98px) {
  .g84-hero { min-height: 560px; padding: 70px 0 110px; }
  .g84-hero .lead { font-size: 17px; }
}

/* ---Sezioni--- */
.g84-section { padding: 100px 0; }
.g84-section.soft { background: var(--g84-bg-soft); }
.g84-section.dark { background: var(--g84-black); color: #c9cdd2; }
.g84-section.dark h2, .g84-section.dark h3 { color: #fff; }
@media (max-width: 767.98px) { .g84-section { padding: 70px 0; } }
.section-head { margin-bottom: 50px; }
.section-head .kicker {
  display: inline-block; color: var(--g84-green); font-weight: 700; font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px;
}
.section-head .kicker::before { content: ''; display: inline-block; width: 30px; height: 3px; background: var(--g84-green); vertical-align: middle; margin-right: 10px; }
.section-head h2 { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 0; }
.section-head p { color: var(--g84-muted); font-size: 17px; margin: 16px 0 0; max-width: 640px; }
.section-head.text-center p { margin-left: auto; margin-right: auto; }
.g84-section.dark .section-head p { color: #aab0b6; }

/* ---Card servizi--- */
.service-card {
  background: #fff; border-radius: var(--g84-radius); overflow: hidden; height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .07); transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .12); }
.service-card .thumb { position: relative; aspect-ratio: 4 / 3; overflow: visible; z-index: 2; }
.service-card .thumb-img { position: absolute; inset: 0; overflow: hidden; background: #ddd; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .icon {
  position: absolute; left: 20px; bottom: -26px; z-index: 2147483647; width: 56px; height: 56px; border-radius: 50%;
  background: var(--g84-green); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 22px; border: 4px solid #fff;
}
.service-card .body { position: relative; z-index: 1; padding: 40px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 19px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.service-card p { color: var(--g84-muted); font-size: 15px; margin-bottom: 18px; flex: 1; }
.service-card .more { font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--g84-green); }
.service-card .more i { margin-left: 6px; transition: margin .2s; }
.service-card:hover .more i { margin-left: 10px; }

/* ---Chi siamo / immagine + testo--- */
.media-frame { position: relative; }
.media-frame img { width: 100%; border-radius: var(--g84-radius); display: block; }
.media-frame .frame-badge {
  position: absolute; right: -10px; bottom: -24px; background: var(--g84-green); color: #fff;
  padding: 18px 24px; border-radius: var(--g84-radius); box-shadow: 0 14px 30px rgba(0, 109, 42, .35);
  font-family: var(--g84-heading); font-weight: 800; text-transform: uppercase; line-height: 1.2; max-width: 240px;
}
.media-frame .frame-badge small { display: block; font-weight: 500; font-size: 12px; letter-spacing: .1em; opacity: .85; }
@media (max-width: 575.98px) { .media-frame .frame-badge { right: 10px; } }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { position: relative; padding-left: 36px; margin-bottom: 14px; font-size: 16px; }
.check-list li::before {
  content: '\f00c'; font-family: FontAwesome; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--g84-green); color: #fff;
  font-size: 12px; display: flex; align-items: center; justify-content: center;
}

/* ---Punti di forza--- */
.feature-item { text-align: center; padding: 34px 22px; border-radius: var(--g84-radius); height: 100%; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: background .3s; }
.feature-item:hover { background: rgba(0, 109, 42, .25); }
.feature-item .f-icon {
  width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 18px; background: var(--g84-green);
  color: #fff; font-size: 30px; display: flex; align-items: center; justify-content: center; transform: rotate(-6deg);
}
.feature-item .f-icon i { transform: rotate(6deg); }
.feature-item h3 { font-size: 18px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.feature-item p { font-size: 15px; margin: 0; color: #aab0b6; }

/* ---Banda CTA--- */
.g84-cta {
  background: var(--g84-green) url('../images/foto/piazzale.jpg') center / cover no-repeat;
  background-image: image-set(url('../images/foto/piazzale.webp') type('image/webp'), url('../images/foto/piazzale.jpg') type('image/jpeg'));
  position: relative; color: #fff; padding: 80px 0;
}
.g84-cta::before { content: ''; position: absolute; inset: 0; background: rgba(0, 79, 30, .9); }
.g84-cta .container { position: relative; }
.g84-cta h2 { color: #fff; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(28px, 4vw, 42px); margin-bottom: 10px; }
.g84-cta p { font-size: 18px; color: #d7eadf; margin: 0; }
.g84-cta .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
@media (max-width: 991.98px) { .g84-cta .cta-actions { justify-content: flex-start; margin-top: 26px; } }

/* ---Info contatti--- */
.info-card {
  display: flex; gap: 18px; align-items: flex-start; padding: 28px; background: #fff;
  border-radius: var(--g84-radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .06); height: 100%;
}
.info-card .i-icon {
  flex: 0 0 56px; height: 56px; border-radius: 50%; background: var(--g84-green-light); color: var(--g84-green);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.info-card h3 { font-size: 16px; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; }
.info-card p { margin: 0; color: var(--g84-muted); }
.info-card a { color: var(--g84-ink); font-weight: 600; }
.info-card a:hover { color: var(--g84-green); }

/* ---Mappa (caricata su richiesta)--- */
.map-box {
  position: relative; border-radius: var(--g84-radius); overflow: hidden; min-height: 420px; height: 100%;
  background: var(--g84-black) url('../images/foto/hero-notte.jpg') center / cover no-repeat;
  background-image: image-set(url('../images/foto/hero-notte.webp') type('image/webp'), url('../images/foto/hero-notte.jpg') type('image/jpeg'));
}
.map-box::before { content: ''; position: absolute; inset: 0; background: rgba(5, 8, 6, .72); }
.map-box .map-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 30px; color: #fff; z-index: 1;
}
.map-box .map-consent i.fa-map-marker { font-size: 44px; color: #2fb563; margin-bottom: 14px; }
.map-box .map-consent p { color: #c9cdd2; font-size: 14px; max-width: 380px; margin: 10px 0 20px; }
.map-box .map-consent strong { font-size: 18px; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }

/* ---Form contatti--- */
.contact-panel { background: #fff; border-radius: var(--g84-radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .07); padding: 40px; }
@media (max-width: 575.98px) { .contact-panel { padding: 26px; } }
.contact-panel h2, .contact-panel h3 { font-weight: 800; text-transform: uppercase; font-size: 22px; }
.g84-form label { font-weight: 600; font-size: 14px; margin-bottom: 6px; display: block; }
.g84-form .form-control, .g84-form .form-select {
  border: 1px solid var(--g84-line); border-radius: 10px; padding: 13px 16px; font-size: 15px; background-color: #fafbfb;
}
.g84-form .form-control:focus, .g84-form .form-select:focus { border-color: var(--g84-green); box-shadow: 0 0 0 .2rem rgba(0, 109, 42, .15); background-color: #fff; }
.g84-form textarea.form-control { min-height: 140px; }
.g84-form .form-check-input:checked { background-color: var(--g84-green); border-color: var(--g84-green); }
.g84-form .form-note { font-size: 13px; color: var(--g84-muted); }
.g84-form .form-error { color: #b42318; font-size: 14px; margin-top: 12px; display: none; }

/* ---Header pagine interne--- */
.page-hero {
  position: relative; padding: 110px 0 120px; color: #fff;
  background: var(--g84-black) center / cover no-repeat;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5, 8, 6, .93), rgba(5, 8, 6, .7) 60%, rgba(0, 109, 42, .45)); }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 50px; background: #fff; clip-path: polygon(0 100%, 100% 20%, 100% 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(34px, 5vw, 58px); margin-bottom: 12px; }
.page-hero .crumbs { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; font-size: 15px; color: #c9cdd2; }
.page-hero .crumbs a { color: #fff; }
.page-hero .crumbs a:hover { color: #7fd39f; }
.page-hero .crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }

/* ---Dettaglio servizi--- */
.service-detail + .service-detail { margin-top: 100px; }
@media (max-width: 767.98px) { .service-detail + .service-detail { margin-top: 70px; } }
.service-detail .s-num { font-family: var(--g84-heading); font-weight: 900; font-style: italic; font-size: 64px; line-height: 1; color: var(--g84-green-light); -webkit-text-stroke: 2px var(--g84-green); }
.service-detail h2 { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 36px); margin: 8px 0 16px; }
.service-detail p { color: var(--g84-muted); font-size: 17px; }
.service-detail .img-wrap img { width: 100%; border-radius: var(--g84-radius); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 18px 40px rgba(0, 0, 0, .12); }

/* ---Testo legale--- */
.legal-text h2 { font-size: 22px; font-weight: 800; margin: 34px 0 12px; }
.legal-text p, .legal-text li { color: #3d4248; font-size: 16px; line-height: 1.7; }

/* ---Footer--- */
.g84-footer { background: var(--g84-black); color: #aab0b6; font-size: 15px; }
.g84-footer .footer-main { padding: 80px 0 50px; border-top: 5px solid var(--g84-green); }
.g84-footer .footer-logo img { height: 92px; width: auto; }
.g84-footer h3 { color: #fff; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 22px; }
.g84-footer ul { list-style: none; padding: 0; margin: 0; }
.g84-footer li { margin-bottom: 12px; }
.g84-footer a { color: #d8dcdf; }
.g84-footer a:hover { color: #2fb563; }
.g84-footer .contact-list li { display: flex; gap: 12px; }
.g84-footer .contact-list i { color: #2fb563; width: 18px; margin-top: 4px; }
.g84-footer .links i { color: #2fb563; font-size: 11px; margin-right: 8px; }
.g84-footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: 14px; }

/* ---Pulsanti flottanti--- */
.float-actions { position: fixed; right: 18px; bottom: 90px; z-index: 98; display: flex; flex-direction: column; gap: 12px; }
.float-actions a {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); transition: transform .2s;
}
.float-actions a:hover { transform: scale(1.08); color: #fff; }
.float-actions .fa-whatsapp-btn { background: #25d366; }
.float-actions .fa-phone-btn { background: var(--g84-green); }
.scroll-to-top { background-color: var(--g84-green); }

/* ---404--- */
.g84-404 { padding: 120px 0; text-align: center; }
.g84-404 .big { font-family: var(--g84-heading); font-weight: 900; font-style: italic; font-size: clamp(110px, 20vw, 200px); line-height: 1; color: var(--g84-green); }
.g84-404 h1 { font-weight: 900; text-transform: uppercase; font-style: italic; }

/* ---Preloader--- */
.preloader-area-wrap .spinner div { background-color: var(--g84-green); }

/*----------------------------------------*/
/*  v2 - pagine PHP
/*----------------------------------------*/
.btn-g84.btn-sm-g84 { padding: 11px 22px; font-size: 14px; }
.btn-g84.btn-lg-g84 { padding: 17px 36px; font-size: 16px; }
.btn-g84.btn-light-g84 { background: #fff; border-color: #fff; color: var(--g84-green); }
.btn-g84.btn-light-g84:hover { background: var(--g84-black); border-color: var(--g84-black); color: #fff; }
.page-hero .page-hero-sub { font-size: 19px; color: #dfe3e0; margin-bottom: 18px; }

/* ---Prenotazione rapida (home)--- */
.quick-book { position: relative; z-index: 3; margin-top: -60px; }
.quick-book-box {
  background: #fff; border-radius: var(--g84-radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .14);
  padding: 26px 28px; display: flex; align-items: center; gap: 28px;
}
.qb-title { flex: 0 0 auto; }
.qb-title strong { display: block; font-family: var(--g84-heading); font-weight: 900; font-style: italic; font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.kicker-sm { color: var(--g84-green); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.qb-options { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; flex: 1; }
.qb-option {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  padding: 14px 8px; border-radius: 12px; border: 1px solid var(--g84-line); color: var(--g84-ink);
  font-size: 13px; font-weight: 600; line-height: 1.25; transition: all .2s;
}
.qb-option i { font-size: 22px; color: var(--g84-green); transition: color .2s; }
.qb-option:hover { background: var(--g84-green); border-color: var(--g84-green); color: #fff; transform: translateY(-3px); }
.qb-option:hover i { color: #fff; }
@media (max-width: 1199.98px) { .quick-book-box { flex-direction: column; align-items: stretch; } .qb-title { text-align: center; } }
@media (max-width: 767.98px) { .qb-options { grid-template-columns: repeat(2, 1fr); } .quick-book { margin-top: -40px; } }
@media (min-width: 768px) and (max-width: 991.98px) { .qb-options { grid-template-columns: repeat(3, 1fr); } }
.quick-book + .g84-section { padding-top: 90px; }

/* ---Come funziona--- */
.step-item { position: relative; text-align: center; padding: 36px 24px 28px; background: #fff; border-radius: var(--g84-radius); border: 1px solid var(--g84-line); height: 100%; }
.g84-section.soft .step-item { border-color: transparent; box-shadow: 0 10px 30px rgba(0, 0, 0, .05); }
.step-item .step-num {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%;
  background: var(--g84-black); color: #fff; font-family: var(--g84-heading); font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.step-item .step-icon { width: 70px; height: 70px; margin: 6px auto 18px; border-radius: 50%; background: var(--g84-green-light); color: var(--g84-green); font-size: 28px; display: flex; align-items: center; justify-content: center; }
.step-item h3 { font-size: 18px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.step-item p { color: var(--g84-muted); font-size: 15px; margin: 0; }
@media (min-width: 992px) {
  .steps-row > div:not(:last-child) .step-item::after {
    content: '\f105'; font-family: FontAwesome; position: absolute; right: -19px; top: 50%; transform: translateY(-50%);
    font-size: 26px; color: var(--g84-green); z-index: 1;
  }
}

/* ---FAQ--- */
.g84-accordion .accordion-item { border: 1px solid var(--g84-line); border-radius: 12px !important; margin-bottom: 12px; overflow: hidden; background: #fff; }
.g84-accordion .accordion-button { font-family: var(--g84-heading); font-weight: 700; font-size: 16px; color: var(--g84-ink); padding: 20px 22px; background: #fff; box-shadow: none; }
.g84-accordion .accordion-button:not(.collapsed) { color: var(--g84-green); background: var(--g84-green-light); }
.g84-accordion .accordion-button:focus { box-shadow: none; }
.g84-accordion .accordion-body { color: var(--g84-muted); font-size: 15px; line-height: 1.7; padding: 18px 22px 22px; }
.g84-accordion .accordion-header { margin: 0; }

/* ---Valori--- */
.value-card { background: #fff; border-radius: var(--g84-radius); padding: 32px 26px; height: 100%; box-shadow: 0 10px 30px rgba(0, 0, 0, .05); border-bottom: 4px solid var(--g84-green); transition: transform .3s; }
.value-card:hover { transform: translateY(-6px); }
.value-card .v-icon { width: 60px; height: 60px; border-radius: 14px; background: var(--g84-green); color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.value-card h3 { font-size: 19px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.value-card p { color: var(--g84-muted); font-size: 15px; margin: 0; }

/* ---Galleria--- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.gallery-grid .g-item { position: relative; margin: 0; border-radius: var(--g84-radius); overflow: hidden; }
.gallery-grid .g-wide { grid-column: span 2; grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid .g-item:hover img { transform: scale(1.06); }
.gallery-grid figcaption {
  position: absolute; left: 14px; bottom: 14px; background: rgba(11, 11, 14, .8); color: #fff; padding: 6px 14px; border-radius: 30px;
  font-size: 13px; font-weight: 600;
}
@media (max-width: 767.98px) { .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }

/* ---Avvisi--- */
.urgent-note { background: #fff6e5; border: 1px solid #ffd58a; color: #6b4a00; border-radius: 10px; padding: 14px 18px; font-size: 15px; margin-top: 18px; }
.urgent-note i { margin-right: 8px; color: #e09400; }
.urgent-note a { font-weight: 700; color: #6b4a00; text-decoration: underline; }
.alert-g84 { border-radius: 10px; padding: 14px 18px; margin-bottom: 24px; font-size: 15px; }
.alert-g84 i { margin-right: 8px; }
.alert-g84.error { background: #fdecea; color: #8a1c12; border: 1px solid #f5c2bc; }
.alert-g84.success { background: var(--g84-green-light); color: var(--g84-green-dark); border: 1px solid #b7d7c3; }

/* ---Moduli--- */
.req { color: #c0392b; }
.field-error { color: #b42318; font-size: 13px; margin-top: 6px; }
.g84-form .form-control.is-invalid, .g84-form .form-select.is-invalid { border-color: #d9534f; background-image: none; }
.g84-form .form-check-input.is-invalid { border-color: #d9534f; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-step { background: #fff; border-radius: var(--g84-radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .06); padding: 32px; margin-bottom: 24px; }
@media (max-width: 575.98px) { .form-step { padding: 22px; } }
.step-title, h2.step-title { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; text-transform: uppercase; margin-bottom: 22px; }
.step-title span { width: 34px; height: 34px; border-radius: 50%; background: var(--g84-green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.service-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 767.98px) { .service-picker { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .service-picker { grid-template-columns: 1fr; } }
.sp-option { margin: 0; cursor: pointer; }
.sp-option input { position: absolute; opacity: 0; pointer-events: none; }
.sp-box { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 16px; border: 2px solid var(--g84-line); border-radius: 12px; transition: all .2s; background: #fafbfb; }
.sp-box i { font-size: 24px; color: var(--g84-green); margin-bottom: 6px; }
.sp-box strong { font-family: var(--g84-heading); font-size: 15px; line-height: 1.25; }
.sp-box small { color: var(--g84-muted); font-size: 13px; line-height: 1.35; }
.sp-option:hover .sp-box { border-color: #9cc9ad; }
.sp-option input:checked + .sp-box { border-color: var(--g84-green); background: var(--g84-green-light); box-shadow: 0 0 0 3px rgba(0, 109, 42, .12); }
.sp-option input:focus-visible + .sp-box { outline: 3px solid rgba(0, 109, 42, .4); }

/* ---Riepilogo invio--- */
.success-box { text-align: center; background: #fff; border-radius: var(--g84-radius); box-shadow: 0 14px 40px rgba(0, 0, 0, .08); padding: 48px 36px; }
.success-box.compact { box-shadow: none; padding: 30px 10px; }
.success-icon { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; background: var(--g84-green); color: #fff; font-size: 36px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px var(--g84-green-light); }
.success-box h2 { font-weight: 900; font-style: italic; text-transform: uppercase; }
.success-box p { color: var(--g84-muted); font-size: 17px; }
.booking-code { display: inline-block; background: var(--g84-black); color: #c9cdd2; padding: 10px 22px; border-radius: 40px; margin: 8px 0 26px; }
.booking-code strong { color: #fff; letter-spacing: .06em; margin-left: 6px; }
.summary-list { display: grid; grid-template-columns: 160px 1fr; text-align: left; max-width: 520px; margin: 0 auto; border-top: 1px solid var(--g84-line); }
.summary-list dt, .summary-list dd { padding: 10px 0; border-bottom: 1px solid var(--g84-line); margin: 0; font-size: 15px; }
.summary-list dt { color: var(--g84-muted); font-weight: 500; }

/* ---Colonna laterale prenotazione--- */
.booking-aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.aside-card { background: var(--g84-bg-soft); border-radius: var(--g84-radius); padding: 26px; }
.aside-card.dark { background: var(--g84-black); color: #c9cdd2; }
.aside-card.dark h3 { color: #fff; }
.aside-card h3 { font-size: 17px; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.aside-card p { color: var(--g84-muted); font-size: 15px; }
.aside-steps { padding-left: 20px; margin: 0; }
.aside-steps li { margin-bottom: 8px; }
.aside-steps li::marker { color: #2fb563; font-weight: 700; }
.aside-link { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--g84-ink); padding: 6px 0; }
.aside-link i { width: 20px; color: var(--g84-green); font-size: 18px; }

.footer-social { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); align-items: center; justify-content: center; }
.footer-social:hover { background: var(--g84-green); color: #fff !important; }
