:root {
  --kci-ink: #17201d;
  --kci-ink-soft: #34413d;
  --kci-cream: #f5f1e8;
  --kci-paper: #fffdf8;
  --kci-sand: #d8c7aa;
  --kci-sage: #7b8f84;
  --kci-rust: #c94f2d;
  --kci-rust-dark: #9e371d;
  --kci-gold: #eab764;
  --kci-border: rgba(23, 32, 29, 0.15);
  --kci-shadow: 0 24px 70px rgba(23, 32, 29, 0.13);
  --kci-radius: 20px;
  --kci-container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--kci-ink);
  background: var(--kci-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.kci-modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--kci-gold);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: #fff;
  color: #000;
}

.kci-container {
  width: min(calc(100% - 40px), var(--kci-container));
  margin-inline: auto;
}

.kci-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(23, 32, 29, 0.96);
  color: #fff;
  backdrop-filter: blur(16px);
}

.admin-bar .kci-header {
  top: 32px;
}

.kci-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.kci-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.kci-brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  color: var(--kci-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  letter-spacing: 0.07em;
}

.kci-brand__logo,
.kci-brand__logo .custom-logo-link {
  display: inline-flex;
}

.kci-brand__logo img {
  width: auto;
  max-width: 180px;
  max-height: 54px;
}

.kci-brand__text {
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kci-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.kci-nav__list,
.kci-footer__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kci-nav__list a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.kci-nav__list a:hover,
.kci-nav__list a:focus-visible {
  color: #fff;
}

.kci-nav-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: #fff;
}

.kci-nav-toggle span[aria-hidden] {
  width: 20px;
  height: 2px;
  display: block;
  margin: 2px;
  background: currentColor;
}

.kci-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid var(--kci-rust);
  border-radius: 999px;
  background: var(--kci-rust);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.kci-button:hover {
  border-color: var(--kci-rust-dark);
  background: var(--kci-rust-dark);
  transform: translateY(-1px);
}

.kci-button--small {
  min-height: 42px;
  padding: 10px 20px;
}

.kci-button--dark {
  border-color: var(--kci-ink);
  background: var(--kci-ink);
}

.kci-button--dark:hover {
  border-color: #000;
  background: #000;
}

.kci-button--light {
  border-color: var(--kci-paper);
  background: var(--kci-paper);
  color: var(--kci-ink);
}

.kci-button--light:hover {
  border-color: #fff;
  background: #fff;
}

.kci-text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 750;
}

.kci-kicker {
  margin: 0 0 14px;
  color: var(--kci-rust);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kci-hero {
  position: relative;
  min-height: min(760px, calc(100vh - 82px));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #293a34;
  color: #fff;
}

.kci-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(14, 25, 22, 0.96) 0%, rgba(14, 25, 22, 0.76) 45%, rgba(14, 25, 22, 0.18) 78%),
    linear-gradient(0deg, rgba(14, 25, 22, 0.82) 0%, transparent 30%);
}

.kci-hero__art {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("../images/hero-coast.svg");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.kci-hero__content {
  padding-block: 110px 150px;
}

.kci-hero .kci-kicker {
  color: #f6c270;
}

.kci-hero h1,
.kci-page-hero h1,
.kci-section h2,
.kci-contact-band h2,
.kci-vehicle-single h1,
.kci-modal h2,
.kci-not-found h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.kci-hero h1 {
  max-width: 870px;
  font-size: clamp(48px, 7.4vw, 106px);
}

.kci-hero h1 em {
  color: #f4d39d;
  font-weight: 400;
}

.kci-hero__intro {
  max-width: 620px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(17px, 2vw, 21px);
}

.kci-hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.kci-hero__route {
  position: absolute;
  right: max(20px, calc((100vw - var(--kci-container)) / 2));
  bottom: 38px;
  left: max(20px, calc((100vw - var(--kci-container)) / 2));
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.kci-hero__route i {
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.26);
}

.kci-section {
  padding-block: clamp(80px, 10vw, 140px);
}

.kci-catalog {
  background: var(--kci-cream);
}

.kci-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 52px;
}

.kci-section-heading h2,
.kci-story h2,
.kci-contact-band h2 {
  font-size: clamp(40px, 5.6vw, 72px);
}

.kci-section-heading > p {
  max-width: 440px;
  margin: 0;
  color: var(--kci-ink-soft);
}

.kci-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.kci-vehicle-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--kci-radius);
  background: var(--kci-paper);
  box-shadow: 0 10px 40px rgba(23, 32, 29, 0.06);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.kci-vehicle-card:hover {
  box-shadow: var(--kci-shadow);
  transform: translateY(-4px);
}

.kci-vehicle-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  background: #d9d2c4;
}

.kci-vehicle-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.kci-vehicle-card:hover .kci-vehicle-card__image img {
  transform: scale(1.025);
}

.kci-vehicle-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 74% 24%, rgba(236, 185, 97, 0.92) 0 10%, transparent 10.5%),
    linear-gradient(155deg, #b8c7bd 0 42%, #839a8b 42% 58%, #4e665d 58% 100%);
}

.kci-vehicle-card__placeholder span {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.08em;
}

.kci-vehicle-card__status {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--kci-ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.kci-vehicle-card__status--sold {
  background: rgba(23, 32, 29, 0.9);
  color: #fff;
}

.kci-vehicle-card__status--reserved {
  background: rgba(234, 183, 100, 0.94);
}

.kci-vehicle-card__body {
  padding: 24px;
}

.kci-vehicle-card h3 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.15;
}

.kci-vehicle-card h3 a {
  text-decoration: none;
}

.kci-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--kci-border);
  list-style: none;
}

.kci-specs li {
  min-width: 70px;
  display: grid;
  gap: 2px;
}

.kci-specs span,
.kci-vehicle-card__footer p span,
.kci-price-block span {
  color: #6b7672;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kci-specs strong {
  font-size: 13px;
  font-weight: 650;
}

.kci-vehicle-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
}

.kci-vehicle-card__footer p {
  display: grid;
  gap: 1px;
  margin: 0;
}

.kci-vehicle-card__footer strong {
  font-size: 15px;
}

.kci-arrow-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--kci-border);
  border-radius: 50%;
  font-size: 21px;
  text-decoration: none;
}

.kci-empty-state {
  padding: clamp(38px, 6vw, 72px);
  border: 1px solid var(--kci-border);
  border-radius: var(--kci-radius);
  background: rgba(255, 253, 248, 0.75);
  text-align: center;
}

.kci-empty-state h2,
.kci-empty-state h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
}

.kci-empty-state p {
  margin: 0 auto 24px;
}

.kci-editor-hint {
  max-width: 620px;
  margin-top: 24px !important;
  padding-top: 18px;
  border-top: 1px dashed var(--kci-border);
  color: #5d6864;
  font-size: 13px;
}

.kci-story {
  background: var(--kci-paper);
}

.kci-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.kci-story__visual {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: 240px 240px 24px 24px;
  background:
    linear-gradient(180deg, transparent 0 48%, rgba(64, 86, 75, 0.18) 48% 49%, transparent 49%),
    linear-gradient(154deg, transparent 0 51%, #779080 51% 64%, #435d53 64% 100%),
    linear-gradient(180deg, #e6c28b 0%, #ecd1a6 52%, #b0c1b4 52%, #758f80 100%);
}

.kci-story__sun {
  position: absolute;
  top: 15%;
  right: 15%;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: #dd613a;
  box-shadow: 0 0 60px rgba(221, 97, 58, 0.35);
}

.kci-story__road {
  position: absolute;
  right: 16%;
  bottom: -10%;
  width: 33%;
  height: 68%;
  background: #2c3935;
  clip-path: polygon(44% 0, 57% 0, 100% 100%, 0 100%);
}

.kci-story__road::after {
  position: absolute;
  top: 7%;
  right: 48%;
  bottom: 0;
  width: 2px;
  content: "";
  background: repeating-linear-gradient(180deg, #e7d29f 0 18px, transparent 18px 36px);
}

.kci-story__copy > p:not(.kci-kicker) {
  max-width: 560px;
  margin: 28px 0;
  color: var(--kci-ink-soft);
}

.kci-contact-band {
  padding-block: 70px;
  background: var(--kci-rust);
  color: #fff;
}

.kci-contact-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.kci-contact-band .kci-kicker {
  color: #ffd7b0;
}

.kci-footer {
  padding-block: 70px 28px;
  background: var(--kci-ink);
  color: rgba(255, 255, 255, 0.75);
}

.kci-footer__grid {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 50px;
}

.kci-footer__brand {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
}

.kci-footer__slogan {
  max-width: 390px;
  margin: 8px 0 0;
  font-size: 13px;
}

.kci-footer__links a {
  color: #fff;
  font-size: 14px;
}

.kci-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 12px;
}

.kci-footer__bottom p {
  margin: 0;
}

.kci-notice {
  margin-top: 22px;
  padding: 13px 18px;
  border-left: 4px solid;
  background: #fff;
  box-shadow: 0 8px 30px rgba(23, 32, 29, 0.1);
}

.kci-notice--success {
  border-color: #2d7b4a;
}

.kci-notice--error {
  border-color: #b72c20;
}

.kci-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.kci-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 11, 0.82);
  opacity: 0;
  backdrop-filter: blur(8px);
  transition: opacity 180ms ease;
}

.kci-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1050px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: clamp(30px, 5vw, 62px);
  border-radius: var(--kci-radius);
  background: var(--kci-cream);
  box-shadow: var(--kci-shadow);
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: opacity 180ms ease, transform 180ms ease;
}

.kci-modal.is-open .kci-modal__backdrop,
.kci-modal.is-open .kci-modal__dialog {
  opacity: 1;
}

.kci-modal.is-open .kci-modal__dialog {
  transform: none;
}

.kci-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--kci-ink);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

.kci-modal__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(330px, 1.18fr);
  gap: clamp(40px, 6vw, 80px);
}

.kci-modal h2 {
  font-size: clamp(38px, 5vw, 62px);
}

.kci-contact-list {
  display: grid;
  gap: 16px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.kci-contact-list li {
  display: grid;
}

.kci-contact-list span {
  color: #6b7672;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kci-contact-list address {
  font-style: normal;
}

.kci-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.kci-form p {
  display: grid;
  gap: 6px;
  margin: 0;
}

.kci-form p:nth-of-type(4),
.kci-checkbox,
.kci-form .kci-button {
  grid-column: 1 / -1;
}

.kci-form label:not(.kci-checkbox) {
  font-size: 12px;
  font-weight: 750;
}

.kci-form input[type="text"],
.kci-form input[type="email"],
.kci-form input[type="tel"],
.kci-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 32, 29, 0.24);
  border-radius: 10px;
  background: var(--kci-paper);
  color: var(--kci-ink);
}

.kci-form input[type="text"],
.kci-form input[type="email"],
.kci-form input[type="tel"] {
  min-height: 48px;
  padding: 9px 12px;
}

.kci-form textarea {
  min-height: 122px;
  padding: 11px 12px;
  resize: vertical;
}

.kci-form input:focus,
.kci-form textarea:focus {
  border-color: var(--kci-rust);
}

.kci-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
}

.kci-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--kci-rust);
}

.kci-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.kci-page-main {
  min-height: 65vh;
}

.kci-page-hero {
  padding-block: 90px;
  background: var(--kci-cream);
}

.kci-page-hero h1,
.kci-vehicle-single h1,
.kci-not-found h1 {
  font-size: clamp(46px, 7vw, 88px);
}

.kci-page-hero p {
  max-width: 700px;
  margin: 20px 0 0;
}

.kci-vehicle-single {
  padding-block: 72px 120px;
}

.kci-vehicle-single__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.kci-back-link {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--kci-ink-soft);
  font-size: 14px;
}

.kci-price-block {
  min-width: 230px;
  display: grid;
  padding: 21px 25px;
  border: 1px solid var(--kci-border);
  border-radius: 16px;
  background: var(--kci-cream);
}

.kci-price-block strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}

.kci-vehicle-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 54px;
}

.kci-vehicle-gallery figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0;
  border-radius: 14px;
  background: #e7e2d8;
}

.kci-vehicle-gallery__lead {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 8 !important;
}

.kci-vehicle-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kci-vehicle-single__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  align-items: start;
  gap: clamp(50px, 8vw, 110px);
  margin-top: 72px;
}

.kci-prose {
  max-width: 760px;
}

.kci-prose h2 {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.1;
}

.kci-prose a {
  color: var(--kci-rust-dark);
}

.kci-prose--page {
  padding-block: 70px 110px;
}

.kci-detail-panel {
  position: sticky;
  top: 110px;
  padding: 30px;
  border-radius: var(--kci-radius);
  background: var(--kci-cream);
}

.kci-detail-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 400;
}

.kci-detail-panel dl {
  margin: 22px 0 28px;
}

.kci-detail-panel dt,
.kci-detail-panel dd {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--kci-border);
}

.kci-detail-panel dt {
  float: left;
  clear: left;
  color: #65706c;
  font-size: 13px;
}

.kci-detail-panel dd {
  text-align: right;
  font-size: 13px;
  font-weight: 700;
}

.kci-detail-panel .kci-button {
  width: 100%;
}

.kci-post-list {
  padding-block: 70px 110px;
}

.kci-post-summary {
  max-width: 760px;
  padding-block: 30px;
  border-bottom: 1px solid var(--kci-border);
}

.kci-post-summary h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
}

.kci-not-found {
  padding-block: 140px;
  text-align: center;
}

.kci-not-found p:not(.kci-kicker) {
  margin: 24px 0 30px;
}

.nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 50px;
}

.nav-links .page-numbers {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--kci-border);
  border-radius: 50%;
  text-decoration: none;
}

.nav-links .current {
  background: var(--kci-ink);
  color: #fff;
}

@media (max-width: 900px) {
  .admin-bar .kci-header {
    top: 46px;
  }

  .kci-nav-toggle {
    display: grid;
  }

  .kci-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 22px 20px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--kci-ink);
  }

  .kci-nav.is-open {
    display: grid;
  }

  .kci-nav__list {
    display: grid;
    gap: 0;
  }

  .kci-nav__list a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
  }

  .kci-nav .kci-button {
    margin-top: 10px;
  }

  .kci-vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kci-story__grid,
  .kci-modal__grid,
  .kci-vehicle-single__content {
    grid-template-columns: 1fr;
  }

  .kci-story__visual {
    min-height: 480px;
  }

  .kci-detail-panel {
    position: static;
  }
}

@media (max-width: 700px) {
  .kci-container {
    width: min(calc(100% - 28px), var(--kci-container));
  }

  .kci-header__inner {
    min-height: 70px;
  }

  .kci-brand__text {
    max-width: 175px;
    white-space: normal;
  }

  .kci-brand__mark {
    width: 40px;
    height: 40px;
  }

  .kci-hero {
    min-height: calc(100svh - 70px);
  }

  .kci-hero::before {
    background: linear-gradient(90deg, rgba(14, 25, 22, 0.9), rgba(14, 25, 22, 0.5)), linear-gradient(0deg, rgba(14, 25, 22, 0.9), transparent 45%);
  }

  .kci-hero__content {
    padding-block: 80px 130px;
  }

  .kci-hero h1 {
    font-size: clamp(44px, 14vw, 68px);
  }

  .kci-hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .kci-text-button {
    align-self: start;
  }

  .kci-section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .kci-vehicle-grid {
    grid-template-columns: 1fr;
  }

  .kci-story__visual {
    min-height: 390px;
  }

  .kci-contact-band__inner,
  .kci-footer__grid,
  .kci-footer__bottom,
  .kci-vehicle-single__heading {
    align-items: stretch;
    flex-direction: column;
  }

  .kci-footer__links {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .kci-modal {
    padding: 8px;
  }

  .kci-modal__dialog {
    max-height: calc(100vh - 16px);
    padding: 48px 20px 24px;
  }

  .kci-modal__grid {
    gap: 30px;
  }

  .kci-form {
    grid-template-columns: 1fr;
  }

  .kci-form p,
  .kci-checkbox,
  .kci-form .kci-button {
    grid-column: auto;
  }

  .kci-page-hero {
    padding-block: 62px;
  }

  .kci-vehicle-single {
    padding-block: 52px 80px;
  }

  .kci-price-block {
    min-width: 0;
  }

  .kci-vehicle-gallery {
    grid-template-columns: 1fr;
  }

  .kci-vehicle-gallery__lead {
    grid-column: auto;
    aspect-ratio: 4 / 3 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .kci-header,
  .kci-footer,
  .kci-contact-band,
  .kci-button,
  .kci-modal {
    display: none !important;
  }
}

/* Original concept alignment: bright California hero and compact catalogue. */
:root {
  --kci-ink: #082b43;
  --kci-ink-soft: #365064;
  --kci-cream: #f7f3ea;
  --kci-paper: #fffdfa;
  --kci-rust: #ff5b2a;
  --kci-rust-dark: #e84718;
  --kci-gold: #ffb04d;
}

.home .kci-header {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  border: 0;
  background: transparent;
  color: var(--kci-ink);
  backdrop-filter: none;
}

.admin-bar.home .kci-header {
  top: 44px;
}

.home .kci-header__inner {
  min-height: 72px;
  justify-content: flex-end;
}

.home .kci-brand {
  position: absolute;
  left: 0;
  opacity: 0;
  pointer-events: none;
}

.home .kci-nav__list a {
  color: var(--kci-ink);
  font-size: 13px;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.85);
}

.home .kci-nav__list .current-menu-item a,
.home .kci-nav__list a:hover,
.home .kci-nav__list a:focus-visible {
  color: var(--kci-rust-dark);
}

.home .kci-nav__list .current-menu-item a::after {
  width: 100%;
  height: 2px;
  display: block;
  margin-top: 7px;
  background: var(--kci-rust);
  content: "";
}

.home .kci-nav .kci-button {
  padding-inline: 25px;
  border-color: var(--kci-rust);
  background: var(--kci-rust);
  box-shadow: 0 10px 28px rgba(255, 91, 42, 0.25);
}

.home .kci-hero {
  min-height: min(760px, calc(100svh - 24px));
  margin: 12px 12px 0;
  border-radius: 38px 38px 0 0;
  background: #d6b486;
  color: var(--kci-ink);
}

.home .kci-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 246, 226, 0.24) 0%, rgba(255, 246, 226, 0.11) 43%, transparent 64%),
    linear-gradient(0deg, rgba(5, 24, 35, 0.32) 0%, transparent 22%);
}

.home .kci-hero__art {
  background-image: url("../images/hero-california-v2.webp");
  background-position: center center;
}

.home .kci-hero__content {
  padding-block: 135px 128px;
}

.kci-hero__brand {
  width: min(48%, 520px);
  display: grid;
  justify-items: center;
  margin-left: 24px;
}

.kci-hero__logo {
  width: min(100%, 520px);
  max-height: 305px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(4, 25, 38, 0.24));
}

.home .kci-hero h1 {
  max-width: 640px;
  margin-top: 14px;
  color: #081f2d;
  font-family: "Brush Script MT", "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(31px, 3.2vw, 49px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38);
}

.home .kci-hero h1 span {
  display: block;
}

.home .kci-hero__actions {
  gap: 16px;
  margin: 38px 0 0 24px;
}

.kci-button--hero,
.kci-button--hero-secondary {
  min-width: 215px;
  gap: 12px;
  box-shadow: 0 13px 32px rgba(7, 37, 54, 0.18);
}

.kci-button--hero-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(5, 35, 54, 0.91);
  color: #fff;
  backdrop-filter: blur(9px);
}

.kci-button--hero-secondary:hover {
  border-color: var(--kci-ink);
  background: var(--kci-ink);
}

.home .kci-hero__route {
  right: 44px;
  bottom: 22px;
  left: auto;
  width: 245px;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.home .kci-catalog {
  margin-inline: 12px;
  padding-block: 48px 72px;
  background:
    radial-gradient(circle at 38% 4%, rgba(8, 43, 67, 0.035), transparent 20%),
    var(--kci-cream);
}

.home .kci-section-heading {
  grid-template-columns: 1fr auto;
  margin-bottom: 30px;
}

.home .kci-section-heading h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(34px, 4vw, 49px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.kci-catalog-all {
  align-self: center;
  padding: 12px 20px;
  border: 1px solid rgba(8, 43, 67, 0.5);
  border-radius: 999px;
  color: var(--kci-ink);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.kci-catalog-all:hover {
  border-color: var(--kci-ink);
  background: var(--kci-ink);
  color: #fff;
}

.home .kci-vehicle-grid {
  gap: 18px;
}

.home .kci-vehicle-card {
  border: 1px solid rgba(8, 43, 67, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(8, 43, 67, 0.08);
}

.home .kci-vehicle-card__image {
  aspect-ratio: 1.47 / 1;
}

.home .kci-vehicle-card__body {
  padding: 17px 18px 15px;
}

.home .kci-vehicle-card h3 {
  margin-bottom: 10px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home .kci-specs {
  gap: 8px 15px;
  padding-bottom: 12px;
}

.home .kci-specs span {
  display: none;
}

.home .kci-specs strong {
  color: #607080;
  font-size: 11px;
  font-weight: 650;
}

.home .kci-vehicle-card__footer {
  padding-top: 11px;
}

.home .kci-vehicle-card__footer p span {
  display: none;
}

.home .kci-vehicle-card__footer strong {
  font-size: 13px;
  font-weight: 600;
}

.home .kci-arrow-link {
  width: 36px;
  height: 36px;
  border-color: rgba(8, 43, 67, 0.5);
  color: var(--kci-ink);
}

@media (max-width: 900px) {
  .home .kci-header,
  .admin-bar.home .kci-header {
    top: 8px;
  }

  .admin-bar.home .kci-header {
    top: 54px;
  }

  .home .kci-brand {
    position: static;
    opacity: 1;
    pointer-events: auto;
  }

  .home .kci-brand__mark {
    border-color: var(--kci-ink);
    color: var(--kci-ink);
  }

  .home .kci-brand__text {
    color: var(--kci-ink);
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.8);
  }

  .home .kci-nav-toggle {
    border-color: rgba(8, 43, 67, 0.45);
    color: var(--kci-ink);
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(8px);
  }

  .home .kci-nav {
    right: 10px;
    left: 10px;
    border-radius: 16px;
    background: rgba(8, 43, 67, 0.98);
    box-shadow: var(--kci-shadow);
  }

  .home .kci-nav__list a {
    color: #fff;
    text-shadow: none;
  }

  .kci-hero__brand {
    width: min(65%, 560px);
  }
}

@media (max-width: 700px) {
  .home .kci-hero {
    min-height: 760px;
    margin: 6px 6px 0;
    border-radius: 25px 25px 0 0;
  }

  .home .kci-hero::before {
    background:
      linear-gradient(180deg, rgba(255, 247, 229, 0.18), transparent 30%),
      linear-gradient(0deg, rgba(4, 26, 39, 0.67), transparent 55%);
  }

  .home .kci-hero__art {
    background-position: 64% center;
  }

  .home .kci-hero__content {
    align-self: end;
    padding-block: 105px 112px;
  }

  .kci-hero__brand {
    width: min(94%, 500px);
    margin-inline: auto;
  }

  .home .kci-hero h1 {
    color: #fff;
    font-size: clamp(29px, 8.5vw, 43px);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.62);
  }

  .home .kci-hero__logo {
    max-height: 255px;
    filter: drop-shadow(0 8px 14px rgba(4, 25, 38, 0.34));
  }

  .home .kci-hero__actions {
    margin: 28px 0 0;
  }

  .kci-button--hero,
  .kci-button--hero-secondary {
    width: 100%;
  }

  .home .kci-hero__route {
    right: 22px;
    bottom: 20px;
    width: 190px;
  }

  .home .kci-catalog {
    margin-inline: 6px;
  }

  .home .kci-section-heading {
    grid-template-columns: 1fr;
  }

  .kci-catalog-all {
    justify-self: start;
  }
}

/* Popup system: contact and vehicle quick view. */
.kci-vehicle-card__image {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

button.kci-arrow-link {
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.kci-contact-dialog {
  width: min(100%, 990px);
  padding: 0;
  overflow: auto;
  background: var(--kci-paper);
}

.kci-contact-dialog__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.72fr);
  min-height: 630px;
}

.kci-contact-dialog__main {
  padding: 38px clamp(28px, 4vw, 52px) 34px;
  overflow: auto;
}

.kci-contact-dialog h2 {
  color: var(--kci-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(31px, 4vw, 45px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1;
}

.kci-contact-dialog__lead {
  margin: 6px 0 20px;
  color: var(--kci-ink-soft);
  font-size: 15px;
}

.kci-contact-dialog .kci-notice {
  margin: 0 0 15px;
  box-shadow: none;
}

.kci-contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.kci-contact-methods li,
.kci-contact-methods a {
  min-width: 0;
}

.kci-contact-methods a {
  display: grid;
  justify-items: center;
  color: var(--kci-ink);
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.kci-contact-methods strong {
  margin-top: 5px;
  font-size: 12px;
}

.kci-contact-methods small {
  max-width: 100%;
  overflow: hidden;
  color: #61717c;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kci-contact-methods__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1688c3;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(8, 43, 67, 0.13);
}

.kci-contact-methods__icon--whatsapp {
  background: #1dae61;
}

.kci-contact-methods__icon--mail {
  background: var(--kci-rust);
}

.kci-contact-dialog .kci-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.kci-contact-dialog .kci-form p:nth-of-type(4) {
  grid-column: auto;
}

.kci-contact-dialog .kci-form p:nth-of-type(5) {
  grid-column: 1 / -1;
}

.kci-contact-dialog .kci-form input[type="text"],
.kci-contact-dialog .kci-form input[type="email"],
.kci-contact-dialog .kci-form input[type="tel"],
.kci-contact-dialog .kci-form select,
.kci-contact-dialog .kci-form textarea {
  min-height: 43px;
  border-color: rgba(8, 43, 67, 0.18);
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
}

.kci-contact-dialog .kci-form select {
  width: 100%;
  padding: 8px 10px;
  color: var(--kci-ink);
}

.kci-contact-dialog .kci-form textarea {
  min-height: 92px;
}

.kci-contact-dialog .kci-checkbox {
  margin-block: 3px;
  font-size: 10px;
}

.kci-contact-submit {
  width: 100%;
  min-height: 46px;
  gap: 9px;
  border-radius: 7px;
}

.kci-contact-dialog__art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 34px 20px;
  background:
    linear-gradient(0deg, rgba(4, 27, 41, 0.62), transparent 55%),
    url("../images/hero-california-v2.webp") 71% center / cover;
}

.kci-contact-dialog__art p {
  margin: 0;
  color: #fff;
  font-family: "Brush Script MT", "Segoe Print", cursive;
  font-size: 31px;
  line-height: 1.08;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  transform: rotate(-7deg);
}

.kci-contact-dialog > .kci-modal__close {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.kci-vehicle-dialog {
  width: min(100%, 760px);
  padding: 12px;
  border-radius: 14px;
  background: var(--kci-paper);
}

.kci-vehicle-dialog > .kci-modal__close {
  top: 18px;
  right: 18px;
  z-index: 3;
  border-radius: 50%;
  background: rgba(8, 43, 67, 0.68);
  color: #fff;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(7px);
}

.kci-vehicle-dialog__lead {
  aspect-ratio: 16 / 8.4;
  overflow: hidden;
  border-radius: 9px;
  background: #d8ddd9;
}

.kci-vehicle-dialog__lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kci-vehicle-dialog__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px;
}

.kci-vehicle-dialog__thumbs button {
  aspect-ratio: 1.55 / 1;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #e7e9e7;
  cursor: pointer;
}

.kci-vehicle-dialog__thumbs button:hover,
.kci-vehicle-dialog__thumbs button:focus-visible,
.kci-vehicle-dialog__thumbs button.is-active {
  border-color: var(--kci-rust);
}

.kci-vehicle-dialog__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kci-vehicle-dialog__body {
  padding: 21px 14px 8px;
}

.kci-vehicle-dialog__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
}

.kci-vehicle-dialog__heading .kci-kicker {
  margin-bottom: 5px;
}

.kci-vehicle-dialog h2 {
  margin: 0;
  color: var(--kci-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.kci-vehicle-dialog__price {
  flex: 0 0 auto;
  display: grid;
  margin: 0;
  text-align: right;
}

.kci-vehicle-dialog__price span {
  color: #6a7881;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.kci-vehicle-dialog__price strong {
  font-size: 14px;
}

.kci-vehicle-dialog__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin: 20px 0;
}

.kci-vehicle-dialog__specs > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 0;
  border-bottom: 1px solid var(--kci-border);
  font-size: 12px;
}

.kci-vehicle-dialog__specs dt {
  color: #6a7881;
}

.kci-vehicle-dialog__specs dd {
  margin: 0;
  color: var(--kci-ink);
  font-weight: 750;
  text-align: right;
}

.kci-vehicle-dialog__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.kci-vehicle-dialog__actions .kci-button {
  min-height: 48px;
  gap: 9px;
  border-radius: 7px;
}

@media (max-width: 700px) {
  .kci-contact-dialog__grid {
    grid-template-columns: 1fr;
  }

  .kci-contact-dialog__main {
    padding: 40px 20px 24px;
  }

  .kci-contact-dialog__art {
    min-height: 190px;
  }

  .kci-contact-dialog > .kci-modal__close {
    color: var(--kci-ink);
    text-shadow: none;
  }

  .kci-contact-dialog .kci-form {
    grid-template-columns: 1fr;
  }

  .kci-contact-dialog .kci-form p,
  .kci-contact-dialog .kci-form p:nth-of-type(4),
  .kci-contact-dialog .kci-form p:nth-of-type(5) {
    grid-column: auto;
  }

  .kci-contact-methods {
    grid-template-columns: repeat(3, minmax(75px, 1fr));
  }

  .kci-vehicle-dialog {
    padding: 8px;
  }

  .kci-vehicle-dialog__lead {
    aspect-ratio: 4 / 3;
  }

  .kci-vehicle-dialog__body {
    padding: 18px 10px 6px;
  }

  .kci-vehicle-dialog__heading,
  .kci-vehicle-dialog__price {
    align-items: start;
    text-align: left;
  }

  .kci-vehicle-dialog__heading {
    flex-direction: column;
    gap: 10px;
  }

  .kci-vehicle-dialog__specs,
  .kci-vehicle-dialog__actions {
    grid-template-columns: 1fr;
  }
}
