/* Field Archive — HOBBE layout (full-width header + hero)
 * Brand palette comes from BrandColors (:root --fa-*). Defaults below are fallbacks. */
:root {
  --fa-primary: #918a6c;
  --fa-primary-dark: #6b6551;
  --fa-cream: #f1ebdf;
  --fa-sage: var(--fa-primary);
  --fa-coastal: var(--fa-cream);
  --fa-sandstone: var(--fa-primary);
  --fa-anchor: var(--fa-primary-dark);
  --fa-horizon: #7D8FA6;
  --fa-panel: var(--fa-primary-dark);
  --fa-panel-mid: var(--fa-primary-dark);
}

body.fa-hobbe-home,
.layout-navbar-fixed.fa-hobbe-home {
  background: var(--fa-coastal) !important;
}
.fa-hobbe-home .layout-navbar,
.fa-hobbe-home nav.layout-navbar {
  display: none !important;
}
.fa-hobbe-home .layout-navbar-fixed {
  padding-top: 0 !important;
}

/* ── Header (HOBBE) ── */
.fa-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
  background: var(--fa-coastal);
  border-bottom: 1px solid rgba(47, 59, 46, 0.06);
}
.fa-topbar__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 18px clamp(16px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
}
.fa-topbar__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  flex-wrap: wrap;
}
.fa-topbar__links a {
  color: var(--fa-panel);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "El Messiri", sans-serif;
  white-space: nowrap;
}
.fa-topbar__links a:hover { color: var(--fa-sandstone); }
.fa-topbar__brand {
  justify-self: center;
  text-align: center;
  text-decoration: none !important;
  color: var(--fa-panel) !important;
  font-weight: 800;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
  font-family: "El Messiri", sans-serif;
}
.fa-topbar__brand span {
  display: block;
  font-size: 0.42em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fa-sandstone);
  margin-top: 4px;
  font-weight: 600;
}
.fa-topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.fa-topbar__actions a.fa-topbar__link {
  color: var(--fa-panel);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: "El Messiri", sans-serif;
}
.fa-topbar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--fa-panel);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  font-family: "El Messiri", sans-serif;
  transition: transform 0.25s ease, background 0.25s ease;
}
.fa-topbar__btn:hover {
  background: #243026;
  transform: translateY(-1px);
  color: #fff !important;
}
.fa-topbar__btn--ghost {
  background: transparent;
  color: var(--fa-panel) !important;
  border: 2px solid var(--fa-panel);
  padding: 8px 18px;
}
.fa-topbar__btn--ghost:hover {
  background: var(--fa-panel);
  color: #fff !important;
}
.fa-topbar__lang {
  display: inline-flex;
  gap: 4px;
  margin-inline-end: 4px;
}
.fa-topbar__lang a {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  color: var(--fa-panel);
}
.fa-topbar__lang a.is-active {
  background: var(--fa-panel);
  color: #fff !important;
}
.fa-topbar__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--fa-panel);
  text-decoration: none !important;
  font-size: 1.35rem;
  line-height: 1;
}
.fa-topbar__cart:hover { color: var(--fa-panel); }
.fa-topbar__cart-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #c4553a;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

/* ── Hero full-bleed ── */
#hero-animation,
#landingHero,
.fa-hero {
  background: var(--fa-coastal);
  padding: 0 12px 28px;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.fa-hero__panel {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  min-height: min(78vh, 680px);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(157,160,122,0.22), transparent 70%),
    linear-gradient(160deg, #455040 0%, var(--fa-panel-mid) 42%, var(--fa-panel) 100%);
  color: var(--fa-coastal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px clamp(20px, 5vw, 72px) 64px;
  isolation: isolate;
  box-sizing: border-box;
}
.fa-hero__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  z-index: 0;
}
.fa-hero__stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(8px, 2vw, 36px);
  margin: 0 0 18px;
}
.fa-hero__word {
  margin: 0;
  font-size: clamp(1.7rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #fff;
  font-family: "El Messiri", sans-serif;
}
.fa-hero__word.is-end { text-align: start; }
.fa-hero__word.is-start { text-align: end; }
[dir="rtl"] .fa-hero__word.is-end { text-align: end; }
[dir="rtl"] .fa-hero__word.is-start { text-align: start; }
.fa-hero__pets {
  width: clamp(190px, 34vw, 360px);
  height: clamp(160px, 30vw, 300px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.28));
  animation: faPetsFloat 4.5s ease-in-out infinite;
}
.fa-hero__pets img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  user-select: none;
  pointer-events: none;
}
@keyframes faPetsFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.fa-hero__sub {
  position: relative;
  z-index: 1;
  max-width: 480px;
  text-align: center;
  font-size: clamp(0.95rem, 1.6vw, 1.12rem);
  color: rgba(243,239,230,0.9);
  margin: 0 0 28px;
  line-height: 1.65;
  font-family: "El Messiri", sans-serif;
}
.fa-hero__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 38px;
  background: var(--fa-coastal);
  color: var(--fa-panel) !important;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  border: none;
  border-radius: 48% 52% 50% 50% / 40% 42% 58% 60%;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  transition: transform 0.35s ease, background 0.25s ease;
  animation: faCtaPulse 3.2s ease-in-out infinite;
  font-family: "El Messiri", sans-serif;
  text-transform: uppercase;
}
.fa-hero__cta:hover {
  background: var(--fa-sandstone);
  color: var(--fa-panel) !important;
  transform: translateY(-2px) scale(1.02);
}
@keyframes faCtaPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(0,0,0,0.22); }
  50% { box-shadow: 0 14px 36px rgba(201,168,124,0.35); }
}
.fa-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(243,239,230,0.55);
  background: rgba(243,239,230,0.12);
  color: var(--fa-coastal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(4px);
}
.fa-hero__arrow:hover {
  background: var(--fa-coastal);
  color: var(--fa-panel);
  border-color: var(--fa-coastal);
  transform: translateY(-50%) scale(1.06);
}
.fa-hero__arrow--prev { left: clamp(10px, 2vw, 28px); }
.fa-hero__arrow--next { right: clamp(10px, 2vw, 28px); }
[dir="rtl"] .fa-hero__arrow--prev { left: auto; right: clamp(10px, 2vw, 28px); }
[dir="rtl"] .fa-hero__arrow--next { right: auto; left: clamp(10px, 2vw, 28px); }
.fa-hero__dots {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  margin-top: 26px;
}
.fa-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(243,239,230,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
}
.fa-hero__dot.is-active {
  background: var(--fa-sandstone);
  transform: scale(1.25);
}
.fa-hero__slide { display: none; width: 100%; }
.fa-hero__slide.is-active {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: faHeroIn 0.55s ease;
}
@keyframes faHeroIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fa-topbar__menu {
  display: none;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.fa-topbar__menu span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--fa-panel);
}
.fa-topbar__drawer-auth { display: none; }
.fa-account { position: relative; }
.fa-account__avatar {
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: var(--fa-primary-dark); color: var(--fa-cream);
  font-weight: 800; font-family: inherit; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.fa-account__menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 1100;
  min-width: 11.5rem; padding: 8px; background: #fff;
  border: 1px solid rgba(107, 101, 81, .16); border-radius: 14px;
  box-shadow: 0 12px 30px rgba(47, 59, 46, .12);
}
.fa-account__menu[hidden] { display: none; }
.fa-account__menu a,
.fa-account__menu button {
  display: block; width: 100%; text-align: start; background: transparent;
  border: 0; border-radius: 10px; padding: 10px 12px; cursor: pointer;
  color: var(--fa-primary-dark); font-weight: 700; font-family: inherit;
  text-decoration: none; white-space: nowrap;
}
.fa-account__menu a:hover,
.fa-account__menu button:hover { background: var(--fa-cream); }
@media (max-width: 900px) {
  .fa-topbar__menu { display: inline-flex; }
  .fa-topbar__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    padding: 12px 14px;
    gap: 8px;
  }
  .fa-topbar__brand { font-size: 1.25rem; justify-self: center; }
  .fa-topbar__actions { flex-wrap: nowrap; gap: 8px; }
  .fa-topbar__actions .fa-topbar__link,
  .fa-topbar__actions .fa-topbar__btn { display: none; }
  .fa-topbar__links {
    display: none;
    position: absolute;
    z-index: 30;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: var(--fa-coastal);
    border-bottom: 1px solid rgba(47, 59, 46, 0.08);
    box-shadow: 0 16px 30px rgba(47, 59, 46, 0.08);
  }
  .fa-topbar.is-open .fa-topbar__links { display: flex; }
  .fa-topbar__links a {
    padding: 11px 4px;
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: none;
  }
  .fa-topbar__drawer-auth {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(47, 59, 46, 0.08);
  }
  .fa-topbar__drawer-auth .fa-topbar__btn { width: 100%; }
  .fa-topbar__drawer-auth:not(:has(a, button)) { display: none; }
}
@media (max-width: 767px) {
  .fa-hero { padding: 0 8px 18px; }
  .fa-hero__panel {
    min-height: auto;
    border-radius: 22px;
    padding: 40px 16px 48px;
  }
  .fa-hero__stage {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 10px;
  }
  .fa-hero__word,
  .fa-hero__word.is-start,
  .fa-hero__word.is-end,
  [dir="rtl"] .fa-hero__word.is-start,
  [dir="rtl"] .fa-hero__word.is-end {
    text-align: center;
  }
  .fa-hero__pets {
    order: -1;
    height: 180px;
    width: 230px;
  }
  .fa-hero__arrow { display: none; }
}
