/* Auto Matrimonio Lecce · the price list. White page, bottle-green type and rules, pale apricot for the switches and the flagged column. */
:root {
  --page: #FBFBF7; --white: #FFFFFF;
  --ink: #113A2D; --ink2: #46655A; --ink3: #7F978D;
  --rule: #C9D7CF; --rule2: #E2EAE5;
  --apri: #FCE8D5; --apri2: #F8D2AE; --apri3: #E59A5E;
  --red: #9E1F26;
  --lw: 236px; --pad: 40px; --max: 1440px;
  --cn: clamp(120px, 10.5vw, 150px);   /* width of each of the three columns without a photograph */
  --f: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --e: cubic-bezier(.16, 1, .3, 1); --e2: cubic-bezier(.25, 1, .5, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { position: relative; margin: 0; background: var(--page); color: var(--ink); font: 400 16px/1.55 var(--f); font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--apri2); color: var(--ink); }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--apri2); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cond { font-stretch: 75%; }

/* ---------- top line ---------- */
.top { max-width: var(--max); margin: 0 auto; padding: 18px var(--pad); display: grid; grid-template-columns: minmax(var(--lw), auto) 1fr auto auto; gap: 24px; align-items: center; border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; } .brand img { height: 46px; width: auto; display: block; }
.where { margin: 0; font-size: 13.5px; color: var(--ink2); }
.call { font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; } .call span { color: var(--ink2); font-weight: 500; margin-right: 4px; }
.call:hover { text-decoration: underline; }
.lang { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 3px; overflow: hidden; }
.lang button { border: 0; background: transparent; padding: 6px 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; cursor: pointer; transition: background .3s var(--e), color .3s var(--e); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--page); }

/* ---------- intro ---------- */
.intro { max-width: var(--max); margin: 0 auto; padding: 56px var(--pad) 44px; display: grid; grid-template-columns: var(--lw) repeat(6, minmax(0, 1fr)); column-gap: 0; align-items: end; }
.intro h1 { grid-column: 2 / 8; grid-row: 1; margin: 0 0 0 -6px; font-weight: 600; font-stretch: 75%; font-size: clamp(64px, 10.6vw, 172px); line-height: .84; letter-spacing: -.035em; text-wrap: balance; }
.intro h1 .l { display: block; } .intro h1 .l + .l { padding-left: 1.05em; }
.meta { grid-column: 1; grid-row: 1 / 3; align-self: end; display: flex; flex-direction: column; gap: 2px; padding-right: 24px; font-size: 14px; color: var(--ink2); }
.meta-k { font-weight: 700; font-stretch: 75%; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); width: max-content; }
.rating { margin-top: 14px; font-size: 12.5px; line-height: 1.45; text-decoration: none; color: var(--ink2); }
.rating b { display: block; font-size: 28px; font-stretch: 75%; font-weight: 600; color: var(--ink); line-height: 1; }
.rating:hover span { text-decoration: underline; }
.lede { grid-column: 5 / 8; grid-row: 2; margin: 30px 0 0; max-width: 44ch; font-size: 17px; line-height: 1.55; color: var(--ink); }

/* ---------- switches (sticky) ---------- */
.switches { position: sticky; top: 0; z-index: 30; background: var(--apri); border-top: 1px solid var(--apri2); border-bottom: 1px solid var(--apri2); }
.sw-in { max-width: var(--max); margin: 0 auto; padding: 12px var(--pad); display: grid; grid-template-columns: var(--lw) auto 1fr; gap: 28px; align-items: center; }
.sw-l { font-weight: 700; font-stretch: 75%; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.seg { position: relative; display: inline-flex; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--white); }
.seg button { position: relative; z-index: 1; border: 0; background: transparent; padding: 9px 16px; font-size: 15px; font-weight: 600; cursor: pointer; transition: color .45s var(--e); }
.seg button[aria-pressed="true"] { color: var(--page); }
.seg-ind { position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; width: 50%; background: var(--ink); transition: transform .55s var(--e), width .55s var(--e); }
.tog { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; font-weight: 600; justify-self: start; }
.tog input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.trk { position: relative; flex: none; width: 46px; height: 26px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--white); transition: background .45s var(--e); }
.thm { position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; background: var(--ink); border-radius: 1px; transition: transform .55s var(--e), background .45s var(--e); }
.tog input:checked + .trk { background: var(--ink); } .tog input:checked + .trk .thm { transform: translateX(20px); background: var(--apri2); }
.tog input:focus-visible + .trk { outline: 2px solid var(--ink); outline-offset: 3px; }
.tog-x { font-weight: 500; font-size: 13.5px; color: var(--ink2); padding: 3px 7px; border: 1px dashed var(--apri3); transition: background .45s var(--e), color .45s var(--e); }
.foto .tog-x { background: var(--ink); color: var(--page); border-color: var(--ink); }
.strip { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: var(--lw) repeat(3, minmax(0, 1fr)) repeat(3, var(--cn)); height: 0; overflow: hidden; opacity: 0; transition: height .45s var(--e), opacity .3s var(--e); background: var(--page); }
.switches.stuck .strip { height: 38px; opacity: 1; }
.switches.stuck { border-bottom-color: var(--rule); }
.strip span { padding: 9px 16px 0; font-weight: 600; font-stretch: 75%; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip span[data-c="alfa"] { background: var(--apri); }
.strip span.is-picked { box-shadow: inset 2px 0 var(--ink), inset -2px 0 var(--ink), inset 0 2px var(--ink); }

/* ---------- the table ---------- */
.tbl { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 64px; position: relative; }
.swipe { display: none; }
.tbl-in { position: relative; }
.band { position: absolute; top: 0; left: 0; z-index: 0; background: var(--apri); pointer-events: none; }
.flag { position: absolute; top: 16px; left: 16px; font-weight: 700; font-stretch: 75%; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.flag::before { content: ''; display: inline-block; width: 18px; height: 1.5px; background: var(--ink); vertical-align: middle; margin: -2px 8px 0 0; }
.frame { position: absolute; top: 0; left: 0; z-index: 3; pointer-events: none; opacity: 0; transition: transform .7s var(--e), width .7s var(--e), opacity .35s var(--e); }
.fr { position: absolute; left: 0; right: 0; border: 2px solid var(--ink); }
.fr-h { border-bottom: 0; } .fr-d { border-top-width: 0; }
.picked .frame { opacity: 1; }
.frame-t { position: absolute; left: 0; pointer-events: auto; background: var(--ink); color: var(--page); padding: 7px 12px 8px; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.frame-t::after { content: ' ↓'; }
.grid { position: relative; z-index: 1; width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.grid col.c-l { width: var(--lw); }
.grid td, .grid th { text-align: left; vertical-align: top; }
.heads > * { padding: 58px 16px 22px; border-bottom: 1.5px solid var(--ink); }
.corner { vertical-align: bottom !important; padding-left: 0 !important; }
.legend { display: flex; align-items: center; gap: 8px; font-size: 12.5px; line-height: 1.35; color: var(--ink2); margin-top: 6px; }
.legend b { color: var(--ink3); font-weight: 700; width: 14px; text-align: center; }
.legend .sw { width: 14px; height: 14px; flex: none; }
th.car { font-weight: 400; position: relative; padding-bottom: 86px !important; }
/* photographs from the firm's listing: a picture at the top of the column head, only where the car is certain.
   The three photographed cars are the full columns; the three without a photograph are a narrower group
   ("Anche a listino") with a typographic head that sits on the table's head line, no picture space. */
.grid col.c-n { width: var(--cn); }
th.car.more { vertical-align: bottom; --hp: 16px; }
.set { display: block; width: calc(300% + 4 * var(--hp)); margin: 0 0 22px; padding-top: 12px; border-top: 1.5px solid var(--ink); }
.set-k { display: block; font-weight: 700; font-stretch: 75%; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.set-t { display: block; margin-top: 6px; max-width: 42ch; font-size: 13.5px; line-height: 1.4; color: var(--ink2); }
th.car.more { padding-bottom: 98px !important; }
th.car.more .nm { font-size: 22px; }
th.car.more .one { min-height: 4.2em; }
th.car.more .pick { left: var(--hp); right: var(--hp); padding-left: 8px; padding-right: 8px; text-align: center; }
.g-diff td[data-c="c500"] { box-shadow: inset 1.5px 0 var(--rule); }
.shot { display: block; width: 100%; aspect-ratio: 4 / 3; margin: 12px 0 18px; overflow: hidden; border-radius: 3px; background: var(--rule2); box-shadow: inset 0 0 0 1px rgba(17, 58, 45, .12); }
.shot img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: var(--op, 50% 50%); }
.colo.colo-pics { margin-top: 6px; }
.plan { display: block; width: 100%; max-width: 128px; height: auto; margin: 0 0 18px; overflow: visible; }
.plan .bd { stroke: var(--ink); stroke-width: 1.6; }
.plan .wh { fill: var(--ink); }
.plan .in-o { fill: none; }
.plan .ws { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.nm { display: block; font-weight: 650; font-stretch: 75%; font-size: 25px; line-height: 1.02; letter-spacing: -.01em; min-height: 2.04em; }
.nm2 { display: block; font-weight: 500; color: var(--ink2); }
.one { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.4; color: var(--ink2); min-height: 2.8em; }
.pick { position: absolute; left: 16px; right: 16px; bottom: 22px; justify-content: center; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); border-radius: 3px; background: transparent; padding: 8px 12px; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background .35s var(--e), color .35s var(--e); text-align: left; }
.pick:hover { background: var(--ink); color: var(--page); }
.pick .pk1 { display: none; }
.is-picked .pick { background: var(--ink); color: var(--page); } .is-picked .pick .pk0 { display: none; } .is-picked .pick .pk1 { display: inline; }
.grid tbody th[scope="row"] { padding: 17px 16px 17px 0; font-size: 15px; font-weight: 600; border-top: 1px solid var(--rule); }
.grid tbody td { padding: 17px 16px; font-size: 15.5px; border-top: 1px solid var(--rule); }
.g-diff td + td { box-shadow: inset 1px 0 var(--rule2); }
.rl { display: flex; align-items: center; gap: 10px; }
.q { flex: none; width: 21px; height: 21px; border-radius: 50%; border: 1.5px solid var(--ink2); background: var(--page); color: var(--ink2); font-size: 12px; font-weight: 700; line-height: 1; padding: 0; cursor: pointer; transition: background .3s var(--e), color .3s var(--e), border-color .3s var(--e); }
.q:hover, .q[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: var(--page); }
.na { color: var(--ink3); font-weight: 600; }
.chip { display: inline-block; width: 15px; height: 15px; margin: 0 9px 0 0; vertical-align: -2px; border: 1.5px solid var(--ink); background: var(--sw); }
.chip2 { background: linear-gradient(var(--sw) 0 34%, #FFFFFF 34% 66%, var(--sw) 66%); }
tr.grp th { padding: 40px 0 12px; font-weight: 700; font-stretch: 75%; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink2); }
tr.grp th span::after { content: ''; display: inline-block; width: 42px; height: 1.5px; background: var(--ink2); vertical-align: middle; margin: -2px 0 0 12px; }
td.all { background-image: linear-gradient(90deg, var(--ink3) 0px calc(0px + 1px), transparent calc(0px + 1px) calc((100% - 3 * var(--cn)) / 3), var(--ink3) calc((100% - 3 * var(--cn)) / 3) calc((100% - 3 * var(--cn)) / 3 + 1px), transparent calc((100% - 3 * var(--cn)) / 3 + 1px) calc(2 * (100% - 3 * var(--cn)) / 3), var(--ink3) calc(2 * (100% - 3 * var(--cn)) / 3) calc(2 * (100% - 3 * var(--cn)) / 3 + 1px), transparent calc(2 * (100% - 3 * var(--cn)) / 3 + 1px) calc(100% - 3 * var(--cn)), var(--ink3) calc(100% - 3 * var(--cn)) calc(100% - 3 * var(--cn) + 1px), transparent calc(100% - 3 * var(--cn) + 1px) calc(100% - 2 * var(--cn)), var(--ink3) calc(100% - 2 * var(--cn)) calc(100% - 2 * var(--cn) + 1px), transparent calc(100% - 2 * var(--cn) + 1px) calc(100% - var(--cn)), var(--ink3) calc(100% - var(--cn)) calc(100% - var(--cn) + 1px), transparent calc(100% - var(--cn) + 1px) 100%); background-size: 100% 6px; background-repeat: no-repeat; background-position: 0 0; }
.sp { display: inline-block; }
.v-nodrv, .nodrv .v-drv, .v-foto1, .foto .v-foto0 { display: none; }
.nodrv .v-nodrv, .foto .v-foto1 { display: inline; }
.foto .r-foto .sp { background: var(--apri2); box-shadow: 0 0 0 5px var(--apri2); }

/* price row: one figure for the whole fleet */
.r-price th[scope="row"], .r-price td { border-top: 0 !important; }
.r-price td { padding: 26px 16px 30px; }
.r-price th[scope="row"] { padding-top: 34px; }
.price { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.p-big { font-weight: 600; font-stretch: 75%; font-size: clamp(56px, 7vw, 112px); line-height: .9; letter-spacing: -.035em; font-variant-numeric: lining-nums; white-space: nowrap; }
.p-drv { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 36px; }
.p-was { position: relative; display: inline-block; transition: color .6s var(--e); }
.strike { position: absolute; left: -6px; right: -6px; top: 50%; height: 5px; margin-top: -2px; background: var(--apri3); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--e) .05s; }
.foto .p-was { color: var(--ink3); } .foto .strike { transform: scaleX(1); }
.p-half { display: none; }
.foto .p-half { display: inline-block; animation: rise .9s var(--e) .25s both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 -10% 0); } }
.p-nodrv { display: none; } .nodrv .p-drv { display: none; } .nodrv .p-nodrv { display: block; }
.p-ask { color: var(--ink); }
.p-note { margin: 4px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink2); max-width: 70ch; }
.p-note > span { display: block; }
.n-nodrv, .n-foto, .nodrv .n-drv { display: none !important; }
.nodrv .n-nodrv, .foto .n-foto { display: block !important; }
.n-foto { width: fit-content; max-width: 100%; margin-top: 6px; padding: 3px 8px; background: var(--apri2); color: var(--ink); font-weight: 600; }

/* ---------- the request ---------- */
.req { max-width: var(--max); margin: 0 auto; padding: 44px var(--pad) 60px; display: grid; grid-template-columns: var(--lw) minmax(0, 1fr); position: relative; }
.req::before { content: ''; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 2px; background: var(--ink); }
.req-l { padding-right: 28px; }
.req h2 { margin: 0 0 14px; font-weight: 600; font-stretch: 75%; font-size: 40px; line-height: .95; letter-spacing: -.02em; }
.req-c { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink2); max-width: 26ch; }
.sum { margin: 0 0 4px; font-size: clamp(22px, 2.5vw, 34px); line-height: 1.22; font-weight: 450; letter-spacing: -.01em; max-width: 34em; text-wrap: pretty; }
.sum b { font-weight: 650; }
.sum .none { color: var(--ink3); font-weight: 450; text-decoration: underline dashed 1.5px; text-underline-offset: 6px; }
.sum b.none { font-weight: 600; }
.sum .hl { background: var(--apri2); box-shadow: 0 0 0 3px var(--apri2); }
.sum .dp { color: var(--ink2); }
.fields { display: grid; grid-template-columns: 1.25fr 1fr 1.25fr 1fr; gap: 18px 28px; margin: 30px 0 10px; }
.f { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.f input, .f select { width: 100%; min-width: 0; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: transparent; padding: 8px 0 9px; font-size: 17.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); transition: border-color .3s var(--e), box-shadow .3s var(--e); }
.f select { appearance: none; -webkit-appearance: none; padding-right: 26px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23113A2D' stroke-width='1.8'/%3E%3C/svg%3E") right 4px center no-repeat; }
.f input::placeholder { color: var(--ink3); opacity: 1; }
.f input:focus, .f select:focus { outline: 0; box-shadow: 0 2px 0 var(--apri3); border-bottom-color: var(--apri3); }
.f.bad input { border-bottom-color: var(--red); box-shadow: 0 2px 0 var(--red); }
.hint { margin: 6px 0 0; font-size: 14px; color: var(--ink2); min-height: 1.5em; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 24px 0 12px; }
.send { border: 0; border-radius: 3px; background: var(--ink); color: var(--page); padding: 15px 22px 16px; font-size: 16px; font-weight: 650; cursor: pointer; display: inline-flex; gap: 10px; align-items: center; transition: background .35s var(--e); }
.send::after { content: '→'; transition: transform .45s var(--e); }
.send:hover { background: #0A291F; } .send:hover::after { transform: translateX(5px); }
.alt { font-size: 14.5px; color: var(--ink2); } .alt a { color: var(--ink); font-weight: 600; }
.status { margin: 12px 0 0; font-size: 14.5px; font-weight: 600; min-height: 1.4em; color: var(--ink); }
.status.bad { color: var(--red); }

/* ---------- questions ---------- */
.faq { max-width: var(--max); margin: 0 auto; padding: 40px var(--pad) 72px; display: grid; grid-template-columns: var(--lw) minmax(0, 1fr); border-top: 1px solid var(--rule); }
.faq h2 { margin: 0; padding: 18px 28px 0 0; font-weight: 600; font-stretch: 75%; font-size: 30px; line-height: 1; letter-spacing: -.015em; align-self: start; position: sticky; top: 86px; }
.faq dl { margin: 0; }
.faq dl > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 32px; padding: 18px 0 20px; border-bottom: 1px solid var(--rule); }
.faq dt { font-weight: 650; font-stretch: 87.5%; font-size: 19px; line-height: 1.25; }
.faq dd { margin: 0; color: var(--ink2); font-size: 16px; line-height: 1.6; max-width: 60ch; }
.colo { grid-column: 2; margin: 28px 0 0; font-size: 13.5px; color: var(--ink2); }

/* ---------- the "?" bubble ---------- */
.bubble { position: absolute; z-index: 60; width: 330px; max-width: calc(100vw - 24px); background: var(--white); border: 1.5px solid var(--ink); border-radius: 12px; padding: 15px 40px 17px 18px; box-shadow: 0 22px 40px -24px rgba(17, 58, 45, .45); opacity: 0; transform: translateY(-6px) scale(.97); transform-origin: var(--px, 30px) 0; transition: opacity .3s var(--e), transform .45s var(--e); }
.bubble.on { opacity: 1; transform: none; }
.bubble::before { content: ''; position: absolute; top: -8.5px; left: calc(var(--px, 30px) - 8px); width: 15px; height: 15px; background: var(--white); border-left: 1.5px solid var(--ink); border-top: 1.5px solid var(--ink); border-top-left-radius: 3px; transform: rotate(45deg); }
.bt { display: block; margin-bottom: 6px; font-weight: 700; font-stretch: 75%; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); }
.bb { font-size: 14.5px; line-height: 1.5; }
.bb q { font-style: italic; quotes: '«' '»' '“' '”'; }
.bx { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border: 0; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink2); border-radius: 50%; }
.bx:hover { color: var(--ink); background: var(--rule2); }

/* ---------- arrival ---------- */
.js:not(.static) .intro h1 .l, .js:not(.static) .meta, .js:not(.static) .lede, .js:not(.static) th.car { transition: opacity .9s var(--e), transform 1.1s var(--e); }
.js:not(.static):not(.ready) .intro h1 .l { opacity: 0; transform: translateY(.3em); }
.js:not(.static):not(.ready) .meta, .js:not(.static):not(.ready) .lede { opacity: 0; transform: translateY(14px); }
.js:not(.static):not(.ready) th.car { opacity: 0; transform: translateY(18px); }
.intro h1 .l + .l { transition-delay: .1s; } .lede { transition-delay: .3s; } .meta { transition-delay: .4s; }
th.car[data-c="cla"] { transition-delay: .06s; } th.car[data-c="beetle"] { transition-delay: .12s; } th.car[data-c="c500"] { transition-delay: .18s; } th.car[data-c="e500"] { transition-delay: .24s; } th.car[data-c="e350"] { transition-delay: .3s; }
html.static { scroll-behavior: auto; }
html.static *, html.static *::before, html.static *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } html { scroll-behavior: auto; } }

/* ---------- narrower screens: the table becomes a scroller with a fixed label column ---------- */
@media (max-width: 1140px) {
  :root { --lw: 150px; --pad: 28px; --cn: 141px; }
  .intro { grid-template-columns: var(--lw) repeat(6, minmax(0, 1fr)); }
  .lede { grid-column: 3 / 8; }
  .strip { display: none; }
  .tbl { padding-left: 0; padding-right: 0; }
  .swipe { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px var(--pad) 0; font-size: 13px; font-weight: 600; color: var(--ink2); transition: opacity .4s var(--e); }
  .swipe i { position: relative; width: 46px; height: 1.5px; background: var(--ink2); }
  .swipe i::after { content: ''; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1.5px solid var(--ink2); border-right: 1.5px solid var(--ink2); transform: rotate(45deg); }
  .tbl.moved .swipe { opacity: .35; }
  .tbl-scroll { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-left: calc(var(--lw) + var(--pad)); padding: 0 var(--pad) 40px; scrollbar-width: thin; scrollbar-color: var(--ink2) var(--rule2); }
  .tbl-in { width: calc(var(--lw) + 3 * 211px + 3 * var(--cn)); }
  th.car.more .one { min-height: 5.6em; }
  th.car { scroll-snap-align: start; }
  .grid tbody th[scope="row"], .corner, tr.grp th { position: sticky; left: 0; z-index: 4; background: var(--page); box-shadow: calc(-1 * var(--pad)) 0 0 var(--page); /* covers the scroller's left padding, where cells showed through */ }
  tr.grp th { background: transparent; }
  tr.grp th span { position: sticky; left: 0; }
  .corner { z-index: 4; }
  .sp, .price { position: sticky; left: calc(var(--lw) + var(--pad) + 16px); max-width: calc(100vw - var(--lw) - 2 * var(--pad) - 32px); }
  .nm { font-size: 22px; }
  .p-big { font-size: clamp(48px, 9vw, 92px); }
  .faq h2 { position: static; }
}
@media (max-width: 760px) {
  :root { --lw: 112px; --pad: 16px; --cn: 126px; }
  .top { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding-top: 14px; padding-bottom: 14px; }
  .brand { grid-column: 1; grid-row: 1; } .lang { grid-column: 2; grid-row: 1; }
  .call { grid-column: 1 / -1; grid-row: 2; margin-top: 6px; font-size: 15px; }
  .where { grid-column: 1 / -1; grid-row: 3; font-size: 12.5px; }
  .brand img { height: 36px; max-width: 100%; }
  .intro { display: flex; flex-direction: column; align-items: stretch; padding-top: 34px; padding-bottom: 30px; }
  .intro h1 { order: 1; font-size: clamp(54px, 17vw, 92px); margin-left: -3px; }
  .intro h1 .l + .l { padding-left: .5em; }
  .lede { order: 2; margin-top: 22px; font-size: 16px; }
  .meta { order: 3; margin-top: 22px; flex-direction: row; flex-wrap: wrap; gap: 2px 14px; padding: 0; }
  .meta-k { width: 100%; border: 0; padding: 0; margin: 0 0 2px; }
  .rating { margin-top: 6px; width: 100%; } .rating b { display: inline; font-size: 20px; margin-right: 4px; }
  .sw-in { display: flex; flex-wrap: wrap; gap: 8px 14px; padding-top: 10px; padding-bottom: 10px; }
  .sw-l { display: none; }
  .seg button { padding: 7px 10px; font-size: 13.5px; }
  .tog { font-size: 13.5px; gap: 9px; } .tog-x { display: none; }
  .trk { width: 40px; height: 23px; } .thm { width: 14px; height: 14px; } .tog input:checked + .trk .thm { transform: translateX(17px); }
  .tbl-in { width: calc(var(--lw) + 3 * 190px + 3 * var(--cn)); }
  .heads > * { padding: 54px 12px 18px; }
  th.car.more { --hp: 12px; } th.car.more .nm { font-size: 18px; }
  .set-t { max-width: calc(2 * var(--cn) - 2 * var(--hp)); }
  .grid tbody th[scope="row"] { font-size: 13.5px; padding-right: 10px; }
  .rl { gap: 6px; flex-wrap: wrap; }
  .legend { font-size: 11.5px; }
  .grid tbody td { padding: 15px 12px; font-size: 14.5px; }
  .sp, .price { left: calc(var(--lw) + var(--pad) + 12px); max-width: calc(100vw - var(--lw) - var(--pad) - 32px); }
  .nm { font-size: 20px; }
  .p-big { font-size: 54px; }
  .p-note { font-size: 14px; }
  .req, .faq { display: block; }
  .req h2 { font-size: 34px; }
  .req-c { max-width: none; margin-bottom: 22px; }
  .sum { font-size: 21px; }
  .fields { grid-template-columns: 1fr; gap: 16px; }
  .faq h2 { padding: 0 0 12px; }
  .faq dl > div { grid-template-columns: 1fr; gap: 6px; }
  .colo { margin-top: 22px; }
  html { scroll-padding-top: 70px; }
}

/* ---------- legal pages (the generator fills main.doc) ---------- */
.doc-top { max-width: 920px; margin: 0 auto; padding: 18px var(--pad); display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--rule); }
.doc-top a.back { font-size: 14px; font-weight: 600; }
.doc { max-width: 920px; margin: 0 auto; padding: 36px var(--pad) 80px; font-size: 15.5px; line-height: 1.65; }
.doc h1 { font-weight: 600; font-stretch: 75%; font-size: clamp(38px, 6vw, 64px); line-height: .95; letter-spacing: -.025em; margin: 0 0 24px; }
.doc h2 { font-weight: 650; font-stretch: 87.5%; font-size: 22px; line-height: 1.2; margin: 34px 0 10px; padding-top: 14px; border-top: 1px solid var(--rule); }
.doc h3 { font-size: 17px; margin: 22px 0 8px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 12px 0 18px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--rule); }
.doc th { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); border-bottom: 1.5px solid var(--ink); }
.doc .b button { border-radius: 3px !important; }

/* == legal == cookie banner + seller block (generated by sites/_legal/gen.py; the banner look comes from _legal/cookie-styles.css) */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 9999; max-width: 400px; font-family: inherit; font-size: 14px; line-height: 1.5; letter-spacing: 0; text-transform: none; text-align: left; }
.ck, .ck * { box-sizing: border-box; } .ck .ck-k { display: block; } .ck .ck-t, .ck .ck-p { margin: 0; } .ck .b { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.ck button, .ck a.more { cursor: pointer; text-decoration: none; line-height: 1.2; margin: 0; }
/* banner: auto-matrimonio-lecce */
.ck { --ck-bottom: 64px; left: 28px; bottom: 74px; width: 372px; max-width: none; background: var(--white); color: var(--ink); padding: 16px 20px 18px; border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: 0 22px 40px -24px rgba(17, 58, 45, .45); font-family: var(--f); }
.ck::before { content: ''; position: absolute; left: 22px; bottom: -8.5px; width: 15px; height: 15px; background: var(--white); border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); border-bottom-right-radius: 3px; transform: rotate(45deg); }
.ck::after { content: '?'; position: absolute; left: 15px; bottom: -52px; width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--page); font: 700 15px/1 var(--f); box-shadow: 0 0 0 5px var(--page); }
.ck .ck-k { margin-bottom: 6px; font-weight: 700; font-stretch: 75%; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); }
.ck .ck-t b { display: block; margin-bottom: 6px; font-weight: 600; font-stretch: 75%; font-size: 26px; line-height: 1; letter-spacing: -.015em; }
.ck .ck-p { font-size: 14px; line-height: 1.5; color: var(--ink); }
.ck .b { gap: 10px 14px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); }
.ck button { border-radius: 3px; border: 1.5px solid var(--ink); padding: 8px 14px; font: 600 14px/1.2 var(--f); transition: background .3s cubic-bezier(.16, 1, .3, 1), color .3s cubic-bezier(.16, 1, .3, 1); }
.ck .ok { background: var(--ink); color: var(--page); } .ck .ok:hover { background: #0A291F; }
.ck .no { background: var(--apri); color: var(--ink); } .ck .no:hover { background: var(--apri2); }
.ck .more { font: 600 14px/1.2 var(--f); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .ck { left: 12px; right: 12px; bottom: 64px; padding: 14px 16px 16px; } .ck .ck-t b { font-size: 23px; } .ck::after { bottom: -50px; } }
/* seller block: the last ruled row of the page, label column on the left like the table's */
footer.seller { max-width: var(--max); margin: 0 auto; padding: 26px var(--pad) 40px; border-top: 1.5px solid var(--ink); color: var(--ink); font-size: 13px; }
footer.seller .seller-in { max-width: none; } footer.seller b { opacity: 1; color: var(--ink2); font-stretch: 75%; font-size: 12px; letter-spacing: .16em; }
footer.seller strong { font-weight: 650; font-stretch: 75%; font-size: 19px; }
body:has(> .ck) footer.seller { padding-bottom: 300px; }

@media (max-width: 600px) { .ck { left: 10px; right: 10px; bottom: var(--ck-bottom, 10px); width: auto; max-width: none; transform: none; } }
.seller { font-size: 12.5px; line-height: 1.6; color: inherit; padding: 22px 24px 26px; border-top: 1px solid rgba(128,128,128,.35); letter-spacing: 0; text-transform: none; font-family: inherit; }
.seller-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.seller b { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; font-weight: 700; }
.seller a { color: inherit; } .seller address { font-style: normal; } .seller strong { font-weight: 700; }
.seller.panel { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9998; background: #fff; color: #111; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); max-width: 940px; margin: 0 auto; border-top: 0; padding: 24px 26px 22px; }
.seller.panel:target { display: block; }
.seller .x { position: absolute; top: 6px; right: 12px; text-decoration: none; font-size: 22px; line-height: 1; padding: 6px 8px; }
.ck-page .st { padding: 10px 14px; border: 1px solid rgba(128,128,128,.4); border-radius: 8px; margin: 10px 0 14px; font-weight: 700; } .ck-page .b { display: flex; gap: 8px; flex-wrap: wrap; } .ck-page button { font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
@media (max-width: 760px) { table.lgl-t, table.lgl-t tbody, table.lgl-t tr, table.lgl-t td { display: block; width: auto; } table.lgl-t thead { display: none; } table.lgl-t tr { padding: 10px 0; border-bottom: 1px solid rgba(128,128,128,.35); } table.lgl-t td { border: 0 !important; padding: 2px 0 !important; overflow-wrap: anywhere; } table.lgl-t td::before { content: attr(data-l) ": "; font-weight: 700; } }
table.lgl-t code { overflow-wrap: anywhere; }
.lead-note.lead-note { font-size: 12px; line-height: 1.5; margin: 0; letter-spacing: 0; text-transform: none; font-weight: 400; font-style: normal; text-align: left; max-width: 62ch; } .lead-note.lead-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 700px) { .seller-in { grid-template-columns: 1fr; } .seller.panel { left: 8px; right: 8px; bottom: 8px; max-height: 80dvh; overflow: auto; } }
