:root {
  color-scheme: light;
  --ink: #181719;
  --night: #141315;
  --paper: #f7f6f3;
  --white: #fff;
  --muted: #5d5958;
  --line: #dedbd7;
  --red: #c92330;
  --red-hover: #a81824;
  --red-light: #ff6268;
  --shell: 1232px;
  --gutter: clamp(1.25rem, 5vw, 4.75rem);
  font: 100%/1.5 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, figure { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button, select, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #1d7cc2; outline-offset: 4px; }
main:focus { outline: 0; }
.skip { position: absolute; z-index: 10; padding: .75rem; color: var(--ink); background: white; transform: translateY(-110%); }
.skip:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shell { width: min(calc(100% - 2 * var(--gutter)), var(--shell)); margin-inline: auto; }
.icon { width: 1.12rem; height: 1.12rem; flex: 0 0 auto; vertical-align: middle; }
.accent { color: var(--red); }
.muted { color: var(--muted); }

.site-header { position: relative; z-index: 2; color: white; background: var(--night); border-bottom: 1px solid #ffffff1c; }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-brand { display: inline-grid; justify-items: center; gap: 0; width: fit-content; color: var(--red-light); }
.header-brand svg { width: 58px; height: 22px; color: #fcf9f3; }
.header-brand span { font: 700 1.48rem/.95 Georgia, serif; letter-spacing: -.035em; }
.header-brand .brand-byline { margin-top: .25rem; color: #fcf9f3; font-size: .75rem; line-height: 1.15; }
.desktop-nav { display: none; }
.mobile-menu summary { display: flex; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .65rem; border: 1px solid #ffffff38; border-radius: .4rem; font-size: .85rem; }
.mobile-menu nav { position: absolute; top: 100%; inset-inline: 0; display: grid; background: var(--night); padding: .65rem var(--gutter) 1rem; box-shadow: 0 8px 18px #0004; }
.mobile-menu nav a { display: flex; gap: .5rem; align-items: center; min-height: 44px; border-bottom: 1px solid #ffffff27; }
.site-header nav a:hover, .site-header nav [aria-current] { color: var(--red-light); }
@media (min-width: 760px) {
  .header-inner { min-height: 86px; }
  .header-brand svg { width: 71px; height: 25px; }
  .header-brand span { font-size: 1.75rem; }
  .mobile-menu { display: none; }
  .desktop-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3.3vw, 3rem); font-weight: 600; font-size: .91rem; }
  .nav-contact { display: inline-flex; align-items: center; gap: .55rem; padding: .62rem .85rem; border: 1px solid #ffffff4d; border-radius: .4rem; }
}

.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; color: var(--red); font-size: .72rem; font-weight: 800; letter-spacing: .115em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.045em; }
h1 { font-size: clamp(2.45rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 4.1vw, 3.35rem); font-weight: 800; }
h3 { font-size: 1.4rem; font-weight: 760; }
.intro { max-width: 57ch; font-size: 1.06rem; color: var(--muted); }
.actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .65rem; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: .7rem;
  min-height: 50px; border: 1px solid transparent; padding: .7rem 1rem;
  border-radius: .42rem; font-size: .92rem; font-weight: 760; line-height: 1.25;
  transition: background-color .16s, color .16s, border-color .16s;
}
.button--primary { color: white; background: var(--red); }
.button--primary:hover { background: var(--red-hover); }
.button--light { color: white; background: #17151732; border-color: #ffffff72; }
.button--light:hover { background: white; color: var(--ink); border-color: white; }
.button--outline { border-color: #aaa29e; background: var(--white); color: var(--ink); }
.button--outline:hover { border-color: var(--ink); background: var(--ink); color: white; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; color: #a91b26; font-weight: 750; min-height: 44px; width: fit-content; }
.text-link:hover { text-decoration: underline; text-underline-offset: .2em; }

.hero { position: relative; color: white; background: var(--night); display: flex; flex-direction: column-reverse; isolation: isolate; }
.hero-visual { position: relative; background: #251c20; }
.hero-visual img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 70% 60%; }
.hero-visual figcaption, .image-caption, .gallery-figure figcaption {
  display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .53rem;
  font-size: .69rem; font-weight: 650; border-radius: .28rem;
}
.hero-visual figcaption { position: absolute; right: var(--gutter); bottom: .8rem; color: white; background: #171517e8; }
.hero-visual figcaption .icon, .image-caption .icon, .gallery-figure figcaption .icon { width: .85rem; height: .85rem; }
.hero-inner { position: relative; padding-block: 2.5rem 1.8rem; }
.hero .eyebrow { color: #f2dcda; letter-spacing: .09em; }
.hero .eyebrow .icon, .hero .accent { color: var(--red-light); }
.hero h1 { margin-block: .55rem 1rem; letter-spacing: -.06em; line-height: .99; }
.hero-copy { max-width: 43ch; color: #e5dedd; font-size: 1rem; }
.hero .actions { margin-top: 1.45rem; flex-direction: column; align-items: stretch; }
@media (min-width: 540px) {
  .hero .actions { flex-direction: row; align-items: flex-start; }
}
@media (min-width: 760px) {
  .hero { min-height: 535px; display: grid; align-items: center; overflow: hidden; }
  .hero-visual { position: absolute; z-index: -1; inset: 0; }
  .hero-visual img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 64% 58%; }
  .hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #141315 0%, #141315f0 20%, #141315c9 37%, #14131535 65%, #14131514 100%), linear-gradient(0deg, #14131562, transparent 34%); }
  .hero-visual figcaption { z-index: 1; bottom: 1.3rem; }
  .hero-inner { padding-block: 4rem; }
  .hero-copy { font-size: 1.14rem; }
  .hero h1 { font-size: clamp(3.5rem, 5.55vw, 5rem); }
  .hero .actions { margin-top: 1.75rem; }
}

.section { padding-block: clamp(2.6rem, 6vw, 5rem); }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .55rem 1.5rem; margin-bottom: 1.2rem; }
.section-heading h2 { margin-block: .38rem .55rem; }
.section-heading p:not(.eyebrow) { color: var(--muted); max-width: 52ch; }
.car-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) {
  .car-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .car-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.car-card { min-width: 0; background: white; border: 1px solid var(--line); border-radius: .65rem; transition: border-color .16s; }
.car-card:hover { border-color: #a69a97; }
.card-link { display: block; height: 100%; border-radius: inherit; }
.card-image { position: relative; overflow: hidden; border-radius: .6rem .6rem 0 0; background: #eae5e0; }
.card-image img { aspect-ratio: 800 / 430; object-fit: cover; }
.card-badges { position: absolute; display: flex; flex-wrap: wrap; gap: .3rem; top: .7rem; left: .7rem; right: .7rem; }
.badge { display: inline-flex; align-items: center; width: fit-content; gap: .35rem; border-radius: .3rem; padding: .25rem .47rem; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.badge--available { color: #164733; background: #effaf4; }
.badge--sold { color: #87222a; background: #fff1f2; }
.badge--demo { color: #413630; background: #fff9ef; }
.badge--available::before, .badge--sold::before { content: ''; width: .38rem; height: .38rem; border-radius: 100%; background: currentColor; }
.image-caption { position: absolute; bottom: .6rem; right: .6rem; color: #393338; background: #fffef4ed; }
.card-body { padding: .9rem 1rem 1rem; }
.card-name { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.card-arrow { color: var(--red); }
.card-trim { color: var(--muted); font-size: .87rem; margin-top: .22rem; }
.card-specs { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin-block: .8rem; font-size: .84rem; color: #494442; }
.card-specs .icon { margin-right: .15rem; width: .97rem; height: .97rem; }
.card-price { display: block; border-top: 1px solid var(--line); padding-top: .6rem; color: #a91b26; font-size: 1.45rem; font-weight: 820; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

.contact-band { background: #961d28; color: white; }
.band-inner { padding-block: clamp(2rem, 5vw, 3.65rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.contact-band .eyebrow, .contact-band h2 + p { color: #ffe2e3; }
.contact-band h2 { font-size: clamp(1.8rem, 4vw, 2.65rem); margin-block: .35rem .7rem; }
.site-footer { color: #e9e2e0; background: var(--night); }
.whatsapp-fab {
  position: fixed; z-index: 3;
  right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem;
  border: 2px solid white; border-radius: 50%; color: white; background: #087d48;
  box-shadow: 0 3px 14px #0004;
}
.whatsapp-fab:hover { background: #066a3d; }
.whatsapp-fab .icon { width: 1.8rem; height: 1.8rem; }
.whatsapp-fab + .site-footer { padding-bottom: calc(3.75rem + env(safe-area-inset-bottom)); }
.has-car-contact-bar {
  --car-contact-space: calc(4.25rem + env(safe-area-inset-bottom));
  scroll-padding-bottom: var(--car-contact-space);
}
.car-contact-bar {
  position: fixed; z-index: 3; inset: auto 0 0;
  padding: .5rem max(.75rem, env(safe-area-inset-right)) calc(.5rem + env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left));
  border-top: 1px solid #ffffff26; background: var(--night); box-shadow: 0 -3px 14px #0002;
}
.car-contact-bar-inner { display: flex; gap: .5rem; max-width: 30rem; margin-inline: auto; }
.car-contact-bar .button {
  flex: 1 1 0; justify-content: center; gap: .4rem; min-height: 48px;
  padding: .35rem .5rem; font-size: .875rem; text-align: center;
}
.car-contact-bar .button--whatsapp { flex-grow: 1.35; color: white; background: #087d48; }
.car-contact-bar .button--whatsapp:hover { background: #066a3d; }
.car-contact-bar + .site-footer { padding-bottom: var(--car-contact-space); }
.footer-main { padding-block: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.footer-main p { margin-top: .65rem; font-size: .87rem; }
.footer-main nav { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.3rem; font-size: .87rem; }
.footer-main nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-main nav a:hover { color: var(--red-light); }
.footer-links { display: grid; }
.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.3rem; }
.social-links a { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; font-weight: 700; }
.social-links .icon { width: .95rem; height: .95rem; }
.footer-main .social-links { color: #ff9a9e; }
.contact-social .social-links { color: #a91b26; }
.contact-social .social-links a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid #ffffff26; padding-block: 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1rem; font-size: .75rem; color: #c6bcb9; }

.page-head { padding-block: clamp(2.35rem, 6vw, 4.4rem); background: #eeebe7; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-block: .45rem .8rem; }
.catalog-content, .info-content { padding-block: 1.6rem clamp(3rem, 7vw, 5.5rem); }
.filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: .75rem; background: white; border: 1px solid var(--line); border-radius: .55rem; padding: 1rem; }
.filters-title { display: flex; align-items: center; gap: .4rem; font-weight: 800; grid-column: 1 / -1; }
.filters-title .icon { color: var(--red); }
.filters label { font-size: .85rem; font-weight: 700; }
.filters select { width: 100%; min-height: 45px; margin-top: .22rem; padding: .3rem .35rem; color: var(--ink); background: var(--paper); border: 1px solid #bbb4af; border-radius: .35rem; font-size: .88rem; }
.reset { color: #a91b26; min-height: 44px; width: fit-content; background: none; border: 0; padding: 0; font-size: .85rem; text-decoration: underline; text-underline-offset: .2em; font-weight: 700; }
.result-count { margin: .7rem 0; color: var(--muted); font-size: .85rem; }
.notice { background: #eeebe7; color: #554d4a; border-left: 3px solid #aa9f98; border-radius: .25rem; padding: .75rem 1rem; font-size: .9rem; }
.empty-catalog-link { display: inline-flex; align-items: center; min-height: 44px; color: #a91b26; font-weight: 750; text-decoration: underline; text-underline-offset: .2em; }
.catalog-content .notice { margin-top: 1rem; }
.catalog-group { margin-top: 1.7rem; }
.group-title { margin-bottom: .8rem; }
.group-title h2 { font-size: 1.7rem; margin-bottom: .3rem; }
.group-title p { color: var(--muted); }
@media (min-width: 760px) {
  .filters { grid-template-columns: auto minmax(140px, 1fr) minmax(140px, 1fr) auto; gap: 1rem; padding: 1rem 1.25rem; }
  .filters-title { min-height: 45px; grid-column: auto; }
  .filters select { padding-inline: .6rem; }
}

.detail { padding-block: 1rem clamp(3rem, 7vw, 5rem); }
.back { margin-bottom: .6rem; }
.detail-grid { display: grid; align-items: start; gap: 1.4rem; }
.gallery-figure { position: relative; overflow: hidden; border-radius: .65rem; background: #e7e3df; border: 1px solid var(--line); }
.gallery-figure + .gallery-figure { margin-top: .6rem; }
.gallery-figure img { aspect-ratio: 800 / 430; object-fit: cover; }
.gallery-figure--photo img { aspect-ratio: 4 / 3; object-fit: contain; }
.gallery-figure figcaption { position: absolute; bottom: .75rem; right: .75rem; background: #fffef4f2; }
.gallery-tabs { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .65rem; }
.gallery-tabs button { min-height: 44px; border-radius: .35rem; border: 1px solid #aaa29e; padding: .4rem .8rem; color: var(--ink); background: white; font-size: .85rem; }
.gallery-tabs button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: white; }
.detail-summary { background: white; border: 1px solid var(--line); border-radius: .65rem; padding: clamp(1rem, 3vw, 2rem); }
.detail-badges { display: flex; gap: .45rem; margin-bottom: .65rem; }
.detail-badges .badge { border: 1px solid #0002; }
.detail-summary h1 { font-size: clamp(2.05rem, 4.5vw, 3.5rem); }
.detail-price { color: #a91b26; font-size: 2rem; font-weight: 820; margin-top: .55rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.detail-price small { display: block; color: var(--muted); font-size: .8rem; letter-spacing: 0; font-weight: 600; }
.specs { display: grid; grid-template-columns: 1fr 1fr; column-gap: .8rem; margin-block: 1rem; }
.specs div { border-top: 1px solid var(--line); padding-block: .45rem; }
.specs dt { color: var(--muted); font-size: .78rem; }
.specs dd { margin: 0; font-weight: 750; font-size: .94rem; }
.detail-description { color: var(--muted); margin-bottom: .9rem; white-space: pre-wrap; }
.detail-summary .actions { margin-top: 1rem; }
@media (min-width: 850px) {
  .detail-grid { grid-template-columns: 1.4fr 1fr; gap: clamp(1.25rem, 4vw, 3rem); }
}

.steps, .contact-grid { display: grid; gap: .9rem; margin-bottom: 1.4rem; }
.steps article, .contact-card, .info-panel, .service-panel { border: 1px solid var(--line); border-radius: .55rem; background: white; padding: clamp(1rem, 2.5vw, 1.55rem); }
.steps article > span, .contact-icon { display: inline-grid; place-items: center; border-radius: .35rem; width: 2.1rem; height: 2.1rem; background: #f8e4e4; color: #a91b26; font-size: .82rem; font-weight: 820; margin-bottom: .65rem; }
.steps h2, .contact-card h2, .info-panel h2, .service-panel h2 { font-size: 1.4rem; margin-bottom: .45rem; }
.steps p, .info-panel p { color: var(--muted); }
.contact-card p + p, .contact-card .button { margin-top: .55rem; }
.info-panel { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .9rem; }
.contact-list { list-style: none; padding: 0; margin: 0; overflow-wrap: anywhere; }
.contact-list a { color: #a91b26; display: inline-flex; align-items: center; min-height: 44px; }
.contact-list a:hover { text-decoration: underline; }
.service-panel { margin-bottom: 1.4rem; }
@media (min-width: 760px) {
  .steps, .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Footer brand and navigation spacing. */
.brand { display: inline-flex; align-items: center; gap: .5rem; color: #fff; min-height: 48px; text-align: left; }
.brand svg { width: 58px; height: 22px; color: #fcf9f3; flex: none; }
.brand-label { display: grid; gap: .18rem; }
.brand-label strong { font: 780 1.3rem/1 system-ui, sans-serif; letter-spacing: -.045em; }
.site-header { padding-inline: env(safe-area-inset-left) env(safe-area-inset-right); }
.site-header summary, .filter-panel summary { list-style: none; }
.site-header summary::-webkit-details-marker, .filter-panel summary::-webkit-details-marker { display: none; }
.desktop-nav a { padding: .65rem .15rem; }
.hero-visual picture { display: block; height: 100%; }
.hero .button { justify-content: center; }
.card-image picture { display: block; }
.card-name h3, .vehicle-heading h1, .vehicle-meta, .detail-description { overflow-wrap: anywhere; }
.card-image img { aspect-ratio: 16 / 9; object-fit: cover; }
.footer-legal { border-top: 1px solid #ffffff26; padding-block: .9rem 1.15rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; font-size: .83rem; color: #e0d8d6; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .22em; }
.footer-legal a:hover { color: var(--red-light); }
.footer-location { flex-basis: 100%; margin-bottom: .55rem; font-style: normal; }
.footer-location strong { display: block; color: #fff; font-size: .95rem; }
.footer-location a { gap: .5rem; min-height: 48px; padding-block: .2rem; color: #fff; }
.footer-location .icon { color: var(--red-light); }

.privacy-hint { color: var(--muted); font-size: .9rem; margin-block: .5rem; flex-basis: 100%; }
.privacy-hint a, .legal-content a { color: #a91b26; text-decoration: underline; text-underline-offset: .2em; }
.legal-content { max-width: 760px; padding-block: 1.5rem 4rem; }
.legal-content section + section { margin-top: 1.65rem; }
.legal-content h2 { font-size: clamp(1.25rem, 4vw, 1.7rem); margin-bottom: .5rem; }
.legal-content p + p { margin-top: .6rem; }
.cookie-list { display: grid; gap: .65rem; margin-block: .75rem; }
.cookie-list div { background: white; border: 1px solid var(--line); border-radius: .5rem; padding: .75rem; }
.cookie-list dt { font-weight: 750; }
.cookie-list dd { margin: .2rem 0 0; }

.catalog-page .page-head { padding-block: 1rem 1.15rem; }
.catalog-page .page-head h1 { margin-block: .24rem .4rem; }
.catalog-content { padding-top: .65rem; }
.catalog-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .6rem; }
.catalog-controls .result-count { align-self: start; margin-block: .72rem; font-weight: 680; }
.filter-panel { min-width: 0; }
.filter-panel[open] { grid-column: 1 / -1; }
.catalog-controls:has(.filter-panel[open]) .result-count { grid-column: 1 / -1; margin-bottom: 0; }
.filter-panel summary, .sold-list summary { min-height: 44px; display: flex; width: fit-content; align-items: center; gap: .4rem; border: 1px solid #b6aba7; background: #fff; border-radius: .45rem; padding: .35rem .65rem; font-size: .9rem; font-weight: 740; }
.filter-panel summary .icon { color: var(--red); }
.filter-panel[open] summary { margin-bottom: .4rem; }
.filters select { font-size: 1rem; }
.catalog-group { margin-top: .7rem; }
.sold-list { margin-top: 1.5rem; }
.sold-list summary { color: var(--muted); }

.detail { padding-top: .65rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-size: .87rem; color: var(--muted); margin-bottom: .4rem; overflow-wrap: anywhere; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .2rem; color: #a91b26; font-weight: 680; }
.detail-grid { grid-template-columns: minmax(0, 1fr); gap: .85rem; }
.vehicle-heading h1 { font-size: clamp(2rem, 5vw, 3.65rem); }
.vehicle-meta { color: var(--muted); font-size: .91rem; margin-top: .3rem; }
.vehicle-heading .detail-price { margin: .2rem 0 0; font-size: clamp(1.8rem, 4.5vw, 2.45rem); line-height: 1.2; }
.vehicle-heading .detail-badges { margin-bottom: .35rem; }
.gallery { min-width: 0; border-radius: .65rem; }
.gallery-stage { position: relative; background: #e7e3df; border-radius: .65rem; touch-action: pan-y pinch-zoom; }
.gallery-figure img, .gallery-figure--photo img { aspect-ratio: 4 / 3; object-fit: contain; }
.gallery-figure + .gallery-figure { margin-top: 0; }
.gallery-arrows { position: absolute; inset: 0 .45rem; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.gallery-arrows button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ffffff88; background: #19171aed; color: white; pointer-events: auto; }
.gallery-arrows button:hover { background: #372e34; }
.gallery-caption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 .55rem; color: var(--muted); font-size: .86rem; }
.gallery-caption a { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; color: #a91b26; font-weight: 750; }
.photo-dialog { width: min(94vw, 980px); max-height: 90dvh; padding: .65rem; border: 0; border-radius: .65rem; background: #181719; }
.photo-dialog::backdrop { background: #000c; }
.photo-dialog img { max-height: calc(90dvh - 67px); object-fit: contain; }
.photo-dialog button { margin-bottom: .45rem; min-height: 44px; }
.detail-summary h2 { font-size: clamp(1.35rem, 4vw, 1.8rem); }
.update-date, .share-status { margin-top: .6rem; font-size: .85rem; }
.share-status input { max-width: 100%; font-size: 1rem; }
.car-contact-bar .button { min-height: 46px; }

@media (max-width: 759px) {
  :root { --gutter: clamp(.8rem, 4vw, 1.15rem); }
  .hero-visual img { height: clamp(8rem, 32vw, 12.5rem); aspect-ratio: auto; object-position: 72% 60%; }
  .hero-visual figcaption { font-size: .65rem; bottom: .4rem; }
  .hero-inner { padding-block: 1.2rem .9rem; }
  .hero h1 { font-size: clamp(1.9rem, 7.75vw, 2.8rem); margin: .33rem 0 .55rem; }
  .hero h1 br { display: none; }
  .hero h1 br::after { content: ' '; }
  .hero .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin-top: .8rem; }
  .hero .actions .button { min-height: 46px; padding: .36rem .45rem; gap: .3rem; font-size: .81rem; }
  .hero .actions .icon { width: .9rem; height: .9rem; }
  .hero + .section { padding-block: 1.3rem 2.1rem; }
  .hero + .section .section-heading { margin-bottom: .7rem; }
  .catalog-page h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .card-body { padding: .65rem .85rem; }
  .site-footer { padding-bottom: env(safe-area-inset-bottom); }
  .detail-summary { padding: .85rem; }
}
@media (min-width: 850px) {
  .detail-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(1rem, 4vw, 3rem); }
  .detail-grid .gallery { grid-column: 1; grid-row: 1 / 3; }
  .vehicle-heading { grid-column: 2; }
  .detail-summary { grid-column: 2; }
  .catalog-controls .filters { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
}
@media (max-height: 430px) and (orientation: landscape) {
  .car-contact-bar .button { min-height: 44px; }
  .car-contact-bar { padding-block: .25rem calc(.25rem + env(safe-area-inset-bottom)); }
}
