/* ==========================================================================
   ARK Marketing — Layout: Header · Hero · Footer · Page scaffolding
   ========================================================================== */

/* ---------- 1. Top utility bar ---------- */
.topbar {
  position: relative;
  z-index: 60;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  background: hsl(var(--ink-950));
  color: hsl(var(--cream-300) / 0.7);
  font-size: var(--fs-xs);
  border-bottom: 1px solid hsl(var(--ink-800));
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
}

.topbar__list {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  transition: color var(--t-fast) var(--ease-io);
  white-space: nowrap;
}
.topbar__item svg {
  width: 14px;
  height: 14px;
  color: hsl(var(--gold-400));
  flex: none;
}
a.topbar__item:hover {
  color: hsl(var(--gold-300));
}

.topbar__socials {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.topbar__socials a {
  display: inline-grid;
  place-items: center;
  color: hsl(var(--cream-300) / 0.6);
  transition: color var(--t-fast) var(--ease-io),
    transform var(--t-base) var(--ease-spring);
}
.topbar__socials a:hover {
  color: hsl(var(--gold-400));
  transform: translateY(-2px);
}
.topbar__socials svg {
  width: 15px;
  height: 15px;
}

.topbar__divider {
  width: 1px;
  height: 14px;
  background: hsl(var(--ink-700));
}

/* ---------- 2. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: hsl(0 0% 100% / 0.9);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--t-base) var(--ease-io),
    border-color var(--t-base) var(--ease-io),
    box-shadow var(--t-base) var(--ease-out),
    height var(--t-base) var(--ease-out);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  height: var(--header-h);
  transition: height var(--t-base) var(--ease-out);
}

/* Transparent variant used over hero imagery */
.header--transparent {
  position: absolute;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: hsl(var(--cream-50) / 0.14);
}

.header--transparent .brand__name {
  color: hsl(var(--cream-50));
}
.header--transparent .nav__link {
  color: hsl(var(--cream-100) / 0.86);
}
.header--transparent .nav__link:hover,
.header--transparent .nav__link.is-active {
  color: hsl(var(--gold-400));
}
.header--transparent .nav__link::after {
  background: hsl(var(--gold-400));
}
.header--transparent .burger span {
  background: hsl(var(--cream-50));
}

/* Once the page is scrolled, transparent headers solidify */
.header.is-stuck {
  position: sticky;
  background: hsl(var(--ink-950) / 0.86);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: hsl(var(--cream-50) / 0.1);
  box-shadow: 0 12px 40px -18px hsl(var(--ink-950) / 0.7);
}

.header.is-stuck:not(.header--transparent) {
  background: hsl(0 0% 100% / 0.94);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 34px -20px hsl(var(--ink-950) / 0.4);
}
.header.is-stuck:not(.header--transparent) .brand__name {
  color: hsl(var(--ink-950));
}
.header.is-stuck:not(.header--transparent) .nav__link {
  color: var(--text-muted);
}
.header.is-stuck:not(.header--transparent) .nav__link:hover,
.header.is-stuck:not(.header--transparent) .nav__link.is-active {
  color: hsl(var(--gold-600));
}
.header.is-stuck:not(.header--transparent) .nav__link::after {
  background: hsl(var(--gold-500));
}
.header.is-stuck:not(.header--transparent) .burger span {
  background: hsl(var(--ink-900));
}

.header.is-compact .header__inner {
  height: calc(var(--header-h) - 14px);
}

/* A transparent header lives inside the hero; once scrolled it pins to the viewport */
.header--transparent.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

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

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.header__phone svg {
  width: 17px;
  height: 17px;
  color: hsl(var(--gold-500));
}
.header--transparent .header__phone,
.header.is-stuck .header__phone {
  color: hsl(var(--cream-50));
}
.header.is-stuck:not(.header--transparent) .header__phone {
  color: hsl(var(--ink-900));
}

/* ---------- 3. Primary nav ---------- */
.nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(var(--sp-4), 2vw, var(--sp-6));
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.4rem 0;
  font-size: var(--fs-small);
  font-weight: 650;
  letter-spacing: 0.012em;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease-io);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: hsl(var(--gold-500));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-base) var(--ease-out);
}

.nav__link:hover {
  color: hsl(var(--ink-950));
}
.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__link.is-active {
  color: hsl(var(--gold-600));
  font-weight: 750;
}

.nav__link svg {
  width: 12px;
  height: 12px;
  opacity: 0.65;
  transition: transform var(--t-base) var(--ease-spring);
}

/* Dropdown */
.nav__item--has-menu {
  position: relative;
}

.nav__menu {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  z-index: 50;
  min-width: 268px;
  padding: var(--sp-3);
  border-radius: var(--r-md);
  background: hsl(0 0% 100%);
  border: 1px solid var(--border);
  box-shadow: var(--sh-xl);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-50%, 10px, 0);
  transition: opacity var(--t-base) var(--ease-io),
    transform var(--t-base) var(--ease-out),
    visibility var(--t-base);
}

/* Invisible hover bridge so the menu doesn't close in the gap */
.nav__menu::before {
  content: "";
  position: absolute;
  inset: -1rem 0 auto 0;
  height: 1rem;
}

.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translate3d(-50%, 0, 0);
}
.nav__item--has-menu:hover .nav__link > svg {
  transform: rotate(180deg);
}

.nav__menu a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.7rem 0.85rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--text-muted);
  transition: background-color var(--t-fast) var(--ease-io),
    color var(--t-fast) var(--ease-io),
    transform var(--t-fast) var(--ease-out);
}
.nav__menu a:hover {
  background: hsl(var(--gold-100) / 0.7);
  color: hsl(var(--ink-950));
  transform: translateX(3px);
}
.nav__menu a svg {
  width: 17px;
  height: 17px;
  color: hsl(var(--gold-600));
  flex: none;
}
.nav__menu a small {
  display: block;
  font-size: var(--fs-micro);
  font-weight: 500;
  color: var(--text-subtle);
}
.nav__menu-label {
  padding: 0.5rem 0.85rem 0.3rem;
  font-size: var(--fs-micro);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--text-subtle);
}

/* ---------- 4. Burger + mobile drawer ---------- */
.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  place-items: center;
  gap: 5px;
  flex-direction: column;
  z-index: 120;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: hsl(var(--ink-900));
  transition: transform var(--t-base) var(--ease-spring),
    opacity var(--t-fast) var(--ease-io),
    width var(--t-base) var(--ease-out);
}
.burger span:nth-child(2) {
  width: 15px;
}
.burger:hover span:nth-child(2) {
  width: 22px;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 22px;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  background: var(--grad-ink);
  color: hsl(var(--cream-200));
  padding: calc(var(--header-h) + var(--sp-6)) var(--gutter) var(--sp-6);
  overflow-y: auto;
  transform: translate3d(100%, 0, 0);
  visibility: hidden;
  transition: transform 0.55s var(--ease-out), visibility 0.55s;
}
.drawer.is-open {
  transform: none;
  visibility: visible;
}

.drawer__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  border-bottom: 1px solid hsl(var(--ink-700));
  padding-bottom: var(--sp-5);
}
.drawer__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: hsl(var(--cream-100));
  opacity: 0;
  transform: translate3d(24px, 0, 0);
  transition: color var(--t-fast) var(--ease-io);
}
.drawer.is-open .drawer__list a {
  animation: fade-in-up 0.5s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 55ms + 120ms);
}
.drawer__list a:hover,
.drawer__list a.is-active {
  color: hsl(var(--gold-400));
}
.drawer__list a svg {
  width: 18px;
  height: 18px;
  opacity: 0.45;
}

.drawer__sub {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-block: var(--sp-5);
}

.drawer__foot {
  margin-top: auto;
  padding-top: var(--sp-6);
  display: grid;
  gap: var(--sp-4);
}
.drawer__contact {
  display: grid;
  gap: var(--sp-3);
}
.drawer__contact a {
  display: flex;
  align-items: center;
  gap: 0.75em;
  font-size: var(--fs-small);
  color: hsl(var(--cream-300) / 0.76);
}
.drawer__contact svg {
  width: 17px;
  height: 17px;
  color: hsl(var(--gold-500));
  flex: none;
}
.drawer__socials {
  display: flex;
  gap: var(--sp-2);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: hsl(var(--ink-950) / 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-slow) var(--ease-io), visibility var(--t-slow);
}
.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1080px) {
  .nav,
  .header__phone {
    display: none;
  }
  .burger {
    display: flex;
  }
}

@media (max-width: 720px) {
  .topbar__list .topbar__item--hide-sm {
    display: none;
  }
}

@media (max-width: 640px) {
  .topbar__socials {
    display: none;
  }
  .topbar__inner {
    gap: var(--sp-3);
  }
  .topbar__list:first-child {
    flex: 1 1 auto;
    min-width: 0;
  }
  .topbar__list:first-child .topbar__item {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar__list:last-child {
    flex: none;
  }
}

@media (max-width: 480px) {
  .header__actions .btn {
    display: none;
  }
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: hsl(var(--ink-950));
  color: hsl(var(--cream-100));
}

.hero__media {
  position: absolute;
  inset: -6rem 0;
  z-index: -3;
}
/* The <picture> wrapper must fill, otherwise the img's percentage height
   resolves against an auto-height parent and the photo collapses on mobile. */
.hero__media picture,
.cta-band__bg picture,
.page-hero__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--grad-hero);
}
.hero__scrim--bottom {
  inset: auto 0 0 0;
  height: min(60%, 460px);
  background: linear-gradient(to top, hsl(var(--ink-950) / 0.92), transparent);
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.32;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  width: 100%;
  padding-bottom: clamp(var(--sp-6), 6vw, var(--sp-9));
  padding-top: calc(
    var(--header-h) + var(--topbar-h) + clamp(var(--sp-6), 6vw, var(--sp-8))
  );
}

.hero__content {
  max-width: 47rem;
}

.hero__content > * + * {
  margin-top: var(--sp-5);
}

.hero h1 {
  color: hsl(var(--cream-50));
  font-weight: 600;
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  background: var(--grad-aqua);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 40rem;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: var(--lh-loose);
  color: hsl(var(--cream-200) / 0.82);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6) !important;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4) var(--sp-6);
  margin-top: var(--sp-7) !important;
  padding-top: var(--sp-5);
  border-top: 1px solid hsl(var(--cream-50) / 0.14);
}

.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: hsl(var(--cream-200) / 0.72);
}
.hero__meta-item svg {
  width: 16px;
  height: 16px;
  color: hsl(var(--gold-400));
  flex: none;
}

.hero__cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(var(--sp-6), 6vw, var(--sp-9));
}

/* Two-column hero: headline left, search panel right, meta spanning below */
@media (min-width: 1001px) {
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: clamp(2.5rem, 4.5vw, 5rem);
    padding-bottom: clamp(var(--sp-7), 7vw, var(--sp-9));
  }
  .hero__content {
    max-width: none;
  }
  .search-panel {
    margin-top: 0;
    max-width: none;
  }
  .hero__meta {
    grid-column: 1 / -1;
    margin-top: var(--sp-6) !important;
  }
  .hero__cue {
    display: none;
  }
}

/* ---------- 6. Hero search panel ---------- */
.search-panel {
  margin-top: var(--sp-7);
  padding: var(--sp-4);
  border-radius: var(--r-xl);
  background: hsl(0 0% 100% / 0.94);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid hsl(0 0% 100% / 0.6);
  box-shadow: var(--sh-xl);
  max-width: 62rem;
}

.search-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-4);
  padding-inline: var(--sp-2);
}

.search-panel__title {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--text-muted);
}

.search-panel__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr auto;
  gap: var(--sp-3);
  align-items: end;
}

.search-panel .btn {
  align-self: end;
  height: 50px;
  min-height: 50px;
  padding-inline: 1.6rem;
}

.search-panel__hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-3);
  margin-top: var(--sp-4);
  padding-inline: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--text-subtle);
}
.search-panel__hint button {
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-pill);
  background: hsl(var(--cream-200) / 0.7);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  transition: background-color var(--t-fast) var(--ease-io),
    color var(--t-fast) var(--ease-io);
}
.search-panel__hint button:hover {
  background: hsl(var(--gold-500));
  color: hsl(var(--ink-950));
}

@media (max-width: 1000px) {
  .search-panel__grid {
    grid-template-columns: 1fr 1fr;
  }
  .search-panel__grid .btn {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .search-panel {
    padding: var(--sp-3);
    border-radius: var(--r-lg);
  }
  .search-panel__grid {
    grid-template-columns: 1fr;
  }
  .hero__cue {
    display: none;
  }
}

/* ---------- 7. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(var(--sp-8), 8vw, var(--sp-10)) clamp(var(--sp-7), 6vw, var(--sp-8));
  background: var(--grad-ink);
  color: hsl(var(--cream-200));
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.34;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      100deg,
      hsl(var(--ink-950) / 0.94) 0%,
      hsl(var(--ink-950) / 0.6) 55%,
      hsl(var(--ink-950) / 0.35) 100%
    ),
    radial-gradient(
      70% 90% at 82% 12%,
      hsl(var(--gold-500) / 0.16),
      transparent 62%
    );
}
.page-hero__inner {
  display: grid;
  gap: var(--sp-5);
}
.page-hero h1 {
  color: hsl(var(--cream-50));
  font-size: var(--fs-display-2);
}
.page-hero .lead {
  max-width: 48rem;
  color: hsl(var(--cream-200) / 0.76);
}
.page-hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid hsl(var(--cream-50) / 0.12);
}

/* Decorative arc used on page heroes */
.page-hero__arc {
  position: absolute;
  z-index: -1;
  right: -14rem;
  top: -18rem;
  width: 42rem;
  height: 42rem;
  border-radius: var(--r-pill);
  border: 1px solid hsl(var(--gold-500) / 0.2);
  pointer-events: none;
}
.page-hero__arc::after {
  content: "";
  position: absolute;
  inset: 4rem;
  border-radius: var(--r-pill);
  border: 1px solid hsl(var(--gold-500) / 0.14);
}

/* ---------- 8. Footer ---------- */
.footer {
  position: relative;
  background: hsl(var(--ink-950));
  color: hsl(var(--cream-300) / 0.7);
  font-size: var(--fs-small);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    hsl(var(--gold-500) / 0.55),
    transparent
  );
}

.footer__glow {
  position: absolute;
  left: 50%;
  top: -22rem;
  width: 62rem;
  height: 44rem;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    hsl(var(--emerald-600) / 0.16),
    transparent 68%
  );
  pointer-events: none;
}

.footer__main {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1.4fr;
  gap: clamp(var(--sp-6), 4vw, var(--sp-8));
  padding-block: clamp(var(--sp-8), 7vw, var(--sp-9));
}

.footer__brand-col p {
  margin-top: var(--sp-5);
  max-width: 34ch;
  line-height: var(--lh-loose);
  color: hsl(var(--cream-300) / 0.6);
}

.footer__socials {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}

.footer h4 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: hsl(var(--cream-50));
  margin-bottom: var(--sp-5);
  position: relative;
  padding-bottom: var(--sp-3);
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
}

.footer__links {
  display: grid;
  gap: var(--sp-3);
}
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: hsl(var(--cream-300) / 0.66);
  transition: color var(--t-fast) var(--ease-io),
    transform var(--t-base) var(--ease-out);
}
.footer__links a::before {
  content: "";
  width: 0;
  height: 1px;
  background: hsl(var(--gold-400));
  transition: width var(--t-base) var(--ease-out);
}
.footer__links a:hover {
  color: hsl(var(--gold-300));
  transform: translateX(4px);
}
.footer__links a:hover::before {
  width: 12px;
}

.footer__contact {
  display: grid;
  gap: var(--sp-4);
}
.footer__contact-item {
  display: flex;
  gap: 0.85em;
  line-height: 1.6;
}
.footer__contact-item svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 0.2em;
  color: hsl(var(--gold-500));
}
.footer__contact-item a:hover {
  color: hsl(var(--gold-300));
}

.newsletter {
  margin-top: var(--sp-5);
}
.newsletter p {
  margin-bottom: var(--sp-3);
  color: hsl(var(--cream-300) / 0.6);
  font-size: var(--fs-xs);
  line-height: 1.6;
}
.newsletter__form {
  display: flex;
  gap: var(--sp-2);
  padding: 4px;
  border-radius: var(--r-pill);
  background: hsl(var(--ink-850));
  border: 1px solid hsl(var(--ink-700));
  transition: border-color var(--t-fast) var(--ease-io);
}
.newsletter__form:focus-within {
  border-color: hsl(var(--gold-500) / 0.6);
}
.newsletter__form input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 1rem;
  background: transparent;
  border: 0;
  color: hsl(var(--cream-100));
  font-size: var(--fs-small);
}
.newsletter__form input::placeholder {
  color: hsl(var(--cream-300) / 0.4);
}
.newsletter__form input:focus {
  outline: none;
}
.newsletter__form button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: var(--r-pill);
  background: var(--grad-gold);
  color: hsl(var(--cream-50));
  transition: transform var(--t-base) var(--ease-spring),
    box-shadow var(--t-base) var(--ease-out);
}
.newsletter__form button:hover {
  transform: scale(1.07);
  box-shadow: var(--sh-gold);
}
.newsletter__form svg {
  width: 17px;
  height: 17px;
}
.newsletter__note {
  margin-top: var(--sp-3);
  font-size: var(--fs-micro);
  color: hsl(var(--cream-300) / 0.42);
}
.newsletter__note.is-ok {
  color: hsl(var(--emerald-200));
}

.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  border-top: 1px solid hsl(var(--ink-800));
  font-size: var(--fs-xs);
  color: hsl(var(--cream-300) / 0.5);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}
.footer__legal a:hover {
  color: hsl(var(--gold-300));
}
.footer__legal span {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.footer__watermark {
  position: absolute;
  left: 50%;
  bottom: -0.16em;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(4rem, 17vw, 15rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  color: hsl(var(--cream-50) / 0.028);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 1100px) {
  .footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__brand-col {
    grid-column: 1 / -1;
  }
}
@media (max-width: 620px) {
  .footer__main {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer__legal {
    justify-content: center;
  }
}

/* ---------- 9. Floating action buttons ---------- */
.fab-stack {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: center;
}

.fab {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-lg);
  transition: transform var(--t-base) var(--ease-spring),
    box-shadow var(--t-base) var(--ease-out);
}
.fab svg {
  width: 23px;
  height: 23px;
}
.fab:hover {
  transform: translateY(-3px) scale(1.05);
}

.fab--whatsapp {
  background: hsl(142 62% 38%);
  color: hsl(0 0% 100%);
}
.fab--whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-pill);
  border: 2px solid hsl(142 62% 46%);
  animation: pulse-ring 2.6s var(--ease-out) infinite;
}

.fab--top {
  background: hsl(var(--ink-900));
  color: hsl(var(--cream-50));
  border: 1px solid hsl(var(--ink-700));
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity var(--t-base) var(--ease-io),
    transform var(--t-base) var(--ease-out),
    visibility var(--t-base);
}
.fab--top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.fab--top:hover {
  background: var(--grad-gold);
  color: hsl(var(--cream-50));
  transform: translateY(-3px);
}

@media (max-width: 640px) {
  .fab-stack {
    right: var(--sp-4);
    bottom: var(--sp-4);
  }
  .fab {
    width: 48px;
    height: 48px;
  }
}

/* ---------- 10. Utility layout blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-6), 5vw, var(--sp-9));
  align-items: center;
}
.split--40-60 {
  grid-template-columns: 2fr 3fr;
}
.split--60-40 {
  grid-template-columns: 3fr 2fr;
}
.split--top {
  align-items: start;
}

@media (max-width: 900px) {
  .split,
  .split--40-60,
  .split--60-40 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Sticky two-column (content scrolls beside a pinned visual) */
.sticky-col {
  position: sticky;
  top: calc(var(--header-h) + var(--sp-6));
}

@media (max-width: 900px) {
  .sticky-col {
    position: relative;
    top: auto;
  }
}
