/* ---------------- Google fonts ------------------ */
@font-face {
  font-family: "PorscheNextWLa";
  src: url("../fonts/PorscheNextWLa-bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PorscheNextWLa";
  src: url("../fonts/PorscheNextWLa-regular.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PorscheNextWLa";
  src: url("../fonts/PorscheNextWLa-regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---------------- Basic css ------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

:root {
  scroll-behavior: smooth;
  --white: #ffffff;
  --black: #000000;
  --navy: #182634;
  --slate: #3F5968;
  --dusty: #809CA6;
  --sage: #798C85;
  --taupe: #B7A58D;
  --offwhite: #E1DED5;
  --navyblue: #182634;

  --white_img: brightness(0) saturate(100%) invert(99%) sepia(0%)
    saturate(7498%) hue-rotate(67deg) brightness(112%) contrast(100%);
  --black_img: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(16%);

  --primaryfont: "PorscheNextWLa";
}

img {
  width: 100%;
}

html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
strong,
i,
ol,
ul,
li,
form,
label,
footer,
header,
menu,
nav,
section {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

.owl-stage {
  display: flex;
}

a {
  text-decoration: none !important;
  transition: 200ms;
  color: inherit;
  display: inline-block;
}

.f-right {
  float: right;
}
button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: none;
}

button {
  background: none;
  border: none;
  outline: none;
  padding: 0;
}

/* body */
body {
  font-size: 1.6rem;
  line-height: 1.25;
  font-weight: 400;
  color: var(--black);
  font-family: var(--primaryfont);
  background: var(--offwhite);
  color: var(--navy);
}

.container {
  margin: 0 auto;
  width: 100%;
}

main {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.figure img,
.figure {
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  font-family: var(--primaryfont);
  color: var(--navyblue);
}

/* text-white */
.text-white {
  color: var(--white) !important;
}

/* image colros */
.white_img {
  -webkit-filter: brightness(0) saturate(100%) invert(99%) sepia(0%)
    saturate(7498%) hue-rotate(67deg) brightness(112%) contrast(100%);
  filter: brightness(0) saturate(100%) invert(99%) sepia(0%) saturate(7498%)
    hue-rotate(67deg) brightness(112%) contrast(100%);
}
.black_img {
  -webkit-filter: brightness(0) saturate(100%) invert(0%) sepia(0%)
    saturate(16%) hue-rotate(309deg) brightness(93%) contrast(107%);
  filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(16%)
    hue-rotate(309deg) brightness(93%) contrast(107%);
}

/* Font Weights */
.f_300 {
  font-weight: 300 !important;
}
.f_400 {
  font-weight: 400 !important;
}
.f_500 {
  font-weight: 500 !important;
}
.f_600 {
  font-weight: 600 !important;
}
.f_700 {
  font-weight: 700 !important;
}
.f_800 {
  font-weight: 800 !important;
}
.f_900 {
  font-weight: 900 !important;
}

/* titles */
.title_56 {
  font-size: 5.6rem;
  line-height: 1.35;
}

.title_34 {
  font-size: 3.4rem;
  line-height: 1.35;
}

.title_24 {
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1.35;
  color: #222222;
}

/* texts */
.text_xl {
  font-size: 2rem;
}
.text_lg {
  font-size: 1.8rem;
}
.text_md {
  font-size: 1.6rem;
}
.text_sm {
  font-size: 1.4rem;
}
.text_xsm {
  font-size: 1.2rem;
}

/* ================ hero_area ================ */
.hero_area {
  min-height: 72rem;
  max-height: none;
  position: relative;
  background: var(--navy);
}

.hero_area::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(to top, rgba(8, 12, 18, 0.9) 0%, rgba(8, 12, 18, 0.45) 55%, rgba(8, 12, 18, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.video {
  width: 100%;
  height: 100%;
  position: absolute;
  -o-object-fit: cover;
  object-fit: cover;
  left: 0;
  top: 0;
}

.sb-content {
  min-height: 441px;
}

.sb-content.hibridas {
  min-height: 528px;
}

.button {
  padding: 0 1.6rem;
}

.button span {
  line-height: 5rem;
  display: inline-block;
}

.automachine_slide .button span {
  line-height: 2rem;
  height: 2rem;
  display: inline-block;
}
.button svg {
  margin-right: 0.5rem;
  height: 100%;
  display: inline-block;
  height: 1.3rem;
  stroke: #fff;
}

.button.white {
  border: 0.1rem solid #fff;
  color: #fff;
}

.button.white:hover {
  background: var(--offwhite);
  color: var(--navy);
}

.button.white svg path,
.button.dark svg path {
  fill: currentColor;
}

.button.dark {
  border: 0.1rem solid var(--navy);
  color: var(--navy);
}

.button.dark:hover {
  background: var(--navy);
  color: var(--offwhite);
}

.button.white:hover svg {
  stroke: var(--navy);
}

.info .cta {
  margin-top: 3rem;
  display: flex;
  gap: 1.2rem;
}

.info h1 {
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1.1;
  max-width: 12em;
  color: #fff;
}

.info .desc {
  margin-top: 1.6rem;
}

.hero-lead {
  max-width: 36em;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.45;
  color: #fff;
}

.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 6rem 3.6rem;
}

@media (min-width: 992px) {
  .hero-copy {
    text-align: center;
  }

  .hero-block-title {
    max-width: none;
    margin: 0 auto;
  }

  .info h1 {
    max-width: 16em;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .info .cta {
    justify-content: center;
  }
}

.hero-block-title {
  padding: 0;
  max-width: 72rem;
}

.logo {
  position: absolute;
  top: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  -webkit-filter: var(--white_img);
  filter: var(--white_img);
}

.logo img {
  width: 22rem;
  height: auto;
}

/* =============== Automachine area ============== */
.automachine_slider {
  background-color: #e1e1e1;
  color: black;
  padding-left: 5rem;
  padding-right: 5rem;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

/* Limit width when only 1 or 2 items are visible */
.automachine_slider.single-item,
.automachine_slider.double-item {
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
}

.automachine_slider.double-item {
  max-width: 66.666%;
}

@media (max-width: 1200px) {
  .automachine_slider.single-item {
    max-width: 45rem;
  }
  
  .automachine_slider.double-item {
    max-width: 60rem;
  }
}

@media (max-width: 992px) {
  .automachine_slider.single-item,
  .automachine_slider.double-item {
    max-width: calc(50% + 2rem);
  }
}

@media (max-width: 768px) {
  .automachine_slider.single-item,
  .automachine_slider.double-item {
    max-width: 100%;
  }
}

.sb-title {
  font-weight: 700;
  font-size: 1.2em;
  margin-bottom: 2rem;
}

.sb-pointer {
  color: #5796fd;
  text-transform: uppercase;
  line-height: 4rem;
  padding-left: 3.3rem;
  position: relative;
  min-height: 4rem;
  font-size: 1.6rem;
  margin: 0.5rem 0;
}

.sb-pointer:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 3rem;
  border-top: 0.4rem solid #000000;
  transition: 0.25s ease;
}

.automachine_box:hover .sb-pointer:before {
  width: 100%;
}

.desktop-hero {
  display:block;
  filter: brightness(0.86) contrast(1.04);
}
.mobile-hero {
  display:none;
}

.monthly-payment {
  font-size: 1.2em;
  line-height: 1.5em;
}

.sb-content .monthly-payment {
  font-weight: 700;
  margin-bottom: 1rem;
}

.owl-prev {
  right: 7rem;
}

.owl-next {
  left: 7rem;
}

.error {
  color: var(--slate);
}

.option-entry img {
  width: 3.8rem;
  height: 3.8rem;
  filter: brightness(0) saturate(100%);
}

.option-description {
  padding-left: 2.8rem;
  font-size: 1.6rem;
  line-height: 1.5em;
}

.option-entry {
  display: flex;
  align-items: center;
  margin-bottom: 1.4rem;
}

.option-list {
  padding: 3rem 0 3rem 3rem;
}

.option-selection-divider {
  padding: 1rem 1rem;
  background: transparent;
  border: 0.1rem solid black;
  color: black;
  cursor: pointer;
  transition: background 0.3s;
  margin-right: 20px;
  margin-left: 20px;
}

.button.option-selection-divider:hover {
  background: var(--navy);
  color: var(--offwhite);
}

.gallery {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}

.gal-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.gal-img.active {
  opacity: 1;
}

/* ============= slider ============= */
.owl-nav button {
  background-color: #fff;
  position: relative;
  box-shadow: 0.4rem 0.4rem 1rem rgba(0, 0, 0, 0.08);
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transition: 0.25s ease;
}

.owl-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  width: calc(100% - 16rem);
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  height: 5rem;
  transition: 0.25s;
}

.owl-nav.disabled {
  display: none;
}

.owl-prev.disabled,
.owl-next.disabled {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.owl-nav button img {
  height: 1rem;
}

.owl-nav button span {
  height: 1.5rem;
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-family: monospace;
}

.owl-nav button:hover {
  background: #000000;
  color: #fff;
}

/* =============== Nav tabs =============== */
.left.red-option-selection-divider,
.right.red-option-selection-divider {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4rem;
  color: black;
  height: auto;
  padding-top: 30px;
  margin-top: 2rem;
  padding-bottom: 25px;
  margin-bottom: 2rem;
  transition: 0.25s ease;
}

.left.red-option-selection-divider {
  background-color: #ffffff;
  align-items: flex-start;
  text-align: left;
  border: 1px #000 solid;
}

.right.red-option-selection-divider {
  background-color: #796d7e;
  align-items: flex-end;
  text-align: right;
}

.tab-pane-2 .automachine_slider {
  background-color: #796d7e;
}

#red-right-offer-area {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.large-text.red-option-selection-divider {
  font-size: 2.8rem;
  font-weight: bold;
}

.block-title p {
  display: block;
  padding-top: 1rem;
  line-height: 1.5;
  font-size: 1.6rem;
  width: 70%;
  clear: both;
}

.button.red-option-selection-divider {
  margin-bottom: -2rem;
  margin-top: 2rem;
  padding: 1.5rem 1rem;
  background: transparent;
  border: 0.1rem solid white;
  color: black;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  text-align: left;
}

.button.red-option-selection-divider .checkmark-icon {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
  min-width: 28px;
}

.button.red-option-selection-divider .checkmark-icon svg {
  width: 28px;
  height: 28px;
  color: currentColor;
  display: block;
}

.button.red-option-selection-divider .button-text {
  flex: 1;
  line-height: 1.5;
  font-size: 2rem;
  top: -13px;
  position: relative;
}

.nav_link.active .tab_wrap,
.tab_wrap:hover {
  transform: scale(1.05);
  box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.2);
}

.nav_tabs {
  position: relative;
}

.or.red-option-selection-divider {
  position: absolute;
  background: white;
  color: black;
  border-radius: 50%;
  padding: 1rem 1.5rem;
  font-weight: bold;
  transform: translate(-50%, -50%);
  top: 30%;
  left: 50%;
  z-index: 2;
  white-space: nowrap;
}

.block-title {
  padding-left: 8rem;
  padding-right: 8rem;
  margin-top: 7rem;
  position: relative;
  overflow: hidden;
  max-width: 140rem;
  margin-left: auto;
  margin-right: auto;
}

.block-title h1,
.block-title h2 {
  font-weight: 700;
  font-size: 4.2rem;
  line-height: 5rem;
  height: 5rem;
  overflow: hidden;
  float: left;
  width: 100%;
}

.simple-text-block-content {
  clear: both;
  margin-bottom: 2rem;
}

#kontaktai {
  margin-bottom: 50px;
}

.blury_content {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% + 5rem);
  height: calc(100% + 5rem);
  z-index: 99;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  color: white;
  font-size: 2.6rem;
  font-weight: bold;
  text-shadow: 0 0.3rem 0.6rem rgba(0, 0, 0, 0.6);
  pointer-events: none;
  text-align: center;
  padding-top: 20rem;
  color: #ffffff;
  transform: translate(-50%, -50%);
}

/* =============== gallery_area ============== */
.gallery_area h2 {
  margin-bottom: 3rem;
}

.gallery_area {
  margin-bottom: 5rem;
}

.gallery_image {
  height: 54rem;
}

.gallery_slider {
  width: 115rem;
  margin: 0 auto;
}

.gallery_slider .owl-nav {
  width: 100%;
}

.owl-counter {
  font-size: 1.4rem;
  opacity: 0.6;
  width: 115rem;
  margin: 0 auto;
  margin-top: 1rem;
}

.gallery_image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* ================ Contact section ================== */
.offer-form-wrapper {
  position: relative;
  margin-top: 0;
  background: #f4f2ec;
  border-bottom: 0.1rem solid rgba(0, 0, 0, 0.3);
}

.tc-form__desc {
  height: 100%;
  margin-top: 0;
  padding: 2rem;
  border: 1px solid #9f9f9f;
  border-radius: 1.6rem;
}

.offer-descrption p {
  font-size: 1.8rem;
}

p.offer-disclaimer {
  color: #666;
}

.tc-form .tc-form__lead,
.tc-form h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  line-height: 1.35em;
}

.contact_right h3 {
  font-size: 1.6rem;
  margin-bottom: 3rem;
  line-height: 1.35em;
  font-weight: 500;
}

.wpcf7-form-control {
  width: 100%;
  padding: 1rem;
  font-size: 1.4rem;
  height: 5rem;
  border: 0.1rem solid #ffffff;
  background: #fff;
  color: var(--navy);
}

.wpcf7-form-control:focus {
  border: 0.1rem solid #000000;
}

.wpcf7-form-control-wrap {
  width: 100%;
}

.field-wrapper .row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}


.offer-form-wrapper .container {
  position: relative;
}

.offer-form-wrapper .container > .row {
  align-items: stretch;
  padding: 0;
  --bs-gutter-x: 6.5rem;
  gap: 3rem 0;
}

.contact_right {
  padding: 5rem 5rem 5rem 0;
}

span.wpcf7-list-item-label {
  color: #666;
}

.checkbox-wrapper label {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.checkbox-wrapper {
  padding: 3rem 0 3rem;
  cursor: pointer;
}

.tc-form-submit-wrapper input {
  color: #000;
  border: 0;
  font-size: 1em;
  padding: 1rem 3rem;
  cursor: pointer;
  transition: all 0.3s;
  margin-right: 0.3rem;
  width: 100%;
  white-space: break-spaces;
  border: 0.1rem solid var(--navy);
  background-color: transparent;
  color: var(--navy);
  white-space: nowrap;
}

.tc-form-submit-wrapper {
  text-align: left;
  margin-top: 1rem;
  padding: 0 1.2rem;
  width: 50%;
  float: left;
}

.tc-form-submit-wrapper input:hover {
  background: var(--navy);
  color: var(--offwhite);
}

.checkbox-wrapper input[type="checkbox"] {
  transform: translateY(0.25rem);
}

.textarea_input {
  height: 10rem;
  display: flex;
  padding-top: 1.5rem;
}

.contact_left {
  height: 100%;
  padding: 6rem 0;
}

/* ================== Footer area ================= */
footer {
  background: var(--navy);
  color: var(--offwhite);
  padding: 6rem 0;
}

.has-border:not(:last-child) {
  padding-bottom: 6rem;
  margin-bottom: 6rem;
  border-bottom: 0.1rem solid rgba(225, 222, 213, 0.28);
  font-size: 1.6rem;
}

.footer-nav ul {
  display: flex;
  -webkit-box-lines: multiple;
  -moz-box-lines: multiple;
  flex-wrap: wrap;
}

.footer-nav ul li {
  line-height: 1.4;
  margin-right: 6rem;
}

.footer-nav ul li a {
  color: var(--offwhite);
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: underline !important;
}

.footer-nav ul li a:hover {
  text-decoration: none !important;
}

/* =============== Benefits (Porsche media + cards) ============== */
.benefits {
  background: #000;
  color: #fff;
  padding: 7.2rem 4rem 8rem;
}

.benefits__intro {
  max-width: 86rem;
  margin: 0 auto 4.4rem;
  text-align: center;
}

.benefits__intro h2 {
  color: #fff;
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.3;
  height: auto;
  float: none;
}

.benefits__lead {
  margin: 1.4rem auto 0;
  max-width: 52em;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.45;
  color: #fff;
}

.benefits__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(32rem, 0.7fr);
  align-items: center;
  max-width: 132rem;
  margin: 0 auto;
}

.benefits__visual {
  position: relative;
  height: 56rem;
  border-radius: 1.6rem;
  overflow: hidden;
  background: #141414;
}

.benefits__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.benefits__image.is-active {
  opacity: 1;
}

.benefits__list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: auto;
  margin-left: -7.4rem;
}

@media (max-width: 1200px) {
  .benefits__list {
    margin-left: -4.8rem;
  }
}

.benefits__item {
  background: rgba(18, 18, 18, 0.46);
  border: 0.1rem solid rgba(255, 255, 255, 0.14);
  border-radius: 1.2rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.benefits__topic {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 2rem 2.8rem 2rem;
  text-align: left;
  color: #fff;
  cursor: pointer;
}

.benefits__topic:focus-visible {
  outline: 0.2rem solid var(--taupe);
  outline-offset: 0.3rem;
  border-radius: 1.6rem;
}

.benefits__topic-title {
  font-size: 2.1rem;
  line-height: 1.35;
  font-weight: 500;
  color: #fff;
}

.benefits__icon {
  flex: 0 0 1.4rem;
  width: 1.4rem;
  height: calc(2.1rem * 1.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.benefits__icon::before {
  content: "";
  width: 0.93rem;
  height: 0.93rem;
  border-right: 0.18rem solid rgba(255, 255, 255, 0.72);
  border-bottom: 0.18rem solid rgba(255, 255, 255, 0.72);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.benefits__item.is-open .benefits__icon::before {
  transform: rotate(225deg);
}

.benefits__detail {
  display: none;
  padding: 0.6rem 2.8rem 2.6rem 2.8rem;
}

.benefits__item.is-open .benefits__detail {
  display: block;
}

.benefits__detail p {
  font-size: 1.85rem;
  line-height: 1.5;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.94);
}

.models-band {
  width: 100%;
  background: #f4f2ec;
  padding: 6rem 0 2rem;
  color: #182634;
}

.models-band__inner {
  width: 100%;
  max-width: none;
  padding: 0 2.4rem;
}

.models-band .block-title {
  max-width: none;
  margin-top: 0;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

.models-band .block-title h2 {
  color: #182634;
  height: auto;
  float: none;
}

.models-band .automachine_box {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.8rem;
  align-content: flex-start;
  background: transparent;
  color: #182634;
  border: 1px solid rgba(24, 38, 52, 0.22);
  border-radius: 1.4rem;
  padding: 1.6rem 1.6rem 2rem;
  height: 100%;
}

.models-band .sb-title,
.models-band .sb-position,
.models-band .image-wrapper,
.models-band .sb-pointer,
.models-band .sb-content,
.models-band .automachine_box > p {
  flex: 1 1 100%;
  width: 100%;
}

.models-band .sb-title,
.models-band .monthly-payment,
.models-band .option-description {
  color: #182634;
}

.models-band .gallery {
  border: 1px solid rgba(24, 38, 52, 0.14);
  border-radius: 0.8rem;
  overflow: hidden;
  background: transparent;
}

.models-band .sb-pointer:before {
  border-top-color: #182634;
}

.models-band .option-list {
  padding: 0.2rem 0 0.6rem;
}

.models-band .option-entry {
  margin-bottom: 0.8rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(24, 38, 52, 0.16);
  border-radius: 0.8rem;
  background: transparent;
  gap: 0.2rem;
}

.models-band .option-description {
  padding-left: 1.2rem;
}

.models-band .option-entry img {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 2.2rem;
  filter: brightness(0) saturate(100%);
}

.models-band .option-selection-divider,
.models-band a.button.option-selection-divider {
  flex: 1 1 calc(50% - 0.4rem);
  width: calc(50% - 0.4rem);
  max-width: calc(50% - 0.4rem);
  min-height: 4.8rem;
  margin: 1.2rem 0 0;
  padding: 0.8rem 1rem;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  border-color: #182634;
  color: #182634;
  background: transparent;
}

.models-band .automachine_slide .button span {
  height: auto;
  line-height: 1.25;
}

.models-band a.button.option-selection-divider:hover {
  background: #182634;
  color: #f4f2ec;
}

.models-band .category-btn {
  color: #182634;
}

.models-band .category-btn .category-border-left,
.models-band .category-btn .category-border-right,
.models-band .category-btn.active::before,
.models-band .category-btn.active::after,
.models-band .category-btn:not(.active)::before,
.models-band .category-btn:not(.active)::after {
  background: #182634;
}

.models-band .category-btn:hover .category-text,
.models-band .category-btn.active .category-text {
  color: #182634;
}

.models-band .category-btn .category-text img,
.models-band .category-btn:hover .category-text img,
.models-band .category-btn.active .category-text img,
.models-band .category-btn:not(.active) .category-text img {
  filter: none;
}

.models-band .owl-nav button {
  background: #182634;
  color: #f4f2ec;
  box-shadow: none;
}

.models-band .owl-nav button:hover {
  background: #000;
  color: #fff;
}

.models-band .automachine_slider {
  background: transparent;
  max-width: none;
  margin: 0 0 2rem;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
  transition: opacity 0.28s ease;
}

.models-band .automachine_slider.is-filtering {
  opacity: 0;
}

.models-empty {
  display: none;
  margin: 0 1.2rem 2rem;
  padding: 4.8rem 2rem;
  text-align: center;
  color: #182634;
  font-size: 1.8rem;
  border: 1px solid rgba(24, 38, 52, 0.18);
  border-radius: 1.2rem;
}

.models-empty.is-visible {
  display: block;
}

.models-band .automachine_slider.single-item,
.models-band .automachine_slider.double-item {
  max-width: none;
}

@media (max-width: 992px) {
  .benefits {
    padding: 5rem 2rem 5.6rem;
  }

  .benefits__intro h2 {
    font-size: 2.6rem;
  }

  .benefits__lead {
    font-size: 1.7rem;
  }

  .benefits__stage {
    grid-template-columns: 1fr;
  }

  .benefits__stage > .benefits__visual {
    display: none;
  }

  .benefits__item .benefits__visual {
    display: block;
    height: 22rem;
    margin: 0.4rem 1.2rem 1.4rem;
    border-radius: 1.2rem;
  }

  .benefits__list {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
  }

  .benefits__topic {
    gap: 1rem;
    padding: 1.6rem 1.8rem 1.2rem;
  }

  .benefits__topic-title {
    font-size: 1.6rem;
  }

  .benefits__icon {
    flex-basis: 1.2rem;
    width: 1.2rem;
    height: calc(1.6rem * 1.35);
  }

  .benefits__detail {
    padding: 0.2rem 1.8rem 1.4rem 1.8rem;
  }

  .benefits__detail p {
    font-size: 1.45rem;
    line-height: 1.55;
  }

  .benefits__item {
    background: rgba(255, 255, 255, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .benefits__image {
    transition: none;
  }
}

/* =============== Porsche Features Section ============== */
.porsche-features-section {
  position: relative;
  width: 100%;
  min-height: 50rem;
  margin: 7rem 0;
  overflow: hidden;
  max-width: 100%;
}

.features-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.features-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.features-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgb(0 0 0 / 90%) 0%, rgb(0 0 0 / 90%) 40%, rgb(0 0 0 / 25%) 70%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.features-content-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 50rem;
  padding: 4rem 0;
}

.features-text-content {
  flex: 0 0 60%;
  max-width: 60%;
  padding-left: 8rem;
  padding-right: 4rem;
}

.features-image-content {
  display: none;
}

.features-title {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 3rem;
  font-family: var(--primaryfont);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  color: #ffffff;
}

.feature-icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  margin-right: 1.5rem;
  margin-top: 0.2rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-text {
  font-size: 1.8rem;
  line-height: 1.6;
  color: #ffffff;
  font-family: var(--primaryfont);
  font-weight: 400;
}

@media (max-width: 992px) {
  .features-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
  }
  
  .features-text-content {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 4rem;
    padding-right: 4rem;
  }
  
  .features-title {
    font-size: 2.8rem;
    margin-bottom: 2rem;
  }
  
  .feature-text {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .porsche-features-section {
    min-height: 40rem;
    margin: 5rem 0;
  }
  
  .features-content-wrapper {
    padding: 3rem 0;
    min-height: 40rem;
  }
  
  .features-text-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .features-title {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
  }
  
  .feature-item {
    margin-bottom: 2rem;
  }
  
  .feature-text {
    font-size: 1.4rem;
  }
  
  .feature-icon {
    width: 2rem;
    height: 2rem;
    margin-right: 1.2rem;
  }
}

/* =============== Porsche Category Filter ============== */
.porsche-category-filter {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.category-btn {
  position: relative;
  background: transparent;
  border: none;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--primaryfont);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-btn .category-border-left,
.category-btn .category-border-right {
  position: absolute;
  top: 0;
  width: 0.2rem;
  height: 100%;
  background: var(--navy);
  transition: all 0.3s ease;
  opacity: 0;
}

.category-btn .category-border-left {
  left: 0;
}

.category-btn .category-border-right {
  right: 0;
}

.category-btn .category-text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  width: 100%;
  height: 4.5rem;
}

.category-btn .category-text img {
  width: 100%;
  max-width: 100%;
  height: 4.5rem;
  display: block;
  object-fit: contain;
  object-position: center;
}

/* Text-only button (Visi modeliai) */
.category-btn[data-category="all"] .category-text {
  white-space: nowrap;
  font-size: 1.4rem;
}

.category-btn:hover .category-border-left,
.category-btn:hover .category-border-right,
.category-btn.active .category-border-left,
.category-btn.active .category-border-right {
  opacity: 1;
}

.category-btn:hover .category-text,
.category-btn.active .category-text {
  color: var(--navy);
  font-weight: 700;
}

.category-btn:hover .category-text img,
.category-btn.active .category-text img {
  opacity: 1;
  filter: none;
}

.category-btn:not(.active) .category-text img {
  opacity: 0.72;
  transition: opacity 0.3s ease;
}

.category-btn.active {
  position: relative;
}

.category-btn.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.2rem;
  background: var(--navy);
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

.category-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.2rem;
  background: var(--navy);
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

.category-btn:not(.active)::before,
.category-btn:not(.active)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 0.2rem;
  background: var(--navy);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.category-btn:not(.active)::before {
  top: 0;
}

.category-btn:not(.active)::after {
  bottom: 0;
}

.category-btn:hover:not(.active)::before,
.category-btn:hover:not(.active)::after {
  transform: scaleX(1);
}

/* Hide carousel items by default when filtering */
.automachine_slider .automachine_slide.hidden {
  display: none !important;
  visibility: hidden;
  height: 0;
  width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* =============== PDF Viewer Popup ============== */
.pdf-viewer-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: 9999;
  display: none;
  overflow: hidden;
}

.pdf-viewer-popup.active {
  display: flex;
  flex-direction: column;
}

.pdf-popup-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.pdf-back-btn,
.pdf-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
  font-family: var(--primaryfont);
  transition: opacity 0.3s ease;
  padding: 0.5rem 1rem;
}

.pdf-back-btn:hover,
.pdf-close-btn:hover {
  opacity: 0.7;
}

.pdf-back-btn svg,
.pdf-close-btn svg {
  width: 2.4rem;
  height: 2.4rem;
}

.pdf-popup-content {
  flex: 1;
  width: 100%;
  height: calc(100% - 80px);
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-popup-content iframe {
  width: 100%;
  height: 100%;
  max-width: 140rem;
  background: #ffffff;
  border: none;
}

@media (max-width: 992px) {
  .pdf-popup-header {
    padding: 1.5rem 2rem;
  }
  
  .pdf-popup-content {
    padding: 1rem;
    height: calc(100% - 70px);
  }
}

@media (max-width: 768px) {
  .pdf-popup-header {
    padding: 1rem 1.5rem;
  }
  
  .pdf-popup-content {
    padding: 0.5rem;
    height: calc(100% - 60px);
  }
}

/* =============== Car Gallery Popup ============== */
.car-gallery-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: 9999;
  display: none;
  overflow-y: auto;
}

.car-gallery-popup.active {
  display: block;
}

.gallery-popup-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(10px);
}

.gallery-back-btn,
.gallery-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
  font-family: var(--primaryfont);
  transition: opacity 0.3s ease;
  padding: 0.5rem 1rem;
}

.gallery-back-btn:hover,
.gallery-close-btn:hover {
  opacity: 0.7;
}

.gallery-back-btn svg,
.gallery-close-btn svg {
  width: 2.4rem;
  height: 2.4rem;
}

.gallery-popup-content {
  padding: 4rem;
  max-width: 140rem;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  grid-auto-rows: minmax(200px, auto);
}

.gallery-grid-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #1a1a1a;
  transition: transform 0.3s ease;
  min-height: 200px;
}

.gallery-grid-item:hover {
  transform: scale(1.02);
  z-index: 10;
}

.gallery-grid-item.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 246px;
}

.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Make image wrapper clickable */
.car-gallery-trigger {
  cursor: pointer;
}

.car-gallery-trigger:hover {
  opacity: 0.9;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .gallery-grid-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .gallery-popup-header {
    padding: 1.5rem 2rem;
  }
  
  .gallery-popup-content {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-grid-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .gallery-popup-header {
    padding: 1rem 1.5rem;
  }
  
  .gallery-popup-content {
    padding: 1.5rem;
  }
}

@media (max-width: 1000px) {
  .porsche-category-filter {
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
  }
  
  .category-btn {
    padding: 0.8rem 1rem;
    font-size: 1.4rem;
    flex: 0 0 calc(33.333% - 0.67rem);
    min-width: 0;
    max-width: calc(33.333% - 0.67rem);
    box-sizing: border-box;
  }
  
  .category-btn .category-text img {
    height: 3.5rem;
  }
  .category-btn .category-text {
    height: 3.5rem;
  }
}