:root {
  --ink: #102e43;
  --ink-deep: #0a1d2b;
  --paper: #f7f3ec;
  --white: #ffffff;
  --facebook: #1877f2;
  --shadow: 0 22px 60px rgba(8, 31, 47, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
}

a { color: inherit; }

.hero {
  position: relative;
  min-height: min(820px, 88vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center 49%;
  z-index: -2;
}

.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 20, 31, .84) 0%, rgba(4, 20, 31, .48) 48%, rgba(4, 20, 31, .10) 78%),
    linear-gradient(0deg, rgba(4, 20, 31, .44), transparent 52%);
}

.hero__content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0;
  color: var(--white);
}

.hero__eyebrow,
.section-label {
  margin: 0 0 14px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: .91;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.hero__subtitle {
  margin: 24px 0 32px;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .20);
}

.button--light {
  color: var(--ink-deep);
  background: var(--white);
}

.facebook {
  width: min(1120px, calc(100% - 40px));
  margin: -52px auto 70px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 52px;
  align-items: center;
  padding: clamp(32px, 6vw, 72px);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.section-label { color: var(--facebook); }

.facebook h2 {
  margin: 0 0 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.025em;
}

.facebook__text > p:not(.section-label) {
  max-width: 650px;
  margin: 0 0 30px;
  color: #48606f;
  font-size: 1.08rem;
  line-height: 1.75;
}

.button--facebook {
  color: var(--white);
  background: var(--facebook);
}

.facebook-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  color: var(--facebook);
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px;
  border: 1px solid #dce5ea;
  border-radius: 22px;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  background: #fbfdfe;
}

.qr-card img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 10px;
}

.qr-card strong {
  font-size: 1.05rem;
}

.qr-card span {
  margin-top: 4px;
  color: #617581;
  font-size: .83rem;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  padding: 34px 20px;
  color: #d8e2e8;
  background: var(--ink-deep);
  text-align: center;
}

footer strong { color: var(--white); }
footer a { color: var(--white); text-decoration: none; }

@media (max-width: 800px) {
  .hero {
    min-height: 720px;
    align-items: end;
  }

  .hero__image {
    object-position: 57% center;
  }

  .hero__overlay {
    background:
      linear-gradient(0deg, rgba(4, 20, 31, .92) 0%, rgba(4, 20, 31, .50) 60%, rgba(4, 20, 31, .18) 100%);
  }

  .hero__content {
    width: min(100% - 32px, 680px);
    padding: 72px 0 92px;
  }

  .facebook {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: -36px;
    padding: 34px 24px;
  }

  .qr-card {
    width: min(100%, 320px);
    margin: auto;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .button { transition: none; }
}
