/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color var(--ease-fast),
    color var(--ease-fast),
    border-color var(--ease-fast),
    opacity var(--ease-fast);
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn-block {
  width: 100%;
}

/* Header — transparent on hero, solid after scroll (Bite-like) */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  color: #fff;
  transition:
    background var(--ease),
    border-color var(--ease),
    height var(--ease),
    color var(--ease);
}

.site-header .logo__sub,
.site-header .nav-desktop a {
  color: rgba(255, 255, 255, 0.82);
}

.site-header .nav-desktop a:hover,
.site-header .nav-desktop a.is-active {
  color: #fff;
}

.site-header .header__enquiry {
  background: #fff;
  color: var(--ink);
}

.site-header .header__enquiry:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: transparent;
}

.site-header .menu-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.site-header .menu-toggle span {
  background: #fff;
}

.site-header.is-scrolled {
  background: rgba(248, 248, 248, 0.96);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  height: 64px;
  color: var(--ink);
}

.site-header.is-scrolled .logo__sub,
.site-header.is-scrolled .nav-desktop a {
  color: var(--ink);
}

.site-header.is-scrolled .nav-desktop a:hover,
.site-header.is-scrolled .nav-desktop a.is-active {
  color: var(--accent);
}

.site-header.is-scrolled .header__enquiry {
  background: var(--ink);
  color: var(--bg);
}

.site-header.is-scrolled .header__enquiry:hover {
  background: var(--accent);
  color: #fff;
}

.site-header.is-scrolled .menu-toggle {
  background: var(--surface);
  border-color: var(--line);
}

.site-header.is-scrolled .menu-toggle span {
  background: var(--ink);
}

.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-self: start;
}

.logo__img {
  display: block;
  height: 2rem;
  width: auto;
  max-width: 10.5rem;
  object-fit: contain;
  object-position: left center;
}

.logo__mark {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo__sub {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.nav-desktop {
  display: none;
  gap: 1.6rem;
  justify-content: center;
}

.nav-desktop a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--ease-fast);
}

.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.header__enquiry {
  display: none;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--ease-fast), opacity var(--ease-fast);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 auto;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--ease),
    opacity 0.2s ease-in-out;
  z-index: 70;
}

.nav-mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

/* Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.tab {
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color var(--ease-fast),
    color var(--ease-fast),
    background var(--ease-fast);
}

.tab.is-active,
.tab:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* Product card */
.product-card {
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color var(--ease-fast), transform var(--ease-fast);
}

.product-card:hover {
  border-color: var(--ink);
}

.product-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
}

.product-card__cta {
  display: grid;
  gap: 0.5rem;
  padding: 0 1rem 1.15rem;
}

.product-card__media {
  aspect-ratio: 1;
  background: var(--bg-soft);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.06);
}

.product-card__body {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.product-card__title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card__desc {
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
}

.product-card .btn {
  margin-top: 0.4rem;
}

/* FAQ */
.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
}

.faq-item__icon {
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
  flex-shrink: 0;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform var(--ease-fast), opacity var(--ease-fast);
}

.faq-item__icon::before {
  inset: 50% 0 auto;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq-item__icon::after {
  inset: 0 auto 0 50%;
  width: 1.5px;
  transform: translateX(-50%);
}

.faq-item.is-open .faq-item__icon::after {
  opacity: 0;
}

.faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--ease);
}

.faq-item.is-open .faq-item__panel {
  max-height: 240px;
}

.faq-item__panel p {
  padding: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Forms & modal */
.form-grid {
  display: grid;
  gap: 0.75rem;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink);
}

.form-grid input:focus,
.form-grid textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.88rem;
  color: var(--accent);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 18, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 120;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal {
  background: var(--surface);
  width: min(100%, 480px);
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.modal h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .header__enquiry {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }
}