/* ============================================================
   FONTS
============================================================ */
@font-face {
  font-family: 'ducati-extended';
  src: url('font/DucatiStyleExt_W_Rg.woff2') format('woff2'),
       url('font/DucatiStyleExt_W_Rg.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ducati-extended';
  src: url('font/DucatiStyleExt_W_Bd.woff2') format('woff2'),
       url('font/DucatiStyleExt_W_Bd.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ducati-condensed';
  src: url('font/DucatiStyleCond_W_Rg.woff2') format('woff2'),
       url('font/DucatiStyleCond_W_Rg.woff')  format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ducati-condensed';
  src: url('font/DucatiStyleCond_W_Bd.woff2') format('woff2'),
       url('font/DucatiStyleCond_W_Bd.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ducati-condensed';
  src: url('font/DucatiStyleCond_W_XBd.woff2') format('woff2'),
       url('font/DucatiStyleCond_W_XBd.woff')  format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   RESET & CUSTOM PROPERTIES
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red:           #cd1719;
  --red-hover:     #a80000;
  --dark:          #0f0f0f;
  --white:         #ffffff;
  --off-white:     #f5f5f5;
  --light-gray:    #ebebeb;
  --lighter-gray:  #f5f5f5;
  --border:        #cfd0d0;
  --text:          #1a1a1a;
  --text-muted:    #878786;
  --text-light:    #999999;
  --blue-bg:       #e8f4fd;
  --blue-border:   #90caf9;
  --blue-text:     #1565c0;
  --nav-height:    90px;
  --nav-height-scrolled: 75px;
  --nav-max:       1330px;
  --nav-margin:    30px;
  --font:          'ducati-extended', Arial, sans-serif;
  --font-cond:     'ducati-condensed', Arial, sans-serif;
  --font-poppins:    'Poppins', Arial, sans-serif;
  --page-max:      2480px;
  --gutter:        153px;
}

html,
body {
  overflow-x: hidden;
  letter-spacing: -0.02em;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4;
  color: #0f0f0f;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  max-width: var(--page-max);
  margin: 0 auto;
}

/* Headings & titles */
h1, h2, h3, h4, h5, h6,
.hero__title,
.section__title,
.finance-section__title,
.quotes__title,
.quote-card__type,
.model-detail__name,
.model-detail__srp,
.field__label {
  font-weight: 700;
}

p, li, blockquote {
  margin-top: 22px;
  margin-bottom: 13px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   LAYOUT HELPERS
============================================================ */
.inner {
  max-width: var(--nav-max);
  margin: 0 auto;
  padding: 0 45px;     
}

.calc_inner {
  max-width: 80%;    
}

/* ============================================================
   HERO
============================================================ */
.hero {
  background:
    radial-gradient(ellipse 55% 80% at 85% 50%, rgba(180,0,0,0.12) 0%, transparent 70%),
    url('img/bg_hero.jpg') center center / cover no-repeat;
  /* Push content below the fixed nav (height + 20px top gap) */
  padding-top: calc(var(--nav-height) + 20px);
  height: 640px;
  position: relative;
}

/* ============================================================
   NAVIGATION
============================================================ */
.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0 var(--nav-margin);
}

.nav-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--nav-height);
  max-width: var(--nav-max);
  margin: 0 auto;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 45px;
  transition: height 0.25s ease;
  box-shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.2);
}

.nav-bar.is-scrolled {
  height: var(--nav-height-scrolled);
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-group:last-of-type {
  justify-content: flex-end;
}

.nav-link {
  font-family: var(--font-cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0f0f0f;
  -webkit-font-smoothing: auto;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover {

}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo__img {
  height: 58px;
  width: auto;
  display: block;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
  height: 16px;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #0F0F0F;
  border-radius: 1px;
  transition: all 0.25s;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
  margin: 0 var(--nav-margin);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 10px 24px;
  font-family: var(--font-cond);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* border-bottom: 1px solid var(--light-gray); */
  color: var(--text);
  transition: color 0.2s;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--red);
}

/* ============================================================
   HERO BODY
============================================================ */
.hero__body {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--gutter) 52px;
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
}

.hero__body::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 130%;
  background: linear-gradient(to bottom left, rgba(180,0,0,0.05) 0%, transparent 60%);
  transform: skewX(-8deg);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__logo-img {
  width: 100%;
  max-width: 565px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero__divider {
  width: 100%;
  max-width: 1135px;
  height: 2px;
  background: var(--red);
  margin: 18px auto;
}

.hero__title {
  font-family: var(--font);
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  text-transform: none;
  line-height: 0.7em;
}

/* ============================================================
   MODEL SELECTOR
============================================================ */
.model-selector {
  background: var(--white);
  padding: 44px 0 0;
}

.model-selector__heading {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.model-splide {
  width: 100%;
  position: relative; 
  padding: 0 28px;
  box-sizing: border-box;
}

.model-splide .splide__pagination { display: none; }

/* ---- Individual slide ---- */
.model-slide {
  /* Width is set entirely by Splide JS — do not set flex-basis here */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 24px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s;
  scroll-snap-align: start;
}

.model-slide:hover {
  border-color: var(--lighter-gray);
}

.model-slide.is-selected {
  border-color: var(--light-gray);
}

.model-slide__img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 12px;
}

.model-slide__name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

/* ---- Full-width progress bar ---- */
.model-slider__progress {
  width: 100%;
  height: 3px;
  background: #c6c6c6;
  border-radius: 2px;
  position: relative;
  margin-top: 24px;
  cursor: pointer;
}

.model-slider__progress::before {
  content: '';
  position: absolute;
  inset: -8px 0;
}

.model-slider__progress-fill {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  height: 5px;
  background: #878786;
  border-radius: 3px;
  transition: left 0.15s ease, width 0.15s ease;
  pointer-events: none;
}

.model-splide .splide__arrows {
  position: static;
}

.model-splide .splide__arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  opacity: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.model-splide .splide__arrow--prev { left:  -20px; }
.model-splide .splide__arrow--next { right: -20px; }

.model-splide .splide__arrow:hover:not(:disabled) {
  background: var(--light-gray);
}

.model-splide .splide__arrow:disabled {
  opacity: 1;
  background: var(--white);
  border-color: #e0e0e0;
  cursor: default;
}

.model-splide .splide__arrow:disabled svg {
  fill: #c8c8c8;
}

.model-splide .splide__arrow svg {
  fill: var(--dark);
  width: 14px;
  height: 14px;
}

.model-splide .splide__arrow--prev svg {
  transform: scaleX(-1);
}

/* ============================================================
   MODEL DETAIL
============================================================ */
.model-detail {
  background: var(--white);
  padding: 64px 0 44px;
  border-bottom: 0;
}

.model-detail__grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.model-detail__badge {
  display: inline-block;
  margin-bottom: 18px;
}

.model-detail__img {
  width: 100%;
  /*max-height: 300px;*/
  object-fit: contain;
  /* margin: 0 -64px; */
}

.model-detail__meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.model-detail__name {
  font-size: 30px;
  font-weight: 700;
}

.model-detail__srp {
  font-family: var(--font-poppins);
  font-size: 30px;
  font-weight: 500;
}

/* ---- Colour sidebar ---- */
.colour-panel__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-align: center;
}

.colour-slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.colour-slider__body {
  display: flex;
  gap: 24px;
  width: 100%;
  align-items: stretch;
}

.colour-swatches-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
}

.colour-slider__progress-bar {
  width: 3px;
  background: #c6c6c6;
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}

.colour-slider__progress-fill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  top: 0;
  height: 40%;
  background: #878786;
  border-radius: 3px;
  transition: top 0.15s ease, height 0.15s ease;
}

.colour-swatches {
  cursor: grab;
  display: flex;
  flex-direction: column;
  gap: 16px;
  --swatch-h: 260px;
  max-height: calc(var(--swatch-h) * 2 + 16px);
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  width: 100%;
}

.colour-swatches::-webkit-scrollbar { display: none; }

.colour-swatch {
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 16px;
  transition: border-color 0.2s;
  scroll-snap-align: start;
  flex-shrink: 0;
  user-select: none;
  height: var(--swatch-h, 260px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.colour-swatch.is-active {
  border-color: var(--light-gray);
}

.colour-swatch:hover:not(.is-active) {
  border-color: var(--lighter-gray);
}

.colour-swatch__img {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: contain;
}

.colour-swatch__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.colour-slider__arrow {
  display: none;
}

/* Horizontal progress bar — mobile */
.colour-slider__progress-h {
  display: none;
}

.colour-slider__progress-h-fill {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  height: 5px;
  background: #878786;
  border-radius: 3px;
  transition: left 0.15s ease, width 0.15s ease;
  pointer-events: none;
}

.model-detail__main,
.colour-panel {
  min-width: 0;
}

/* ============================================================
   FINANCE SECTION
============================================================ */
.finance-section {
  background: var(--white);
  padding: 40px 0 0;
  font-family: var(--font-poppins);
}

.finance-section__title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

.finance-section__sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-dark);
  margin-top: 4px;
  margin-bottom: 32px;
}

.finance-inputs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.field {
  position: relative;
  margin-top: 10px;
}

.field__label {
  position: absolute;
  top: -6px;
  left: 14px;
  z-index: 2;
  background: var(--white);
  padding: 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.field__label--offset {
  left: 36px;
}

.field__control {
  display: flex;
  align-items: center;
  height: 62px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s;
}

.field__control:focus-within {
  border-color: #555;
}

/* Price prefix column */
.field__prefix-wrap {
  display: flex;
  align-items: center;
  padding: 0 6px;
  background: #e5e6e6;
  border-right: 1px solid var(--border);
  align-self: stretch;
  flex-shrink: 0;
  border-radius: 4px 0 0 4px;
}

.field__prefix {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  user-select: none;
}

.field__inner {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 14px;
  min-width: 0;
}

.field__input {
  border: none;
  outline: none;
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  font-family: inherit;
  width: 100%;
}

/* Remove number input spinners */
.field__input::-webkit-inner-spin-button,
.field__input::-webkit-outer-spin-button { -webkit-appearance: none; }
.field__input[type=number] { -moz-appearance: textfield; }

.field__select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.field__select {
  width: 100%;
  border: none;
  outline: none;
  padding: 0 28px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
}

.field__chevron {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  line-height: 0;
  display: flex;
  align-items: center;
}

/* ============================================================
   REPRESENTATIVE EXAMPLE ACCORDION
============================================================ */
.rep-example {
  background: var(--white);
  margin-bottom: 32px;
  border-bottom: 0;
}

.rep-example p {
  font-size: 18px;
  margin-bottom: 0;
  margin-top: 0;
}

.rep-example__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 14px 0;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}

.rep-example__trigger-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.rep-example__icon {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  transition: transform 0.25s;
  flex-shrink: 0;
}

.rep-example__icon.is-open {
  transform: rotate(180deg);
}

.rep-example__body {
  padding: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.rep-example__body.is-open {
  max-height: 600px;
  padding: 0 0 20px;
}

/* ============================================================
   QUOTES SECTION
============================================================ */
.quotes__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
  margin-top: 0;
}

.quote-card {
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  margin-bottom: 14px;
  background: var(--white);
  transition: border-color 0.2s;
  overflow: hidden;
}

.quote-card.is-selected {
  border-color: var(--red);
  border-width: 2px;
}

.quote-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
}

.quote-card__header-left {
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  user-select: none;
}

.radio-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.radio-dot.is-active {
  border-color: var(--red);
}

.radio-dot.is-active::after {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
}

.quote-card__type {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
}

.quote-card__view-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-text);
  white-space: nowrap;
  cursor: pointer;
}

.quote-card__chevron {
  transition: transform 0.25s;
  flex-shrink: 0;
}

.quote-card__header[aria-expanded="false"] .quote-card__chevron {
  transform: rotate(-90deg);
}

.quote-card__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.quote-card__body.is-open {
  max-height: 500px;
}

.quote-card__body-inner {
  padding: 0 24px 24px;
}

.quote-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.3fr 10%;
  gap: 20px;
  margin-bottom: 20px;
  padding-top: 4px;
}

.quote-stat__label {
  font-size: 18px;
  color: #5d6973;
  font-weight: 600;
  margin-bottom: 5px;
}

.quote-stat__value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.quote-notice {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #d7eff9;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 400;
  color: color: var(--text-dark);
  line-height: 1.6;
}

.quote-notice__icon {
  flex-shrink: 0;
  line-height: 0;
}

.quote-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.quote-actions__links {
  display: flex;
  gap: 20px;
}

.quote-actions__link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-text);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.quote-actions__link:hover {
  text-decoration: underline;
}


/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 26px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}

.btn--detail {
  padding: 12px 22px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.btn--apply {
  font-family: var(--font-poppins);
  padding: 12px 28px;
  font-size: 16px;
  letter-spacing: -0.03em;
  text-transform: none;
  font-weight: 600;
  border-radius: 4px;
}

/* ============================================================
   LEGAL
============================================================ */
.legal-section {
  background: var(--white);
  padding: 32px 0;
  border-top: 0
}

.legal-text {
  font-size: 13px;
  line-height: 1.25;
  color: var(--text-dark);
}

.legal-text p {
  margin-bottom: 8px;
}

.legal-text p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   BACK TO MODELS
============================================================ */
.back-section {
  background: var(--white);
  padding: 36px 0;
  text-align: center;
  border-top: 0;
}

.back-section .btn {
  padding: 15px 52px;
  font-size: 13px;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 120px;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-bottom: 0;
  margin-bottom: 44px;
}


.footer__audi-img {
  height: auto;
  max-width: 600px;
  display: block;
}

.footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-bottom: 44px;
}

.footer__link {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--white);
}

.footer__social {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.footer__social-link {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-style: normal;
  color: rgba(255,255,255,0.55);
  transition: border-color 0.2s, color 0.2s;
}

.footer__social-link:hover {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

.footer__copyright {
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.28);
  margin: 20px auto;
}

.footer__sub-brands {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__sub-brand {
  font-size: 10px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
============================================================ */
@media (max-width: 1024px) {
  :root {
    --gutter: 40px;
  }

  .hero {
    height: 420px;
  }

  .hero__logo-wrap {
    max-width: 400px;
    margin: 0 auto 24px;
  }

  .hero__title {
    font-size: 32px;
    line-height: 0.3em;
  }

  .site-header {
    top: 20px;
    padding: 0 20px;
    margin: 0;
  }

  .model-splide {
    padding: 0 28px;
  }

  .model-splide .splide__arrow--prev { left:  -20px; }
  .model-splide .splide__arrow--next { right: -20px; }

  .model-slide__img {
    height: 180px;
  }

  .model-detail__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .model-detail__name {
    font-size: 26px;
  }

  .model-detail__srp {
    font-size: 26px;
  }

  .colour-slider__progress-bar {
    display: none;
  }

  .colour-slider__progress-h {
    display: block;
    width: 100%;
    height: 3px;
    background: #c6c6c6;
    border-radius: 2px;
    position: relative;
    margin-top: 16px;
  }

  .colour-slider__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
  }

  .colour-slider__arrow--prev { left:  -18px; }
  .colour-slider__arrow--next { right: -18px; }

  .colour-slider__arrow:hover:not(:disabled) {
    background: var(--light-gray);
  }

  .colour-slider__arrow:disabled {
    border-color: #e0e0e0;
    cursor: default;
  }

  .colour-slider__arrow:disabled svg {
    fill: #c8c8c8;
  }

  .colour-slider__arrow svg {
    fill: var(--dark);
    width: 14px;
    height: 14px;
  }

  /* 4 swatches visible on tablet */
  .colour-swatches {
    --swatch-h: 160px;
    flex-direction: row;
    max-height: none;
    height: var(--swatch-h);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 12px;
    cursor: default;
  }

  .colour-swatch {
    flex: 0 0 calc(25% - 9px);
    height: var(--swatch-h);
  }

  .colour-swatch__name {
    font-size: 14px;
  }

  .calc_inner {
    max-width: 100%;
    padding: 0 40px;
  }

  .rep-example p {
    font-size: 16px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 680px)
============================================================ */
@media (max-width: 680px) {
  :root {
    --nav-height:         75px;
    --nav-height-scrolled: 75px;
    --gutter:             20px;
  }

  .site-header {
    top: 12px;
    margin: 0 10px;
  }

  .nav-group {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .site-header {
    padding: 0;
  }

  .nav-bar {
    max-width: none;
    padding: 0 16px 0 21px;
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 2px;
    border-bottom: 0;
    box-shadow: unset;
  }

  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-logo__img {
    height: 40px;
  }

  .mobile-menu {
    margin: 0;
    padding: 10px 0;
  }

  .inner {
    padding: 0 16px;
  }
  
  .calc_inner {
    max-width: 100%;
    padding: 0 16px;
  }

  .hero {
    height: 360px;
    padding-top: 0;
  }

  .hero__body {
    min-height: 160px;
    padding-top: 32px;
    padding-bottom: 40px;
    padding: 36px;
  }

  .model-selector__heading{
    font-size: 28px;
  }

  .model-detail__badge {
    display: inline-block;
    font-size: 18px;;
    margin-bottom: 48px;
  }

  .model-splide {
    padding: 0; 
  }

  .model-slide {
    flex: 0 0 100%;
  }

  .model-slide,
  .model-slide:hover,
  .model-slide.is-selected {
    border-color: transparent;
  }

  .model-slide__img {
    height: 160px;
  }

  .model-slide__name {
    font-size: 18px;
  }

  .model-detail__grid {
    grid-template-columns: 1fr;
  }

  .model-detail__main {
    margin-left: -16px;
    margin-right: -16px;
    text-align: center;
  }

  .model-detail__name {
    font-size: 22px;
  }

  .model-detail__meta {
    justify-content: center;
    padding-left: 16px;
    padding-right: 16px;
  }

  .model-detail__srp {
    font-size: 24px;
  }

  .model-splide .splide__arrow--prev { left:  0; }
  .model-splide .splide__arrow--next { right: 0; }

  .colour-panel {
    border-top: 1px solid var(--border);
    padding-top: 24px;
  }

  .colour-panel__title {
  font-size: 22px;
  }

  .colour-slider__progress-bar {
    display: none;
  }

  .colour-slider__progress-h {
    display: block;
    width: 100%;
    height: 3px;
    background: #c6c6c6;
    border-radius: 2px;
    position: relative;
    margin-top: 16px;
  }

  .colour-slider__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    cursor: pointer;
    transition: background 0.2s;
  }

  .colour-slider__arrow--prev { left:  0; }
  .colour-slider__arrow--next { right: 0; }

  .colour-slider__arrow:hover:not(:disabled) {
    background: var(--light-gray);
  }

  .colour-slider__arrow:disabled {
    border-color: #e0e0e0;
    cursor: default;
  }

  .colour-slider__arrow:disabled svg {
    fill: #c8c8c8;
  }

  .colour-slider__arrow svg {
    fill: var(--dark);
    width: 14px;
    height: 14px;
  }

  .colour-swatches {
    --swatch-h: 200px;
    flex-direction: row;
    max-height: none;
    height: var(--swatch-h);
    overflow-y: hidden;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
  }

  .colour-swatch {
    flex: 0 0 calc(50% - 6px);
  }

  .colour-swatch__name {
    font-size: 16px;
  }

  .quote-card__view-text {
    display: none;
  }

  .finance-section {
    padding: 0;
  }

  .finance-section__title {
    font-size: 28px;
  }

  .finance-inputs {
    grid-template-columns: 1fr;
  }

  .quote-stats {
    grid-template-columns: 1fr 1fr;
  }

  .quote-stats--three {
    grid-template-columns: 1fr 1fr;
  }

  .quote-card__header-left{
    gap: 12px;
  }

  .quote-card__type {
    font-size: 18px;
  }

  .rep-example__body.is-open {
    padding: 0 0 10px;
  }

  .rep-example p {
    font-size: 16px;
  }

  .quote-stat__label {
    font-size: 13px;
  }

  .quote-actions__link {
    font-size: 14px;
  }

  .quote-notice {
    font-size: 13px;
  }

  .quote-actions {
    gap: 32px;
  }

  .btn--apply {
  width: 100%;
  }


  .site-footer {
    padding: 40px 0 20px;
  }

  .footer__top {
    flex-direction: column;
    gap: 10px;
  }

  .footer__divider {
    width: 40px;
    height: 1px;
  }
}
