:root {
  color-scheme: light;
  --ink: #141414;
  --muted: #524f48;
  --paper: #f6f4ed;
  --line: #d7d3c9;
  --gold: #f4c400;
  --dark-surface: #292622;
  --radius: .75rem;
  --unit: clamp(1.05rem, 3.15vw, 3.5rem);
  font-family: "Segoe UI", Aptos, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .12em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #7f5d00; outline-offset: 4px;
}
.hero a:focus-visible, .site-header a:focus-visible, .search-hero a:focus-visible, .site-footer a:focus-visible { outline-color: var(--gold); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 6.15vw, 6.05rem); font-weight: 740; }
h2 { font-size: clamp(1.9rem, 3.9vw, 3.55rem); font-weight: 725; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
p { text-wrap: pretty; }
.wrap { width: min(100% - (2 * var(--unit)), 88rem); margin-inline: auto; }
.skip { position: fixed; top: 6px; left: 6px; padding: .625rem; z-index: 3; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { color: #f5f1e8; background: var(--ink); border-bottom: 1px solid #454137; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 5.3rem; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo { display: block; width: clamp(8.65rem, 15vw, 10.875rem); height: auto; }
.header-inner nav, .footer-inner nav { display: flex; flex-wrap: wrap; gap: clamp(.7rem, 2.5vw, 2.15rem); align-items: center; }
.header-inner nav a, .footer-inner nav a { font-weight: 650; font-size: .92rem; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.header-inner nav a:hover, .footer-inner nav a:hover { text-decoration: underline; }
.button { min-height: 3.2rem; width: fit-content; max-width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .72rem 1.18rem; font: inherit; font-size: .94rem; font-weight: 725; line-height: 1.22; border: 1px solid transparent; border-radius: .38rem; text-decoration: none; cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.button.small { min-height: 2.8rem; padding-inline: .9rem; }
.button.outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.button.outline:hover, .button.dark { background: var(--ink); color: white; }
.button.dark:hover { background: #36332b; }
.button.accent { background: var(--gold); color: var(--ink); }
.button.accent:hover { background: #ffda44; }
.button.glass { background: transparent; border-color: #92897b; color: white; }
.button.glass:hover { background: var(--dark-surface); border-color: #cac3b5; }
.eyeline { font-size: .72rem; font-weight: 780; line-height: 1.4; text-transform: uppercase; letter-spacing: .11em; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }
/* The mark is the focal point. The original studio remains contained in its own media plane. */
.hero { color: #faf7ef; background: #141414; border-bottom: 4px solid var(--gold); }
.hero-inner {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr);
  align-items: center; min-height: clamp(31rem,45vw,45rem); gap: clamp(.9rem,2vw,2.8rem);
  padding-block: clamp(2.7rem,5.1vw,5.6rem);
}
.hero-copy { position: relative; z-index: 1; }
.hero-copy .eyeline { color: var(--gold); margin-bottom: 1.05rem; }
.hero-copy h1 { font-size: clamp(2.95rem,6.65vw,7.4rem); line-height: .94; letter-spacing: -.073em; text-wrap: initial; }
.hero-copy h1 span { color: var(--gold); }
.hero-copy .intro { color: #dbd5ca; margin-top: 1.45rem; max-width: 31rem; font-size: clamp(1.06rem,1.52vw,1.34rem); line-height: 1.53; }
.hero-copy .actions { margin-top: 1.68rem; }
.hero-stage { position: relative; min-width: 0; overflow: hidden; background: #201d1a; border: 1px solid #4f483c; aspect-ratio: 4 / 3; clip-path: polygon(0 0, 100% 0, 100% 92%, 94% 100%, 0 100%); }
.hero-stage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(130deg, #14141428, transparent 29%, transparent 77%, #14141440); }
.solution-rail { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid #494237; }
.solution-rail a { display: flex; gap: .55rem; align-items: center; justify-content: space-between; min-height: 3.65rem; padding: .75rem clamp(.5rem,1.7vw,1.35rem); text-decoration: none; color: #f5f1e8; font-weight: 700; line-height: 1.2; }
.solution-rail a + a { border-left: 1px solid #494237; }
.solution-rail a:hover { color: var(--gold); background: #252219; }
.solution-rail span { color: var(--gold); }
.app-demo { min-width: 0; margin: 1.25rem 0 0; position: relative; color: var(--ink); background: #f8f6f0; border: 1px solid #928b79; border-radius: var(--radius); box-shadow: 0 22px 42px #09080770; }
.demo-note { position: absolute; top: -1.85rem; right: .08rem; display: flex; align-items: center; gap: .5rem; color: #e8e2d5; font-size: .625rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.demo-note i { display: block; width: .45rem; height: .45rem; background: var(--gold); border-radius: 50%; }
.app-bar { display: flex; justify-content: space-between; gap: .45rem; align-items: center; border-bottom: 1px solid var(--line); padding: .7rem clamp(.65rem,1.9vw,1.4rem); }
.demo-brand { font-size: .92rem; font-weight: 800; letter-spacing: -.04em; }
.demo-team { font-size: .69rem; font-weight: 700; background: #ede8dd; color: #443825; padding: .22rem .56rem; border-radius: .25rem; }
.app-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); min-height: 14rem; }
.app-sidebar { display: flex; flex-direction: column; gap: .78rem; padding: 1rem clamp(.4rem,1.15vw,.95rem); border-right: 1px solid var(--line); background: #eeebe2; border-radius: 0 0 0 var(--radius); color: #565149; font-size: clamp(.62rem,.9vw,.77rem); font-weight: 625; white-space: nowrap; }
.app-sidebar b { color: var(--ink); }
.app-main { min-width: 0; padding: clamp(.55rem,1.8vw,1.35rem); }
.app-current { display: flex; align-items: center; justify-content: space-between; gap: .2rem; margin-bottom: .85rem; }
.app-current div { min-width: 0; display: grid; gap: .16rem; }
.app-current small { font-size: .59rem; font-weight: 800; letter-spacing: .11em; color: #665437; }
.app-current strong { font-size: clamp(1rem, 1.7vw, 1.6rem); line-height: 1.15; letter-spacing: -.045em; }
.app-current > b { font-size: .66rem; border: 1px solid var(--line); padding: .25rem .5rem; border-radius: .25rem; }
.app-cols { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .35rem; }
.app-cols > div { display: grid; gap: .18rem; align-content: center; padding: clamp(.24rem,.62vw,.6rem); min-height: 3.3rem; background: #efeadc; border-radius: .25rem; }
.app-cols > div:nth-child(3) { background: #fff1a8; }
.app-cols span { font-size: clamp(.57rem,.77vw,.73rem); font-weight: 700; }
.app-cols strong { font-size: clamp(.95rem,1.52vw,1.43rem); line-height: 1; }
.app-rows { margin-top: .75rem; }
.app-rows div { display: grid; grid-template-columns: 2.2rem minmax(0,1fr) max-content; align-items: center; gap: .35rem; padding: .57rem 0; border-top: 1px solid var(--line); font-size: clamp(.63rem,.87vw,.85rem); line-height: 1.28; }
.app-rows em { font-style: normal; font-weight: 650; background: #efe7ce; color: #44371d; padding: .16rem .37rem; border-radius: .17rem; }
.section { padding-block: clamp(2.7rem, 6vw, 5.2rem); }
.section-lead { max-width: 47rem; margin-bottom: 2rem; }
.section-lead .eyeline, .page-heading .eyeline, .side-page .eyeline { color: #6d5217; margin-bottom: .78rem; }
.section-lead p:last-child, .page-heading > p:last-child, .side-page aside > p:last-of-type { margin-top: .9rem; color: var(--muted); font-size: clamp(1.01rem, 1.7vw, 1.27rem); }
.steps p { color: var(--muted); margin-top: .72rem; max-width: 34rem; }
.package-promo { background: var(--gold); border-left: clamp(.35rem,.9vw,.65rem) solid var(--ink); padding: clamp(1.35rem, 4.4vw, 4rem); display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.package-promo > div:first-child { flex: 1 1 26rem; }
.package-promo p { max-width: 42rem; margin-top: .72rem; }
.steps { padding: 0; margin: 0 0 1.8rem; list-style: none; counter-reset: timeline; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.75rem, 3.1vw, 3.25rem); }
.steps li { counter-increment: timeline; border-top: 1px solid var(--line); padding-top: .9rem; }
.steps li::before { content: counter(timeline, decimal-leading-zero); display: block; color: #6d5217; font-size: .75rem; font-weight: 750; margin-bottom: .48rem; }
.page-heading { padding-block: clamp(2.3rem,7vw,5rem) clamp(1.55rem,4vw,3.3rem); }
.page-heading h1, .side-page h1, .policy h1 { font-size: clamp(2.35rem, 5.7vw, 5.4rem); text-wrap: initial; }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.plan { min-width: 0; display: flex; flex-direction: column; padding: clamp(.9rem, 1.75vw, 1.6rem); border: 1px solid var(--line); border-top: 3px solid var(--ink); background: white; }
.plan:first-child { background: #f2efe5; }
.plan:nth-child(3) { border-top-color: var(--gold); }
.plan h2 { font-size: clamp(1.36rem, 2.35vw, 2.15rem); }
.plan-audience { min-height: 1.4em; color: #6d5217; margin-bottom: .65rem; font-size: .72rem; line-height: 1.3; font-weight: 750; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .35rem; margin-block: 1.1rem .85rem; color: var(--ink); }
.price strong, .add-on-price strong { font-size: clamp(2.02rem,3.1vw,3.4rem); font-weight: 750; line-height: 1; letter-spacing: -.07em; }
.price span, .add-on-price span { font-size: .79rem; font-weight: 700; }
.plan-description, .plan ul { color: var(--muted); font-size: .89rem; }
.plan ul { padding-left: 1rem; display: grid; gap: .39rem; margin: 1rem 0 1.3rem; }
.plan .button { width: 100%; margin-top: auto; text-align: center; }
.legal-note { margin-top: .65rem; color: var(--muted); font-size: .9rem; }
.comparison { overflow-x: auto; margin-top: 1.15rem; padding: .18rem; border: 1px solid var(--line); }
table { width: 100%; min-width: 35rem; border-collapse: collapse; font-size: .89rem; text-align: left; }
tr { border-bottom: 1px solid var(--line); }
th, td { padding: .7rem .8rem; }
thead { background: var(--ink); color: white; }
tbody tr:last-child { border: none; }
.add-on-price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.side-page { padding-block: clamp(2.6rem, 8vw, 7rem); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: clamp(1.6rem,7vw,7rem); align-items: start; }
.side-nav { display: flex; align-items: flex-start; flex-direction: column; gap: .6rem; margin-top: 1.65rem; }
.side-nav a { display: flex; align-items: center; gap: .55rem; min-height: 44px; font-weight: 725; }
.panel { background: white; border: 1px solid var(--line); border-top: 4px solid var(--ink); padding: clamp(1rem,3.4vw,3rem); }
.panel h2 { font-size: clamp(1.65rem, 3vw, 2.7rem); margin-bottom: 1rem; }
.panel > p { color: var(--muted); margin-bottom: 1rem; }
.contact-form { display: grid; gap: .98rem; }
.contact-form label { display: grid; gap: .38rem; min-width: 0; font-weight: 680; }
.contact-form input:not([type=checkbox]), .contact-form select { min-height: 3.05rem; width: 100%; padding: .6rem .68rem; background: var(--paper); border: 1px solid #7f7463; color: var(--ink); border-radius: .23rem; font: inherit; font-size: 1rem; }
.contact-form .check { display: flex; gap: .62rem; align-items: flex-start; min-height: 44px; font-size: .91rem; font-weight: 520; }
.check input { min-width: 1.23rem; height: 1.23rem; margin-top: .19rem; accent-color: var(--ink); }
.contact-form .button { width: 100%; }
.honey { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.notice { color: var(--ink); background: #fff3c7; padding: .6rem .75rem; font-size: .86rem; border-left: 3px solid #946d17; }
.notice.error { border-color: #a13029; background: #fbefec; color: #73211c; }
.policy { max-width: 62rem; }
.policy h2 { font-size: clamp(1.4rem,2.7vw,2.3rem); margin-top: 1.7rem; }
.policy p { margin-top: .9rem; max-width: 67ch; }
.site-footer { background: var(--ink); color: #eee9df; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.5rem; flex-wrap: wrap; }
/* Editorial flow and search landing pages share the contemporary Brumar palette. */
.workflow { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); align-items: center; gap: clamp(1.2rem,6.1vw,6rem); }
.workflow-copy .eyeline { color: #6d5217; margin-bottom: .7rem; }
.workflow-copy > p:last-of-type { color: var(--muted); margin: .9rem 0 1.3rem; }
.workflow-copy article { padding-block: .95rem; border-top: 1px solid var(--line); }
.workflow-copy article p { color: var(--muted); margin: .5rem 0 .4rem; }
.workflow-copy article a, .related a { display: inline-flex; gap: .55rem; align-items: center; font-weight: 710; min-height: 44px; text-decoration-thickness: 1px; }
.workflow-view { min-width: 0; padding: clamp(.8rem,2.3vw,2.1rem); background: #272520; border-top: 3px solid var(--gold); }
.workflow-view .app-demo { margin: 1.8rem 0 0; box-shadow: 0 19px 38px #110d0b5a; }
.question-section { padding-top: 0; }
.question-section h2 { margin-bottom: 1.25rem; }
.question-list { border-top: 1px solid var(--line); max-width: 65rem; }
.question-list details { border-bottom: 1px solid var(--line); }
.question-list summary { display: list-item; min-height: 3.25rem; padding: .8rem .45rem; font-weight: 730; cursor: pointer; }
.question-list summary:focus-visible { outline: 3px solid #7f5d00; outline-offset: 2px; }
.question-list p { color: var(--muted); padding: 0 .45rem .96rem; max-width: 73ch; }
.search-hero { background: #1c1a17; color: #f9f4e8; border-bottom: 3px solid var(--gold); }
.search-hero .page-heading { max-width: 69rem; padding-block: clamp(2rem, 6vw, 5.25rem); }
.search-hero .page-heading .eyeline { color: var(--gold); }
.search-hero .page-heading > p:last-of-type { color: #ded6c9; max-width: 63ch; margin-top: 1.1rem; font-size: clamp(1rem,1.7vw,1.3rem); }
.search-hero .actions { margin-top: 1.45rem; }
.breadcrumb { padding-top: .85rem; font-size: .83rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .15rem .65rem; list-style: none; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: .65rem; opacity: .72; }
.detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.95rem,3vw,2.1rem); }
.detail-grid article { border-top: 2px solid var(--ink); padding-top: 1rem; }
.detail-grid h2 { font-size: clamp(1.35rem,2.35vw,2.15rem); }
.detail-grid p { color: var(--muted); margin-top: .75rem; }
.related { display: flex; flex-wrap: wrap; gap: .5rem 1.55rem; padding-bottom: clamp(3rem, 5vw, 5.5rem); }
.footer-inner nav { flex: 0 1 auto; }

@media (max-width: 75rem) {
  .wide-only { display: none; }
  .plan-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 52rem) {
  .hero-inner { grid-template-columns: minmax(0,1fr); gap: 2.3rem; min-height: auto; }
  .hero-copy h1 { max-width: 15ch; }
  .app-demo { max-width: 37rem; }
  .hero-stage { width: 100%; max-width: 41rem; }
  .detail-grid, .workflow { grid-template-columns: minmax(0,1fr); }
  .side-page { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 35rem) {
  .header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 .6rem; padding-block: .65rem .2rem; }
  .header-inner nav { grid-column: 1 / -1; grid-row: 2; }
  .header-inner .access-link { grid-column: 2; grid-row: 1; font-size: .75rem; min-height: 2.75rem; padding-inline: .53rem; }
  .header-inner nav a { font-size: .82rem; }
  .hero-inner { padding-block: 2.75rem 1.3rem; gap: 1.25rem; }
  .solution-rail { grid-template-columns: minmax(0,1fr); }
  .solution-rail a + a { border-left: none; border-top: 1px solid #494237; }
  .hero-inner .actions .button, .search-hero .actions .button { width: 100%; }
  .app-sidebar { display: none; }
  .app-grid, .steps, .plan-grid { grid-template-columns: minmax(0,1fr); }
  .app-demo { margin-top: 1.35rem; }
  .plan { padding: 1.1rem; }
  .plan-audience { min-height: 0; }
  .footer-inner nav { width: 100%; gap: 0 1rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

.hero-stage.x2-stage { margin: 0; aspect-ratio: auto; clip-path: none; overflow: visible; background: #1d1b18; }
.x2-stage::after { display: none; }
.x2-visual { position: relative; isolation: isolate; aspect-ratio: 4 / 3; overflow: hidden; background: #26231e; }
.x2-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
.x2-visual .x2-studio { position: absolute; inset: 0; object-fit: cover; z-index: -1; }
.vehicle-credit {
  display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .48rem;
  padding: .55rem .7rem; color: #e6ded1; font-size: .69rem;
  border-top: 1px solid #4f483c;
}
.vehicle-credit a { text-decoration-thickness: 1px; }
.whatsapp-badge {
  position: fixed; right: max(clamp(.72rem,2.1vw,1.6rem), env(safe-area-inset-right));
  bottom: max(clamp(.72rem,2.1vw,1.6rem), env(safe-area-inset-bottom)); z-index: 5;
  display: inline-flex; align-items: center; gap: .58rem; padding: .34rem .66rem .34rem .38rem;
  min-height: 3rem; min-width: 3rem; background: var(--gold); border: 1px solid #141414;
  color: var(--ink); text-decoration: none; font-size: .87rem; font-weight: 750;
  box-shadow: 0 7px 24px #1414144c; border-radius: .28rem;
}
.whatsapp-badge img { display: block; width: 2.15rem; height: 2.15rem; }
.whatsapp-badge:hover { background: #ffda44; }
body:has(.whatsapp-badge) .site-footer { padding-bottom: 4.6rem; }
.contact-band {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 1.65rem; padding: clamp(1.3rem, 4vw, 3.4rem); margin-block: 0 clamp(3rem,7vw,6rem);
  background: #1c1a17; color: #faf7ef; border-left: .42rem solid var(--gold);
}
.contact-band > div:first-child { flex: 1 1 34rem; }
.contact-band h2 { font-size: clamp(1.85rem,3.65vw,3.3rem); }
.contact-band p { max-width: 57ch; margin-top: .7rem; color: #ded6c9; }
.contact-band a:focus-visible { outline-color: var(--gold); }
.contact-form textarea {
  width: 100%; min-height: 6.5rem; resize: vertical; padding: .6rem .68rem;
  border: 1px solid #7f7463; background: var(--paper); color: var(--ink);
  border-radius: .23rem; font: inherit; font-size: 1rem;
}
.contact-form textarea:focus-visible { outline: 3px solid #7f5d00; outline-offset: 4px; }
.footer-inner nav[aria-label="Guida per gli autonoleggi"]:empty { display: none; }
@media (max-width: 35rem) {
  .footer-inner nav { align-items: flex-start; column-gap: .85rem; }
  .whatsapp-badge { display: grid; justify-items: center; padding: .24rem .36rem; gap: .13rem; font-size: .65rem; line-height: 1.12; }
  .whatsapp-badge img { width: 1.85rem; height: 1.85rem; }
  .contact-band .actions { width: 100%; }
}

.guide-panel {
  display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr);
  align-items: start; gap: 1rem 2rem; margin-bottom: clamp(2.7rem,6vw,5.2rem);
  padding-top: 1.27rem; border-top: 2px solid var(--ink);
}
.guide-panel h2 { font-size: clamp(1.4rem,2.65vw,2.5rem); }
.guide-panel nav { display: grid; }
.guide-panel a {
  display: flex; justify-content: space-between; align-items: center; gap: .6rem;
  padding: .72rem .3rem; border-bottom: 1px solid var(--line);
  min-height: 44px; text-decoration: none; font-weight: 695;
}
.guide-panel a:hover { background: #ede8db; }
.guide-panel a span { color: #765618; }
@media (max-width: 52rem) { .guide-panel { grid-template-columns: minmax(0,1fr); } }


