@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --navy: #16283f;
  --orange: #ff6b2b;
  --ink: #192a3d;
  --muted: #5f7080;
  --surface: #ffffff;
  --canvas: #f4f6f7;
  --soft: #e8eef1;
  --line: #dce4e8;
  --shadow: 0 12px 32px rgba(16,36,54,.07);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eff5f7;
  --muted: #b9c9d3;
  --surface: #22374b;
  --canvas: #142438;
  --soft: #30465a;
  --line: #3c5266;
  --shadow: 0 12px 32px rgba(0,0,0,.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 16px/1.55 Inter,Arial,sans-serif; }
button,input,select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }
.container { width: min(100%,1280px); padding: 0 26px; margin: 0 auto; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 30; background: var(--orange); padding: 10px 14px; font-weight: 800; }
.skip-link:focus { top: 8px; }
.eyebrow { display: block; color: #d7531b; text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 800; }
h1,h2,h3 { font-family: Manrope,Inter,Arial,sans-serif; letter-spacing: -.035em; }
h1,h2,p { margin-top: 0; }
h2 { font-size: clamp(27px,3vw,39px); line-height: 1.2; margin-bottom: 14px; }
.button { min-height: 44px; border: 1px solid var(--orange); border-radius: 10px; background: var(--orange); color: #13283b; display: inline-flex; align-items: center; justify-content: center; padding: 10px 17px; font-weight: 800; text-align: center; line-height: 1.2; }
.button:hover { text-decoration: none; filter: brightness(.95); }
.button-quiet { border-color: var(--line); background: var(--surface); color: var(--ink); }
.button-whatsapp { border-color: #008557; background: #008557; color: #fff; gap: 7px; }
.button-whatsapp img,.floating-contact img { width: 20px; height: 20px; filter: brightness(0) invert(1); flex: none; }
.text-link { color: #c14a18; font-weight: 800; }
:root[data-theme="dark"] .text-link { color: #ff9a6c; }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; flex: none; }
.brand:hover { text-decoration: none; }
.brand-logo-window { display: block; width: 190px; height: 67px; overflow: hidden; }
.brand-logo-window img { display: block; width: 190px; max-width: none; height: auto; }
.brand-logo-dark { display: none !important; }
:root[data-theme="dark"] .brand-logo-light { display: none !important; }
:root[data-theme="dark"] .brand-logo-dark { display: block !important; }
.main-nav { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 14px; }
.main-nav a[aria-current="page"] { color: #cc4e1a; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.theme-toggle,.menu-toggle { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font-size: 22px; }
.menu-toggle { display: none; }
.mobile-nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding: 7px 24px 19px; background: var(--surface); }
.mobile-nav a { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 700; }

.hero-carousel { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.hero-slide { position: relative; isolation: isolate; min-height: 350px; overflow: hidden; background: #102037; }
.hero-slide::before { content: ""; position: absolute; inset: 0 0 0 auto; z-index: 0; width: min(78%,780px); background-image: var(--slide-image); background-size: auto 100%; background-position: right center; background-repeat: no-repeat; -webkit-mask-image: linear-gradient(90deg,transparent 0%,transparent 17%,#000 50%); mask-image: linear-gradient(90deg,transparent 0%,transparent 17%,#000 50%); }
.hero-slide.is-active { animation: banner-in .45s ease both; }
@keyframes banner-in { from { opacity: .65; } to { opacity: 1; } }
.slide-inner { position: relative; z-index: 1; min-height: 350px; padding-top: 36px; padding-bottom: 62px; display: flex; align-items: center; }
.slide-inner > div { max-width: 630px; }
.slide-inner .eyebrow { color: #ff9c70; }
.slide-inner h1,.slide-inner h2 { font: 800 clamp(34px,4.6vw,57px)/1.09 Manrope,Inter,sans-serif; color: #fff; letter-spacing: -.047em; margin: 11px 0 14px; }
.slide-inner p { color: #e9eff3; max-width: 555px; font-size: 17px; margin: 0 0 20px; }
.carousel-controls { position: absolute; z-index: 2; bottom: 17px; left: 0; right: 0; pointer-events: none; }
.carousel-dots { display: flex; gap: 7px; pointer-events: auto; }
.carousel-dot { width: 28px; height: 7px; border: 0; border-radius: 100px; padding: 0; background: rgba(255,255,255,.55); }
.carousel-dot.is-active { background: var(--orange); }
.search-area { padding: 17px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.search-box { display: flex; align-items: center; gap: 11px; padding: 8px 9px 8px 18px; background: var(--canvas); border: 1px solid var(--line); border-radius: 12px; }
.search-box label { white-space: nowrap; font-size: 13px; font-weight: 800; }
.search-box input { min-width: 0; flex: 1; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--ink); padding: 10px 13px; outline: none; }
.search-box:focus-within { outline: 2px solid var(--orange); outline-offset: 2px; }

.section { padding: 54px 0; }
.section-white { background: var(--surface); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 23px; }
.section-heading h2 { margin: 5px 0 7px; }
.section-heading p { color: var(--muted); margin: 0; }
.vehicle-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.vehicle-card { display: flex; flex-direction: column; min-width: 0; border-radius: 15px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.gallery { position: relative; background: var(--soft); overflow: hidden; touch-action: pan-y; }
.gallery-open { display: block; }
.gallery-open:hover { text-decoration: none; }
.gallery-frame { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--soft); }
.photo-file { width: 100%; height: 100%; display: block; object-fit: contain; }
.photo-sprite { flex: none; display: block; width: var(--sprite-width); aspect-ratio: var(--ratio); background-image: var(--sprite); background-size: 200% 200%; background-position: var(--x) var(--y); background-repeat: no-repeat; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(255,255,255,.94); color: #16283f; box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.gallery-arrow:hover { background: #fff; }
.gallery-prev { left: 9px; }
.gallery-next { right: 9px; }
.photo-count { position: absolute; right: 10px; bottom: 9px; z-index: 2; border-radius: 100px; padding: 3px 9px; color: #fff; background: rgba(15,29,42,.75); font-size: 11px; font-weight: 800; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.card-code { display: flex; align-items: center; justify-content: space-between; min-height: 20px; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.featured-mark { border-radius: 5px; padding: 3px 7px; color: #fff; background: #a5421a; font-size: 10px; letter-spacing: 0; }
.card-body h3 { margin: 0; font-size: 18px; line-height: 1.2; }
.card-body h3 a:hover { color: #c14a18; }
.vehicle-version { min-height: 19px; margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.card-price { margin: 14px 0 8px; font: 800 24px/1.1 Manrope,Inter,sans-serif; white-space: nowrap; }
.facts { margin: 0 0 15px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.facts span { padding: 0 2px; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.card-actions .button { padding: 9px 7px; font-size: 12px; }
.card-whatsapp img { width: 17px; height: 17px; }
.feature-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.feature-links a { display: flex; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 10px; padding: 17px; background: var(--canvas); }
.feature-links strong { font: 800 16px/1.25 Manrope,Inter,sans-serif; }
.feature-links span { color: var(--muted); font-size: 12px; }
.about-section { background: var(--navy); color: white; scroll-margin-top: 78px; }
.about-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: center; }
.about-layout .eyebrow { color: #ff9c70; }
.about-layout h2 { color: #fff; max-width: 520px; font-size: clamp(30px,3.3vw,43px); margin: 10px 0 0; }
.about-layout p { color: #d4e0e8; max-width: 570px; }
.about-layout .text-link { color: #ff9c70; }
.faq-list { max-width: 850px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 15px 2px; }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list p { margin: 9px 0 0; color: var(--muted); }
.contact-section { background: linear-gradient(105deg,#16283f 0%,#213951 100%); color: #fff; padding: 39px 0; scroll-margin-top: 78px; }
.contact-layout { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.contact-layout .eyebrow { color: #ff9c70; }
.contact-layout h2 { max-width: 760px; margin: 7px 0; color: #fff; font-size: clamp(27px,2.8vw,35px); }
.contact-layout p { max-width: 650px; margin: 0; color: #d4e0e8; }
.contact-button { flex: none; }

.page-intro { padding: 42px 0 22px; }
.page-intro h1 { font-size: clamp(34px,4vw,48px); line-height: 1.1; margin: 7px 0 8px; }
.page-intro p { color: var(--muted); margin-bottom: 0; }
.stock-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 22px; padding-bottom: 70px; }
.filter-panel { height: max-content; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); padding: 20px; }
.filter-panel h2 { margin: 0 0 17px; font-size: 20px; }
.filter-field { display: block; margin-bottom: 13px; font-size: 12px; font-weight: 800; }
.filter-field input,.filter-field select { display: block; width: 100%; min-height: 40px; margin-top: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--canvas); color: var(--ink); padding: 8px 10px; font-size: 13px; }
.filter-panel .button { width: 100%; margin-top: 6px; font-size: 13px; }
.filter-panel .clear-filter { margin-top: 9px; }
.stock-content { min-width: 0; }
.stock-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 17px; }
.stock-toolbar select { min-height: 40px; margin-left: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 7px; color: var(--ink); background: var(--surface); }
.stock-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.stock-grid .card-body { padding: 14px; }
.stock-grid .card-body h3 { font-size: 16px; }
.stock-grid .card-price { font-size: 22px; }
.empty-state { padding: 42px; text-align: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.empty-state p { color: var(--muted); }
.mobile-filter-button { display: none; }

.detail-intro { display: flex; align-items: center; justify-content: space-between; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1.14fr) minmax(330px,.86fr); align-items: start; gap: 23px; }
.gallery-detail { border: 1px solid var(--line); border-radius: 14px; }
.gallery-detail .gallery-arrow { width: 46px; height: 46px; }
.gallery-detail .photo-count { font-size: 13px; }
.gallery-help { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.detail-panel { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: var(--surface); }
.detail-panel h1 { font-size: clamp(27px,3vw,37px); line-height: 1.15; margin: 9px 0 2px; }
.detail-version { color: var(--muted); margin: 0; }
.detail-price { font: 800 33px/1.2 Manrope,Inter,sans-serif; margin: 21px 0 5px; }
.detail-caption { color: var(--muted); font-size: 13px; }
.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 22px; }
.detail-actions .button { padding: 10px 8px; font-size: 12px; }
.primary-contact { grid-column: 1 / -1; font-size: 15px !important; }
.detail-actions .button:last-child { grid-column: 1 / -1; }
.detail-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.detail-info { padding-top: 38px; }
.spec-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.spec { border: 1px solid var(--line); border-radius: 9px; padding: 15px; background: var(--surface); }
.spec small { display: block; color: var(--muted); margin-bottom: 5px; }
.spec strong { font: 800 14px/1.3 Manrope,Inter,sans-serif; }
.description-block { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin-top: 36px; }
.description-block h2 { font-size: 22px; }
.description-block p,.description-block li { color: var(--muted); }
.description-block ul { margin: 0; padding-left: 20px; }
.related-section { padding-top: 8px; }
.related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 700px; }
.simple-page { padding: 70px 26px; min-height: 420px; max-width: 800px; }
.simple-page p { color: var(--muted); }

.site-footer { background: var(--navy); color: #fff; padding: 38px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer-grid p,.footer-grid a { color: #d5e0e7; font-size: 13px; }
.footer-grid a { display: block; margin-top: 7px; }
.footer-grid strong { display: block; margin-bottom: 9px; }
.floating-contact { position: fixed; right: 18px; bottom: 18px; z-index: 15; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 100px; background: #008557; color: #fff; font-weight: 800; box-shadow: 0 8px 22px rgba(0,0,0,.24); animation: whatsapp-attention 3.6s ease-in-out infinite; }
.floating-contact:hover { text-decoration: none; background: #00754d; }
.floating-contact img { width: 24px; height: 24px; }
.floating-contact span { display: none; }
@keyframes whatsapp-attention { 0%,78%,100% { transform: scale(1); box-shadow: 0 8px 22px rgba(0,0,0,.24); } 85% { transform: scale(1.04); box-shadow: 0 0 0 8px rgba(0,133,87,.15),0 8px 22px rgba(0,0,0,.24); } }

@media (max-width: 1100px) {
  .main-nav { gap: 17px; }
  .vehicle-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .stock-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 850px) {
  .main-nav,.header-whatsapp { display: none; }
  .menu-toggle { display: grid; }
  .stock-layout { grid-template-columns: 1fr; }
  .filter-panel { display: none; }
  .filter-panel.open { display: block; margin-bottom: 15px; }
  .mobile-filter-button { display: inline-flex; margin-bottom: 17px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-panel { max-width: none; }
}
@media (max-width: 680px) {
  .container { padding: 0 18px; }
  .header-inner { min-height: 66px; }
  .brand-logo-window { width: 145px; height: 52px; }
  .brand-logo-window img { width: 145px; }
  .theme-toggle,.menu-toggle { width: 39px; height: 39px; }
  .hero-slide,.slide-inner { min-height: 335px; }
  .hero-slide::before { width: 100%; opacity: .42; -webkit-mask-image: none; mask-image: none; }
  .slide-inner { padding-top: 36px; padding-bottom: 51px; }
  .slide-inner h1,.slide-inner h2 { font-size: clamp(31px,8vw,43px); }
  .slide-inner p { font-size: 15px; }
  .search-box { flex-direction: column; align-items: stretch; gap: 5px; padding: 12px; }
  .search-box label { padding: 0 5px; }
  .search-box input { border: 0; padding: 10px 5px; }
  .section { padding: 43px 0; }
  .section-heading { align-items: start; }
  .vehicle-grid,.stock-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .card-body { padding: 12px; }
  .card-body h3 { font-size: 16px; }
  .card-price { font-size: 21px; }
  .card-actions { grid-template-columns: 1fr; }
  .card-actions .button { min-height: 40px; }
  .about-layout,.description-block { grid-template-columns: 1fr; gap: 20px; }
  .contact-layout { flex-direction: column; align-items: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-section,.contact-section { scroll-margin-top: 66px; }
}
@media (max-width: 480px) {
  .vehicle-grid,.stock-grid,.feature-links,.related-grid { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; gap: 8px; }
  .card-actions { grid-template-columns: 1fr 1fr; }
  .card-body { padding: 16px; }
  .card-price { font-size: 25px; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-contact { right: 12px; bottom: 12px; width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
