/*
  Layout wrapper shared by every header/section/footer:
  <header|section|footer> > .container > .header|section|footer-inner > content
  First breakpoint tier = 1340 + 30 + 30 = 1400px.
*/
.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 30px;

  @media (max-width: 767px) {
    padding: 0 18px;
  }
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid #1F1F1F;
}

/* Frosted background lives on a pseudo-element: backdrop-filter on the
   header itself would become the containing block of the fixed mobile
   drawer and collapse it (CONVENTIONS §19). */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 11, 11, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

main {
  padding-top: var(--header-height, 77px);
}

html {
  scroll-padding-top: var(--header-height, 77px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
  transition: padding-top 0.3s ease, padding-bottom 0.3s ease;
}

.site-header.is-scrolled .header-inner {
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: block;
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: 196px;
  height: auto;

  @media (max-width: 767px) {
    width: 150px;
  }
}

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

.nav a {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #CFCBC4;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--color-main-2);
}

/* Drawer-only items */
.nav .nav-cta,
.nav .nav-phone {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-cta.button {
  height: 44px;
  padding: 0 26px;
  font-size: 15px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang-switch button {
  padding: 6px 6px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #6E6A63;
  transition: color 0.2s ease;
}

.lang-switch button:hover {
  color: var(--color-text);
}

.lang-switch button.is-active {
  color: var(--color-main-2);
}

.lang-switch span {
  font-size: 14px;
  color: #3A3A3A;
}

/* Out of flow on desktop too - otherwise it's still a flex item. */
.nav-overlay,
.nav-close {
  display: none;
}

@media (max-width: 1200px) {
  .nav {
    gap: 22px;
  }

  .nav a {
    font-size: 14px;
  }
}

/* Mobile nav: full-height side drawer (CONVENTIONS §20) */
@media (max-width: 1100px) {
  .nav-toggle {
    display: flex;
  }

  .header-cta.button {
    display: none;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 105;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    width: min(400px, 88vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 30px 36px;
    background: var(--color-background);
    border-left: 1px solid #1F1F1F;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav-close {
    display: flex;
    align-self: flex-end;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    background: var(--color-background-2);
    border: 1px solid #2A2A2A;
    font-size: 22px;
    color: var(--color-text);
    cursor: pointer;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid #1F1F1F;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-text);
  }

  .nav .nav-cta {
    display: flex;
    width: 100%;
    margin-top: 30px;
    padding: 0 36px;
    border-bottom: 0;
    font-size: 17px;
    letter-spacing: 0.14em;
  }

  .nav .nav-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-bottom: 0;
    font-size: 20px;
    color: var(--color-main-2);
  }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

/* ----- Shared section building blocks ----- */

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.section-head-title {
  display: flex;
  flex-direction: column;
  max-width: 820px;
}

.eyebrow {
  display: flex;
  width: fit-content;
}

.eyebrow--red {
  color: #B5000C;
}

.bi-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 96px;
  align-items: start;

  @media (max-width: 1400px) {
    gap: 60px;
  }

  @media (max-width: 1024px) {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
}

.bi-section--center {
  align-items: center;
}

.content {
  display: flex;
  flex-direction: column;
}

.sticky-col {
  position: sticky;
  top: calc(var(--header-height, 77px) + 42px);

  @media (max-width: 1024px) {
    position: static;
  }
}

figure {
  margin: 0;
}

.media-tall img,
.media-square img,
.makes-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- Hero ----- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 90px;
  padding-bottom: 96px;

  @media (max-width: 1400px) {
    padding-top: 60px;
    padding-bottom: 72px;
  }

  @media (max-width: 767px) {
    padding-top: 36px;
    padding-bottom: 60px;
  }
}

.hero-shape {
  position: absolute;
  left: -6%;
  bottom: -2px;
  width: 46%;
  height: 46%;
  background: #161616;
  clip-path: polygon(55% 0, 100% 0, 45% 100%, 0 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: center;

  @media (max-width: 1024px) {
    grid-template-columns: minmax(0, 1fr);
    gap: 60px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-kicker span {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9E9A93;

  @media (max-width: 767px) {
    font-size: 13px;
    letter-spacing: 0.16em;
  }
}

.kicker-stripes {
  display: flex;
  flex-shrink: 0;
}

.kicker-stripes i {
  width: 12px;
  height: 18px;
  clip-path: polygon(50% 0, 100% 0, 50% 100%, 0 100%);
}

.kicker-stripes i + i {
  margin-left: -6px;
}

.kicker-stripes i:nth-child(1) { background: #3A3A3A; }
.kicker-stripes i:nth-child(2) { background: var(--color-main-1); }
.kicker-stripes i:nth-child(3) { background: var(--color-main-2); }

.hero-title {
  font-size: 104px;
  line-height: 0.88;
  letter-spacing: -0.005em;

  @media (max-width: 1400px) {
    font-size: 86px;
  }

  @media (max-width: 1024px) {
    font-size: 90px;
  }

  @media (max-width: 767px) {
    font-size: 58px;
  }

  @media (max-width: 400px) {
    font-size: 48px;
  }
}

.hero-title .line {
  display: block;
  white-space: nowrap;
}

.hero-title .accent {
  color: var(--color-main-1);
}

.hero-lede {
  max-width: 520px;
  color: #B9B5AE;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 30px;
  padding-top: 6px;
}

.hero-meta > span,
.hero-rating span {
  font-size: 14px;
  color: #8B877F;
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-rating:hover span {
  color: var(--color-text);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-main-2) !important;
}

.stars i {
  font-size: 14px;
}

.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  max-height: 720px;

  @media (max-width: 1024px) {
    max-width: 620px;
    margin: 0 auto;
  }
}

.hero-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1A1A1A;
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 50%;
  animation: hero-zoom 20s ease-out forwards;
}

@keyframes hero-zoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-img { animation: none; }
}

.hero-stripes {
  position: absolute;
  right: 12%;
  bottom: -24px;
  width: 30%;
  height: 10px;
  display: flex;
  gap: 6px;
}

.hero-stripes span {
  flex: 1;
  transform: skewX(-28deg);
}

.hero-stripes span:nth-child(1) { background: #3A3A3A; }
.hero-stripes span:nth-child(2) { background: var(--color-main-1); }
.hero-stripes span:nth-child(3) { background: var(--color-main-2); }

/* ----- Facts strip ----- */

.facts {
  background: #0F0F0F;
  border-top: 1px solid #1F1F1F;
  border-bottom: 1px solid #1F1F1F;
}

.facts-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  @media (max-width: 1024px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  @media (max-width: 480px) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.fact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 30px 24px 30px 0;

  @media (max-width: 1024px) {
    border-bottom: 1px solid #1F1F1F;
  }
}

.fact-item + .fact-item {
  padding-left: 30px;
  border-left: 1px solid #1F1F1F;

  @media (max-width: 1024px) {
    &:nth-child(odd) {
      padding-left: 0;
      border-left: 0;
    }
  }

  @media (max-width: 480px) {
    padding-left: 0;
    border-left: 0;
  }
}

.fact-big {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
  font-family: var(--font-title);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-text);

  @media (max-width: 1400px) {
    font-size: 54px;
  }
}

.fact-big span {
  font-family: var(--font-title);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.fact-big i {
  font-size: 22px;
  color: var(--color-main-2);
}

.fact-small {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
  color: #9E9A93;

  @media (max-width: 1400px) {
    font-size: 13px;
  }
}

/* ----- BMW specialism ----- */

.points-list {
  display: flex;
  flex-direction: column;
  margin-top: 42px;
  border-top: 1px solid var(--color-border);
}

.point-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.point-num {
  padding-top: 3px;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-main-1);
}

.point-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.point-body h3 {
  font-size: 26px;
  letter-spacing: 0.02em;
}

.point-body p {
  color: var(--color-text-muted);
}

.bmw-disclaimer {
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.5;
  color: #77736C;
}

.media-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.media-tall {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.media-square {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.years-tile {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  background: var(--color-main-1);
  color: #FFFFFF;
  overflow: hidden;

  @media (max-width: 767px) {
    padding: 18px;
  }
}

.years-since {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.years-num {
  font-family: var(--font-title);
  font-size: 150px;
  font-weight: 800;
  line-height: 0.8;

  @media (max-width: 1400px) {
    font-size: 110px;
  }

  @media (max-width: 767px) {
    font-size: 72px;
  }
}

.years-label {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;

  @media (max-width: 767px) {
    font-size: 15px;
  }
}

/* ----- Services ----- */

.services-section {
  background: var(--color-background-3);
  border-top: 1px solid #1F1F1F;
}

.services-list {
  border-top: 1px solid #2A2A2A;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 42px;
  gap: 12px 42px;
  align-items: baseline;
  padding: 30px 18px;
  border-bottom: 1px solid #2A2A2A;
  transition: background-color 0.3s ease;

  @media (max-width: 767px) {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 0;
  }
}

.service-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  bottom: -1px;
  width: 3px;
  background: var(--color-main-1);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-row:hover {
  background: #171717;
}

.service-row:hover::before {
  transform: scaleY(1);
}

.service-name {
  display: flex;
  align-items: baseline;
  gap: 24px;
}

.service-num {
  min-width: 30px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-main-1);
}

.service-name h3 {
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0.01em;

  @media (max-width: 1400px) {
    font-size: 34px;
  }

  @media (max-width: 767px) {
    font-size: 28px;
  }
}

.service-row p {
  max-width: 560px;
  font-size: 17px;
  color: var(--color-text-muted);

  @media (max-width: 767px) {
    padding-left: 54px;
    font-size: 16px;
  }
}

.service-arrow {
  justify-self: end;
  font-size: 24px;
  color: #4A4741;
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  @media (max-width: 767px) {
    display: none;
  }
}

.service-row:hover .service-arrow {
  color: var(--color-main-2);
  transform: translate(3px, -3px);
}

/* ----- Process ----- */

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  @media (max-width: 1024px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }

  @media (max-width: 560px) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 30px 42px 0;
  border-top: 1px solid #2A2A2A;
}

.step-item::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--color-main-1);
}

.step-num {
  font-family: var(--font-title);
  font-size: 104px;
  font-weight: 800;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px #4A4741;
  transition: -webkit-text-stroke-color 0.3s ease;

  @media (max-width: 1400px) {
    font-size: 84px;
  }
}

.step-item:hover .step-num {
  -webkit-text-stroke-color: var(--color-main-2);
}

.step-item h3 {
  font-size: 28px;
  letter-spacing: 0.02em;
}

.step-item p {
  max-width: 300px;
  color: var(--color-text-muted);
}

/* ----- All makes (light) ----- */

.makes-section {
  position: relative;
  overflow: hidden;
  background: var(--color-background-light);
  color: var(--color-text-dark);
}

.makes-stripe {
  position: absolute;
  top: 0;
  right: 0;
  width: min(36vw, 520px);
  height: 12px;
}

.makes-section .stripe-bar span:nth-child(1) {
  background: #1C1C1C;
}

.makes-media {
  aspect-ratio: 5 / 4;
  overflow: hidden;
}

.makes-section .text-lead {
  max-width: 540px;
  color: #4A4741;
}

.makes-quote {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}

.quote-mark {
  height: 30px;
  font-family: var(--font-title);
  font-size: 72px;
  font-weight: 800;
  line-height: 0.8;
  color: var(--color-main-1);
}

.makes-quote p {
  font-family: var(--font-title);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.25;
  text-wrap: pretty;

  @media (max-width: 767px) {
    font-size: 22px;
  }
}

.makes-quote cite {
  font-size: 14px;
  font-style: normal;
  color: #6A665F;
}

.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 36px;
}

.tags-wrap span {
  padding: 9px 16px;
  border: 1px solid #C9C5BD;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2A2824;
}

/* ----- Workshop gallery ----- */

.insta-link {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;

  @media (max-width: 767px) {
    align-items: flex-start;
  }
}

.insta-label {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9E9A93;
}

.insta-handle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.insta-link:hover .insta-handle {
  color: var(--color-main-2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 300px;
  gap: 18px;

  @media (max-width: 1400px) {
    grid-auto-rows: 240px;
  }

  @media (max-width: 1024px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 260px;
  }

  @media (max-width: 560px) {
    grid-auto-rows: 200px;
    gap: 12px;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: #1A1A1A;
}

.gallery-item--big {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 42px 18px 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;

  @media (hover: none) {
    opacity: 1;
    transform: none;
  }
}

.gallery-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Reviews (light) ----- */

.reviews-section {
  background: var(--color-background-light);
  color: var(--color-text-dark);
  overflow: hidden;
}

.rating-box {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--color-text-dark);
}

.rating-num {
  font-family: var(--font-title);
  font-size: 72px;
  font-weight: 800;
  line-height: 0.8;
}

.rating-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rating-meta .stars {
  color: var(--color-main-1) !important;
}

.rating-meta .stars i {
  font-size: 18px;
}

.rating-source {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #55524D;
  transition: color 0.2s ease;
}

.rating-box:hover .rating-source {
  color: var(--color-main-1);
}

.reviews-swiper {
  overflow: visible;
}

.review-card {
  position: relative;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 36px;
  background: #FFFFFF;
  border: 1px solid #DEDAD2;

  @media (max-width: 767px) {
    padding: 30px 24px;
  }
}

.review-stripe {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 72px;
}

.review-stripe span:nth-child(1) {
  background: #1C1C1C;
}

.review-card blockquote {
  font-family: var(--font-title);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: pretty;
}

.review-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 18px;
  border-top: 1px solid #E6E3DC;
}

.review-name {
  font-size: 15px;
  font-weight: 600;
}

.review-car {
  font-size: 14px;
  color: #6A665F;
}

.reviews-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}

.reviews-nav button {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #C9C5BD;
  font-size: 20px;
  color: var(--color-text-dark);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.reviews-nav button:hover {
  background: var(--color-text-dark);
  border-color: var(--color-text-dark);
  color: #FFFFFF;
}

.reviews-pagination.swiper-pagination-progressbar {
  position: relative;
  flex: 1;
  height: 2px;
  background: #D6D2CA;
}

.reviews-pagination .swiper-pagination-progressbar-fill {
  background: var(--color-main-1);
}

/* ----- FAQ ----- */

.bi-section--faq {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);

  @media (max-width: 1024px) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.faq-section .text-lead {
  max-width: 420px;
}

/* ----- CTA band ----- */

.cta-band {
  background: var(--color-main-1);
  color: #FFFFFF;
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px 60px;
  padding: 90px 0;

  @media (max-width: 1400px) {
    padding: 60px 0;
    gap: 30px 42px;
  }
}

.cta-icon {
  flex-shrink: 0;
  width: 150px;
  aspect-ratio: 1.15 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-background);
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);

  @media (max-width: 767px) {
    width: 110px;
  }
}

.cta-icon i {
  font-size: 54px;
  color: var(--color-main-2);

  @media (max-width: 767px) {
    font-size: 42px;
  }
}

.cta-text {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.cta-text h2 {
  font-size: 72px;

  @media (max-width: 1024px) {
    font-size: 56px;
  }

  @media (max-width: 767px) {
    font-size: 42px;
  }
}

.cta-text p {
  font-size: 18px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.cta-actions .button {
  height: 62px;
  padding: 0 42px;
  font-size: 18px;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-left: 12px;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #FFFFFF;
}

.cta-phone:hover {
  color: var(--color-background);
}

/* ----- Contact ----- */

.contact-section {
  background: var(--color-background-3);
  border-top: 1px solid #1F1F1F;
}

.contact-section .text-lead {
  max-width: 480px;
  color: #B9B5AE;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid #2A2A2A;

  @media (max-width: 560px) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-block--wa {
  grid-column: 1 / -1;
}

.wa-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 30px;
  background: var(--color-whatsapp);
  color: var(--color-text-dark);
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: background-color 0.25s ease;

  @media (max-width: 420px) {
    padding: 0 18px;
    font-size: 15px;
  }
}

.wa-button span {
  font-family: var(--font-title);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.wa-button i {
  font-size: 24px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-button i:last-child {
  font-size: 18px;
}

.wa-button:hover {
  background: var(--color-whatsapp-dark);
  color: var(--color-text-dark);
}

.wa-button:hover i:last-child {
  transform: translate(3px, -3px);
}

.contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8B877F;
}

.contact-item span {
  font-size: 17px;
  line-height: 1.5;
}

.contact-item--big span {
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.contact-item--big i {
  font-size: 24px;
  line-height: 1.2;
}

.contact-route {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-main-1);
}

.contact-route span {
  font-family: var(--font-title);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.contact-route:hover {
  color: var(--color-main-2);
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding-left: 0;
  list-style: none;
}

.hours-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3px 12px;
}

.hours-list li span {
  font-size: 15px;
}

.hours-list li span:first-child {
  color: #8B877F;
}

.form-card {
  position: relative;
  padding: 48px;
  background: var(--color-background);
  border: 1px solid #242424;

  @media (max-width: 767px) {
    padding: 30px 18px;
  }
}

.form-card-stripe {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 120px;
}

.form-title {
  font-size: 30px;
  letter-spacing: 0.02em;
}

.form-intro {
  margin-top: 9px;
  font-size: 15px;
  color: var(--color-text-muted);
}

.contact-button .button {
  width: 100%;
  height: 58px;
}

/* ----- Map ----- */

.map-section {
  position: relative;
  height: 450px;
  background: #1A1A1A;
  border-top: 1px solid #1F1F1F;
  overflow: hidden;

  @media (max-width: 767px) {
    height: 480px;
  }
}

.map-embed {
  position: absolute;
  inset: 0;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.08) brightness(0.92);
}

.map-card-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 36px;
  pointer-events: none;

  @media (max-width: 767px) {
    bottom: 18px;
  }
}

.map-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: fit-content;
  max-width: 360px;
  padding: 24px 30px 24px 24px;
  background: var(--color-background);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}

.map-card .stripe-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 96px;
}

.map-card-title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.map-card-addr {
  font-size: 15px;
  color: #B9B5AE;
}

/* ----- Legal pages ----- */

.legal-hero {
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  border-bottom: 1px solid #1F1F1F;

  @media (max-width: 1400px) {
    padding-top: 90px;
  }

  @media (max-width: 767px) {
    padding-top: 60px;
  }
}

.legal-hero .stripe-bar {
  position: absolute;
  top: 0;
  right: 0;
  width: min(36vw, 520px);
  height: 10px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-bottom: 42px;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #CFCBC4;
}

.back-link span {
  font-family: var(--font-title);
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.back-link i {
  font-size: 18px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-link:hover {
  color: var(--color-main-2);
}

.back-link:hover i {
  transform: translateX(-5px);
}

.legal-hero h1 {
  margin-top: 30px;
  font-size: 120px;
  line-height: 0.88;

  @media (max-width: 1400px) {
    font-size: 96px;
  }

  @media (max-width: 767px) {
    font-size: 54px;
  }
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  margin-top: 60px;

  @media (max-width: 767px) {
    margin-top: 36px;
  }
}

.legal-tabs a {
  padding: 18px 24px 15px;
  border-bottom: 3px solid transparent;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #77736C;

  @media (max-width: 767px) {
    padding: 12px 12px 9px;
    font-size: 13px;
  }
}

.legal-tabs a:first-child {
  padding-left: 0;
}

.legal-tabs a:hover {
  color: var(--color-text);
}

.legal-tabs a.is-current {
  color: var(--color-text);
  border-bottom-color: var(--color-main-1);
}

.legal-body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 60px 96px;

  @media (max-width: 1400px) {
    gap: 42px 60px;
  }
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height, 77px) + 36px);
  flex: 1 1 240px;
  max-width: 320px;
  display: flex;
  flex-direction: column;

  @media (max-width: 900px) {
    position: static;
    max-width: none;
  }
}

.legal-toc-title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6E6A63;
}

.legal-toc a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 6px;
  padding: 9px 0;
  border-bottom: 1px solid #1C1C1C;
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.legal-toc a span {
  font-size: 14px;
  line-height: 1.4;
}

.legal-toc a span:first-child {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--color-main-1);
}

.legal-toc a:hover {
  color: var(--color-main-2);
}

.legal-article {
  flex: 3 1 520px;
  min-width: 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.legal-intro {
  font-size: 19px;
  line-height: 1.7;
  color: #CFCBC4;
  text-wrap: pretty;
}

.legal-block {
  display: flex;
  flex-direction: column;
  gap: 15px;
  scroll-margin-top: calc(var(--header-height, 77px) + 30px);
}

.legal-block h2 {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;

  @media (max-width: 767px) {
    font-size: 26px;
  }
}

.legal-block h2 span:first-child {
  flex-shrink: 0;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--color-main-1);
}

.legal-block p,
.legal-block li {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--color-text-muted);
  text-wrap: pretty;
}

.legal-block ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 20px;
}

.legal-block strong {
  color: var(--color-text);
  font-weight: 600;
}

.legal-block a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-block a:hover {
  color: var(--color-main-2);
}

.legal-note {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 30px;
  background: var(--color-background-3);
  border: 1px solid var(--color-border);
}

.legal-note .eyebrow::before {
  display: none;
}

.legal-note p {
  font-size: 15.5px;
  color: var(--color-text-muted);
}

.legal-note a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Bilingual legal text: one block per language, toggled by <html lang> */
html[lang="en"] .lang-block[data-lang="es"],
html:not([lang="en"]) .lang-block[data-lang="en"] {
  display: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  padding: 96px 0 30px;
  background: #070707;
  border-top: 1px solid #1F1F1F;

  @media (max-width: 1400px) {
    padding-top: 60px;
  }
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 60px;

  @media (max-width: 767px) {
    gap: 42px;
  }
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 42px 60px;

  @media (max-width: 1024px) {
    grid-template-columns: repeat(3, minmax(0, 1fr));

    .footer-col-brand {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 767px) {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 460px;
}

.footer-col-brand .logo img {
  width: min(100%, 280px);
}

.footer-description {
  font-size: 15px;
  color: #8B877F;
}

.footer-col h3 {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #6E6A63;
}

.footer-nav,
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.footer-nav a,
.footer-contacts a,
.footer-contacts .contact-item {
  font-size: 15px;
  color: #CFCBC4;
}

.footer-contacts .contact-item span {
  font-size: 15px;
}

.footer-nav a:hover,
.footer-contacts a:hover {
  color: var(--color-main-2);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 30px;
}

.footer-bottom p,
.footer-bottom span {
  font-size: 13px;
  color: #77736C;
}

.footer-bottom a {
  color: #CFCBC4;
}

.footer-bottom a:hover {
  color: var(--color-main-2);
}

/* ==========================================================================
   WHATSAPP FLOAT
   Main booking channel - always one tap away. Sits above the scroll-to-top.
   ========================================================================== */

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 91;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-whatsapp);
  color: #FFFFFF;
  font-size: 30px;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;

  @media (max-width: 767px) {
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    font-size: 28px;
  }
}

.wa-float:hover {
  background: var(--color-whatsapp-dark);
  color: #FFFFFF;
  transform: scale(1.08);
}

/* Soft pulse ring - draws the eye once in a while, not constantly */
.wa-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--color-whatsapp);
  animation: wa-pulse 4s ease-out infinite;
  pointer-events: none;
}

@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.8; }
  35%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::after { animation: none; display: none; }
}

.scroll-top-btn {
  right: 30px;
  bottom: 96px;

  @media (max-width: 767px) {
    right: 22px;
    bottom: 86px;
  }
}

/* ==========================================================================
   PAGE TRANSITION
   Three diagonal panels (gold / red / black) wipe across between pages;
   driven by Barba + GSAP in main.js.
   ========================================================================== */

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow: hidden;
  pointer-events: none;
}

.page-transition span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -15%;
  width: 130%;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  transform: translateX(-130%);
}

.page-transition span:nth-child(1) { background: var(--color-main-2); }
.page-transition span:nth-child(2) { background: var(--color-main-1); }
.page-transition span:nth-child(3) { background: var(--color-background); }

/* ==========================================================================
   COOKIE CONSENT
   ========================================================================== */

.accept-cookies-block {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 120;
  max-width: 440px;
  padding: 24px;
  background: var(--color-background-2);
  border: 1px solid #2E2E2E;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);

  @media (max-width: 767px) {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

.accept-cookies-block .content-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.accept-cookies-block .content-text p {
  font-size: 14px;
  line-height: 1.55;
  color: #B9B5AE;
}

.accept-cookies-block .content-text a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.accept-cookies-block__btns {
  display: flex;
  gap: 9px;
}

.accept-cookies-block .button {
  height: 44px;
  padding: 0 24px;
  font-size: 15px;
}
