@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* TWK Lausanne is commercial. Add the @font-face block here once the
   licensed .woff2 files are available. */
/*
@font-face {
  font-family: 'TWK Lausanne';
  src: url('assets/fonts/TWKLausanne-450.woff2') format('woff2');
  font-weight: 450;
  font-style: normal;
  font-display: swap;
}
*/

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  color: #1a1a1a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Top announcement bar ---------- */

.announcement-bar {
  height: 30px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.announcement-bar__inner {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.announcement-bar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFCE85;
  display: inline-block;
  flex: none;
}

.announcement-bar__text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #FFFFFF;
  line-height: 1;
}

.announcement-bar__link {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #FFFFFF;
  text-decoration: underline;
  margin-left: 4px;
}

/* ---------- Sticky glassmorphic nav ---------- */

.brio-nav {
  position: sticky;
  top: 12px;
  z-index: 100;
  height: 39px;
  border-radius: 9px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
  background: rgba(244, 244, 246, 1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 2.5px rgba(0, 0, 0, 0.03);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.brio-nav--tinted {
  background: rgba(244, 244, 246, 0.55);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 0 rgba(200, 100, 40, 0.12),
    inset 1px 0 0 0 rgba(255, 255, 255, 0.5),
    inset -1px 0 0 0 rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(6px) saturate(300%) hue-rotate(-15deg);
  backdrop-filter: blur(6px) saturate(300%) hue-rotate(-15deg);
}

.brio-nav--tinted::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(180, 60, 20, 0.08);
  pointer-events: none;
  z-index: 1;
}

.brio-nav--tinted > * {
  position: relative;
  z-index: 2;
}

.brio-nav__wordmark {
  font-family: 'TWK Lausanne', 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 450;
  font-size: 17.5px;
  letter-spacing: -0.86px;
  color: #737373;
  line-height: 1;
}

.brio-nav__items {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brio-nav__link {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #737373;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background 150ms ease;
}

.brio-nav__link:hover {
  background: #FAFAFB;
}

.brio-nav__dropdown {
  position: relative;
}

.brio-nav__dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 20px;
  display: none;
}

.brio-nav__dropdown:hover::after {
  display: block;
}

.brio-nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 20px);
  right: 0;
  background: #F4F4F6;
  border-radius: 10px;
  padding: 12px 16px;
  min-width: 200px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 30;
  flex-direction: column;
  gap: 4px;
}

.brio-nav__dropdown:hover .brio-nav__dropdown-menu {
  display: flex;
}

.brio-nav__dropdown-item {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #737373;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 5px;
  transition: background 150ms ease;
  white-space: nowrap;
}

.brio-nav__dropdown-item:hover {
  color: #D88C00;
  background: transparent;
}

.brio-nav__dropdown-item svg {
  flex-shrink: 0;
}

.brio-nav__signin {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #3A3A3A;
  background: #FDFDFF;
  padding: 6px 10px;
  border-radius: 5px;
  box-shadow: 0 2px 2.5px rgba(0, 0, 0, 0.04);
  line-height: 1;
}

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

.hero {
  position: relative;
  height: calc(100vh - 30px);
  display: flex;
  align-items: center;
}

.hero__container {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1750px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero__left {
  position: relative;
  z-index: 2;
  padding-left: 6.8vw;
}

.hero__mark {
  display: block;
  width: 32px;
  height: 33.5px;
  margin-bottom: 30px;
}

.hero__headline {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 34px;
  color: #565656;
  line-height: 38.5px;
  margin: 0;
  max-width: 320px;
}

.hero__subtext {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #565656;
  margin: 15px 0 0 0;
  max-width: 300px;
}

.hero__actions {
  margin-top: 31px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  height: 28px;
  padding: 0 12px;
  border-radius: 5px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 2.5px rgba(0, 0, 0, 0.06);
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: #000000;
  color: #FFFFFF;
  gap: 8px;
}

.btn--primary .btn__arrow {
  width: 17.5px;
  height: 7px;
  display: block;
  align-self: flex-end;
  margin-bottom: 8px;
  margin-right: 2px;
  transform: translate(-3px, -1px);
}

.btn--ghost {
  background: #FEFDFD;
  color: #000000;
}

/* ---------- Hero right media ---------- */

.hero__right {
  position: absolute;
  right: calc(2vw + 45px);
  top: calc(50% + 30px);
  transform: translateY(-50%);
}

.hero__media {
  position: relative;
  width: 1070px;
  height: 810px;
  border-radius: 15px;
  background: #9FA0A2;
  overflow: hidden;
}

.hero__media-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero__media-inner {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 996px;
  height: 735px;
  transform: translate(-50%, -50%);
  border-radius: 15px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.035);
  overflow: hidden;
}

.hero__media-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.hero__media-inner video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* ---------- Modal dialogs ---------- */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.is-open {
  display: flex;
}

.modal__dialog {
  width: 90vw;
  max-width: 440px;
  background: rgba(244, 244, 246, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid #E0E0E3;
  border-radius: 16px;
  box-shadow: 0 28px 70px -20px rgba(52, 50, 50, 0.22), 0 8px 24px -12px rgba(52, 50, 50, 0.08);
  padding: 32px;
}

.modal__title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.018em;
  color: #343232;
  margin: 0 0 16px;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal__input,
.modal__textarea {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #343232;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #E0E0E3;
  border-radius: 10px;
  padding: 10px 14px;
  width: 100%;
  outline: none;
  transition: border-color 150ms ease;
  box-sizing: border-box;
}

.modal__input::placeholder,
.modal__textarea::placeholder {
  color: rgba(52, 50, 50, 0.4);
}

.modal__input:focus,
.modal__textarea:focus {
  border-color: rgba(52, 50, 50, 0.4);
}

.modal__textarea {
  min-height: 100px;
  resize: none;
}

.modal__submit {
  font-family: 'Inter', sans-serif;
  font-weight: 450;
  font-size: 14px;
  color: #F4F4F6;
  background: #2a2828;
  border: none;
  border-radius: 10px;
  height: 40px;
  width: 100%;
  cursor: pointer;
  transition: background 150ms ease;
}

.modal__submit:hover {
  background: #1a1818;
}

/* ---------- Responsive: scaling phase (1281px – 1728px) ---------- */

@media (max-width: 1728px) and (min-width: 1281px) {
  .hero__media {
    transform: scale(calc(100vw / 1728px));
    transform-origin: 120% 35%;
  }
}

/* ---------- Responsive: stacked phase (max 1280px) ---------- */

@media (max-width: 1280px) {
  .hero {
    height: auto;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    padding: 60px 0;
  }

  .hero__container {
    display: contents;
  }

  .hero__left {
    padding-left: 0;
    width: 100%;
    max-width: 600px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__headline,
  .hero__subtext {
    max-width: 100%;
  }

  .hero__headline {
    min-height: 77px;
  }

  .brio-nav__item--contact {
    display: none;
  }

  .brio-nav__link,
  .brio-nav__signin {
    white-space: nowrap;
    font-size: 13px;
  }

  .hero__subtext {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__right {
    position: static;
    transform: none;
    right: auto;
    top: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 24px;
    margin-top: 30px;
  }

  .hero__media {
    width: 100%;
    max-width: 900px;
    height: auto;
    aspect-ratio: 1070 / 810;
  }

  .hero__media-inner {
    width: 93.08%;
    height: 90.74%;
  }

  .hero__mark {
    margin-top: 44px;
  }

  .hero__headline-break {
    display: block;
  }

  .hero__cursor {
    display: inline-block;
    margin-left: 2px;
    font-weight: 300;
    color: currentColor;
    animation: hero-cursor-blink 0.8s steps(2) infinite;
  }

  @keyframes hero-cursor-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
  }

  html.is-mobile-typing .hero__headline {
    visibility: hidden;
  }

  html.is-mobile-typing .hero__headline.is-typing-started {
    visibility: visible;
  }

  html.is-mobile-typing .hero__subtext,
  html.is-mobile-typing .hero__actions {
    opacity: 0;
    transition: opacity 0.6s ease;
  }

  html.is-mobile-typing .hero__subtext.is-revealed,
  html.is-mobile-typing .hero__actions.is-revealed {
    opacity: 1;
  }
}

/* ---------- Responsive (below 768px) ---------- */

@media (max-width: 768px) {
  .brio-nav {
    max-width: calc(100vw - 40px);
    height: 39px;
  }

  .hero {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px 0;
  }

  .hero__left {
    padding: 0 24px;
    text-align: center;
  }

  .hero__mark {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__headline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__right {
    position: static;
    transform: none;
    padding: 0 16px;
  }

  .hero__media {
    width: 100%;
  }
}

/* ---------- Agent Page ---------- */

body.agent-page {
  background: linear-gradient(to bottom, #F0F0F3, #F4F4F6);
  min-height: 100vh;
  position: relative;
}

.agent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 480px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.agent__mark {
  display: block;
  width: 42px;
  height: 24px;
  opacity: 0;
  animation: agent-fade-in 400ms ease-out 300ms forwards;
}

.agent__title {
  margin: 48px 0 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.011em;
  color: #343232;
  text-align: center;
  animation: agent-fade-up 500ms ease-out 950ms both;
}

.agent__subtitle {
  margin: 4px 0 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.011em;
  color: rgba(52, 50, 50, 0.65);
  text-align: center;
  animation: agent-fade-up 500ms ease-out 1100ms both;
}

.agent__otp {
  display: flex;
  gap: 8px;
  margin-top: 36px;
  animation: agent-fade-up 500ms ease-out 1300ms both;
}

.agent__otp-input {
  width: 48px;
  height: 56px;
  text-align: center;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px;
  font-weight: 350;
  letter-spacing: -0.01em;
  color: #343232;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #E0E0E3;
  border-radius: 10px;
  outline: none;
  padding: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.agent__otp-input:focus {
  border-color: rgba(52, 50, 50, 0.4);
  box-shadow: 0 0 0 3px rgba(52, 50, 50, 0.05);
}

.agent__message {
  margin-top: 20px;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: rgba(52, 50, 50, 0.7);
  opacity: 0;
  transition: opacity 0.4s ease;
  min-height: 18px;
  text-align: center;
}

.agent__message.is-visible {
  opacity: 1;
}

.agent__message--error {
  color: #B5453C;
}

.agent__message--success {
  color: #2A8C5A;
}

.agent__back {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(52, 50, 50, 0.45);
  transition: color 150ms ease;
  z-index: 10;
}

.agent__back:hover {
  color: rgba(52, 50, 50, 0.75);
}

@keyframes agent-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes agent-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .agent {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    transform: translateY(calc(-50% - 90px));
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .agent__mark {
    width: 35.7px;
    height: 20.4px;
    margin-left: auto;
    margin-right: auto;
  }

  .agent__otp {
    gap: 6px;
    justify-content: center;
    align-self: center;
  }

  .agent__otp-input {
    width: 42px;
    height: 52px;
    font-size: 18px;
  }

  .agent__back {
    display: none;
  }
}

/* ---------- Booking Modal ---------- */

.modal--booking .modal__dialog {
  max-width: 480px;
  padding: 28px;
}

.booking__step {
  display: none;
  animation: booking-step-in 240ms ease-out;
}

.booking__step.is-active {
  display: block;
}

@keyframes booking-step-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.booking__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(52, 50, 50, 0.6);
  margin: 6px 0 20px;
  letter-spacing: -0.005em;
}

.booking__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid #E0E0E3;
  border-radius: 50%;
  color: #565656;
  cursor: pointer;
  margin-bottom: 14px;
  padding: 0;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.booking__back:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(52, 50, 50, 0.25);
  color: #343232;
}

.booking__calendar {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid #E0E0E3;
  border-radius: 12px;
  padding: 14px 12px 16px;
}

.booking__cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 4px;
}

.booking__cal-month {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #343232;
  letter-spacing: -0.01em;
}

.booking__cal-nav {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  border-radius: 6px;
  color: #565656;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 150ms ease, color 150ms ease;
}

.booking__cal-nav:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #343232;
}

.booking__cal-nav[disabled] {
  opacity: 0.25;
  cursor: not-allowed;
}

.booking__cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}

.booking__cal-weekdays > div {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(52, 50, 50, 0.4);
  text-align: center;
  padding: 6px 0;
  letter-spacing: 0.02em;
}

.booking__cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.booking__day {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #343232;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.booking__day:hover:not(.is-disabled):not(.is-empty) {
  background: rgba(216, 140, 0, 0.1);
  color: #B8770A;
  border-color: rgba(216, 140, 0, 0.35);
}

.booking__day.is-today {
  border-color: rgba(52, 50, 50, 0.3);
  font-weight: 500;
  color: #343232;
}

.booking__day.is-disabled {
  color: rgba(52, 50, 50, 0.22);
  cursor: not-allowed;
}

.booking__day.is-empty {
  visibility: hidden;
  pointer-events: none;
  cursor: default;
}

.booking__tz {
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(52, 50, 50, 0.55);
  text-align: center;
  letter-spacing: -0.005em;
}

.booking__slots {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
  margin-top: 6px;
  padding-right: 4px;
}

.booking__slot {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #343232;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #E0E0E3;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  text-align: center;
  letter-spacing: -0.005em;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.booking__slot:hover {
  background: rgba(216, 140, 0, 0.08);
  border-color: rgba(216, 140, 0, 0.45);
  color: #B8770A;
}

.booking__when {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(52, 50, 50, 0.7);
  margin: 4px 0 20px;
  letter-spacing: -0.005em;
}

.booking__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking__step--confirm {
  text-align: center;
}

.booking__check {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 18px;
  color: #2A8C5A;
}

.booking__check svg {
  display: block;
}

.booking__note {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(52, 50, 50, 0.55);
  margin: 6px 0 22px;
  letter-spacing: -0.005em;
}

@media (max-width: 600px) {
  .modal--booking .modal__dialog {
    padding: 22px;
  }

  .booking__calendar {
    padding: 12px 8px 14px;
  }

  .booking__cal-grid,
  .booking__cal-weekdays {
    gap: 1px;
  }

  .booking__day,
  .booking__slot {
    font-size: 13px;
  }

  .booking__slot {
    padding: 11px 14px;
  }

  .booking__slots {
    max-height: 60vh;
  }
}
