:root {
  --ink: #f7f7f5;
  --glass: rgba(12, 14, 16, 0.42);
  --glass-hover: rgba(18, 20, 24, 0.62);
  --line: rgba(255, 255, 255, 0.88);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: #0b0d10;
  font-family: Montserrat, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 48%;
}

.veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 10, 12, 0.28) 0%, transparent 28%, transparent 62%, rgba(8, 10, 12, 0.55) 100%),
    linear-gradient(90deg, rgba(8, 10, 12, 0.18) 0%, transparent 36%);
}

.slogan {
  position: relative;
  z-index: 2;
  padding: calc(25vh + var(--safe-t)) 0 0 calc(48px + var(--safe-l));
}

.slogan p {
  margin: 0;
  font-size: clamp(44px, 5.6vw, 76px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.slogan strong {
  font-weight: 700;
}

.actions {
  position: absolute;
  z-index: 2;
  left: calc(48px + var(--safe-l));
  bottom: calc(92px + var(--safe-b));
  display: flex;
  gap: 18px;
  align-items: center;
}

.cta {
  display: grid;
  grid-template-columns: 48px 1fr 18px;
  align-items: center;
  gap: 14px;
  min-width: 360px;
  min-height: 84px;
  padding: 14px 20px 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.cta:hover {
  background: var(--glass-hover);
  transform: translateY(-1px);
}

.cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.cta-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.cta-icon.maps {
  width: 36px;
  height: 48px;
  margin-left: 4px;
  object-fit: contain;
}

.cta-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}

.cta-copy span {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.cta-copy strong {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-chevron {
  width: 8px;
  height: 8px;
  justify-self: end;
  border-right: 1.6px solid #fff;
  border-top: 1.6px solid #fff;
  transform: rotate(45deg);
  opacity: 0.92;
  transition: transform 0.25s ease;
}

.cta:hover .cta-chevron {
  transform: rotate(45deg) translate(1px, -1px);
}

.bar {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  min-height: 64px;
  padding: 14px 24px calc(14px + var(--safe-b)) calc(48px + var(--safe-l));
  background: rgba(8, 10, 12, 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bar-item {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  opacity: 0.96;
  transition: opacity 0.2s ease;
}

.bar-item:hover,
.bar-item:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bar-divider {
  width: 1px;
  height: 1.1em;
  background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 860px) {
  .slogan {
    padding: calc(18vh + var(--safe-t)) 24px 0 calc(22px + var(--safe-l));
  }

  .slogan p {
    font-size: clamp(36px, 9vw, 52px);
  }

  .hero img {
    object-position: 72% 46%;
  }

  .actions {
    left: 16px;
    right: 16px;
    bottom: calc(148px + var(--safe-b));
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cta {
    min-width: 0;
    width: 100%;
  }

  .bar {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 16px;
    min-height: 72px;
    padding-left: calc(16px + var(--safe-l));
    text-align: left;
  }

  .bar-item {
    font-size: 18px;
    white-space: normal;
  }

  .bar-divider {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta,
  .cta-chevron {
    transition: none;
  }
}
