:root {
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Heebo', sans-serif;

  --color-bg-page: #f1f1f1;
  --color-bg-section: #e9e9e9;
  --color-navy-900: #091324;
  --color-navy-800: #09162c;
  --color-navy-700: #192535;
  --color-gray-700: #3c4145;
  --color-gray-600: #3c3f48;
  --color-gray-400: #2a2a2a;
  --color-gray-350: #2b2c26;
  --color-gray-300: #d9d9d9;
  --color-gold: #8e7556;
  --color-gold-dark: #8c7452;
  --color-cream: #e6dac0;
  --color-cream-light: #e7dbc1;
  --color-cream-pale: #f3f0e9;
  --color-white: #ffffff;
  --color-black: #000000;

  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --container-padding: 160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.35;
  background: var(--color-bg-page);
  color: var(--color-gray-700);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 400;
}

.section-shell {
  padding-left: calc(var(--container-padding) - 27px);
  padding-right: calc(var(--container-padding) - 27px);
}

/* --------------------------------------------------------------------------
   Stripe
   -------------------------------------------------------------------------- */
.stripe {
  display: flex;
  width: 100%;
  height: 7px;
}

.stripe__segment {
  flex: 1;
}

.stripe__segment--gold {
  background: var(--color-gold-dark);
}

.stripe__segment--cream-pale {
  background: var(--color-cream-pale);
}

.stripe__segment--cream {
  background: var(--color-cream);
}

.stripe__segment--gray {
  background: var(--color-gray-700);
}

.stripe__segment--navy {
  background: var(--color-navy-700);
}

.stripe--section {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px var(--container-padding) 0;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 60px;
}

.header__menu a {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-cream);
}

.header__logo img {
  width: 108px;
  height: 80px;
  filter: brightness(0) invert(1);
}

.header__toggle {
  position: relative;
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.header__toggle span {
  position: absolute;
  left: 12px;
  width: 24px;
  height: 2px;
  background: var(--color-cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__toggle span:nth-child(1) {
  transform: translateY(-8px);
}

.header__toggle span:nth-child(3) {
  transform: translateY(8px);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 580px;
  overflow: hidden;
}

.hero__background,
.hero__background picture,
.hero__background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__background img {
  object-fit: cover;
  object-position: center;
  transform: scaleY(-1) rotate(180deg);
}

@media (min-width: 769px) {
  .hero__background img {
    object-position: center top;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(60%, 980px);
  background: linear-gradient(-90deg, rgba(26, 36, 53, 0) 7.38%, #091324 110.08%);
}

.hero__content {
  position: relative;
  z-index: 2;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  padding: 160px var(--container-padding) 96px;
}

.hero__copy {
  max-width: 680px;
  color: var(--color-cream);
}

.hero__title {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 32px;
}

.hero__text {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.35;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 36px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 20px;
  transition: all 0.3s ease;
}

.hero__button--primary {
  background: var(--color-gold);
  color: var(--color-white);
}

.hero__button--primary:hover {
  opacity: 0.9;
}

.hero__button--secondary {
  border: 2px solid var(--color-cream-light);
  color: var(--color-cream-light);
}

.hero__button--secondary:hover {
  background: var(--color-cream-light);
  color: var(--color-gray-600);
}

/* --------------------------------------------------------------------------
   Channels Section
   -------------------------------------------------------------------------- */
.channels {
  padding-top: 48px;
}

.channels__panel {
  background: var(--color-bg-section);
  text-align: center;
  padding: 72px 80px 96px;
}

.channels__icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 32px;
}

.channels__title {
  font-size: 50px;
  line-height: 1.05;
  color: var(--color-gray-600);
  margin-bottom: 40px;
}

.channels__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.channels__item {
  font-size: 24px;
  font-weight: 300;
  color: var(--color-gray-700);
}

.channels__item strong {
  font-weight: 500;
}

.channels__item a {
  color: var(--color-gold-dark);
  transition: opacity 0.3s ease;
}

.channels__item a:hover {
  opacity: 0.8;
}

/* --------------------------------------------------------------------------
   Form Section
   -------------------------------------------------------------------------- */
.form-section {
  padding: 120px 0;
}

.form-section__header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 72px;
}

.form-section__title {
  font-size: 50px;
  line-height: 1.08;
  color: var(--color-gray-600);
  margin-bottom: 24px;
}

.form-section__text {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-gray-700);
}

.form {
  max-width: 1000px;
  margin: 0 auto;
}

.form__prompt {
  margin-bottom: 36px;
  font-family: var(--font-body);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.35;
  color: var(--color-gray-700);
}

.form__step {
  max-width: 720px;
  opacity: 0;
  transform: translateX(72px) scale(0.985);
  filter: blur(6px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.form__step.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.form__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form__input {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--color-gray-350);
  background: transparent;
  font-family: var(--font-body);
  font-size: 20px;
  padding: 12px 0;
  outline: none;
  color: var(--color-gray-350);
  border-radius: 0;
  appearance: none;
}

.form__input::placeholder {
  color: var(--color-gray-600);
  opacity: 0.6;
}

.form__textarea {
  min-height: 100px;
  resize: vertical;
}

.form__select {
  position: relative;
}

.form__select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
}

.form__select-trigger::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-gray-350);
  border-bottom: 2px solid var(--color-gray-350);
  transform: rotate(45deg) translateY(-4px);
  flex-shrink: 0;
}

.form__select.is-open .form__select-trigger::after {
  transform: rotate(-135deg) translateY(-2px);
}

.form__select.is-invalid .form__select-trigger {
  border-bottom-color: #b42318;
}

.form__select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  display: grid;
  gap: 4px;
  padding: 12px 0;
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  z-index: 20;
}

.form__select-menu[hidden] {
  display: none;
}

.form__select-option {
  border: none;
  background: transparent;
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-gray-350);
  cursor: pointer;
}

.form__select-option:hover,
.form__select-option.is-selected {
  background-color: rgba(217, 217, 217, 0.5);
}

.form__actions {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.form__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 28px;
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-size: 22px;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.form__button--ghost {
  padding-left: 0;
  color: var(--color-gold-dark);
}

.form__button--primary {
  min-width: 280px;
  border-radius: var(--radius-md);
  background: var(--color-gold);
  color: var(--color-white);
}

.form__button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   CTA Final Section
   -------------------------------------------------------------------------- */
.cta-final {
  position: relative;
  margin: 0 47px 120px;
  padding: 96px 0;
}

.cta-final__border-outer {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  bottom: 28px;
  border: 4px solid var(--color-gold);
  pointer-events: none;
}

.cta-final__border-inner {
  position: absolute;
  top: 0;
  left: 54px;
  right: 54px;
  bottom: 0;
  border: 1px solid rgba(142, 117, 86, 0.75);
  pointer-events: none;
}

.cta-final__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cta-final__title {
  font-size: 56px;
  line-height: 1.08;
  color: var(--color-gray-600);
  margin-bottom: 24px;
}

.cta-final__text {
  font-size: 24px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-gray-700);
  margin-bottom: 48px;
}

.cta-final__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 48px;
  border-radius: var(--radius-md);
  background: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 22px;
  transition: opacity 0.3s ease;
}

.cta-final__button:hover {
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--color-navy-800);
  padding: 96px var(--container-padding);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(230, 218, 192, 0.18);
}

.footer__brand,
.footer__nav,
.footer__contact {
  min-width: 0;
}

.footer__logo img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 32px;
}

.footer__text,
.footer__contact-list,
.footer__copyright,
.footer__signature {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(230, 218, 192, 0.82);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-cream);
  margin-bottom: 24px;
}

.footer__links,
.footer__contact-list {
  display: grid;
  gap: 12px;
}

.footer__links a,
.footer__contact-list a {
  color: rgba(230, 218, 192, 0.82);
  transition: opacity 0.3s ease;
}

.footer__links a:hover,
.footer__contact-list a:hover {
  opacity: 0.75;
}

.footer__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 20px;
  transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.footer__cta--primary {
  background-color: var(--color-cream);
  color: var(--color-navy-800);
}

.footer__cta--secondary {
  border: 1px solid rgba(230, 218, 192, 0.42);
  color: var(--color-cream);
}

.footer__cta:hover {
  opacity: 0.85;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 40px;
}

.footer__signature {
  text-align: right;
}

@media (min-width: 1101px) {
  body,
  .channels__item,
  .form-section__text,
  .cta-final__text {
    font-size: 18px;
    line-height: 1.6;
  }

  .channels__title,
  .form-section__title,
  .cta-final__title {
    font-size: 42px;
    line-height: 1.1;
  }

  .form__prompt {
    font-size: 24px;
    line-height: 1.4;
  }

  .form__input {
    font-size: 18px;
  }

  .form__button,
  .cta-final__button,
  .footer__heading,
  .footer__cta {
    font-size: 18px;
  }

  .footer__text,
  .footer__contact-list,
  .footer__copyright,
  .footer__signature {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1440px) {
  :root {
    --container-padding: 96px;
  }
}

@media (max-width: 1100px) {
  :root {
    --container-padding: 40px;
  }

  .hero,
  .channels,
  .form-section,
  .cta-final,
  .footer {
    overflow-x: clip;
  }

  .section-shell {
    margin-left: 0;
    margin-right: 0;
    padding-left: 20px;
    padding-right: 20px;
  }

  .header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header__nav {
    padding: 20px 20px 0;
  }

  .header__logo {
    order: -1;
  }

  .header__logo img {
    height: 50px;
    width: auto;
  }

  .header__menu {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: rgba(9, 22, 44, 0.94);
    border: 1px solid rgba(230, 218, 192, 0.16);
    border-radius: 16px;
  }

  .header.is-menu-open .header__menu {
    display: flex;
  }

  .header.is-menu-open .header__toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  .header.is-menu-open .header__toggle span:nth-child(2) {
    opacity: 0;
  }

  .header.is-menu-open .header__toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .hero {
    min-height: 520px;
  }

  .hero__overlay {
    width: 100%;
    background: linear-gradient(180deg, rgba(9, 19, 36, 0.94) 0%, rgba(9, 19, 36, 0.48) 65%, rgba(9, 19, 36, 0.78) 100%);
  }

  .hero__content {
    min-height: 520px;
    padding: 140px 20px 72px;
    align-items: center;
  }

  .hero__title,
  .cta-final__title {
    font-size: 42px;
  }

  .channels__title,
  .form-section__title {
    font-size: 38px;
  }

  .hero__text,
  .channels__item,
  .form-section__text,
  .cta-final__text {
    font-size: 20px;
  }

  .cta-final {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 80px;
    padding: 72px 20px;
  }

  .cta-final__border-outer,
  .cta-final__border-inner {
    display: none;
  }

  .form__prompt {
    font-size: 24px;
  }

  .footer {
    padding: 72px 20px;
  }

  .footer__top,
  .footer__bottom {
    grid-template-columns: 1fr;
  }

  .footer__signature {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 560px;
  }

  .hero__content {
    min-height: 560px;
    padding-top: 128px;
    padding-bottom: 48px;
  }

  .hero__title,
  .cta-final__title {
    font-size: 36px;
  }

  .channels__title,
  .form-section__title {
    font-size: 30px;
  }

  .hero__text,
  .channels__item,
  .form-section__text,
  .cta-final__text {
    font-size: 18px;
  }

  .hero__button,
  .form__button,
  .cta-final__button {
    font-size: 18px;
    min-height: 52px;
  }

  .channels {
    padding-top: 24px;
  }

  .channels__panel {
    padding: 48px 20px 64px;
  }

  .form-section {
    padding: 72px 0;
  }

  .form-section__header {
    margin-bottom: 48px;
  }

  .form__prompt,
  .form__input {
    font-size: 18px;
  }


  .form__actions {
    margin-top: 40px;
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .form__button--primary {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__button {
    width: 100%;
  }

  .cta-final__content {
    padding-left: 20px;
    padding-right: 20px;
  }
}
