@font-face {
  font-family: "SEAT BCN";
  src: url("/fonts/seat-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

@font-face {
  font-family: "SEAT BCN";
  src: url("/fonts/seat-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: block;
}

@font-face {
  font-family: "SEAT BCN";
  src: url("/fonts/seat-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: block;
}

@font-face {
  font-family: "SEAT BCN";
  src: url("/fonts/seat-light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: block;
}

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

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f5f5f5;
  color: #000;
  font-family: "SEAT BCN", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-size: inherit;
  font-weight: inherit;
}

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

strong {
  font-weight: 700;
}

img,
svg {
  display: block;
  vertical-align: middle;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fafaf9;
}

.site-header-inner,
.site-footer-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-right: 32px;
  padding-left: 32px;
}

.site-logo {
  display: block;
  width: 32px;
  height: 29px;
  padding-top: 16px;
  padding-bottom: 16px;
  box-sizing: content-box;
}

.site-footer {
  position: sticky;
  bottom: 0;
  background: #000;
}

.page-container {
  width: 100%;
  max-width: 896px;
  margin: 0 auto;
  padding-right: 32px;
  padding-left: 32px;
  display: grid;
  min-height: 80vh;
}

.brand-link {
  display: block;
  width: fit-content;
}

.home-content {
  width: 100%;
  max-width: 576px;
}

.display,
.heading-1,
.heading-2,
.heading-3 {
  font-family: "SEAT BCN", sans-serif;
  font-weight: 500;
  line-height: 1.4;
}

.display {
  font-size: 2rem;
}

.heading-1 {
  font-size: 1.5rem;
}

.heading-2 {
  font-size: 1.25rem;
}

.heading-3 {
  font-size: 1.125rem;
}

.padded-bottom,
.body-text,
.markdown-list {
  padding-bottom: 16px;
}

.body-text a {
   text-decoration: underline;
 }

.markdown-list {
  padding-left: 24px;
  list-style: disc;
}

.back-link {
  display: block;
  width: fit-content;
  margin-top: 16px;
  margin-bottom: 16px;
  text-decoration: underline;
}

.icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 16px;
  height: 16px;
}

.link-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 288px;
  box-sizing: border-box;
  padding: 12px;
  color: #201f1f;
  background: #ebe9e8;
  box-shadow:
    0 0 1px 0 rgb(0 0 0 / 24%),
    0 1px 4px 0 rgb(0 0 0 / 4%),
    0 4px 8px 0 rgb(0 0 0 / 6%);

  transition: transform .1s ease-in;

  &:hover {
    background: #dbd9d8;
  }

  &:active {
    transform: scale(.98);
  }

}

.card-row {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.compact-card {
  margin-top: 16px;
  margin-bottom: 16px;
}

.service-card {
  margin-top: 32px;
  margin-bottom: 32px;
}

.back-home {
  width: auto;
  margin-top: 16px;
  margin-bottom: 16px;
}

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.dealers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 24px;
  padding-bottom: 96px;
}

.dealer-card {
  width: 384px;
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid #212121;
  color: #201f1f;
  background: #ebe9e8;
}

.dealer-card h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

.dealer-address {
  display: inline;
  margin-top: 8px;
  text-decoration: underline;
}

.dealer-actions {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: 8px;
}

.dealer-phone {
  text-decoration: underline;
}

.dealer-booking {
  display: flex;
  height: 100%;
  align-items: center;
}

.dealer-booking span {
  margin-right: 16px;
}

@media (min-width: 768px) {
  .display {
    font-size: 2.5rem;
  }

  .heading-1 {
    font-size: 1.75rem;
  }

  .heading-2 {
    font-size: 1.5rem;
  }

  .heading-3 {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .display {
    font-size: 3.25rem;
  }

  .heading-1 {
    font-size: 2rem;
  }

  .heading-2 {
    font-size: 1.75rem;
  }

  .heading-3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 1023px) {
  .site-header-inner,
  .site-footer-inner,
  .page-container {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (max-width: 767px) {
  .site-header-inner,
  .site-footer-inner,
  .page-container {
    padding-right: 8px;
    padding-left: 8px;
  }
}
