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

:root {
  --black: #101114;
  --charcoal: #1f2530;
  --gold: #b89a63;
  --white: #ffffff;
}

html {
  height: 100%;
  overflow: hidden;
}

body {
  height: 100vh;
  overflow: hidden;
  color: var(--black);
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  background: #0c0e13;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cinzel", serif;
}

.logo {
  width: 150px;
  display: block;
  filter: brightness(0) invert(1);
}

.split-page {
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  grid-template-columns: 1fr 1fr;
}

.left-visual {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #0c0e13;
  width: 44%;
  flex: 0 0 40%;
}

.hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top left;
}

.left-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 70%, rgba(7, 9, 12, 0.22) 100%);
  pointer-events: none;
}

.image-logo {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
}

.bm-logo {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  height: 50px;
  width: auto;
  display: block;
}

.right-content {
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 40px;
  width: 100%;
}

.right-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.right-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.78));
}

.right-inner {
  width: min(530px, 100%);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 36px;
  background: white;
  border-radius: 14px;
  padding: 44px 40px 40px;
  box-shadow: 0 20px 48px rgba(0);
}

.right-inner::before {
  display: none;
}

.content-head {
  margin: 0;
  padding: 0;
}

.content-head h1 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 20px;
  text-wrap: balance;
  color: #0c1018;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.content-head p {
  font-size: clamp(1.02rem, 1.9vh, 1.15rem);
  line-height: 1.68;
  color: #434d5e;
}

.card-footer {
  margin-top: auto;
}

.cta-open-form {
  width: 100%;
  margin: 0;
  border: none;
  border-radius: 10px;
  background: #0c1018;
  color: #ffffff;
  height: 58px;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta-open-form:hover {
  transform: translateY(-1px);
  background: #171d28;
}

.cta-open-form:hover .cta-icon {
  transform: translateX(3px);
}

.cta-icon {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.form-card {
  width: 100%;
  background: #fdfdfe;
  border-radius: 12px;
  border: 1px solid rgba(27, 35, 51, 0.1);
  padding: 20px 18px 16px;
  box-shadow: 0 10px 24px rgba(26, 36, 52, 0.08);
  color: #121212;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: inline-block;
  margin-bottom: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #2c3340;
}

.input-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid #ccd3df;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 153, 94, 0.14);
}

.input-wrap:has(.input-error) {
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12);
}

.input-icon {
  width: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f8899;
  background: #f6f8fb;
  border-right: 1px solid #e1e6ef;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.input-wrap:focus-within .input-icon {
  background: #f8f2e7;
  border-right-color: rgba(184, 153, 94, 0.4);
  color: var(--gold);
}

.input-wrap:has(.input-error) .input-icon {
  background: #fff4f4;
  border-right-color: rgba(220, 38, 38, 0.35);
  color: #dc2626;
}

.form-group input {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 46px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #0f0f0f;
  font-family: "Inter", sans-serif;
  font-size: 0.94rem;
  padding: 0 14px;
  box-shadow: none;
  transition: none;
}

.form-group input:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.form-group input.input-error {
  border: none;
  box-shadow: none;
}

.form-group input::placeholder {
  color: #9aa2af;
}

button[type="submit"] {
  width: 100%;
  border: none;
  border-radius: 8px;
  background: linear-gradient(120deg, #131a25 0%, #000000 52%, #131a25 100%);
  color: #ffffff;
  height: 48px;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

button[type="submit"]:hover {
  transform: translateY(-1px);
  opacity: 0.98;
  box-shadow: 0 8px 16px rgba(24, 31, 44, 0.3);
}

button[type="submit"]:hover .btn-icon {
  transform: translate(2px, -2px);
}

button[type="submit"]:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(18, 18, 18, 0.18),
    0 0 0 6px rgba(183, 155, 99, 0.25);
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.form-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.68);
  backdrop-filter: blur(3px);
}

.form-modal-box {
  position: relative;
  width: min(560px, 100%);
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 24px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.form-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.form-modal-box h2 {
  font-size: 1.55rem;
  margin-bottom: 14px;
  color: #121926;
  text-transform: uppercase;
}

.thankyou-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.thankyou-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.62);
  backdrop-filter: blur(3px);
}

.thankyou-box {
  position: relative;
  width: min(440px, 100%);
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px 24px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.7);
  animation: modalIn 0.28s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.thankyou-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.thankyou-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0f7a3f;
  background: #e8f7ee;
  border: 1px solid #bfe8cf;
}

.thankyou-icon svg {
  width: 28px;
  height: 28px;
}

.thankyou-box h2 {
  font-size: 1.7rem;
  margin-bottom: 10px;
  color: #121926;
}

.thankyou-box p {
  font-size: 0.96rem;
  color: #4b5565;
  line-height: 1.55;
  margin-bottom: 18px;
}

.thankyou-btn {
  border: none;
  border-radius: 8px;
  background: linear-gradient(120deg, #131a25 0%, #000000 52%, #131a25 100%);
  color: #ffffff;
  height: 44px;
  min-width: 130px;
  padding: 0 18px;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
}

@media (max-width: 900px) {
  html,
  body {
    overflow: auto;
    height: auto;
  }

  .split-page {
    flex-direction: column;
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow: visible;
  }

  .left-visual {
    width: 100%;
    flex: none;
    min-height: unset;
    height: auto;
  }

  .right-content {
    min-height: 62vh;
    height: auto;
    overflow: visible;
    padding: 24px 16px;
    margin-top: 0;
    position: relative;
    z-index: 3;
  }

  .right-inner {
    width: 100%;
    gap: 28px;
    padding: 32px 24px 28px;
    border-radius: 14px;
    background: white;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  }

  .content-head h1 {
    font-size: clamp(1.95rem, 6.5vw, 2.65rem);
    line-height: 1.13;
    margin-bottom: 16px;
  }

  .content-head p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .cta-open-form {
    height: 54px;
    font-size: 0.82rem;
  }

  .logo {
    width: auto;
    height: 70px;
  }

    .image-logo {
    top: 16px;
    left: 16px;
  }

  .bm-logo {
    top: 16px;
    right: 8px;
    height: 36px;
  }

  .form-modal-box {
    padding: 24px 16px 16px;
  }
  .form-modal-box h2
  {
    text-align: center;
  }
  .content-head h1
  {
    text-align: center;
  }
  .content-head p{
    text-align: center;
  }
}

