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

:root {
  --beige: #f4f1ec;
  --beige-overlay: rgba(244, 241, 236, 0.82);
  --black: #000000;
  --muted: #838383;
  --subtle: #5c5c5c;
  --placeholder: #bdb6ac;
  --border: #dad2c6;
  --yellow: #f4e049;
  --card-bg: rgba(255, 255, 255, 0.30);
  --card-border: rgba(255, 255, 255, 0.70);
  --card-shadow: 0px 14px 80px 0px rgba(0, 0, 0, 0.05);

  --font-sans: 'Poppins', sans-serif;
  --font-serif: 'EB Garamond', serif;
}

html, body {
  height: 100%;
  background: var(--beige);
  color: var(--black);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-y: auto;
}

/* ─── Video Background ─────────────────────────────────────── */
.video-wrapper {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.video-wrapper video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.2);
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: var(--beige-overlay);
}

/* ─── Page Layout ──────────────────────────────────────────── */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  max-width: 1728px;
  margin: 0 auto;
  padding: 0 52px;
  display: flex;
  flex-direction: column;
}

/* ─── Footer ───────────────────────────────────────────────── */
.footer {
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.3;
  color: var(--black);
  padding-top: 55px;
  padding-bottom: 45px;
}

.footer a {
  color: var(--black);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* ─── Header ───────────────────────────────────────────────── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 45px;
  height: 90px;
  position: absolute;
  top: 0;
  left: 52px;
  right: 52px;
}

.logo {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border-radius: 2px;
}

.logo img {
  height: 31px;
  width: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.logo::after {
  content: '';
  position: absolute;
  inset: -20px;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 25%,
    rgba(255, 255, 255, 0.06) 35%,
    rgba(220, 215, 210, 0.30) 44%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(220, 215, 210, 0.30) 56%,
    rgba(255, 255, 255, 0.06) 65%,
    transparent 75%,
    transparent 100%
  );
  transform: translateX(-160%) skewX(-15deg);
  z-index: 2;
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform;
}

.logo:hover::after {
  animation: logo-shimmer 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes logo-shimmer {
  0%   { transform: translateX(-160%) skewX(-15deg); }
  100% { transform: translateX(260%)  skewX(-15deg); }
}

.location {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.3;
  color: var(--black);
  white-space: nowrap;
}

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

.lang {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.3;
  color: var(--black);
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  text-align: center;
}

.lang.active {
  text-decoration: underline;
}

.lang:hover {
  opacity: 0.7;
}

/* ─── Main ─────────────────────────────────────────────────── */
.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 7vw, 120px);
  padding-top: 145px;
  padding-bottom: 55px;
}

/* ─── Hero Text ────────────────────────────────────────────── */
.hero-text {
  width: 650px;
  flex-shrink: 1;
  min-width: 0;
}

.headline {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(43px, 3.74vw, 65px);
  line-height: 1.25;
  color: var(--black);
  max-width: 650px;
  margin-bottom: 40px;
}

.body-text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(18px, 1.56vw, 27px);
  line-height: 1.4;
  color: var(--black);
  max-width: 496px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ─── Discovery Card ───────────────────────────────────────── */
.card {
  width: 539px;
  flex-shrink: 1;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 56px 50px 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.card-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.3;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.card-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(18px, 1.39vw, 24px);
  line-height: 1.3;
  color: var(--black);
  max-width: 322px;
  margin-bottom: 13px;
}

/* ─── Bullet List ──────────────────────────────────────────── */
.card-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.card-bullets li {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--subtle);
  padding-left: 18px;
  position: relative;
}

.card-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--subtle);
}

/* ─── Form ─────────────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.form-row {
  display: flex;
  gap: 9px;
}

.input-wrap {
  flex: 1;
}

.input-wrap.full {
  flex: 1 1 100%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #efefef;
  border-radius: 15px;
  padding: 0 17px;
  height: 42px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  color: var(--black);
  outline: none;
  transition: border-color 0.15s ease;
  display: block;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form textarea {
  height: 82px;
  padding-top: 14px;
  padding-bottom: 14px;
  resize: none;
  line-height: 1.5;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--placeholder);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #b0a898;
}

/* ─── Honeypot (spam trap) ─────────────────────────────────── */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ─── Form Error ───────────────────────────────────────────── */
.form-error {
  display: none;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.3;
  color: #c93c3c;
  text-align: center;
  padding: 4px 0 0;
}

.form-error.visible {
  display: block;
}

/* ─── Submit Button ────────────────────────────────────────── */
.submit-btn {
  margin-top: 4px;
  width: 100%;
  height: 50px;
  background: var(--yellow);
  border: none;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  color: var(--black);
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.submit-btn:hover {
  opacity: 0.88;
}

.submit-btn:active {
  transform: scale(0.99);
}

.submit-btn svg {
  flex-shrink: 0;
}

/* ─── Success State ────────────────────────────────────────── */
.success-msg {
  display: none;
  text-align: center;
  padding: 20px 0;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--subtle);
  line-height: 1.5;
}

.contact-form.submitted .form-fields {
  display: none;
}

.contact-form.submitted .success-msg {
  display: block;
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  html, body {
    overflow: auto;
  }

  .page {
    padding: 0 32px;
    height: auto;
    min-height: 100vh;
  }

  .header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
  }

  .main {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 40px;
    padding-bottom: 60px;
    gap: 48px;
  }

  .hero-text {
    width: 100%;
  }

  .card {
    width: 100%;
    max-width: 580px;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 0 20px;
  }

  .location {
    display: none;
  }

  .headline {
    font-size: 34px;
  }

  .body-text {
    font-size: 18px;
  }

  .card {
    padding: 36px 28px 36px;
  }

  .form-row {
    flex-direction: column;
  }
}
