@font-face {
  font-family: 'Degular Variable';
  src: url('Fonts/Degular_Variable.otf') format('opentype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

/* ── CSS Variables ── */
:root {
  --orange-accent: #f04e00;
  --card-bg: rgba(28, 26, 24, 0.82);
  --card-border: rgba(255, 255, 255, 0.07);
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.55);
  --btn-bg: rgba(255, 255, 255, 0.12);
  --btn-hover: rgba(255, 255, 255, 0.22);
}

/* ── Base ── */
html,
body {
  min-height: 100vh;
  font-family: 'Degular Variable', sans-serif;
  background: #1a0a00;
  overflow-x: hidden;
  overflow-y: auto;
}

/* ── Hero Section ── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero__video,
.hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ── Warm Overlay ── */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(230, 80, 0, 0.15) 0%,
      rgba(230, 80, 0, 0.1) 25%,
      rgba(20, 10, 5, 0.65) 55%,
      rgba(10, 5, 0, 0.95) 95%);
  z-index: 1;
}

/* ── Inner Layout ── */
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 2.5rem;
}

/* ── Navbar ── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0 0;
}

.site-logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
  width: 140px;
}

.site-logo span {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

/* ── Hero Content ── */
.hero__content {
  flex: 1;
  /* display: flex;
  flex-direction: column;
  justify-content: center; */
  align-items: center;
  text-align: left;
  padding-bottom: 1rem;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  margin-top: 50px;
}

.hero__headline {
  font-size: 90px;
  font-weight: 200;
  line-height: 84px;
  letter-spacing: 6px;
  color: var(--white);
  margin-bottom: 1.1rem;
  animation: fadeUp 0.9s ease both;
}

.hero__sub {
  font-size: 30px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 3rem;
  animation: fadeUp 0.9s 0.15s ease both;
}

.hero__sub strong {
  font-weight: 700;
  color: var(--white);
}

/* ── Cards Row ── */
.cards-row {
  display: flex;
  gap: 1.25rem;
  animation: fadeUp 0.9s 0.3s ease both;
}

/* ── Card Panel ── */
.card-panel {
  flex: 1;
  background: #141414;
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 2rem 2rem 1.75rem;
  /* backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); */
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  transition: border-color 0.25s;
}

.card-panel:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.card-panel__title {
  font-size: 38px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: normal;
}

.card-panel__desc {
  font-size: 18px;
  font-weight: 300;
  color: #8e8e8e;
  line-height: 1.5;
  flex: 1;
}

/* ── Card Button ── */
.card-panel__btn {
  display: inline-flex;
  align-items: stretch;
  margin-top: 1.5rem;
  padding: 0;
  background: transparent;
  color: #cfcfcf;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  align-self: flex-start;
  width: 280px;
  height: 56px;
}

.card-panel__btn .btn-text {
  background: #414042;
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: 20px;
  /* justify-content: center; */
  font-size: 18px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.card-panel__btn .btn-icon {
  background: #343335;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease;
}

.card-panel__btn img {
  opacity: 0.8;
  height: 16px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.card-panel__btn:hover {
  transform: translateY(-3px);
}

.card-panel__btn:hover .btn-text {
  background: #4a4a4c;
  color: #ffffff;
}

.card-panel__btn:hover .btn-icon {
  background: var(--orange-accent);
}

.card-panel__btn:active {
  transform: translateY(0) scale(0.98);
}

.card-panel__btn:hover img {
  transform: translateX(4px);
  opacity: 1;
}

/* ── Footer ── */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0 1.75rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.footer-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--white);
}

/* ── Keyframe Animations ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Form View ── */
.form-view {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  max-width: 540px;
  margin: 50px auto 0;
}

.return-link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 3rem;
  transition: color 0.2s;
  display: inline-block;
}

.return-link:hover {
  color: var(--white);
}

.form-header {
  margin-bottom: 2.5rem;
}

.form-sub-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin-bottom: 0.5rem;
}

.form-title {
  font-size: 38px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
}

.form-title strong {
  font-weight: 600;
}

.form-desc {
  max-width: 500px;
  color: var(--orange-accent);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 300;
}

.app-form {
  width: 100%;
  max-width: 500px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.8rem 0;
  color: var(--white);
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.25s ease;
}

.form-group input::placeholder {
  color: var(--white);
  opacity: 0.8;
}

.form-group input:focus {
  outline: none;
  border-bottom-color: var(--orange-accent);
}

.form-group input.primary-input {
  color: var(--orange-accent);
}

.form-group input.primary-input::placeholder {
  color: var(--orange-accent);
  opacity: 0.9;
}

.form-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.expertise-label {
  color: #c98e70;
  font-size: 16px;
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.expertise-tag {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.65rem 1.25rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  user-select: none;
}

.expertise-tag:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.8);
}

.expertise-tag.selected {
  border-color: var(--orange-accent);
  color: var(--orange-accent);
  background: rgba(240, 78, 0, 0.08);
  /* faint orange wash */
}

.submit-btn {
  width: 100%;
  background: var(--orange-accent);
  color: #000000;
  border: none;
  padding: 1.15rem;
  margin-top: 1.5rem;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.25s, transform 0.15s;
}

.submit-btn:hover {
  background: #ff5a00;
}

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

/* ── Responsive ── */
@media (max-width: 768px) {

  html,
  body {
    overflow: auto;
  }

  .hero {
    height: auto;
    min-height: 100vh;
  }

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

  .hero__headline {
    font-size: 50px;
    line-height: 54px;
  }

  .hero__sub {
    font-size: 20px;
  }

  .hero__inner {
    padding: 0 1.25rem;
  }

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


@media (max-width: 420px) {
  .card-panel__btn {
    width: 100%;
  }
}