:root {
  --primary: #6f9150;
  --primary-dark: #35532c;
  --accent: #d7c6a2;
  --accent-dark: #b99f74;
  --cream: #fbf6e8;
  --cream-strong: #f4e7c8;
  --text: #223722;
  --text-muted: rgba(34, 55, 34, 0.72);
  --surface: rgba(255, 252, 246, 0.92);
  --surface-soft: rgba(248, 242, 223, 0.86);
  --glass: rgba(235, 231, 220, 0.14);
  --glass-strong: rgba(235, 231, 220, 0.22);
  --shadow-soft: 0 16px 34px rgba(53, 83, 44, 0.12);
  --shadow-card: 0 18px 46px rgba(53, 83, 44, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Manrope", "Montserrat", sans-serif;
  background:
    radial-gradient(1200px 520px at 50% -12%, rgba(184, 204, 139, 0.18), rgba(184, 204, 139, 0)),
    linear-gradient(180deg, #f7f0da 0%, #fbf6e8 100%);
  color: var(--text);
}

a {
  color: inherit;
}

.link-page {
  width: min(100%, 540px);
  min-height: 100dvh;
  margin-inline: auto;
  background: linear-gradient(180deg, #fffcf7 0%, #f7f0dd 100%);
  box-shadow:
    0 0 0 1px rgba(61, 71, 64, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.16);
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.share-wrap {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 5;
}

.share-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(251, 246, 232, 0.34);
  background: rgba(20, 14, 10, 0.38);
  color: var(--cream);
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.share-icon {
  opacity: 0.95;
}

.share-menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 170px;
  border-radius: 14px;
  border: 1px solid rgba(251, 246, 232, 0.18);
  background: rgba(17, 14, 10, 0.96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.share-item {
  width: 100%;
  display: block;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(251, 246, 232, 0.12);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.84rem;
  padding: 0.72rem 0.85rem;
}

.share-item:last-child {
  border-bottom: 0;
}

.share-item:hover {
  background: rgba(251, 246, 232, 0.1);
}

.hero-loader {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(215, 198, 162, 0.24), rgba(17, 12, 8, 0.82));
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.hero-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(251, 246, 232, 0.3);
  border-top-color: var(--cream);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/imgs/alyne_99.png");
  background-size: cover;
  background-position: center 16%;
  transform: scale(1.02);
  filter: saturate(0.96) contrast(1.06) brightness(0.88);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(120% 86% at 50% 8%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, rgba(17, 14, 10, 0.08) 0%, rgba(20, 14, 10, 0.26) 52%, rgba(11, 8, 6, 0.76) 100%),
    linear-gradient(180deg, rgba(108, 145, 80, 0.04) 26%, rgba(11, 8, 6, 0.2) 100%);
  transition: opacity 0.35s ease;
}

.hero-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  padding: clamp(21rem, 55vh, 26.4rem) 1.1rem 1.6rem;
  transition: opacity 0.35s ease;
  color: #fff;
}

.hero.is-ready .hero-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero.is-ready .hero-overlay,
.hero.is-ready .hero-content {
  opacity: 1;
}

.brand-lockup {
  display: grid;
  justify-items: center;
  gap: 0.18rem;
  margin: 0 auto 0.28rem;
}

.brand-logo {
  display: block;
  width: min(100%, 310px);
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.16));
}

.brand-mark {
  margin: 0;
  text-align: center;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 8vw, 3.55rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

.link-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 0;
}

.btn-primary,
.btn-secondary {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background-color 0.22s ease;
  overflow: hidden;
}

.btn-primary .cta-label,
.btn-secondary .cta-label {
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(53, 83, 44, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(53, 83, 44, 0.28);
}

.btn-secondary-soft {
  min-height: 44px;
  padding-inline: 0.95rem;
  color: var(--text);
  background: rgba(251, 246, 232, 0.78);
  border: 1px solid rgba(111, 145, 80, 0.16);
  box-shadow: none;
  backdrop-filter: none;
  width: auto;
}

.cta-label {
  text-align: center;
}

.cta-arrow {
  position: absolute;
  right: 1rem;
  color: currentColor;
  font-size: 0.78rem;
  line-height: 1;
  opacity: 0.82;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-primary:hover .cta-arrow,
.btn-primary:focus-visible .cta-arrow {
  transform: translateX(1.5px);
  opacity: 0.96;
}

.map-section {
  padding: 0 1rem 1.2rem;
}

.map-shell {
  margin-top: -1px;
  padding: 0;
  background: transparent;
  border-top: 0;
  box-shadow: none;
  display: block;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 0.7rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(111, 145, 80, 0.12);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.map-frame-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(111, 145, 80, 0.14);
  background: #fff;
  box-shadow: 0 16px 30px rgba(53, 83, 44, 0.08);
}

.map-frame-wrap-vertical {
  width: 100%;
}

.map-frame {
  display: block;
  width: 100%;
  height: clamp(390px, 62vh, 760px);
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (min-width: 700px) {
  body {
    padding: 1.4rem;
    background:
      radial-gradient(1200px 500px at 50% -10%, rgba(108, 145, 80, 0.2), rgba(108, 145, 80, 0)),
      linear-gradient(180deg, #f7f0da 0%, #fbf6e8 100%);
  }

  .link-page {
    border-radius: 30px;
    overflow: hidden;
    box-shadow:
      0 0 0 1px rgba(61, 71, 64, 0.05),
      0 28px 72px rgba(0, 0, 0, 0.14);
  }

  .hero-content {
    padding: clamp(22rem, 58vh, 27rem) 1.5rem 1.85rem;
  }

  .brand-logo {
    width: min(100%, 360px);
  }

  .map-section {
    padding-inline: 1.1rem;
    padding-bottom: 1.35rem;
  }

  .map-frame-wrap-vertical {
    border-radius: 24px;
  }

  .map-frame {
    min-height: 560px;
  }

  .btn-primary,
  .btn-secondary {
    min-height: 56px;
    font-size: 0.95rem;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
