/* UX-1 shared visual foundation. Loaded after page-specific CSS intentionally. */
:root {
  --cbp-space-1: 8px;
  --cbp-space-2: 12px;
  --cbp-space-3: 16px;
  --cbp-space-4: 24px;
  --cbp-space-5: 32px;
  --cbp-space-6: 48px;
  --cbp-radius-sm: 12px;
  --cbp-radius-md: 18px;
  --cbp-radius-lg: 24px;}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--cbp-focus);
  outline-offset: 3px;}

.site-header {
  border-bottom: 1px solid var(--cbp-border);}

.main-nav a,
.nav-whatsapp,
.btn,
.cbp-button {
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;}

.main-nav a:hover,
.nav-whatsapp:hover,
.btn:hover,
.cbp-button:hover {
  transform: translateY(-1px);}

.btn,
.cbp-button {
  min-height: 44px;
  border-radius: var(--cbp-radius-sm);}

.trust-block,
.final-cta,
.cbp-card,
.order-form,
.sell-form,
.contact-form {
  border-radius: var(--cbp-radius-md);}

.trust-item,
.order-process-grid li,
.sell-process-grid li,
.contact-card {
  border-radius: var(--cbp-radius-sm);}

.order-faq details,
.sell-faq details,
.cbp-faq__item {
  border-bottom: 1px solid var(--cbp-border);}

.order-faq summary,
.sell-faq summary,
.cbp-faq__item summary {
  min-height: 48px;
  padding: var(--cbp-space-2) 28px var(--cbp-space-2) 0;
  cursor: pointer;
  font-weight: 650;}

.order-faq details p,
.sell-faq details p,
.cbp-faq__item p {
  margin: 0 0 var(--cbp-space-3);}

.cbp-faq,
.cbp-process,
.cbp-related-content {
  margin: var(--cbp-space-6) 0;}

.cbp-faq > h2,
.cbp-process > h2,
.cbp-related-content > h2 {
  margin: 0 0 var(--cbp-space-4);}

.cbp-process__steps,
.cbp-related-content__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--cbp-space-3);
  margin: 0;
  padding: 0;}

.cbp-process__step,
.cbp-related-content__card {
  list-style: none;
  padding: var(--cbp-space-4);
  border: 1px solid var(--cbp-border);
  border-radius: var(--cbp-radius-md);}

.cbp-process__step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: var(--cbp-space-2);}

.cbp-process__number {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-weight: 650;}

.cbp-process__step h3,
.cbp-related-content__card h3 {
  margin: 4px 0 var(--cbp-space-1);}

.cbp-process__step p,
.cbp-related-content__card p {
  margin: 0;}

.cbp-related-content__card .btn {
  margin-top: var(--cbp-space-4);}

.cbp-result-main {
  border-radius: var(--cbp-radius-md);}

.cbp-notice,
.cbp-context-box {
  border-radius: var(--cbp-radius-sm);}

.cbp-field input,
.cbp-field select,
.cbp-field textarea {
  min-height: 48px;
  border-radius: var(--cbp-radius-sm);}

.site-footer {
  border-top: 4px solid var(--cbp-gold);}

@media (max-width: 800px) {
  .cbp-process__steps,
  .cbp-related-content__grid {
    grid-template-columns: 1fr;}

  .cbp-faq,
  .cbp-process,
  .cbp-related-content {
    margin: var(--cbp-space-5) 0;}
}

@media (prefers-reduced-motion: reduce) {
  .main-nav a,
  .nav-whatsapp,
  .btn,
  .cbp-button {
    transition: none;}
}

/* UX-2 homepage conversion composition. Reuses the UX-1 tokens and shared modules. */
.home-v2 .home-v2-hero {
  padding: 84px 0 76px;}

.home-v2-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);}

.home-v2-hero__content {
  min-width: 0;}

.home-v2-hero__panel {
  position: relative;
  z-index: 1;
  padding: 28px;
  border: 1px solid var(--cbp-border);
  border-radius: var(--cbp-radius-lg);}

.home-v2-hero__panel h2 {
  margin: 0 0 var(--cbp-space-4);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.18;}

.home-v2-hero__choices {
  display: grid;
  gap: var(--cbp-space-2);
  margin: 0;
  padding: 0;
  list-style: none;}

.home-v2-hero__choices li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--cbp-space-3);
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--cbp-border);}

.home-v2-hero__choices li:first-child {
  border-top: 0;}

.home-v2-hero__choices a {
  font-weight: 650;
  text-decoration-color: var(--cbp-gold);
  text-underline-offset: 4px;}

.home-v2-section {
  padding: 88px 0;}

.home-v2-section__heading {
  display: grid;
  gap: var(--cbp-space-2);
  margin-bottom: 36px;}

.home-v2-section__heading h2,
.home-v2-process-layout__intro h2,
.home-v2-markets h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;}

.home-v2-section__heading p,
.home-v2-process-layout__intro p,
.home-v2-markets > p {
  max-width: 760px;
  margin: 0;
  font-size: 18px;}

.home-v2-decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--cbp-space-3);}

.home-v2-decision-card {
  display: flex;
  min-height: 318px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--cbp-border);
  border-radius: var(--cbp-radius-lg);}

.home-v2-decision-card h3 {
  margin: 0 0 var(--cbp-space-2);
  font-size: 25px;
  line-height: 1.2;}

.home-v2-decision-card > p:not(.home-card-kicker) {
  margin: 0 0 var(--cbp-space-4);}

.home-v2-decision-card .btn {
  margin-top: auto;}

.home-v2-process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(0, 1.34fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;}

.home-v2-process-layout__intro {
  position: sticky;
  top: 24px;}

.home-v2-process-layout__intro > p:not(.home-section-label) {
  margin-top: var(--cbp-space-3);}

.home-v2-process-layout .cbp-process {
  margin: 0;}

.home-v2-process-layout .cbp-process > h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;}

.home-v2-process-layout .cbp-process__steps {
  grid-template-columns: 1fr;}

.home-v2-process-layout .cbp-process__step {
  padding: 22px;}

.home-v2-calculator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--cbp-space-3);}

.home-v2-calculator-card {
  display: grid;
  gap: var(--cbp-space-2);
  min-height: 206px;
  padding: 24px;
  border: 1px solid var(--cbp-border);
  border-radius: var(--cbp-radius-md);
  text-decoration: none;}

.home-v2-calculator-card__label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;}

.home-v2-calculator-card strong {
  align-self: end;
  font-size: 19px;
  line-height: 1.25;}

.home-v2-calculators__footer {
  margin-top: 28px;}

.home-v2-trust-layout .trust-block {
  margin: 34px 0 0;}

.home-v2-markets {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;}

.home-v2-markets > p {
  margin-top: 28px;}

.home-v2 .cbp-related-content {
  margin: 0;}

.home-v2 .cbp-related-content > h2 {
  max-width: 650px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;}

.home-v2 .cbp-related-content__card {
  display: flex;
  min-height: 238px;
  flex-direction: column;}

.home-v2 .cbp-related-content__card .btn {
  margin-top: auto;}

.home-v2-final {
  padding-bottom: 88px;}

@media (max-width: 980px) {
  .home-v2-hero__grid,
  .home-v2-process-layout,
  .home-v2-markets {
    grid-template-columns: 1fr;}

  .home-v2-process-layout__intro {
    position: static;}

  .home-v2-calculator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));}
}

@media (max-width: 800px) {
  .home-v2 .home-v2-hero,
  .home-v2-section {
    padding: 60px 0;}

  .home-v2-decision-grid {
    grid-template-columns: 1fr;}

  .home-v2-decision-card {
    min-height: 0;}

  .home-v2-process-layout .cbp-process__steps {
    gap: var(--cbp-space-2);}
}

@media (max-width: 520px) {
  .home-v2 .home-v2-hero {
    padding: 48px 0 52px;}

  .home-v2-hero__panel,
  .home-v2-decision-card {
    padding: 24px;}

  .home-v2-hero__choices li {
    grid-template-columns: 1fr;
    gap: 6px;}

  .home-v2-calculator-grid {
    grid-template-columns: 1fr;}

  .home-v2-calculator-card {
    min-height: 0;}

  .home-v2-final {
    padding-bottom: 56px;}
}

/* UX-3 core service-page conversion composition. */
.service-page {
  overflow: clip;}

.service-page .hero {
  position: relative;
  isolation: isolate;}

.service-page .hero::before {
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -150px;
  width: min(42vw, 620px);
  height: min(42vw, 620px);
  border: 1px solid var(--cbp-border);
  border-radius: 50%;
  content: "";
  pointer-events: none;}

.service-page .hero .wrap {
  position: relative;
  z-index: 1;}

.service-page .hero .btn-row {
  gap: 14px;}

.service-page .order-form-section,
.service-page .sell-form-section,
.service-page .contact-form-section {
  position: relative;}

.service-page .order-form-layout,
.service-page .sell-form-layout,
.service-page .contact-form-layout {
  align-items: start;}

.service-page .order-form-intro,
.service-page .sell-form-intro,
.service-page .contact-form-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--cbp-border);
  border-radius: var(--cbp-radius-lg);}

.service-page .order-form-intro::before,
.service-page .sell-form-intro::before,
.service-page .contact-form-intro::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 4px;
  content: "";}

.service-page .order-form,
.service-page .sell-form,
.service-page .contact-form {
  border-top: 4px solid var(--cbp-gold);}

.service-page .order-privacy,
.service-page .sell-privacy,
.service-page .contact-privacy {
  padding: 15px 17px;
  border-left: 3px solid var(--cbp-gold);
  border-radius: 0 var(--cbp-radius-sm) var(--cbp-radius-sm) 0;}

.service-page .order-final-section,
.service-page .sell-final-section,
.service-page .contact-final-section {
  padding-bottom: 88px;}

@media (max-width: 800px) {
  .service-page .hero::before {
    top: -128px;
    right: -180px;
    width: 360px;
    height: 360px;}

  .service-page .order-form-section,
  .service-page .sell-form-section,
  .service-page .contact-form-section {
    padding-top: 56px;
    padding-bottom: 56px;}
}

@media (max-width: 520px) {
  .service-page .hero .btn-row .btn,
  .service-page .order-submit,
  .service-page .sell-submit,
  .service-page .contact-submit {
    width: 100%;}

  .service-page .order-form-intro,
  .service-page .sell-form-intro,
  .service-page .contact-form-intro,
  .service-page .order-form,
  .service-page .sell-form,
  .service-page .contact-form {
    padding: 22px;}

  .service-page .order-privacy,
  .service-page .sell-privacy,
  .service-page .contact-privacy {
    padding: 13px 14px;}

  .service-page .order-final-section,
  .service-page .sell-final-section,
  .service-page .contact-final-section {
    padding-bottom: 56px;}
}

/* UX-4 calculator family visual system. */
.cbp-calculator-page {
  padding-top: 36px;}

.cbp-calculator-page .cbp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--cbp-border);}

.cbp-calculator-page .cbp-hero::after {
  position: absolute;
  top: -190px;
  right: -150px;
  width: 420px;
  height: 420px;
  border: 1px solid var(--cbp-border);
  border-radius: 50%;
  content: "";
  pointer-events: none;}

.cbp-calculator-page .cbp-hero > * {
  position: relative;
  z-index: 1;}

.cbp-calculator-page .cbp-grid {
  gap: clamp(20px, 3vw, 34px);}

.cbp-calculator-page form.cbp-card {
  border-top: 4px solid var(--cbp-gold);}

.cbp-calculator-page .cbp-section-title {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--cbp-border);}

.cbp-calculator-page .cbp-field input,
.cbp-calculator-page .cbp-field select,
.cbp-calculator-page .cbp-field textarea {
  min-height: 50px;}

.cbp-calculator-page .cbp-field textarea {
  min-height: 112px;}

.cbp-calculator-page .cbp-field small {
  line-height: 1.45;}

.cbp-calculator-page .cbp-import-result,
.cbp-calculator-page .leasing-result,
.cbp-calculator-page .cbp-automaks-result,
#cbp-total-ownership-calculator .cbp-grid > aside.cbp-card {
  border-top: 4px solid var(--cbp-gold);}

.cbp-calculator-page .cbp-result-main {
  padding: 26px;
  border: 1px solid var(--cbp-border);}

.cbp-calculator-page .cbp-result-main__amount,
.cbp-calculator-page .leasing-primary-result strong {
  font-variant-numeric: tabular-nums;}

.cbp-calculator-page .cbp-rows,
.cbp-calculator-page .leasing-result-list {
  margin-top: 20px;
  padding: 4px 16px;
  border: 1px solid var(--cbp-border);
  border-radius: var(--cbp-radius-md);}

.cbp-calculator-page .cbp-row,
.cbp-calculator-page .leasing-result-list div {
  padding: 14px 0;}

.cbp-calculator-page .cbp-notice,
.cbp-calculator-page .cbp-context-box,
.cbp-calculator-page .leasing-disclaimer {
  line-height: 1.55;}

.cbp-calculator-next-actions,
.cbp-calculator-page .cbp-import-result-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;}

.cbp-calculator-next-actions .btn,
.cbp-calculator-page .cbp-import-result-links .btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin: 0;
  text-align: center;}

.cbp-calculator-hub .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 8vw, 92px) 0;}

.cbp-calculator-hub .hero::after {
  position: absolute;
  right: -180px;
  bottom: -250px;
  width: 610px;
  height: 610px;
  border: 1px solid var(--cbp-border);
  border-radius: 50%;
  content: "";
  pointer-events: none;}

.cbp-calculator-hub .hero .wrap {
  position: relative;
  z-index: 1;}

.cbp-calculator-hub .calculator-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--cbp-space-3);}

.cbp-calculator-hub .calculator-card {
  display: flex;
  min-height: 274px;
  flex-direction: column;
  padding: 26px;
  border-top: 4px solid var(--cbp-blue);}

.cbp-calculator-hub .calculator-card h3 {
  font-size: 21px;
  line-height: 1.2;}

.cbp-calculator-hub .calculator-card .text-link {
  margin-top: auto;
  font-weight: 650;}

.cbp-calculator-hub__journey .card {
  border-top: 3px solid var(--cbp-border);}

.cbp-calculator-hub__cta {
  padding-bottom: 88px;}

@media (max-width: 1100px) {
  .cbp-calculator-hub .calculator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));}
}

@media (max-width: 800px) {
  .cbp-calculator-page {
    padding-top: 20px;}

  .cbp-calculator-page .cbp-hero::after {
    top: -155px;
    right: -200px;
    width: 370px;
    height: 370px;}

  .cbp-calculator-page .cbp-grid > .cbp-card:not([hidden]) {
    position: static;}
}

@media (max-width: 600px) {
  .cbp-calculator-page .cbp-card {
    padding: 20px;}

  .cbp-calculator-page .cbp-row,
  .cbp-calculator-page .leasing-result-list div {
    align-items: flex-start;}

  .cbp-calculator-page .cbp-row strong,
  .cbp-calculator-page .leasing-result-list dd {
    max-width: 52%;
    overflow-wrap: anywhere;
    white-space: normal;}

  .cbp-calculator-next-actions,
  .cbp-calculator-page .cbp-import-result-links,
  .cbp-calculator-hub .calculator-grid {
    grid-template-columns: 1fr;}

  .cbp-calculator-hub .calculator-card {
    min-height: 0;}

  .cbp-calculator-hub__cta {
    padding-bottom: 56px;}
}

.country-page .section-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;}

.country-page__breadcrumb { padding-top: 30px;}
.country-page__breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; font-size: .9rem; list-style: none;}
.country-page__breadcrumb li + li::before { margin-right: 8px; content: '/';}
.country-page__breadcrumb a { font-weight: 650; text-decoration-color: currentColor; text-underline-offset: 3px;}

.country-page__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 9vw, 112px) 0 clamp(44px, 7vw, 88px);}

.country-page .eyebrow,
.country-page__status {
  display: inline-flex;
  margin: 0 0 14px;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;}

.country-page h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.35rem, 5.4vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -.045em;}

.country-page__lead,
.country-page__section p,
.country-page__answer-card p {
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.65;}

.country-page__lead { max-width: 690px; margin: 24px 0 0;}
.country-page__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px;}
.country-page__actions .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px;}
.country-page__actions .btn-secondary:focus-visible { outline: 3px solid var(--cbp-focus); outline-offset: 3px;}

.country-page__answer-card,
.country-page__card,
.country-page__risk-card {
  border: 1px solid var(--country-line);
  border-radius: 20px;}

.country-page__answer-card { padding: clamp(24px, 3vw, 38px); border-top: 5px solid var(--country-accent);}
.country-page__answer-card h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2rem);}
.country-page__answer-card p { margin: 14px 0 0;}

.country-page__notice { margin-bottom: 16px; padding: 16px 20px; border-left: 4px solid var(--country-accent);}
.country-page__notice p { margin: 0;}

.country-page__section { padding: clamp(48px, 7vw, 96px) 0;}
.country-page__surface { width: 100%; padding-left: max(24px, calc((100% - 1180px) / 2)); padding-right: max(24px, calc((100% - 1180px) / 2));}
.country-page__surface .section-heading,
.country-page__surface .country-page__grid { width: min(1180px, 100%); margin-left: auto; margin-right: auto;}
.country-page .section-heading { max-width: 790px; margin-bottom: 30px;}
.country-page .section-heading h2,
.country-page__timeline h2 { margin: 0; font-size: clamp(1.8rem, 3.8vw, 3.1rem); line-height: 1.1; letter-spacing: -.035em;}
.country-page .section-heading p:last-child { margin: 14px 0 0;}

.country-page__grid { display: grid; gap: 18px;}
.country-page__grid--two { grid-template-columns: repeat(2, minmax(0, 1fr));}
.country-page__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr));}
.country-page__grid--four { grid-template-columns: repeat(4, minmax(0, 1fr));}
.country-page__card { padding: 24px;}
.country-page__card h3 { margin: 0; font-size: 1.14rem; line-height: 1.25;}
.country-page__card p { margin: 12px 0 0; font-size: .96rem;}
.country-page__calculator-card { display: flex; min-height: 220px; flex-direction: column;}
.country-page__calculator-card .text-link { margin-top: auto; padding-top: 20px; font-weight: 650;}

.country-page__risk-card { padding: clamp(24px, 3vw, 34px);}
.country-page__risk-card ul { display: grid; gap: 16px; margin: 0; padding-left: 24px; line-height: 1.55;}
.country-page__timeline { padding-top: clamp(54px, 8vw, 108px); padding-bottom: clamp(54px, 8vw, 108px); max-width: 790px;}
.country-page__timeline p { max-width: 680px; margin: 16px 0 0;}
.country-page__faq { padding-top: 0;}

@media (max-width: 860px) {
  .country-page__hero { grid-template-columns: 1fr;}
  .country-page__grid--two { grid-template-columns: 1fr;}
  .country-page__grid--four { grid-template-columns: repeat(2, minmax(0, 1fr));}
  .country-page__grid--three { grid-template-columns: 1fr;}
}

@media (max-width: 600px) {
  .country-page .section-shell { width: min(100% - 32px, 1180px);}
  .country-page__hero { padding-top: 48px;}
  .country-page__actions { display: grid; grid-template-columns: 1fr;}
  .country-page__actions .btn { width: 100%;}
  .country-page__grid--four { grid-template-columns: 1fr;}
  .country-page__surface { padding-left: 16px; padding-right: 16px;}
  .country-page__card { padding: 22px;}
}
