/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 2rem; padding: 1rem 1.25rem;
}
.logo { display: flex; align-items: baseline; gap: .4rem; font-weight: 800; }
.logo__n { color: var(--green); font-size: 1.4rem; letter-spacing: -.02em; }
.logo__sub { font-size: .95rem; color: #222; font-weight: 700; }
.logo__tag { font-size: .6rem; color: #999; font-weight: 500; margin-left: .2rem; }
.nav { display: flex; gap: 1.8rem; justify-content: center; }
.nav a { font-weight: 600; color: #222; font-size: .95rem; padding: .2rem 0; position: relative; }
.nav a.is-active { color: #000; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--green);
}
.search {
  display: flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: .55rem 1rem; width: 260px;
}
.search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: .9rem; }
.search__icon { color: #888; }
.hamburger { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: #222; display: block; }

/* ============ Hero / Detail ============ */
.detail { background: #f2f3f5; padding: 2.5rem 0 3rem; }
.detail__grid {
  display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start;
}
.detail__grid > * { min-width: 0; }
.detail__main { background: #fff; border-radius: 12px; padding: 2rem 1.5rem; text-align: center; }
.detail__brand {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .4rem;
}
.detail__brand img { width: 38px; height: 38px; }
.detail__title { font-size: 2.2rem; letter-spacing: -.02em; }
.detail__meta { color: #555; font-size: .95rem; margin-top: .5rem; }
.detail__meta .sep { color: #bbb; padding: 0 .3rem; }
.detail__price { color: #444; font-size: .95rem; margin-top: .15rem; }
.detail__car {
  position: relative; margin: 1.5rem auto 0; max-width: 780px;
}
.detail__car img { width: 100%; height: auto; }
.detail__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: #999; font-size: 1.3rem;
}
.detail__arrow.is-prev { left: -10px; }
.detail__arrow.is-next { right: -10px; }

.detail__swatches {
  display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.2rem; flex-wrap: wrap;
}
.tabs-v {
  display: inline-flex; flex-direction: column;
  border-radius: 8px; overflow: hidden; background: #eee;
}
.tabs-v button {
  padding: .55rem .9rem; font-size: .85rem; font-weight: 700; background: #eee; color: #555;
}
.tabs-v button.is-active { background: var(--green); color: #fff; }
.swatch-track {
  display: flex; gap: .6rem; padding: .4rem 0; max-width: 520px; overflow-x: auto;
  scrollbar-color: var(--green) #ddd;
}
.swatch-item { text-align: center; flex: 0 0 90px; font-size: .75rem; color: #555; }
.swatch-item img {
  width: 78px; height: 55px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border);
  margin-bottom: .35rem;
}
.swatch-item.is-active img { border-color: var(--green); box-shadow: 0 0 0 2px var(--green-soft); }
.detail__docs { display: flex; gap: 1rem; }
.doc-btn {
  display: flex; flex-direction: column; align-items: center; font-size: .72rem; color: #555; gap: .2rem;
}
.doc-btn__icon {
  width: 34px; height: 34px; border-radius: 6px; background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; font-weight: 800; font-size: .7rem;
}

/* ============ Quote sidebar ============ */
.quote {
  background: #fff; border-radius: 12px; padding: 0; overflow: hidden;
  box-shadow: 0 6px 22px rgba(0,0,0,.04);
  position: sticky; top: 90px;
}
.quote__head {
  background: #111; color: #fff; padding: 1.1rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 1rem;
}
.quote__head span[aria-hidden] { font-size: 1.1rem; color: var(--green); }
.quote__body { padding: 1.2rem; display: flex; flex-direction: column; gap: .65rem; }
.quote__row { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.quote__row select,
.quote__row .pill {
  width: 100%; padding: .65rem .8rem; font-size: .85rem; border: 1px solid var(--border);
  border-radius: 6px; background: #fff; -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%);
  background-position: calc(100% - 16px) center, calc(100% - 11px) center;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.quote__row .pill.no-arrow { background-image: none; }
.quote__row .pill.inline { display: flex; align-items: center; gap: .4rem; justify-content: center; font-weight: 600; font-size: .78rem; color: #444; }
.quote__full { padding: .65rem .8rem; border: 1px solid var(--border); border-radius: 6px; font-size: .85rem; background: #fff; }
.quote__prices { padding: 1rem 1.2rem; border-top: 1px solid var(--border); font-size: .9rem; color: #555; display: flex; flex-direction: column; gap: .55rem; }
.quote__prices .line { display: flex; justify-content: space-between; }
.quote__prices strong { color: #111; font-weight: 800; font-size: 1.1rem; }
.quote__prices .total strong { color: var(--green); font-size: 1.4rem; }
.quote__prices .vat { text-align: right; font-size: .65rem; color: #999; margin-top: -.3rem; }
.quote__cta-outline {
  margin: 0 1.2rem 1rem; display: block; width: calc(100% - 2.4rem);
  padding: .85rem 1rem; border: 1px solid var(--green); color: var(--green);
  border-radius: 999px; font-weight: 700; text-align: center;
}
.quote__cta {
  width: 100%; padding: 1.1rem; background: var(--green); color: #fff; font-weight: 800; font-size: 1rem;
  text-align: center;
}
.quote__cta:hover { background: var(--green-dark); }

/* ============ Footer ============ */
.footer { background: #1c1c1c; color: #bbb; padding: 2.5rem 0 2rem; margin-top: 0; position: relative; overflow: hidden; }
.footer .container { padding-right: 22rem; }
.footer__nav { border-bottom: 1px solid #333; padding-bottom: 1.2rem; margin-bottom: 1.5rem; }
.footer__nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem; font-size: .82rem; }
.footer__nav, .footer__contact { padding-right: 0; }
.footer__info { display: grid; grid-template-columns: 1fr auto; gap: 2rem; }
.footer__info p { font-size: .78rem; line-height: 1.8; color: #8a8a8a; }
.footer__info p strong { color: #ccc; font-weight: 600; }
.footer__info .brand {
  margin-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--green); font-weight: 800;
}
.footer__contact { color: #fff; text-align: right; }
.footer__contact .lead { font-weight: 700; font-size: 1rem; }
.footer__contact .hours { font-size: .75rem; color: #aaa; margin-top: .3rem; }
.footer__contact .tel { font-size: 2.2rem; font-weight: 800; margin-top: 1.2rem; letter-spacing: -.01em; }
.footer__contact .note { font-size: .75rem; color: #aaa; margin-top: .3rem; }
.footer__man {
  position: absolute; right: 1rem; bottom: 0; height: 100%;
  display: flex; align-items: flex-end;
}
.footer__man img { height: 95%; width: auto; object-fit: contain; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .detail__grid { grid-template-columns: 1fr; }
  .quote { position: static; }
  .search { width: 200px; }
  .nav { gap: 1.1rem; }
  .footer__man { display: none; }
  .footer .container { padding-right: 1.25rem; }
  .footer__info { grid-template-columns: 1fr; }
  .footer__contact { text-align: left; }
}
@media (max-width: 768px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; gap: 1rem; }
  .nav, .search { display: none; }
  .hamburger { display: flex; }
  .detail__title { font-size: 1.5rem; }
  .footer__nav ul { gap: .8rem 1.2rem; font-size: .75rem; }
  .footer__contact .tel { font-size: 1.8rem; }
  .detail { padding: 1.5rem 0 2rem; }
  .detail__main { padding: 1.5rem 1rem; }
  .detail__grid { gap: 1rem; }
  .detail__swatches { flex-wrap: wrap; gap: .8rem; row-gap: 1rem; }
  .swatch-track { width: 100%; max-width: 100%; min-width: 0; }
  .detail__docs { width: 100%; justify-content: center; gap: 1.5rem; }
  .detail__arrow.is-prev { left: 0; }
  .detail__arrow.is-next { right: 0; }
  .quote__row { grid-template-columns: 1fr 1fr !important; }
  .quote__head, .quote__cta-outline, .quote__cta { font-size: .9rem; }
}
