:root {
  --ink: #14232e;
  --muted: #586773;
  --blue: #2054d6;
  --line: #d8dee1;
  --paper: #f8f9f7;
  --sans: 'DM Sans', Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  scroll-behavior: smooth;
}
* {box-sizing: border-box}
body {margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased}
body:has(dialog[open]) {overflow: hidden}
button, a, select, summary {font: inherit; color: inherit}
button, summary, select {cursor: pointer}
button {background: none; border: 0}
a {text-decoration: none}
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible {outline: 3px solid #64a2ff; outline-offset: 4px}
[hidden] {display: none !important}
svg {width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none}
.defs {width: 0; height: 0; position: absolute; overflow: hidden}
.wrap {width: min(88%, 1392px); margin-inline: auto}
.skip {position: fixed; z-index: 20; top: -5rem; left: 8px; background: white; padding: .8em}
.skip:focus {top: 4px}
h1, h2, h3, p {margin: 0}
header {background: #fff; position: relative; z-index: 5; box-shadow: 0 1px 0 #14232e12}
.topbar, .logo, .topbar nav, .btn, .hero-actions, .ghost-play, .film-btn, .header-contact, .hero-place, .text-link, .kicker, .section-head, footer .wrap {display: flex; align-items: center}
.topbar {height: 78px; justify-content: space-between; gap: 24px}
.logo {width: max-content; gap: 9px}
.logo img {width: 43px; height: 38px}
.logo span {font-size: 24px; font-weight: 800; letter-spacing: -.078em; white-space: nowrap}
.logo strong {font-weight: 500}
.topbar nav {gap: clamp(18px, 2.65vw, 43px); margin-inline: auto}
.topbar nav a {font-size: 13px; font-weight: 650; padding-block: 8px; position: relative}
.topbar nav a::after {content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s ease}
.topbar nav a:hover::after, .topbar nav a.active::after {transform: scaleX(1)}
.header-contact, .btn {width: fit-content; justify-content: center; border-radius: 999px; font-weight: 700; gap: 10px}
.header-contact {background: var(--ink); color: white; padding: 11px 18px; font-size: 13px}
.header-contact:hover {background: var(--blue)}
.header-contact svg {height: 15px; width: 15px}
.nav-toggle {display: none}
.hero {isolation: isolate; position: relative; overflow: hidden; background: #152d3c; color: #fff}
.hero-image, .hero::after {position: absolute; inset: 0; z-index: -1}
.hero-image img {width: 100%; height: 100%; display: block; object-fit: cover; object-position: 65% 56%}
.hero::after {content: ''; background: linear-gradient(90deg, rgba(7,23,36,.84), rgba(8,25,38,.64) 20%, rgba(10,29,42,.24) 44%, transparent 64%), linear-gradient(0deg, #07172740, transparent 24%)}
.hero-inner {min-height: clamp(505px, 39.5vw, 655px); padding-block: clamp(42px, 4.1vw, 70px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start}
.hero-place, .kicker {gap: 9px; text-transform: uppercase; font-weight: 750; font-size: 10px; line-height: 1.3; letter-spacing: .16em}
.hero-place {color: #f2f6ff; text-shadow: 0 1px 6px #17283988}
.hero-place svg {width: 15px; height: 15px}
.hero h1 {font-weight: 500; font-size: clamp(84px, 7.9vw, 135px); line-height: .88; letter-spacing: -.08em; margin: 23px 0}
h1 em, h2 em {font-family: var(--serif); font-weight: 400; letter-spacing: -.043em}
.hero h1 em {color: #f6ece0; font-size: 1.13em; line-height: .86}
.hero-inner>p {font-size: clamp(14px, 1.12vw, 18px); color: #f0f3f4; line-height: 1.57}
.hero-actions {gap: clamp(18px, 2vw, 30px); margin-top: 29px}
.btn {padding: 14px 21px; font-size: 14px}
.primary {background: white; color: #152c3d}
.primary:hover {background: #e2edff}
.btn svg {width: 18px; height: 18px; transition: transform .2s}
.btn:hover svg {transform: translateX(3px)}
.ghost-play, .film-btn {width: fit-content; gap: 11px; padding: 0; font-size: 13px; font-weight: 650; color: #fff}
.ghost-play span, .film-btn span {display: grid; place-items: center; border: 1px solid #ffffff9c; border-radius: 50%; transition: background .25s}
.ghost-play span {height: 34px; width: 34px}
.ghost-play svg {height: 13px; width: 13px}
.ghost-play:hover span, .film-btn:hover span {background: #ffffff38}
.inventory {padding-block: clamp(43px, 4.2vw, 72px) clamp(55px, 5vw, 80px)}
.section-head {justify-content: space-between; gap: 16px; align-items: flex-end}
.kicker {color: var(--muted)}
.kicker i {display: inline-block; width: 23px; height: 2px; background: var(--blue)}
h2 {font-weight: 500; font-size: clamp(42px, 4.5vw, 75px); line-height: 1.05; letter-spacing: -.073em}
.section-head h2, .services h2, .showrooms h2, .cinema h2 {margin-top: 10px}
.text-link {display: inline-flex; gap: 7px; font-weight: 700; font-size: 13px; padding-block: 3px; border-bottom: 1px solid #a0abb4}
.text-link svg {width: 16px; height: 16px}
.text-link:hover {color: var(--blue); border-color: var(--blue)}
.section-head>.text-link {margin-bottom: 5px}
.catalog-controls {display: flex; align-items: center; gap: 10px; margin: 22px 0 19px}
.catalog-field {position: relative; display: inline-flex; align-items: center; gap: 8px; background: #fff; padding: 7px 11px; border: 1px solid var(--line); border-radius: 6px}
.catalog-field>span {font-size: 11px; color: var(--muted)}
.catalog-select {font: 650 12px/1.5 var(--sans); border: 0; border-radius: 0; background: transparent; color: var(--ink); max-width: 100%}
.catalog-reset {font-size: 12px; text-decoration: underline; text-underline-offset: 3px}
.catalog-count {margin-left: auto; font-size: 12px; font-weight: 600; color: var(--muted)}
.cars {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px)}
.catalog-empty {grid-column: 1/-1; padding: 30px 0; color: var(--muted)}
.car-card {display: block; min-width: 0; background: white; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease}
.car-card:hover {transform: translateY(-4px); box-shadow: 0 10px 27px #11253512}
.car-photo {aspect-ratio: 1.76; position: relative; overflow: hidden; background: #dce4e5}
.car-photo img {width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s ease}
.car-card:hover img {transform: scale(1.035)}
.year {position: absolute; top: 14px; left: 14px; background: white; color: var(--ink); border-radius: 999px; padding: 3px 10px; font-weight: 750; font-size: 11px; box-shadow: 0 1px 8px #132d3925}
.car-photo {background: #f3f2eb}
.car-photo .model-sketch {object-fit: cover}
.car-photo .listing-photo {position: absolute; inset: 0; opacity: 0}
.photo-ready .listing-photo {opacity: 1}
.sketch-caption {position: absolute; left: 12px; bottom: 9px; font-size: 9px; letter-spacing: .045em; background: #fffffff0; padding: 2px 6px; color: #3e4c55; border-radius: 2px}
.car-copy {padding: clamp(16px, 1.55vw, 25px)}
.car-copy h3, .contact-grid h3 {font-size: clamp(20px, 1.6vw, 26px); line-height: 1.2; font-weight: 700; letter-spacing: -.045em}
.car-copy>p {font-size: 13px; line-height: 1.5; color: var(--muted); margin: 5px 0 15px}
.car-specs {display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; font-size: 11px; color: #52626e}
.car-specs span {display: inline-flex; gap: 5px; align-items: center}
.car-specs svg {height: 14px; width: 14px}
.car-price {border-top: 1px solid #dce2e4; margin-top: 17px; padding-top: 13px; display: flex; justify-content: space-between; align-items: center}
.car-price strong {font-size: 22px; font-weight: 700; letter-spacing: -.045em}
.car-open {width: 30px; height: 30px; display: grid; place-items: center; background: #f0f3f7; border-radius: 50%; color: var(--blue)}
.car-open svg, .more-cars svg {height: 15px; width: 15px}
.more-cars {display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 999px; margin: 26px auto 0; padding: 11px 17px; font-size: 13px; font-weight: 650; background: white}
.more-cars:hover {border-color: var(--blue)}
.cinema {isolation: isolate; position: relative; overflow: hidden; background: #20282d url('img/abitacolo.webp') center 57%/cover; color: white}
.cinema video, .cinema-shade {position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2}
.cinema video {object-fit: cover; opacity: 0; transition: opacity .55s}
.cinema.has-footage video {opacity: 1}
.cinema-shade {z-index: -1; background: linear-gradient(90deg,#10202ad9,#11222e54 51%,transparent 78%)}
.film-content {padding-block: clamp(65px, 6vw, 105px)}
.cinema .kicker {color: #ebf0f4}
.cinema .kicker i {background: #98b8ff}
.cinema h2 {font-size: clamp(64px, 6.7vw, 112px); line-height: .99}
.film-btn {margin-top: 27px}
.film-btn span {width: 50px; height: 50px}
.film-btn svg {width: 18px; height: 18px}
.shutter {position: absolute; z-index: 2; inset: -2px; pointer-events: none; background: #102435; visibility: hidden}
.shutter-left {clip-path: polygon(0 0,62% 0,42% 100%,0 100%)}
.shutter-right {clip-path: polygon(62% 0,100% 0,100% 100%,42% 100%); background: #182f41}
.shutter::after {content: ''; position: absolute; inset: 0; clip-path: polygon(61% 0,63% 0,43% 100%,41% 100%); background: #6592ff}
.cinema.armed .shutter {visibility: visible; transition: transform 1.35s cubic-bezier(.65,.01,.15,1)}
.cinema.revealed .shutter-left {transform: translateX(-68%)}
.cinema.revealed .shutter-right {transform: translateX(68%)}
.motion-control {position: absolute; bottom: 22px; right: 6%; color: white; width: 40px; height: 40px; background: #14232e80; border: 1px solid #fff9; border-radius: 50%}
.services {display: grid; grid-template-columns: .91fr 1.09fr; gap: 10%; padding-block: clamp(52px,6vw,94px)}
.services>div>p, .showroom-intro {font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 380px; margin-top: 17px}
.accordions {border-top: 1px solid var(--line)}
details {border-bottom: 1px solid var(--line)}
summary {display: flex; justify-content: space-between; align-items: center; gap: 18px; list-style: none; padding: 18px 0; font-size: 18px; font-weight: 650; letter-spacing: -.025em}
summary::-webkit-details-marker {display: none}
summary svg {height: 18px; width: 18px; color: var(--blue)}
details[open] summary svg {transform: rotate(180deg)}
details p {font-size: 14px; margin: 0 35px 20px 0; color: var(--muted)}
.showrooms {padding-block: clamp(52px,6vw,90px); background: #e7eeef}
.showroom-intro {max-width: 570px}
.contact-grid {display: grid; grid-template-columns: 1fr 1fr 1.05fr; gap: 3.5%; margin-top: 30px}
.contact-grid>div {border-top: 1px solid #b8c7cf; padding-top: 20px}
.contact-grid p {font-size: 14px; line-height: 1.65; margin: 10px 0 14px; color: #40535f}
.contact-grid a {font-size: 14px}
.contact-grid a:hover {color: var(--blue)}
footer {background: #122430; color: white}
footer .wrap {min-height: 83px; justify-content: space-between; gap: 15px}
footer .logo img {filter: brightness(0) invert(1)}
footer .wrap>span, footer .wrap>a:last-child {font-size: 12px; color: #cad3da}
footer .wrap>a:last-child {display: flex; align-items: center; gap: 7px}
footer svg {width: 14px; height: 14px}
dialog {background: #101c24; color: white; padding: 0; border: 1px solid #547085; border-radius: 12px; width: min(1050px,94vw); max-height: 94svh; overflow: auto}
dialog::backdrop {background: #07121aee}
dialog[open] {animation: film-in .6s cubic-bezier(.17,.77,.24,1)}
@keyframes film-in {from {clip-path: polygon(58% 0,60% 0,42% 100%,40% 100%); transform: scale(.975)} to {clip-path: polygon(0 0,100% 0,100% 100%,0 100%); transform: scale(1)}}
.player-head, .player-foot {display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 17px}
.player-head h2 {font-size: 20px; font-weight: 600; letter-spacing: -.035em}
.player-foot {font-size: 12px; flex-wrap: wrap}
.player-foot a {text-decoration: underline}
.dialog-close {color: white; display: grid; place-items: center; height: 35px; width: 35px; border-radius: 50%; background: #ffffff1c}
#film-player {aspect-ratio: 16/9; display: block; width: 100%; max-height: 72svh; background: #060b0e}
@media(min-width: 1880px) {.hero-inner {min-height: 36vw}}
@media(max-width: 900px) {
 .wrap {width: 90%}
 .topbar {gap: 12px}
 .topbar nav {gap: 15px}
 .hero-inner {min-height: 480px}
 .hero-image img {object-position: 64% 50%}
 .cars {gap: 12px}
 .car-specs {column-gap: 8px}
 .services {gap: 6%}
}
@media(max-width: 700px) {
 .wrap {width: 89%}
 .topbar {height: 65px; gap: 13px}
 .topbar .logo {margin-right: auto}
 .logo img {width: 34px; height: 31px}
 .logo span {font-size: 21px}
 .header-contact {font-size: 12px; padding: 8px 12px}
 .header-contact svg {width: 13px; height: 13px}
 .nav-toggle {display: grid; place-items: center; padding: 6px 0 6px 5px}
 .topbar nav {display: none; position: absolute; inset: 100% 0 auto; margin: 0; padding: 9px 5.5% 18px; background: #fff; box-shadow: 0 10px 15px #10243512}
 .topbar nav.open {display: grid; gap: 0}
 .topbar nav a {padding: 12px 0}
 .topbar nav a::after {display: none}
 .hero-inner {min-height: clamp(515px,92vw,610px); padding-block: 31px 218px; justify-content: flex-start}
 .hero-image {top: auto; height: 70%}
 .hero-image img {object-position: 75% 56%}
 .hero::after {background: linear-gradient(180deg,#152d3c 0%,#152d3c 23%,#152d3ce6 33%,#152d3c7a 48%,transparent 66%,#0c1b2717)}
 .hero h1 {font-size: clamp(65px,12.5vw,88px); margin: 17px 0}
 .hero h1 br {display: none}
 .hero h1 em::before {content: ' '}
 .hero-actions {margin-top: 19px}
 .hero-place {font-size: 9px}
 .hero-inner>p {font-size: 14px}
 .primary {font-size: 12px; padding: 12px 16px}
 .section-head {align-items: flex-end}
 .section-head .text-link {font-size: 11px; gap: 4px; white-space: nowrap}
 .catalog-controls {flex-wrap: wrap; margin: 18px 0 15px; gap: 7px}
 .catalog-field {padding: 6px 8px}
 .catalog-field>span {position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%)}
 .catalog-count, .catalog-select {font-size: 11px}
 .inventory {padding-block: 35px 43px}
 .cars {grid-template-columns: repeat(2,minmax(0,1fr))}
 .cinema h2 {font-size: clamp(53px,10.5vw,75px)}
 .film-content {padding-block: 55px}
 .services {grid-template-columns: 1fr; gap: 25px}
 .contact-grid {grid-template-columns: 1fr; gap: 23px}
 .showroom-intro {font-size: 14px}
 footer .wrap>span {display: none}
}
@media(max-width: 490px) {
 .cars {grid-template-columns: 1fr; gap: 20px}
 .hero-inner {min-height: 505px; padding-bottom: 195px}
 .hero-image {height: 58%}
 .hero-image img {object-position: 82% 56%}
 .hero::after {background: linear-gradient(180deg,#152d3c 0%,#152d3c 34%,#152d3cf2 42%,#152d3c77 54%,transparent 69%)}
 .hero h1 {font-size: clamp(58px,14vw,72px)}
 .hero-actions {gap: 16px}
 .ghost-play {gap: 8px; font-size: 12px}
 .section-head h2 {font-size: clamp(35px,9vw,44px)}
 .section-head {gap: 8px}
 .catalog-field {padding: 7px}
 .contact-grid h3 {font-size: 22px}
 .cinema {background-position: 62% center}
 .film-content {padding-block: 47px}
 .player-head h2 {font-size: 16px}
}
@media(prefers-reduced-motion: reduce) {
 :root {scroll-behavior: auto}
 *, *::before, *::after {transition-duration: .01ms !important; animation-duration: .01ms !important}
 .shutter {display: none}
}
