/* Front page: autos design ported 1:1 from autos/src/styles.css, scoped to .osc-home. Generated once, then hand-tuned at the bottom. */
.osc-home { font: 400 15px/1.9 Vazirmatn, Tahoma, sans-serif; color: var(--text); }
.osc-home img { max-width: 100%; display: block; }
.osc-home h1, .osc-home h2, .osc-home h3, .osc-home p { margin: 0; letter-spacing: 0; }
.osc-home h2 { font-size: clamp(28px, 2.7vw, 40px); line-height: 1.4; font-weight: 700; }
.osc-home h3 { font-size: 17px; font-weight: 700; line-height: 1.6; }
.osc-home button, .osc-home input, .osc-home select { font: inherit; color: inherit; }
.osc-home button { cursor: pointer; }
.osc-home a { text-decoration: none; }
.osc-home :focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.osc-home .hero :focus-visible, .osc-home .porsche-top :focus-visible { outline-color: var(--yellow); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.osc-home .note { font-size: 12.5px; color: var(--muted); }
.osc-home .note.center { text-align: center; margin-top: 24px; }

.osc-home .section { padding: 80px 48px; max-width: 1360px; margin: 0 auto; }
.osc-home .section.tight { padding-block: 32px; }
.osc-home .section.tint { background: var(--surface); max-width: none; padding-inline: max(48px, calc((100% - 1280px) / 2)); }
.osc-home .label { display: inline-block; color: var(--blue); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.osc-home .label.light { color: var(--yellow); }
.osc-home .soft { color: var(--muted); }

/* buttons */
.osc-home .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 700; transition: background .2s; }
.osc-home .btn-yellow { background: var(--yellow); color: var(--navy); }
.osc-home .btn-yellow:hover { background: #e3b10c; }
.osc-home .btn-blue { background: var(--blue); color: #fff; }
.osc-home .btn-blue:hover { background: var(--blue-h); }
.osc-home .icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; }
.osc-home .icon-btn.outline { border: 1px solid var(--border); background: #fff; color: var(--text); }
.osc-home .icon-btn.outline.light { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.osc-home .link-btn { background: none; border: 0; color: #fff; opacity: .8; text-decoration: underline; padding: 8px 0; justify-self: start; }


/* hero */
.osc-home .hero { position: relative; min-height: 600px; display: grid; align-content: space-between; gap: 32px; padding: 56px 48px 32px; color: #fff; background: var(--navy); isolation: isolate; }
.osc-home .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; z-index: -2; }
.osc-home .hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(270deg, rgba(6,27,45,.85) 0, rgba(6,27,45,.55) 35%, transparent 62%), linear-gradient(0deg, rgba(6,27,45,.7), transparent 40%); }
.osc-home .hero-copy { max-width: 460px; display: grid; gap: 16px; }
.osc-home .eyebrow { color: var(--yellow); font-size: 13px; font-weight: 600; }
.osc-home .hero h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.3; font-weight: 800; }
.osc-home .hero h1 span { color: var(--yellow); }
.osc-home .hero-copy > p:last-child { max-width: 400px; opacity: .9; }
.osc-home .search { background: rgba(13,42,62,.94); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 20px 24px; display: grid; gap: 16px; }
.osc-home .search-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.osc-home .seg { display: inline-flex; gap: 6px; }
.osc-home .seg button { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font-size: 13px; font-weight: 600; }
.osc-home .seg button[aria-pressed='true'] { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.osc-home .search-row { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 16px; align-items: end; }
.osc-home .search-row.adv { grid-template-columns: repeat(3, 1fr); }
.osc-home .field { display: grid; gap: 4px; font-size: 12.5px; opacity: .95; line-height: 1.6; }
.osc-home .field select { min-height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: var(--navy); padding-inline: 12px; color: #fff; }
.osc-home .search-btns { display: flex; gap: 8px; }

/* about */
.osc-home .head-center { text-align: center; max-width: 640px; margin: 0 auto 48px; display: grid; gap: 16px; }
.osc-home .head-center p { color: var(--muted); }
.osc-home .about-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.osc-home .about-a { display: grid; grid-template-rows: 1fr auto; gap: 20px; }
.osc-home .about-a img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; object-position: 50% 55%; border-radius: var(--r); }
.osc-home .stat { background: var(--blue); color: #fff; border-radius: var(--r); padding: 24px; display: grid; gap: 4px; justify-items: start; }
.osc-home .stat strong { font-size: 40px; color: var(--yellow); line-height: 1.3; }
.osc-home .badge { background: var(--soft-y); color: var(--navy); font-size: 11.5px; padding: 0 10px; border-radius: 999px; font-weight: 600; }
.osc-home .stat a { color: #fff; display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; }
.osc-home .about-b { background: var(--navy); color: #fff; border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 420px; }
.osc-home .about-b h3 { font-size: 26px; line-height: 1.6; }
.osc-home .about-b p { opacity: .8; }
.osc-home .about-c { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; min-height: 420px; }
.osc-home .about-c img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.osc-home .about-c figcaption { position: absolute; inset-inline: 0; bottom: 0; padding: 56px 24px 24px; color: #fff; font-weight: 700; font-size: 20px; background: linear-gradient(0deg, rgba(6,27,45,.85), transparent); }

/* sections head */
.osc-home .sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.osc-home .sec-head > p { color: var(--muted); max-width: 380px; margin-inline-start: auto; }
.osc-home .arrows { display: flex; gap: 8px; }

/* categories */
.osc-home .cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.osc-home .cat { position: relative; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; height: 440px; text-align: start; background: var(--navy); }
.osc-home .cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.osc-home .cat:hover img { transform: scale(1.03); }
.osc-home .cat span { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 20px; color: #fff; background: linear-gradient(180deg, rgba(6,27,45,.7), transparent 45%); }
.osc-home .cat b { font-size: 20px; }
.osc-home .cat small { font-size: 13px; opacity: .9; }

/* rental */
.osc-home .rental { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 1; min-height: 340px; background: var(--blue); }
.osc-home .rental img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.osc-home .rental-copy { position: relative; max-width: 440px; padding: 48px; color: #fff; display: grid; gap: 14px; justify-items: start; }
.osc-home .rental-copy h2 { font-size: clamp(24px, 2.6vw, 36px); }
.osc-home .rental-copy p { opacity: .92; }

/* inventory */
.osc-home .tabs { display: inline-flex; gap: 4px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.osc-home .tabs button { min-height: 40px; min-width: 64px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; }
.osc-home .tabs button[aria-pressed='true'] { background: var(--blue); color: #fff; }
.osc-home .results { color: var(--muted); margin-bottom: 16px; font-size: 14px; }
.osc-home .vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.osc-home .vcard { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 8px; transition: box-shadow .2s, transform .2s; }
.osc-home .vcard:hover { box-shadow: 0 8px 24px rgba(6,27,45,.08); transform: translateY(-2px); }
.osc-home .tag { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 1; background: var(--soft); color: var(--blue); font-size: 12px; font-weight: 600; padding: 0 12px; border-radius: 999px; }
.osc-home .tag.deal { inset-inline-start: auto; inset-inline-end: 16px; background: var(--soft-y); color: var(--navy); }
.osc-home .vimg { height: 210px; background: var(--surface); border-radius: 10px; display: grid; place-items: center; padding: 16px; margin-top: 28px; }
.osc-home .vimg img { max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 10px 8px rgba(6,27,45,.18)); }
.osc-home .price { color: var(--blue); font-size: 22px; font-weight: 800; }
.osc-home .price small { font-size: 13px; font-weight: 600; margin-inline-start: 2px; }
.osc-home .vcard hr { border: 0; border-top: 1px solid var(--border); margin: 4px 0; width: 100%; }
.osc-home .specs { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; flex: 1; align-content: start; font-size: 12.5px; }
.osc-home .specs li { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; line-height: 1.5; color: var(--muted); }
.osc-home .specs li svg { grid-row: span 2; color: var(--blue); align-self: center; }
.osc-home .specs b { color: var(--text); font-weight: 600; }
.osc-home .empty { text-align: center; padding: 48px 0; display: grid; gap: 16px; justify-items: center; }

/* porsche */
.osc-home .porsche { padding-bottom: 80px; background: #fff; }
.osc-home .porsche-top { text-align: center; color: #fff; background-size: cover; background-position: center; padding: 80px 24px 120px; display: grid; gap: 16px; justify-items: center; }
.osc-home .porsche-top p { max-width: 520px; opacity: .85; }
.osc-home .porsche-panel { position: relative; max-width: 1240px; margin: -64px auto 0; background: #fff; border-radius: 20px; box-shadow: 0 12px 40px rgba(6,27,45,.14); padding: 32px; display: grid; gap: 16px; }
.osc-home .pp-head { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: center; }
.osc-home .pp-head > div:first-child { display: grid; gap: 4px; justify-items: start; }
.osc-home .pp-head .btn { margin-top: 8px; }
.osc-home .nums { display: flex; gap: 40px; margin: 0; }
.osc-home .nums dt { color: var(--muted); font-size: 13px; order: 2; }
.osc-home .nums div { display: flex; flex-direction: column; }
.osc-home .nums dd { margin: 0; font-size: 28px; font-weight: 800; color: var(--blue); line-height: 1.4; }
.osc-home .nums small { font-size: 13px; font-weight: 600; }
.osc-home .gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; height: 440px; grid-template-rows: minmax(0, 1fr); }
.osc-home .gallery img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--r); }
.osc-home .gallery.swap { grid-template-columns: 2fr 1fr; }
.osc-home .gal-foot { display: flex; justify-content: space-between; align-items: center; }
.osc-home .dots { display: flex; gap: 8px; }
.osc-home .dots button { width: 44px; height: 24px; padding: 0; border: 0; background: none; position: relative; }
.osc-home .dots button::after { content: ''; position: absolute; inset-inline: 0; top: 10px; height: 4px; border-radius: 2px; background: var(--border); }
.osc-home .dots button[aria-pressed='true']::after { background: var(--yellow); }

/* dealer */
.osc-home .dealer { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-top: 32px; }
.osc-home .dealer-copy { display: grid; gap: 16px; justify-items: start; }
.osc-home .dealer-copy > p { color: var(--muted); }
.osc-home .perks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.osc-home .perks li { display: flex; align-items: center; gap: 10px; }
.osc-home .perks svg { color: var(--blue); }
.osc-home .dealer-panel { background-size: cover; background-position: center; border-radius: 20px; padding: 40px; }
.osc-home .map-card { background: #fff; border-radius: var(--r); padding: 16px; display: grid; gap: 12px; }
.osc-home .chips { display: flex; gap: 8px; }
.osc-home .map-result { min-height: 24px; display: flex; gap: 6px; align-items: center; color: var(--blue); font-weight: 600; font-size: 14px; }
.osc-home .map-card small { color: var(--muted); font-size: 12px; }



/* responsive */
@media (max-width: 1199px) {
  .osc-home .section, .osc-home .section.tint { padding: 64px 32px; }
  .osc-home .section.tint { padding-inline: 32px; }
  .osc-home .vgrid { grid-template-columns: repeat(2, 1fr); }
  .osc-home .search-row { grid-template-columns: 1fr 1fr; }
  .osc-home .search-row.adv { grid-template-columns: 1fr 1fr 1fr; }
  .osc-home .search-btns { grid-column: 1 / -1; }
  .osc-home .cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 8px; }
  .osc-home .cat { flex: 0 0 min(300px, 78%); scroll-snap-align: start; }
}
@media (min-width: 1200px) { .sec-head .arrows { display: none; } }
@media (max-width: 767px) {
  .osc-home .section, .osc-home .section.tint { padding: 56px 20px; }
  .osc-home .section.tint { padding-inline: 20px; }
  .osc-home .section.tight { padding-block: 24px; }
  .osc-home .hero { padding: 0 20px 20px; min-height: 0; gap: 24px; align-content: start; }
  .osc-home .hero::before { display: none; }
  .osc-home .hero-img { position: static; z-index: auto; height: 260px; width: calc(100% + 40px); max-width: none; margin-inline: -20px; object-position: 30% 50%; }
  .osc-home .search { padding: 16px; }
  .osc-home .search-row, .osc-home .search-row.adv { grid-template-columns: 1fr; }
  .osc-home .about-grid { grid-template-columns: minmax(0, 1fr); }
  .osc-home .about-b, .osc-home .about-c { min-height: 340px; }
  .osc-home .vgrid { grid-template-columns: minmax(0, 1fr); }
  .osc-home .rental { aspect-ratio: auto; min-height: 460px; }
  .osc-home .rental img { object-position: 20% 100%; }
  .osc-home .rental-copy { padding: 28px 20px; max-width: none; }
  .osc-home .porsche-panel { margin-inline: 16px; padding: 20px; }
  .osc-home .nums { gap: 20px; flex-wrap: wrap; }
  .osc-home .gallery { grid-template-columns: 1fr 1fr; height: 260px; }
  .osc-home .dealer { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .osc-home .dealer-panel { padding: 16px; }
}
/* --- WordPress adaptations --- */
.osc-home .btn, .osc-home .cat, .osc-home .vimg { text-decoration: none; }
.osc-home .vcard h3 a { color: var(--text); }
.osc-home .vcard h3 a:hover { color: var(--blue); }
.osc-home .vcard .btn { margin-top: auto; }
.osc-home .vcard[hidden], .osc-home [hidden] { display: none !important; }
/* Product images are 1080x709 banners, served uncropped (medium_large); the frame matches their ratio so nothing is cut. */
.osc-home .vimg { position: relative; display: block; overflow: hidden; height: auto; aspect-ratio: 1080 / 709; padding: 0; background: #fff; border: 1px solid var(--border); }
.osc-home .vimg img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; filter: none; transition: transform .3s; }
.osc-home .vcard:hover .vimg img { transform: scale(1.03); }
/* Real category thumbnails are transparent car cut-outs: light card, whole car, soft shadow (fallback photos keep the dark cover style). */
.osc-home .cat:has(.cat-thumb) { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); border: 1px solid var(--border); height: 360px; }
.osc-home .cat:has(.cat-thumb) span { color: var(--text); background: none; }
.osc-home .cat:has(.cat-thumb) small { color: var(--muted); opacity: 1; }
.osc-home .cat img.cat-thumb { object-fit: contain; object-position: center bottom; padding: 96px 28px 24px; filter: drop-shadow(0 14px 12px rgba(6,27,45,.22)); }
.osc-home .cat:has(.cat-thumb):hover { border-color: var(--blue); }
.osc-home .cats { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.osc-home .specs b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.osc-home .cat span { pointer-events: none; }
.osc-home .stat a { text-decoration: none; }
.osc-home .logo-chip img { width: auto; height: 40px; }
.osc-home .about-b h3 { font-size: 26px; }
.osc-home .pp-head h3 { font-size: 24px; }
.osc-home .gallery img { transition: opacity .2s; }
.osc-home .chips { flex-wrap: wrap; }
.osc-home .chips a { display: inline-flex; gap: 6px; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.osc-home .chips a:hover { border-color: var(--blue); color: var(--blue); }
.osc-home .contact-big { display: flex; gap: 10px; align-items: center; justify-content: flex-end; font-size: 26px; font-weight: 800; color: var(--blue); }
.osc-home .map-card { padding: 24px; gap: 16px; }
.osc-home .map-result { align-items: flex-start; line-height: 1.8; }
.osc-home .map-result svg { margin-top: 4px; flex-shrink: 0; }
.osc-home .field select option[hidden] { display: none; }
@media (max-width: 767px) {
  .osc-home .cat:has(.cat-thumb) { height: 300px; }
  .osc-home .cat img.cat-thumb { padding: 72px 12px 12px; }
}
