/* ==========================================================================
   Lash Studio — design tokens from Mien reference
   ========================================================================== */

:root {
  --color-text: #464646;
  --color-heading: #000;
  --color-bg: #fff;
  --color-blush: #faf4f1;
  --color-accent: #9d8454;
  --color-warm: #8f644d;
  --color-border: #a7aba5;
  --color-rule: #d4d4d4;

  /* Rounded Cyrillic-friendly font */
  --font: "Nunito", sans-serif;
  --font-alt: "Nunito", sans-serif;
  --header-h: 110px;
  --container: 1300px;
  --side-pad: 50px;

  --ease-out: cubic-bezier(0.31, 0.29, 0.05, 0.96);
  --ease-arrow: cubic-bezier(0.42, 0.88, 0.24, 1.06);
  --t-fast: 0.25s ease-out;
  --t-underline: 0.32s var(--ease-out);
  --t-arrow: 0.44s var(--ease-arrow);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.625;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
}

/* ==========================================================================
   Buttons (Mien — light “APPOINTMENT” + dark variants)
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 12px;
  line-height: 2;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  transition: color var(--t-fast), background-color var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
}

/* Hero / slider: white fill, black text (as on Mien) */
.btn--light {
  padding: 13px 52px;
  color: #000;
  background: #fff;
  border: 1px solid #fff;
}

.btn--light:hover {
  color: #fff;
  background: transparent;
  border-color: #fff;
}

/* On light surfaces (header / mobile) */
.btn--dark {
  padding: 11px 40px;
  color: #fff;
  background: #000;
  border: 1px solid transparent;
}

.btn--dark:hover {
  color: #000;
  background: transparent;
  border-color: #000;
}

.btn--header {
  padding: 9px 28px;
  margin-left: 18px;
}

.site-header .btn--light {
  color: #000;
  background: #fff;
  border-color: #000;
}

.site-header .btn--light:hover {
  color: #fff;
  background: #000;
  border-color: #000;
}

/* ==========================================================================
   Header — divided layout
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  transition: box-shadow var(--t-fast), background-color var(--t-fast), transform var(--t-fast);
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--color-rule);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 var(--side-pad);
  max-width: 100%;
  position: relative;
  gap: 12px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}

.header-meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-heading);
}

.header-meta-sep {
  color: var(--color-accent);
  font-weight: 400;
}

.header-phone:hover {
  color: var(--color-accent);
}

.header-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  color: var(--color-heading);
  transition: opacity var(--t-fast);
}

.header-logo:hover {
  opacity: 0.75;
}

.logo-mark {
  font-family: var(--font);
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.logo-sub {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  margin-top: 5px;
  margin-right: -0.38em;
  color: var(--color-heading);
}

.header-nav {
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.lang-switch button {
  min-width: 36px;
  height: 32px;
  padding: 0 8px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8a807a;
  border: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast), background-color var(--t-fast);
}

.lang-switch button.is-active {
  color: #000;
  border-color: #000;
}

.lang-switch button:hover {
  color: #000;
}

.nav-list {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-list > li {
  height: 100%;
  margin: 0 16px;
}

.nav-list > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-heading);
}

.nav-text {
  position: relative;
}

.nav-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-underline);
}

.nav-list > li > a:hover .nav-text::after,
.nav-list > li > a:focus-visible .nav-text::after {
  transform: scaleX(1);
  transform-origin: left;
}

.burger {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  justify-self: end;
}

.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: #000;
  transition: transform var(--t-fast), opacity var(--t-fast), top var(--t-fast);
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }

.burger.is-open span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: var(--color-blush);
  padding: 48px var(--side-pad);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu[hidden] {
  display: block;
  pointer-events: none;
}

.mobile-menu.is-open[hidden] {
  pointer-events: auto;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 36px;
}

.mobile-menu a {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
}

.mobile-menu .lang-switch {
  margin: 24px 0 8px;
}

.mobile-phone {
  display: inline-block;
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Hero slider
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  margin-top: 0;
  padding-top: 0;
  background: #d4b8a4;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.06);
  transition: transform 7s ease-out;
  will-change: transform;
}

.hero-slide.is-active .hero-media img {
  transform: scale(1);
}

.hero-slide[data-slide="0"] .hero-media img {
  object-position: 18% center;
}

.hero-slide[data-slide="1"] .hero-media img {
  object-position: 28% center;
}

.hero-slide[data-slide="2"] .hero-media img {
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(40, 28, 22, 0.05) 0%,
    rgba(40, 28, 22, 0.18) 48%,
    rgba(40, 28, 22, 0.42) 100%
  );
}

.hero-slide[data-align="left"] .hero-overlay {
  background: linear-gradient(
    270deg,
    rgba(40, 28, 22, 0.05) 0%,
    rgba(40, 28, 22, 0.22) 48%,
    rgba(40, 28, 22, 0.48) 100%
  );
}

.hero-content {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: min(680px, 52vw);
  padding: 0 var(--side-pad);
}

.hero-slide[data-align="right"] .hero-content {
  right: max(2.5vw, calc((100% - var(--container)) / 2 - 20px));
  left: auto;
  text-align: left;
}

.hero-slide[data-align="left"] .hero-content {
  left: max(2.5vw, calc((100% - var(--container)) / 2 - 20px));
  right: auto;
  text-align: left;
}

.hero-title {
  margin: 0 0 34px;
  font-family: var(--font);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #fff;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s var(--ease-out);
  transition-delay: 0s;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.18);
}

.hero-title--services {
  display: flex;
  flex-direction: column;
  gap: 0.08em;
  max-width: 100%;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-cta {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out),
    color var(--t-fast), background-color var(--t-fast), border-color var(--t-fast);
  transition-delay: 0s;
}

.hero-slide.is-active .hero-title,
.hero-slide.is-active .hero-cta {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide.is-active .hero-title {
  transition-delay: 0.32s;
}

.hero-slide.is-active .hero-cta {
  transition-delay: 0.5s;
}

.hero-slide:not(.is-active) .hero-title,
.hero-slide:not(.is-active) .hero-cta {
  transition-delay: 0s;
}

/* Arrows — simple chevrons, inset so they are not clipped */
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.75;
  transition: opacity var(--t-fast), transform var(--t-arrow);
}

.hero-arrow svg {
  display: block;
  overflow: visible;
}

.hero-arrow:hover {
  opacity: 1;
}

.hero-arrow--prev {
  left: 40px;
}

.hero-arrow--next {
  right: 40px;
}

.hero-arrow--prev:hover {
  transform: translateY(-50%) translateX(-4px);
}

.hero-arrow--next:hover {
  transform: translateY(-50%) translateX(4px);
}

/* Bullets — white rings like Mien */
.hero-bullets {
  position: absolute;
  left: 50%;
  bottom: 36px;
  z-index: 5;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.hero-bullet {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  transition: background-color var(--t-fast), transform var(--t-fast);
}

.hero-bullet::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity var(--t-fast), transform var(--t-fast);
}

.hero-bullet.is-active::after,
.hero-bullet:hover::after {
  opacity: 1;
  transform: scale(1);
}

.hero-bullet.is-active {
  transform: scale(1.1);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
  :root {
    --header-h: 84px;
    --side-pad: 30px;
  }

  .header-left {
    display: none;
  }

  .header-nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .header-inner {
    justify-content: flex-start;
  }

  .header-logo {
    position: static;
    transform: none;
    margin-right: auto;
    align-items: flex-start;
  }

  .lang-switch {
    order: 2;
  }

  .burger {
    order: 3;
  }

  .logo-mark {
    font-size: 22px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    width: min(560px, 86vw);
  }

  .hero-slide[data-align="right"] .hero-content,
  .hero-slide[data-align="left"] .hero-content {
    left: var(--side-pad);
    right: var(--side-pad);
    width: auto;
    max-width: 600px;
  }

  .hero-title--services .hero-title-line {
    white-space: normal;
  }

  .hero-slide[data-slide="0"] .hero-media img,
  .hero-slide[data-slide="1"] .hero-media img {
    object-position: 25% center;
  }

  .hero-arrow {
    display: none;
  }
}

@media (max-width: 680px) {
  .hero {
    height: 100svh;
    min-height: 520px;
  }

  .hero-title {
    font-size: 30px;
    margin-bottom: 28px;
  }

  .btn--light {
    padding: 12px 36px;
  }

  .hero-bullets {
    bottom: 24px;
  }

  .hero-overlay,
  .hero-slide[data-align="left"] .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(40, 28, 22, 0.12) 0%,
      rgba(40, 28, 22, 0.55) 100%
    );
  }

  .hero-content {
    top: auto;
    bottom: 72px;
    transform: none;
  }
}

/* ==========================================================================
   Brands strip — 5 visible, shift left every 2s
   ========================================================================== */

.brands {
  background: var(--color-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 42px 0;
}

.brands-viewport {
  overflow: hidden;
  width: min(var(--container), calc(100% - 60px));
  margin: 0 auto;
}

.brands-track {
  display: flex;
  align-items: center;
  will-change: transform;
}

.brands-item {
  flex: 0 0 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 28px;
  box-sizing: border-box;
}

.brands-item img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity var(--t-fast), filter var(--t-fast);
}

.brands-item:hover img {
  opacity: 1;
  filter: grayscale(0);
}

@media (max-width: 1024px) {
  .brands-item {
    flex-basis: 33.333%;
    padding: 8px 20px;
  }
}

@media (max-width: 680px) {
  .brands {
    padding: 28px 0;
  }

  .brands-viewport {
    width: calc(100% - 40px);
  }

  .brands-item {
    flex-basis: 50%;
    padding: 6px 14px;
  }

  .brands-item img {
    max-height: 40px;
  }
}

/* ==========================================================================
   Services — 3 columns like Mien
   ========================================================================== */

.services {
  background: #f3e6e1;
  padding: 90px 0 100px;
}

.services-head {
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto 48px;
  text-align: center;
}

.services-title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-heading);
}

.services-grid {
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}

.service-card {
  text-align: center;
  max-width: 340px;
  margin: 0 auto;
}

.service-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin: 0 auto 28px;
}

.service-icon img {
  position: relative;
  z-index: 1;
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.service-title {
  margin: 0 0 14px;
  font-family: var(--font);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-heading);
}

.service-text {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-heading);
}

.service-arrow {
  display: block;
  flex-shrink: 0;
  transform: translateX(0);
  transition: transform 0.44s var(--ease-arrow);
}

.service-link:hover .service-arrow,
.service-card:hover .service-arrow {
  transform: translateX(6px);
}

@media (max-width: 1024px) {
  .services {
    padding: 70px 0 80px;
  }

  .services-head,
  .services-grid {
    width: calc(100% - 60px);
  }

  .service-title {
    font-size: 20px;
  }
}

@media (max-width: 880px) {
  .services-head {
    width: calc(100% - 48px);
    margin-bottom: 36px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    width: min(420px, calc(100% - 48px));
  }
}

/* ==========================================================================
   Training / courses
   ========================================================================== */

.training {
  background: var(--color-bg);
  padding: 100px 0 110px;
}

.training-head {
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto 52px;
  text-align: center;
}

.training-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.training-title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-heading);
}

.training-grid {
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

.course-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.course-media {
  width: 100%;
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 4 / 3;
  background: #eee5df;
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s var(--ease-out);
}

.course-card:hover .course-media img {
  transform: scale(1.04);
}

.course-title {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-heading);
}

.course-text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
  flex-grow: 1;
}

.course-meta {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.55;
  color: #7a706c;
}

.course-cta {
  margin-top: auto;
}

@media (max-width: 1024px) {
  .training {
    padding: 80px 0 90px;
  }

  .training-head,
  .training-grid {
    width: calc(100% - 60px);
  }

  .training-grid {
    gap: 36px 24px;
  }

  .course-title {
    font-size: 20px;
  }
}

@media (max-width: 880px) {
  .training-head {
    width: calc(100% - 48px);
    margin-bottom: 40px;
  }

  .training-grid {
    grid-template-columns: 1fr;
    width: min(480px, calc(100% - 48px));
    gap: 48px;
  }
}

/* ==========================================================================
   About the master
   ========================================================================== */

.about {
  background: var(--color-bg);
  padding: 110px 0 120px;
}

.about-inner {
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px 72px;
  align-items: start;
}

.about-media {
  position: relative;
  overflow: hidden;
}

.about-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.about-name {
  margin: 0 0 10px;
  font-family: var(--font);
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-heading);
}

.about-role {
  margin: 0 0 22px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.about-lead {
  margin: 0 0 36px;
  max-width: 38em;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
}

.about-spec-heading {
  margin: 0 0 22px;
  padding-top: 6px;
  border-top: 1px solid var(--color-rule);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-heading);
}

.about-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-specs h4 {
  margin: 0 0 6px;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-heading);
}

.about-specs p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
}

@media (max-width: 1024px) {
  .about {
    padding: 80px 0 90px;
  }

  .about-inner {
    width: calc(100% - 60px);
    gap: 48px 40px;
  }
}

@media (max-width: 880px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    width: calc(100% - 48px);
  }

  .about-media {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-media img {
    aspect-ratio: 5 / 6;
  }
}

/* ==========================================================================
   Before / After trust block
   ========================================================================== */

.trust {
  background: #faf4f1;
  padding: 90px 0;
}

.trust-inner {
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px 64px;
  align-items: center;
}

.trust-title {
  margin: 0 0 28px;
  font-family: var(--font);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-heading);
  max-width: 11em;
}

.trust-cta {
  display: inline-flex;
}

.ba-slider {
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.ba-slider-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e8ddd6;
  cursor: ew-resize;
}

.ba-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.ba-img--after {
  position: absolute;
  inset: 0;
}

.ba-before-wrap {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  height: 100%;
  z-index: 1;
}

.ba-img--before {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--ba-media-width, 100%);
  max-width: none;
  height: 100%;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 44px;
  margin-left: -22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  outline: none;
}

.ba-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.ba-handle-btn {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.ba-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a706c;
}

@media (max-width: 1024px) {
  .trust {
    padding: 70px 0;
  }

  .trust-inner {
    width: calc(100% - 60px);
    gap: 36px 40px;
  }
}

@media (max-width: 880px) {
  .trust-inner {
    grid-template-columns: 1fr;
    width: calc(100% - 48px);
    gap: 28px;
  }

  .trust-title {
    max-width: none;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .trust-copy {
    text-align: center;
  }

  .ba-slider-media {
    aspect-ratio: 5 / 4;
  }
}

/* ==========================================================================
   Reviews slider
   ========================================================================== */

.reviews {
  background: var(--color-bg);
  padding: 100px 0 110px;
}

.reviews-inner {
  position: relative;
  width: min(760px, calc(100% - 120px));
  margin: 0 auto;
  text-align: center;
}

.reviews-quote {
  font-family: var(--font);
  font-size: 64px;
  line-height: 1;
  font-weight: 300;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.reviews-title {
  margin: 0 0 36px;
  font-family: var(--font);
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-heading);
}

.reviews-viewport {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.reviews-track {
  position: relative;
}

.review-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  pointer-events: none;
}

.review-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.review-text {
  margin: 0 auto 28px;
  max-width: 36em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

.review-author {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-heading);
}

.review-role {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #8a807a;
}

.reviews-arrow {
  position: absolute;
  top: 58%;
  z-index: 2;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  opacity: 0.45;
  transition: opacity var(--t-fast), transform var(--t-arrow);
}

.reviews-arrow:hover {
  opacity: 1;
}

.reviews-arrow--prev {
  left: -56px;
}

.reviews-arrow--next {
  right: -56px;
}

.reviews-arrow--prev:hover {
  transform: translateY(-50%) translateX(-3px);
}

.reviews-arrow--next:hover {
  transform: translateY(-50%) translateX(3px);
}

@media (max-width: 880px) {
  .reviews {
    padding: 72px 0 80px;
  }

  .reviews-inner {
    width: calc(100% - 48px);
  }

  .reviews-arrow--prev {
    left: -8px;
  }

  .reviews-arrow--next {
    right: -8px;
  }

  .reviews-viewport {
    padding: 0 28px;
    min-height: 260px;
  }

  .review-text {
    font-size: 15px;
  }
}

/* ==========================================================================
   Find us / contacts
   ========================================================================== */

.find-us {
  background: #faf4f1;
  padding: 100px 0 110px;
}

.find-us-inner {
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px 56px;
  align-items: stretch;
}

.find-us-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.find-us-title {
  margin: 0 0 32px;
  font-family: var(--font);
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-heading);
}

.find-us-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.find-us-label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a807a;
}

.find-us-list li,
.find-us-list a {
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-heading);
}

.find-us-list a:hover {
  color: var(--color-accent);
}

.find-us-map {
  min-height: 380px;
  background: #e8ddd6;
  overflow: hidden;
}

.find-us-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(0.15);
}

@media (max-width: 1024px) {
  .find-us {
    padding: 80px 0 90px;
  }

  .find-us-inner {
    width: calc(100% - 60px);
    gap: 36px;
  }
}

@media (max-width: 880px) {
  .find-us-inner {
    grid-template-columns: 1fr;
    width: calc(100% - 48px);
  }

  .find-us-map,
  .find-us-map iframe {
    min-height: 300px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #111;
  color: #cfcfcf;
  padding: 64px 0 0;
}

.footer-brand {
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}

.footer-logo .logo-mark {
  color: #fff;
}

.footer-logo .logo-sub {
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 28px;
  padding-bottom: 48px;
}

.footer-heading {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list li,
.footer-list a {
  font-size: 14px;
  line-height: 1.5;
  color: #bdbdbd;
}

.footer-list a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}

.footer-social a:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.footer-bottom {
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: #8f8f8f;
}

.footer-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  transition: background-color var(--t-fast), color var(--t-fast);
}

.footer-top:hover {
  background: #fff;
  color: #111;
}

@media (max-width: 1024px) {
  .footer-brand,
  .footer-grid,
  .footer-bottom {
    width: calc(100% - 60px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .site-footer {
    padding-top: 48px;
  }

  .footer-brand,
  .footer-grid,
  .footer-bottom {
    width: calc(100% - 48px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .hero-media img {
    transform: none !important;
  }
}

/* ==========================================================================
   Booking form
   ========================================================================== */

.booking {
  background: #f3e6e1;
  padding: 100px 0 110px;
}

.booking-inner {
  width: min(720px, calc(100% - 80px));
  margin: 0 auto;
}

.booking-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-align: center;
}

.booking-title {
  margin: 0 0 14px;
  font-family: var(--font);
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-heading);
  text-align: center;
}

.booking-lead {
  margin: 0 auto 42px;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  text-align: center;
}

.booking-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  margin-bottom: 12px;
}

#contacts-error {
  margin: 0 0 28px;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-heading);
}

.booking-field input[type="text"],
.booking-field input[type="tel"] {
  width: 100%;
  margin: 0;
  padding: 10px 0 12px;
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-heading);
  outline: none;
  transition: border-color var(--t-fast);
}

.booking-field input::placeholder {
  color: #9a8e88;
  opacity: 1;
}

.booking-field input:focus {
  border-bottom-color: #000;
}

.booking-field input.is-invalid,
.booking-procedures.is-invalid .booking-check {
  /* visual cue via error text; inputs get darker border */
}

.booking-field input.is-invalid {
  border-bottom-color: #8f644d;
}

.booking-procedures {
  margin: 0 0 36px;
  padding: 0;
  border: none;
}

.booking-procedures .booking-label {
  padding: 0;
  margin-bottom: 18px;
}

.booking-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.booking-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.45;
  color: var(--color-text);
}

.booking-check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  border: 1px solid #000;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}

.booking-check input:checked {
  background: #000;
}

.booking-check input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.booking-error {
  margin: 14px 0 0;
  font-size: 13px;
  color: #8f644d;
}

.booking-submit {
  display: inline-flex;
  min-width: 220px;
}

.booking-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.booking-note {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #7a706c;
}

.booking-note--secondary {
  margin-top: 8px;
  font-size: 13px;
}

.booking-phone {
  color: var(--color-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color var(--t-fast);
}

.booking-phone:hover {
  color: var(--color-accent);
}

.booking-success {
  text-align: center;
  padding: 28px 20px 10px;
}

.booking-success[hidden] {
  display: none;
}

.booking-success h3 {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: 28px;
  font-weight: 400;
  color: var(--color-heading);
}

.booking-success p {
  margin: 0 auto;
  max-width: 28em;
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
}

.booking-form.is-sent {
  display: none;
}

@media (max-width: 680px) {
  .booking {
    padding: 72px 0 80px;
  }

  .booking-inner {
    width: calc(100% - 48px);
  }

  .booking-fields,
  .booking-checks {
    grid-template-columns: 1fr;
  }

  .booking-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .hero-media img {
    transform: none !important;
  }
}
