/*
Theme Name: Gi.Si.Cars Rent
Theme URI: https://www.gisicars.it
Author: Gi.Si Cars
Description: Tema a blocchi per il noleggio e la vendita di auto. Auto gestite dal menu "Auto", moduli di richiesta che arrivano per email, testi e sezioni modificabili con l'editor a blocchi.
Version: 1.3.2
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gisicars
*/

:root { color-scheme: light; }

/* I colori arrivano da Aspetto > Editor > Stili > Colori: cambiandoli lÃ¬ cambia tutto il sito */
body {
  --accent: var(--wp--preset--color--accent, #c9a24b);
  --accent-dark: var(--wp--preset--color--accent-dark, #b08a35);
  --accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);
  --ink: var(--wp--preset--color--ink, #0d0f14);          /* header, footer, fasce scure, prima schermata */
  --bg: var(--wp--preset--color--ivory, #faf8f4);         /* sfondo pagina */
  --alt: var(--wp--preset--color--sand, #f1ede4);         /* sezioni alternate */
  --card: var(--wp--preset--color--white, #ffffff);       /* schede e riquadri */
  --field: var(--card);                                   /* campi dei moduli */
  --heading: var(--wp--preset--color--heading, #111111);
  --text: var(--wp--preset--color--text, #4b4b50);
  --muted: var(--wp--preset--color--muted, #85858c);
  --line: color-mix(in srgb, var(--heading) 13%, transparent);
  --radius: 20px;
  --shadow: 0 16px 40px color-mix(in srgb, var(--heading) 16%, transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wp-site-blocks { overflow-x: clip; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

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

/* ---------- Intestazione ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
.header.scrolled { background: color-mix(in srgb, var(--ink) 92%, transparent); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-weight: 800; font-size: 1.3rem; color: #fff; letter-spacing: -.02em; }
.logo a { color: #fff; }
.logo span { color: var(--accent); }

.wp-block-navigation.menu { font-weight: 500; font-size: .95rem; }
.wp-block-navigation.menu .wp-block-navigation__container { gap: 28px; }
.wp-block-navigation.menu .wp-block-navigation-item__content { color: #fff; }
.wp-block-navigation.menu .wp-block-navigation-item__content:hover { color: var(--accent); }
.wp-block-navigation.menu .menu-cta .wp-block-navigation-item__content { background: var(--accent); color: #fff; padding: 9px 20px; border-radius: 999px; }
.wp-block-navigation.menu .menu-cta .wp-block-navigation-item__content:hover { background: var(--accent-dark); color: #fff; }
.wp-block-navigation__responsive-container-open { color: #fff; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 28px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 20px; font-size: 1.1rem; }

/* ---------- Pulsanti ---------- */
.btn, .wp-block-button__link.wp-element-button { display: inline-block; background: var(--accent); color: #fff; border: 0; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1.4; cursor: pointer; transition: transform .15s, background .15s; font-family: inherit; text-align: center; box-shadow: 0 6px 18px rgba(201, 162, 75, .3); }
.btn:hover, .wp-block-button__link.wp-element-button:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-outline, .btn-outline .wp-block-button__link.wp-element-button { background: transparent; color: var(--heading); border: 1.5px solid rgba(17,17,17,.45); box-shadow: none; }
.btn-outline:hover, .btn-outline .wp-block-button__link.wp-element-button:hover { background: var(--heading); color: #fff; }
.btn-ghost .wp-block-button__link.wp-element-button { background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); box-shadow: none; color: #fff; }
.btn-ghost .wp-block-button__link.wp-element-button:hover { background: #fff; color: var(--ink); }
.btn:disabled { opacity: .6; cursor: wait; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Prima schermata ---------- */
.wp-block-cover.hero { position: relative; z-index: 2; overflow: visible; min-height: 92vh; align-items: center; justify-content: flex-start; padding: 120px 0 80px; color: #fff; }
.hero .wp-block-cover__background { background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 93%, transparent) 0%, color-mix(in srgb, var(--ink) 72%, transparent) 38%, color-mix(in srgb, var(--ink) 8%, transparent) 78%) !important; opacity: 1 !important; }
.hero .wp-block-cover__image-background { object-fit: cover; object-position: 72% 62%; }
.hero .wp-block-cover__inner-container { position: relative; width: min(1180px, 100% - 40px); margin-inline: auto; display: grid; gap: 36px; color: #fff; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; color: #fff; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.eyebrow { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.hero-lead { margin: 20px 0 32px; font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 520px; }
.hero-actions { margin-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: rgba(255,255,255,.85); }
.chips p { display: inline-flex; align-items: center; gap: 8px; }
.chips p::before { content: "âœ“"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; }

/* Modulo disponibilitÃ  (resta chiaro: risalta sulla foto) */
.search-box { --text: #2a2e38; --muted: #768093; --heading: #0d0f14; --line: #e3e6ec; --field: #fff; display: grid; gap: 12px; background: #fff; color: var(--text); padding: 28px; border-radius: 28px; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.search-box h3 { color: var(--heading); font-size: 1.35rem; letter-spacing: -.02em; }
.box-sub { color: var(--muted); font-size: .92rem; margin-top: -6px; }
.search-box label { display: flex; flex-direction: column; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); gap: 5px; }
.search-box label:focus-within { color: var(--accent); }
.search-box input, .search-box select { height: 52px; padding-block: 0; }
.search-box .btn { margin-top: 4px; }

input, select, textarea { font: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--field); color: var(--text); width: 100%; text-transform: none; letter-spacing: 0; font-weight: 500; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }

/* ---------- Fascia fiducia ---------- */
.stats { background: color-mix(in srgb, var(--ink) 94%, #fff); border-bottom: 1px solid var(--line); color: #fff; }
.stats-inner { display: flex; justify-content: center; gap: 72px; padding: 26px 0; flex-wrap: wrap; }
.stat { display: flex; align-items: center; gap: 14px; }
.stat-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.08); font-size: 1.4rem; }
.stat-num { font-size: 1.5rem; line-height: 1.1; letter-spacing: -.02em; color: var(--accent); font-weight: 800; }
.stat-label { font-size: .85rem; color: rgba(255,255,255,.65); }

/* ---------- Sezioni ---------- */
.section { padding: 100px 0; }
.section.alt { background: var(--alt); }
.head { margin-bottom: 40px; }
.eyebrow-dark { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
h2.wp-block-heading, h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--heading); letter-spacing: -.035em; line-height: 1.12; margin-top: 6px; font-weight: 800; }
.sub { color: var(--muted); margin: 12px 0 0; max-width: 560px; font-size: 1.05rem; }

/* ---------- Schede auto ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(201, 162, 75, .55); }
.card .thumb { position: relative; overflow: hidden; background: #ece8df; }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .5s; }
.card:hover img { transform: scale(1.06); }
.badge { position: absolute; top: 14px; left: 14px; background: color-mix(in srgb, var(--ink) 85%, transparent); backdrop-filter: blur(6px); color: #fff; font-size: .72rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.badge.accent { background: var(--accent); }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card h3 { font-size: 1.2rem; color: var(--heading); letter-spacing: -.02em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; background: rgba(17,17,17,.06); color: var(--text); padding: 4px 11px; border-radius: 999px; font-weight: 500; }
.price { font-size: 1.6rem; font-weight: 800; color: var(--heading); margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); letter-spacing: -.03em; }
.price small { font-size: .82rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.card .btn { margin-top: 2px; padding: 13px; }
.card[hidden] { display: none; }
.card-empty { background: transparent; border: 2px dashed rgba(17,17,17,.22); opacity: .85; }
.card-empty:hover { transform: none; box-shadow: none; border-color: rgba(17,17,17,.22); }
.card-empty .placeholder, .card .placeholder { aspect-ratio: 4/3; display: grid; place-items: center; font-size: 3rem; opacity: .3; background: rgba(17,17,17,.04); }
.card-empty h3, .card-empty .price { color: var(--muted); }
.btn-disabled { background: rgba(17,17,17,.08); color: var(--muted); cursor: default; box-shadow: none; }
.btn-disabled:hover { background: rgba(17,17,17,.08); transform: none; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.filters select { max-width: 230px; border-radius: 999px; padding-inline: 20px; background: var(--card); }

/* ---------- Come funziona ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 18px; }
.step h3 { color: var(--heading); margin-bottom: 6px; letter-spacing: -.02em; font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .96rem; }
.step .step-num { color: #fff; font-size: 1.1rem; }

/* ---------- Servizi ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.feature { background: var(--card); padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(201, 162, 75, .55); }
.feature-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); font-size: 1.6rem; }
.feature h3 { margin: 18px 0 6px; color: var(--heading); letter-spacing: -.02em; font-size: 1.15rem; }
.feature p { color: var(--muted); font-size: .96rem; }
.feature .feature-ico { font-size: 1.6rem; }

/* ---------- Contatti ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.info { display: grid; gap: 18px; margin: 28px 0; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-ico { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); font-size: 1.2rem; }
.info-item strong { display: block; color: var(--heading); font-size: .9rem; }
.info-item a:hover { color: var(--accent); }
.card.form { padding: 32px; border-radius: 28px; box-shadow: var(--shadow); }
.form { display: grid; gap: 12px; }
.note { font-size: .9rem; color: #12805c; min-height: 1.2em; }
.note.error { color: #c0392b; }
.privacy-note { font-size: .8rem; color: var(--muted); }
.privacy-note a, .footer a { text-decoration: underline; }

/* ---------- Finestra di richiesta ---------- */
dialog { border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 28px; padding: 30px; width: min(440px, 92vw); margin: auto; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
dialog::backdrop { background: rgba(5, 6, 9, .7); backdrop-filter: blur(3px); }
dialog h3 { color: var(--heading); font-size: 1.3rem; letter-spacing: -.02em; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Avviso cookie ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 560px; background: #1f2330; border: 1px solid rgba(255,255,255,.12); color: #dfe3ea; padding: 18px 20px; border-radius: 18px; box-shadow: 0 16px 50px rgba(0,0,0,.6); display: flex; gap: 16px; align-items: center; font-size: .88rem; line-height: 1.5; }
.cookie a { text-decoration: underline; color: #fff; }
.cookie .btn { padding: 9px 18px; white-space: nowrap; box-shadow: none; }

/* ---------- Pagine di testo (privacy ecc.) ---------- */
.wp-block-group.legal { width: min(800px, 100% - 40px); margin: 0 auto; padding: 130px 0 70px; }
.legal h1, .legal .wp-block-post-title { color: var(--heading); font-size: 2.2rem; letter-spacing: -.03em; margin-bottom: 12px; font-weight: 800; }
.legal h2 { font-size: 1.25rem; margin: 28px 0 8px; letter-spacing: -.01em; }
.legal p, .legal li { margin-bottom: 8px; }
.legal a { color: var(--accent-dark); text-decoration: underline; }

/* ---------- WhatsApp ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; background: #25d366; color: #fff; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: transform .15s; }
.wa:hover { transform: scale(1.08); }

/* ---------- PiÃ¨ di pagina ---------- */
.footer { background: color-mix(in srgb, var(--ink) 65%, #000); border-top: 1px solid var(--line); color: #8d96a7; padding: 64px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer .logo { display: inline-block; margin-bottom: 10px; }
.footer .logo a { text-decoration: none; }
.footer-title { color: #fff; margin-bottom: 10px; font-weight: 700; font-size: .95rem; }
.footer a:hover { color: #fff; }
.footer .copy { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: .82rem; }

/* ---------- Comparsa allo scroll (aggiunta dallo script) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in:hover { transform: translateY(-5px); }
.card-empty.reveal.in:hover { transform: none; }
.feature.reveal.in:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card img, .feature { transition: none; }
}

/* ---------- Computer: modulo a barra sovrapposta alla prima schermata ---------- */
@media (min-width: 921px) {
  .wp-block-cover.hero { padding-bottom: 190px; }
  .hero .wp-block-cover__inner-container { gap: 56px; }
  .hero-text { max-width: 640px; }
  .hero h1 { font-size: clamp(3rem, 5.6vw, 4.8rem); }
  .hero .search-box { grid-template-columns: 1.3fr 1fr 1fr auto; align-items: end; gap: 14px 16px; padding: 22px 28px 18px; border-radius: 26px; margin-bottom: -140px; position: relative; z-index: 5; }
  .hero .search-box h3, .hero .search-box .privacy-note, .hero .search-box .note { grid-column: 1 / -1; }
  .hero .search-box .box-sub { display: none; }
  .hero .search-box h3 { font-size: 1.1rem; }
  .hero .search-box .btn { margin-top: 0; padding: 15px 28px; white-space: nowrap; }
  .hero .search-box .privacy-note { order: 5; }
  .stats { padding-top: 0; }
}

/* ---------- Tablet e telefono ---------- */
@media (max-width: 920px) {
  .wp-block-cover.hero { min-height: auto; padding: 110px 0 56px; }
}
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 68px 0; }
  .stats-inner { gap: 28px; justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  html { font-size: 17.5px; }
  .container, .hero .wp-block-cover__inner-container { width: min(1180px, 100% - 32px); }
  .cookie { right: 16px; flex-direction: column; align-items: stretch; }
  .search-box { padding: 22px; border-radius: 24px; }

  .wp-block-cover.hero { padding: 92px 0 40px; }
  .hero h1 { font-size: 2.3rem; }
  .hero-lead { margin: 14px 0 22px; }
  .hero-actions { flex-wrap: nowrap; gap: 10px; margin-bottom: 20px; }
  .hero-actions .wp-block-button { flex: 1; }
  .hero-actions .wp-block-button__link { width: 100%; padding: 13px 8px; font-size: .95rem; }
  .chips { gap: 6px 16px; }
  .stats-inner { gap: 16px 24px; padding: 20px 0; }

  .section { padding: 52px 0; }
  .head { margin-bottom: 22px; }
  .sub { font-size: 1rem; }

  /* Le liste di auto scorrono di lato invece di allungare la pagina */
  .grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -16px; padding: 4px 16px 18px; scrollbar-width: none; }
  .grid::-webkit-scrollbar { display: none; }
  .grid > * { flex: 0 0 82%; scroll-snap-align: center; }
  .grid .reveal { opacity: 1; transform: none; }
  .card img, .card .placeholder { aspect-ratio: 16/10; }
  .card-body { padding: 18px; }
  .tag { font-size: .82rem; }
  .privacy-note { font-size: .85rem; }
  .filters select { max-width: none; flex: 1 1 100%; }

  .steps, .features { gap: 14px; }
  .step, .feature { padding: 22px; }
  .card.form { padding: 22px; border-radius: 24px; }
  .contact-info .wp-block-button { display: block; }
  .contact-info .wp-block-button__link { display: block; }
}

/* Barra "Chiama / WhatsApp" fissa su smartphone */
.mobile-bar { display: none; }
@media (max-width: 860px) {
  .wa { display: none; }
  .mobile-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); border-top: 1px solid rgba(255,255,255,.1); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; box-shadow: 0 -6px 24px rgba(0,0,0,.4); }
  .mobile-bar a { text-align: center; padding: 12px; border-radius: 999px; font-weight: 600; color: #fff; background: var(--accent); }
  .mobile-bar a + a, .mobile-bar a[href*="wa.me"] { background: #25d366; }
  body { padding-bottom: 72px; }
  .cookie { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .info-item p, .info-item a { overflow-wrap: anywhere; }
  dialog { max-height: 90vh; overflow: auto; }
}

/* ---------- Correzioni di dettaglio ---------- */
.wp-block-button.btn-outline { background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
.wp-block-button.btn-outline:hover { background: none; }
.info-item strong + br { display: none; }
@media (min-width: 861px) { .features { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Titoli di sezione con barretta ---------- */
.head .eyebrow-dark::before { content: ""; display: inline-block; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); margin-right: 10px; vertical-align: middle; }

/* ---------- Schede: colonne scelte nel blocco e icone ---------- */
@media (min-width: 861px) {
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.tag .ico { flex: none; color: var(--accent); }
.card .price { display: flex; align-items: baseline; gap: 6px; }

/* ---------- Come funziona: linea che collega i passi ---------- */
@media (min-width: 861px) {
  .steps { position: relative; }
  .step { position: relative; }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 52px; left: calc(28px + 44px + 14px); right: calc(-24px - 14px); height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 16px); opacity: .5; z-index: 1; transform-origin: left; }
}

/* ---------- Domande frequenti ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.wp-block-details.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0; transition: border-color .2s, box-shadow .2s; }
.wp-block-details.faq-item[open] { border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative; font-weight: 700; color: var(--heading); letter-spacing: -.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { content: "â€“"; }
.faq-item > p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- Banner "Chiamaci o scrivici" ---------- */
.cta { background: var(--ink); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 65%); pointer-events: none; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.cta p { color: rgba(255,255,255,.75); max-width: 520px; }
.cta-actions { margin: 0; }
.btn-whatsapp .wp-block-button__link.wp-element-button { background: #25d366; box-shadow: 0 6px 18px rgba(37, 211, 102, .3); color: #fff; }
.btn-whatsapp .wp-block-button__link.wp-element-button:hover { background: #1fb258; }

/* ---------- Mappa (si carica solo al clic, per la privacy) ---------- */
.contact .map-embed { grid-column: 1 / -1; }
.map-embed { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--card); min-height: 320px; position: relative; }
.map-embed iframe { display: block; width: 100%; height: 360px; border: 0; }
.map-cover { display: grid; place-items: center; align-content: center; gap: 14px; text-align: center; min-height: 320px; padding: 32px; background: linear-gradient(135deg, var(--alt), var(--card)); background-image: radial-gradient(circle at 20% 20%, var(--accent-soft), transparent 45%), linear-gradient(135deg, var(--alt), var(--card)); }
.map-title { font-weight: 700; color: var(--heading); font-size: 1.1rem; }

/* ---------- Animazione scaglionata ---------- */
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(n+5) { transition-delay: .3s; }
.card.reveal.in, .feature.reveal.in { transition: opacity .6s ease, transform .25s, box-shadow .25s, border-color .25s; }

@media (max-width: 860px) {
  .cta { padding: 44px 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .faq-item summary { padding: 18px 52px 18px 18px; }
  .faq-item > p { padding: 0 18px 18px; }
}

/* ---------- Smartphone: pagina piÃ¹ compatta e comoda da usare col pollice ---------- */
a, button { -webkit-tap-highlight-color: transparent; }
.btn:active, .wp-block-button__link.wp-element-button:active { transform: scale(.97); }

@media (max-width: 560px) {
  .contact > * { min-width: 0; }
  .card.form, .search-box { max-width: 100%; }
  .search-box .box-sub { display: none; }
  .hero .wp-block-cover__image-background { object-position: 66% 50%; }

  /* Numeri di fiducia: 2 x 2 invece di una riga per ciascuno */
  .stats-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 10px; justify-content: stretch; padding: 22px 0; }
  .stat { gap: 10px; align-items: center; }
  .stat-ico { width: 38px; height: 38px; font-size: 1.15rem; border-radius: 12px; flex: none; }
  .stat-num { font-size: 1.1rem; }
  .stat-label { font-size: .76rem; line-height: 1.3; }

  /* Servizi: due colonne compatte */
  .features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature { padding: 16px 14px; }
  .feature-ico { width: 42px; height: 42px; font-size: 1.25rem; border-radius: 12px; }
  .feature h3 { font-size: .98rem; margin: 12px 0 4px; line-height: 1.25; }
  .feature p { font-size: .84rem; line-height: 1.45; }

  /* Come funziona: numero a sinistra, testo a destra */
  .steps { gap: 10px; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 16px; }
  .step .step-num { grid-row: 1 / span 2; margin: 0; }
  .step h3 { margin: 0 0 2px; font-size: 1.05rem; }
  .step p:last-child { font-size: .92rem; }

  .faq-item summary { font-size: .98rem; }
  .cta-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .cta-actions .wp-block-button, .cta-actions .wp-block-button__link { display: block; width: 100%; }
  .map-cover, .map-embed { min-height: 260px; }
  .map-embed iframe { height: 300px; }

  /* Barra Chiama / WhatsApp: tasti piÃ¹ grandi */
  .mobile-bar a { padding: 14px 10px; font-size: 1rem; }

  /* Finestra "Richiedi": pannello che sale dal basso */
  dialog { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 26px 26px 0 0; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); max-height: 92vh; }
  dialog .row { grid-template-columns: 1fr 1fr; }
  dialog[open] { animation: sheet .28s ease-out; }
}
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { dialog[open] { animation: none; } }

/* ---------- Social (Facebook / Instagram) ---------- */
.social { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 18px; }
.social-title { font-weight: 700; font-size: .9rem; color: var(--heading); }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; line-height: 1; color: #fff; background: var(--ink); transition: transform .15s, background .15s; }
.social-link:hover { transform: translateY(-2px); }
.social-facebook { background: #1877f2; }
.social-instagram { background: linear-gradient(45deg, #f09433, #dc2743 55%, #bc1888); }
.footer .social { margin-top: 16px; }
.footer .social-title { color: #fff; }
.footer .social-link { color: #fff; text-decoration: none; }
.footer .social-link span { text-decoration: none; }
@media (max-width: 560px) { .social-link { padding: 12px 18px; } }

/* ---------- Animazioni leggere (spente se il visitatore ha il movimento ridotto) ---------- */
.header .nav { transition: height .25s ease; }
.header.scrolled .nav { height: 60px; }
.stat-num { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: no-preference) {
  /* Prima schermata: entrata a scalare */
  .hero .hero-text > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero .hero-text > :nth-child(1) { animation-delay: .05s; }
  .hero .hero-text > :nth-child(2) { animation-delay: .15s; }
  .hero .hero-text > :nth-child(3) { animation-delay: .27s; }
  .hero .hero-text > :nth-child(4) { animation-delay: .38s; }
  .hero .hero-text > :nth-child(5) { animation-delay: .48s; }
  .hero .search-box { animation: rise .8s .55s cubic-bezier(.2,.7,.2,1) both; }

  /* Come funziona: i numeri "saltano" e la linea si disegna */
  .step.reveal .step-num { transform: scale(.6); opacity: 0; }
  .step.reveal.in .step-num { animation: pop .5s .15s cubic-bezier(.3,1.5,.5,1) both; }
  @media (min-width: 861px) {
    .step.reveal:not(:last-child)::after { transform: scaleX(0); }
    .step.reveal.in:not(:last-child)::after { transform: scaleX(1); transition: transform .9s .45s ease-out; }
  }

  /* WhatsApp: un piccolo impulso, solo poche volte */
  .wa { animation: ring 2.4s 2.5s 3; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes ring { 0% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.55); } 70%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 18px rgba(37,211,102,0); } }

/* ---------- Come pagare ---------- */
.pay { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); margin: 22px 0; }
.pay h3 { color: var(--heading); font-size: 1.25rem; margin-bottom: 14px; }
.pay-car { margin-bottom: 14px; }
.pay-data { margin: 0; display: grid; gap: 12px; }
.pay-row { display: grid; grid-template-columns: 130px 1fr; gap: 6px 14px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pay-row:last-child { border-bottom: 0; padding-bottom: 0; }
.pay-row dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); }
.pay-row dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--heading); font-weight: 600; overflow-wrap: anywhere; }
.pay-row .btn { padding: 8px 16px; font-size: .9rem; flex: none; }
.pay-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn-whatsapp-solid { background: #25d366; box-shadow: 0 6px 18px rgba(37, 211, 102, .3); }
.btn-whatsapp-solid:hover { background: #1fb258; }
@media (max-width: 560px) {
  .pay { padding: 20px 16px; border-radius: 20px; }
  .pay-row { grid-template-columns: 1fr; }
  .pay-row .btn { padding: 10px 18px; }
  .pay-actions .btn { width: 100%; text-align: center; }
}

/* Pagine chiare (privacy, come pagare...): la barra in alto resta scura cosÃ¬ il logo si legge */
body:has(.legal) .header { background: var(--ink); }
.legal a.btn, .legal a.btn:hover { text-decoration: none; color: #fff; }
.legal a.btn-outline { color: var(--heading); }
.legal a.btn-outline:hover { color: #fff; }
.pay-iban dd span { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
@media (max-width: 560px) { .pay-iban dd span { font-size: .9rem; } }

/* ---------- Invito "Come pagare" sotto gli elenchi e nei passi ---------- */
.pay-hint { margin-top: 26px; text-align: center; color: var(--muted); font-size: .98rem; }
.pay-hint a, .step a { color: var(--accent-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pay-hint a:hover, .step a:hover { color: var(--accent); }
@media (max-width: 560px) { .pay-hint { margin-top: 8px; text-align: left; } }

/* ---------- WhatsApp sulle schede auto ---------- */
.card-actions { display: flex; gap: 10px; margin-top: 2px; }
.card-actions .btn { flex: 1; margin-top: 0; min-width: 0; }
.card-wa { flex: none; display: grid; place-items: center; width: 50px; border-radius: 999px; background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(37, 211, 102, .3); transition: transform .15s, background .15s; }
.card-wa:hover { background: #1fb258; transform: translateY(-1px); }
.card-wa:active { transform: scale(.95); }
@media (max-width: 560px) { .card-actions .btn { font-size: .92rem; padding-inline: 8px; } }

/* ---------- Banner offerte / avvisi ---------- */
body { --nb-h: 42px; }
.notice-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 55; min-height: var(--nb-h); display: flex; align-items: center; justify-content: center; gap: 12px; padding: 6px 48px 6px 16px; text-align: center; font-size: .92rem; font-weight: 600; line-height: 1.3; color: #fff; }
.notice-bar p { margin: 0; }
.notice-offerta { background: var(--accent); }
.notice-avviso { background: color-mix(in srgb, var(--ink) 88%, #fff); }
.notice-bar a { text-decoration: underline; text-underline-offset: 3px; font-weight: 800; color: #fff; }
.notice-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.notice-close:hover { background: rgba(255,255,255,.18); }
.admin-bar .notice-bar { top: 32px; }
body.has-notice .header { top: var(--nb-h); }
body.has-notice.admin-bar .header { top: calc(32px + var(--nb-h)); }
body.has-notice .hero .wp-block-cover__inner-container { margin-top: var(--nb-h); }
body.has-notice .wp-block-group.legal { padding-top: calc(130px + var(--nb-h)); }
@media (max-width: 782px) {
  .admin-bar .notice-bar { top: 46px; }
  body.has-notice.admin-bar .header { top: calc(46px + var(--nb-h)); }
}
@media (max-width: 560px) {
  body { --nb-h: 56px; }
  .notice-bar { font-size: .86rem; }
}

/* ---------- Scheda dettagliata dell'auto ---------- */
.thumb[data-open], .card h3[data-open] { cursor: pointer; }
.card-more { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; font-weight: 700; color: var(--accent-dark); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.card-more:hover { color: var(--accent); }
body:has(dialog[open]) { overflow: hidden; }

dialog.detail { padding: 0; width: min(1020px, 94vw); max-height: 90vh; overflow: hidden; border-radius: 28px; }
dialog.detail[open] { display: grid; grid-template-columns: 1.15fr 1fr; }
.detail-close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--card); color: var(--heading); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.detail-gallery { background: color-mix(in srgb, var(--heading) 6%, var(--card)); min-width: 0; display: flex; flex-direction: column; }
.gallery-main { position: relative; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: 0 0 100%; width: 100%; aspect-ratio: 4/3; object-fit: cover; scroll-snap-align: center; }
.gallery-main .placeholder { aspect-ratio: 4/3; display: grid; place-items: center; font-size: 4rem; opacity: .3; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-count { position: absolute; right: 12px; bottom: 12px; background: color-mix(in srgb, var(--ink) 80%, transparent); color: #fff; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.gallery-thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; scrollbar-width: thin; }
.gallery-thumb { flex: none; width: 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; opacity: .65; transition: opacity .15s, border-color .15s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.on { border-color: var(--accent); opacity: 1; }

.detail-body { padding: 30px 28px; overflow-y: auto; max-height: 90vh; display: flex; flex-direction: column; gap: 6px; }
.badge-inline { align-self: flex-start; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.detail-body h3 { font-size: 1.6rem; color: var(--heading); letter-spacing: -.03em; margin: 6px 0 0; padding-right: 36px; }
.detail-price { font-size: 1.7rem; font-weight: 800; color: var(--heading); letter-spacing: -.03em; }
.detail-price small { font-size: .85rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.detail-desc { margin-top: 6px; }
.detail-body h4 { margin: 16px 0 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.specs div { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.specs dt { font-size: .74rem; color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; color: var(--heading); }
.included ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.included li { padding-left: 26px; position: relative; }
.included li::before { content: "âœ“"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.included-note { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-top: 4px; position: sticky; bottom: 0; background: var(--card); padding-bottom: 4px; }
.detail-actions .btn { flex: 1 1 180px; }
.detail-actions { box-shadow: 0 -14px 14px -6px var(--card); }
.detail-gallery { justify-content: center; }

@media (max-width: 860px) {
  dialog.detail { width: 100%; max-width: 100%; margin: auto 0 0; max-height: 94vh; border-radius: 26px 26px 0 0; overflow-y: auto; }
  dialog.detail[open] { display: block; }
  .detail-body { max-height: none; overflow: visible; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); }
  .detail-actions { flex-wrap: nowrap; gap: 8px; margin-top: 14px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .detail-actions .btn { flex: 1 1 0; padding: 13px 8px; font-size: .92rem; line-height: 1.25; }
  .specs { grid-template-columns: 1fr 1fr; }
}

/* ---------- Editor del sito: intestazione non fissa ---------- */
.editor-styles-wrapper .header { position: relative; background: var(--ink); }


/* =========================================================
   STILE ELEGANTE (nero e oro) - strato finale
   ========================================================= */
body { --radius: 6px; --shadow: 0 24px 60px rgba(0,0,0,.14); --serif: var(--wp--preset--font-family--serif, 'Playfair Display', Georgia, serif); }
body { letter-spacing: .005em; }

/* Titoli con le grazie */
h1, h2, h3, h2.wp-block-heading, .hero h1, .logo, .stat-num, .price, .card h3 { font-family: var(--serif); }
h1, h2, h2.wp-block-heading, .hero h1 { font-weight: 600; letter-spacing: -.01em; }
.hero h1 { line-height: 1.08; font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
.hero h1 em { font-style: italic; color: var(--accent); }
h2.wp-block-heading, h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; }
.card h3 { font-weight: 600; font-size: 1.3rem; letter-spacing: 0; }
.logo { font-weight: 700; letter-spacing: .02em; }
.logo span { font-style: italic; }

/* Piccole scritte sopra i titoli: maiuscolo spaziato con filetto oro */
.eyebrow, .eyebrow-dark { display: inline-flex; align-items: center; gap: 14px; font-size: .72rem; letter-spacing: .28em; font-weight: 600; }
.eyebrow::before, .eyebrow-dark::before { content: ""; width: 36px; height: 1px; background: var(--accent); }
.text-center .eyebrow-dark, .head.center .eyebrow-dark { justify-content: center; }

/* Pulsanti: rettangolari, sottili, sobri */
.btn, .wp-block-button__link.wp-element-button { border-radius: 2px; padding: 15px 32px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; background: var(--accent); color: #111; box-shadow: none; transition: background .3s, color .3s, transform .3s, border-color .3s; }
.btn:hover, .wp-block-button__link.wp-element-button:hover { background: #fff; color: #111; transform: none; }
.btn-outline, .btn-outline .wp-block-button__link.wp-element-button { background: transparent; color: var(--heading); border: 1px solid var(--heading); }
.btn-outline:hover, .btn-outline .wp-block-button__link.wp-element-button:hover { background: var(--heading); color: #fff; }
.btn-ghost .wp-block-button__link.wp-element-button { background: transparent; border: 1px solid rgba(255,255,255,.55); color: #fff; backdrop-filter: none; }
.btn-ghost .wp-block-button__link.wp-element-button:hover { background: #fff; color: #111; }
.wp-block-navigation.menu .menu-cta .wp-block-navigation-item__content { background: transparent; color: var(--accent); border: 1px solid var(--accent); border-radius: 2px; padding: 9px 22px; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.wp-block-navigation.menu .menu-cta .wp-block-navigation-item__content:hover { background: var(--accent); color: #111; }
.wp-block-navigation.menu { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.wp-block-navigation.menu .wp-block-navigation__container { gap: 34px; }

/* Prima schermata */
.hero .wp-block-cover__background { background: linear-gradient(100deg, rgba(8,8,10,.92) 0%, rgba(8,8,10,.68) 42%, rgba(8,8,10,.18) 85%) !important; }
.hero-lead { font-weight: 300; font-size: 1.15rem; line-height: 1.7; color: rgba(255,255,255,.8); }
.chips { letter-spacing: .04em; }
.chips p::before { content: ""; width: 7px; height: 7px; border-radius: 0; transform: rotate(45deg); background: var(--accent); }
.search-box { border-radius: 4px; padding: 32px; border-top: 2px solid var(--accent); box-shadow: 0 40px 90px rgba(0,0,0,.55); }
.search-box h3 { font-family: var(--serif); font-weight: 600; }
input, select, textarea { border-radius: 2px; border-width: 1px; }
.search-box label { letter-spacing: .14em; font-size: .66rem; }

/* Fascia numeri */
.stats { background: var(--ink); border-bottom: 1px solid rgba(201,162,75,.25); }
.stat-ico { background: transparent; border: 1px solid rgba(201,162,75,.45); border-radius: 50%; color: var(--accent); }
.stat-num { font-weight: 600; }
.stat-label { letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }

/* Sezioni piu' respirate */
.section { padding: 120px 0; }
.sub { font-weight: 300; font-size: 1.08rem; }
.head { margin-bottom: 56px; }

/* Schede auto */
.grid { gap: 34px; }
.card { border-radius: 2px; border: 0; background: var(--card); box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(0,0,0,.06); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,.16); border-color: transparent; }
.card img { aspect-ratio: 3/2; }
.card-body { padding: 26px; }
.badge { border-radius: 0; letter-spacing: .14em; text-transform: uppercase; font-size: .62rem; font-weight: 600; padding: 6px 12px; background: rgba(8,8,10,.82); }
.badge.accent { background: var(--accent); color: #111; }
.tag { border-radius: 0; background: transparent; border: 1px solid var(--line); font-size: .72rem; letter-spacing: .04em; }
.price { font-weight: 600; font-size: 1.7rem; letter-spacing: 0; }
.price small, .price span { font-family: 'Inter', sans-serif; letter-spacing: .04em; }

/* Riquadri servizi e passaggi */
.feature { border-radius: 2px; border-color: var(--line); background: var(--card); }
.feature:hover { transform: translateY(-4px); border-color: var(--accent); }
.feature-ico, .step-num { color: var(--accent); }

/* Link "Come pagare" */
.pay-hint a { color: var(--heading); border-bottom: 1px solid var(--accent); padding-bottom: 1px; }
.pay-hint a:hover { color: var(--accent); }

/* Filtri */
.filters button, .filter { border-radius: 2px; letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; }

/* Footer e barra in basso */
.footer { background: var(--ink); }
.mobile-bar a, .mobile-bar button { letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }

/* Finestra dettagli auto */
dialog { border-radius: 2px; }

@media (max-width: 700px) {
  .section { padding: 84px 0; }
  .head { margin-bottom: 40px; }
  .btn, .wp-block-button__link.wp-element-button { padding: 16px 24px; }
  .hero h1 { font-size: clamp(2.2rem, 9.4vw, 3rem); }
  .grid { gap: 26px; }
}

/* Ritocchi finali */
.hero .search-box, .search-box { border-radius: 4px; }
.hero .search-box { padding: 26px 32px 20px; }
.step-num { color: #111; font-family: var(--serif); font-weight: 600; }
.step .step-num { color: #111; }
.feature-ico { border-radius: 50%; background: transparent; border: 1px solid rgba(201,162,75,.5); }
.stat-ico, .feature-ico, .card .placeholder, .card-empty .placeholder, .gallery-main .placeholder { filter: grayscale(1) sepia(.85) saturate(2.2) brightness(1.05); }

/* Contatti, FAQ, social e mappa */
.faq-item, .faq-item summary, .map-embed, .card.form, .info-ico { border-radius: 2px; }
.faq-item { border-color: var(--line); }
.faq-item summary { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; }
.info-ico { background: transparent; border: 1px solid rgba(201,162,75,.5); border-radius: 50%; filter: grayscale(1) sepia(.85) saturate(2.2); }
.card.form { box-shadow: 0 30px 70px rgba(0,0,0,.1); border: 0; border-top: 2px solid var(--accent); }
.social-link { border-radius: 2px; background: transparent; color: var(--heading); border: 1px solid var(--heading); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: 10px 18px; }
.social-facebook, .social-instagram { background: transparent; }
.social-link:hover { background: var(--heading); color: #fff; transform: none; }
.footer .social-link { color: #fff; border-color: rgba(255,255,255,.45); }
.footer .social-link:hover { background: #fff; color: #111; }
.social-title { letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; }
.btn-wa, .cta .btn-wa, .wa-btn { border-radius: 2px; }

/* Video in prima schermata (si può cambiare da Impostazioni > Gi.Si.Cars Rent) */
.hero .wp-block-cover__video-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: 0; }
.wp-block-cover.hero { background: var(--ink) url(assets/hero.jpg) 72% 62% / cover no-repeat; }

/* Niente "Dove siamo", indicazioni e mappa (valido anche per la Home già salvata) */
.contact .map-embed, .contact-info a[href*="google.com/maps"] { display: none !important; }
.contact-info .wp-block-button:has(a[href*="google.com/maps"]) { display: none; }

/* Telefono: il video sta in una fascia in alto, senza scritte sopra; testi e modulo sotto */
@media (max-width: 700px) {
  .wp-block-cover.hero { --vh: min(66vw, 340px); background: var(--ink) url(assets/hero.jpg) 66% 80% / 100% var(--vh) no-repeat; min-height: auto !important; padding: calc(var(--vh) + 22px) 0 36px; }
  .hero .wp-block-cover__video-background, .hero .wp-block-cover__image-background { inset: 0 0 auto 0 !important; height: var(--vh) !important; object-position: 50% 88%; -webkit-mask-image: linear-gradient(#000 90%, transparent); mask-image: linear-gradient(#000 90%, transparent); }
  .hero .wp-block-cover__background { background: none !important; }
}

/* Logo su due righe: Rent sotto Gi.Si.Cars */
.logo a { display: inline-block; line-height: 1.1; }
.logo .logo-rent { display: block; font-family: var(--sans, Inter, sans-serif); font-style: normal; font-weight: 600; font-size: .5em; letter-spacing: .42em; text-transform: uppercase; color: #fff; opacity: .85; margin-top: 3px; }

/* Titolo: "a portata di chiamata." va a capo, sotto */
.hero h1 em { display: block; }

/* Logo più grande */
.logo { font-size: 2.1rem; }
.logo .logo-rent { font-size: .46em; letter-spacing: 1.08em; margin-top: 4px; padding-left: .1em; }
.footer .logo { font-size: 2.3rem; }
@media (min-width: 900px) { .logo { font-size: 2.6rem; } }

/* Prezzo noleggio: "A partire da" sopra la cifra */
.card .price { flex-wrap: wrap; }
.price .from, .detail-price .from { display: block; flex-basis: 100%; font-family: 'Inter', sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 2px; }
