/**
 * Budnavet brand layer for the marketing homepage (homepage/index.html).
 *
 * /assets is cached immutable for a year (server.js + CloudFront, which ignores
 * query strings), so after editing this file bump the .vN in its name and in
 * index.html - otherwise visitors keep the old copy.
 *
 * Loaded after the BizLand template's main.css and overrides it, so the
 * homepage speaks in the same voice as the platform itself: navy ink, cream
 * wells, thin gold rules, Spectral SC for display type and Archivo for
 * reading. The colour values mirror the buyer design layer in
 * public/css/auction-shared.css; fonts and figures come only from the
 * typography.css tokens, never from a family name here.
 *
 * Only index.html links this file. The other static pages in homepage/ still
 * render on plain main.css.
 */

/* ===========================================
   TOKENS
   =========================================== */

:root {
  --ink: #16202d;
  --ink-2: #364253;
  --ink-3: #566273;
  --navy: #16202d;
  --navy-2: #1f2b3b;
  --cream: #faf8f3;
  --cream-2: #f3efe4;
  --gold: #d4af37;
  --gold-soft: #e9d48a;
  --gold-ink: #8a6d12;           /* gold text on a light ground (5.1:1) */
  --gold-line: rgba(184, 148, 31, 0.5);
  --line: rgba(22, 32, 45, 0.1);
  --line-strong: rgba(22, 32, 45, 0.18);
  --live: #c23a2b;
  --sold: #1f5c43;
  --radius-card: 10px;
  --radius-control: 8px;
  --shadow-card: 0 1px 2px rgba(22, 32, 45, 0.04), 0 6px 20px rgba(22, 32, 45, 0.06);
  --shadow-card-hover: 0 2px 4px rgba(22, 32, 45, 0.05), 0 16px 40px rgba(22, 32, 45, 0.12);
  --shadow-lift: 0 30px 60px -20px rgba(10, 16, 26, 0.55);
  --ease: cubic-bezier(0.165, 0.84, 0.44, 1);

  /* Re-point the template's own variables */
  --default-font: var(--font-sans);
  --heading-font: var(--font-serif);
  --nav-font: var(--font-sans);
  --background-color: #ffffff;
  --default-color: var(--ink-2);
  --heading-color: var(--ink);
  --accent-color: var(--navy);
  --secondary-color: var(--gold);
  --surface-color: #ffffff;
  --nav-color: var(--ink-2);
  --nav-hover-color: var(--gold-ink);
  --nav-dropdown-hover-color: var(--gold-ink);
}

.light-background {
  --background-color: var(--cream);
  --surface-color: #ffffff;
}

body {
  font-family: var(--font-sans);
  color: var(--ink-2);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--ink);
}

a {
  color: var(--gold-ink);
}

a:hover {
  color: var(--ink);
}

::selection {
  background: var(--gold-soft);
  color: var(--ink);
}

section,
.section {
  padding: 96px 0;
}

@media (max-width: 767px) {
  section,
  .section {
    padding: 64px 0;
  }
}

/* ===========================================
   BUTTONS
   =========================================== */

.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-control);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}

.btn-brand:hover {
  transform: translateY(-1px);
}

.btn-brand i {
  transition: transform 0.25s var(--ease);
}

.btn-brand:hover i {
  transform: translateX(3px);
}

.btn-brand-gold {
  background: linear-gradient(180deg, #dcbc4f 0%, var(--gold) 55%, #c49f2c 100%);
  color: var(--ink);
  box-shadow: 0 8px 24px -8px rgba(212, 175, 55, 0.55);
}

.btn-brand-gold:hover {
  color: var(--ink);
  box-shadow: 0 12px 30px -8px rgba(212, 175, 55, 0.7);
}

.btn-brand-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250, 248, 243, 0.35);
}

.btn-brand-ghost:hover {
  color: var(--ink);
  background: var(--cream);
  border-color: var(--cream);
}

.btn-brand-navy {
  background: var(--navy);
  color: var(--cream);
}

.btn-brand-navy:hover {
  background: var(--navy-2);
  color: #fff;
}

.btn-brand-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-brand-outline:hover {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--cream);
}

/* ===========================================
   HEADER
   =========================================== */

.header {
  background: #fff;
}

.header .topbar {
  background-color: var(--navy);
  height: 36px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.header .topbar .contact-info i,
.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  color: rgba(250, 248, 243, 0.82);
}

.header .topbar .contact-info i::before {
  color: var(--gold);
}

.header .topbar .contact-info i a:hover {
  color: #fff;
}

.header .topbar .contact-info a[href^="tel:"]:hover {
  color: #fff;
}

.header .branding {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  min-height: 72px;
  /* No backdrop-filter here: it would make .branding the containing block
     for the mobile menu's position: fixed overlay, trapping it inside this
     72px bar (clipped under the hero). It blurred nothing anyway - the
     header behind it is opaque white. */
}

.scrolled .header {
  box-shadow: 0 8px 24px -16px rgba(22, 32, 45, 0.35);
}

.header .logo {
  gap: 12px;
  text-decoration: none;
}

.header .logo .logo-mark {
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.header .logo h1 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

@media (min-width: 1200px) {
  .navmenu a,
  .navmenu a:focus {
    position: relative;
    font-size: 15px;
    font-weight: 500;
    padding: 18px 16px;
  }

  .navmenu > ul > li > a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 10px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
  }

  .navmenu > ul > li > a.active::after,
  .navmenu > ul > li > a:hover::after {
    transform: scaleX(1);
  }

  .navmenu li:last-child a.nav-cta {
    margin-left: 12px;
    padding: 9px 20px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-control);
    color: var(--ink);
    transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
  }

  .navmenu li:last-child a.nav-cta:hover {
    border-color: var(--gold);
    background: var(--cream);
    color: var(--ink);
  }
}

/* Language switcher, on the navy top bar */
.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 12px;
}

.language-switcher select {
  background-color: transparent;
  border: 1px solid rgba(250, 248, 243, 0.3);
  color: rgba(250, 248, 243, 0.9);
  padding: 2px 26px 2px 12px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.6;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  box-shadow: none;
}

.language-switcher select:focus {
  border-color: var(--gold);
  box-shadow: none;
}

.language-switcher select option {
  color: #000;
}

.language-switcher::after {
  content: '\25BC';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.5rem;
  pointer-events: none;
  color: var(--gold);
}

/* ===========================================
   SECTION TITLES
   =========================================== */

.section-title {
  padding-bottom: 56px;
}

.section-title h2 {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  background: none;
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold-ink);
}

.section-title h2::before,
.section-title h2::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-line);
}

.section-title p {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

.section-title p .description-title {
  color: var(--gold-ink);
}

/* ===========================================
   HERO
   =========================================== */

.hero {
  min-height: 0;
  padding: 120px 0 180px;
  color: var(--cream);
  background: var(--navy) url("../img/hero-bg2.jpg") center right / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  background:
    radial-gradient(ellipse at 85% 20%, rgba(212, 175, 55, 0.12), transparent 55%),
    linear-gradient(100deg, rgba(16, 24, 35, 0.96) 0%, rgba(16, 24, 35, 0.86) 42%, rgba(16, 24, 35, 0.5) 100%);
}

/* Gold hairline where the hero meets the page */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
}

/* A stacking context, so the lot card's frame (z-index -1) sits behind the
   card rather than behind the hero's background */
.hero .container {
  z-index: 1;
}

.hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero .hero-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.005em;
  color: #fff;
}

.hero .hero-lead {
  margin: 28px 0 40px;
  max-width: 34rem;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(250, 248, 243, 0.78);
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero .hero-sidedoor {
  margin: 36px 0 0;
  padding-top: 20px;
  max-width: 34rem;
  border-top: 1px solid rgba(250, 248, 243, 0.14);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(250, 248, 243, 0.66);
}

.hero .hero-sidedoor a {
  white-space: nowrap;
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  transition: border-color 0.2s;
}

.hero .hero-sidedoor a:hover {
  border-color: var(--gold);
}

@media (max-width: 640px) {
  .hero {
    padding: 72px 0 140px;
  }

  .hero h1 {
    line-height: 1.05;
  }

  .hero .hero-lead {
    font-size: 17px;
  }

  .hero .hero-actions .btn-brand {
    flex: 1 1 100%;
  }
}

/* ---- The live lot card: a small, moving picture of the product ---- */

.lot-card {
  position: relative;
  max-width: 380px;
  margin-left: auto;
  padding: 28px 28px 20px;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lift);
  border-top: 3px solid var(--gold);
  font-variant-numeric: var(--numeric-tabular);
}

/* Offset gold frame behind the card */
.lot-card::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-card);
  z-index: -1;
}

.lot-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.lot-card-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(194, 58, 43, 0.1);
  color: var(--live);
  transition: background-color 0.3s, color 0.3s;
}

.lot-card-state .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: lot-pulse 1.6s ease-in-out infinite;
}

/* Expanding ring around the live dot */
.lot-card-state .dot {
  position: relative;
}

.lot-card-state .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid currentColor;
  animation: lot-ring 1.6s ease-out infinite;
}

.lot-card.is-sold .lot-card-state .dot::after {
  animation: none;
  opacity: 0;
}

/* The hammer falls: the state pill stamps in */
.lot-card.is-hammered .lot-card-state {
  animation: lot-stamp 0.5s var(--ease);
}

.lot-card.is-hammered .lot-card-amount {
  animation: lot-sold-glow 1.2s ease-out;
}

.lot-card.is-sold .lot-card-state {
  background: rgba(31, 92, 67, 0.12);
  color: var(--sold);
}

.lot-card.is-sold .lot-card-state .dot {
  animation: none;
}

@keyframes lot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes lot-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}

@keyframes lot-stamp {
  0% { transform: scale(1.6); opacity: 0; }
  60% { transform: scale(0.92); opacity: 1; }
  100% { transform: scale(1); }
}

@keyframes lot-sold-glow {
  0% { text-shadow: 0 0 0 rgba(31, 92, 67, 0); }
  30% { text-shadow: 0 0 18px rgba(31, 92, 67, 0.35); }
  100% { text-shadow: 0 0 0 rgba(31, 92, 67, 0); }
}

/* Lot change: the sold lot lifts away, the next one rises in */
.lot-card-head > span:first-child,
.lot-card-name,
.lot-card-meta,
.lot-card-amount,
.lot-card-history {
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.lot-card.is-changing .lot-card-head > span:first-child,
.lot-card.is-changing .lot-card-name,
.lot-card.is-changing .lot-card-meta,
.lot-card.is-changing .lot-card-amount,
.lot-card.is-changing .lot-card-history {
  opacity: 0;
  transform: translateY(-10px);
}

.lot-card.is-entering .lot-card-head > span:first-child,
.lot-card.is-entering .lot-card-name,
.lot-card.is-entering .lot-card-meta,
.lot-card.is-entering .lot-card-amount,
.lot-card.is-entering .lot-card-history {
  animation: lot-enter 0.6s var(--ease) both;
}

.lot-card.is-entering .lot-card-name { animation-delay: 0.05s; }
.lot-card.is-entering .lot-card-meta { animation-delay: 0.1s; }
.lot-card.is-entering .lot-card-amount { animation-delay: 0.15s; }
.lot-card.is-entering .lot-card-history { animation-delay: 0.2s; }

@keyframes lot-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.lot-card-name {
  margin: 20px 0 2px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}

.lot-card-meta {
  font-size: 14px;
  color: var(--ink-3);
}

.lot-card-bid {
  margin: 22px 0 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lot-card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.lot-card-amount {
  display: block;
  margin-top: 6px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  transform-origin: left bottom;
  transition: color 0.4s, opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.lot-card-amount.is-bumped {
  animation: lot-bump 0.9s linear;
}

.lot-card.is-sold .lot-card-amount {
  color: var(--sold);
}

/* A springy bounce with a brief gold flash on each new bid */
@keyframes lot-bump {
  0% { transform: translateY(0) scale(1); color: var(--ink); }
  25% { transform: translateY(-8px) scale(1.1); color: var(--gold-ink); }
  45% { transform: translateY(2px) scale(0.97); }
  62% { transform: translateY(-3px) scale(1.03); }
  78% { transform: translateY(1px) scale(0.99); }
  100% { transform: translateY(0) scale(1); color: var(--ink); }
}

.lot-card-history {
  list-style: none;
  margin: 0;
  padding: 0;
  /* Exactly three rows (36 + 37 + 37); the pushed-out fourth slides away under the clip */
  height: 110px;
  overflow: hidden;
}

.lot-card-history li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  font-size: 14px;
  line-height: 22px;
  color: var(--ink-3);
  transition: transform 0.75s var(--ease), opacity 0.6s ease, color 0.5s;
}

/* The newest bid glows gold for a moment after it lands */
.lot-card-history li.is-new {
  animation: lot-row-flash 1.4s ease-out;
}

.lot-card-history li.is-leaving {
  opacity: 0;
}

.lot-card-history li + li {
  border-top: 1px dashed var(--line);
}

.lot-card-history li:first-child {
  color: var(--ink);
  font-weight: 600;
}

.lot-card-history .who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lot-card-history .who i {
  font-size: 13px;
  color: var(--gold-ink);
}

@keyframes lot-row-flash {
  0% { background-color: rgba(212, 175, 55, 0.28); }
  100% { background-color: rgba(212, 175, 55, 0); }
}

@media (max-width: 991px) {
  .lot-card {
    margin: 24px auto 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lot-card-state .dot,
  .lot-card-state .dot::after,
  .lot-card-amount.is-bumped,
  .lot-card-history li {
    animation: none;
    transition: none;
  }
}

/* ===========================================
   PILLARS (featured services), lifted over the hero's lower edge
   =========================================== */

.featured-services {
  padding: 0 0 96px;
  background: var(--cream);
  overflow: visible; /* main.css clips sections; the card rises over the hero */
}

.featured-services > .container {
  position: relative;
  margin-top: -96px;
  z-index: 2;
}

.featured-services .row {
  --bs-gutter-y: 0;
  --bs-gutter-x: 0;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-hover);
  overflow: hidden;
}

.featured-services .row > [class*="col-"] + [class*="col-"] .service-item {
  border-left: 1px solid var(--line);
}

@media (max-width: 1199px) {
  .featured-services .row > [class*="col-"] .service-item {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .featured-services .row > [class*="col-"]:nth-child(even) .service-item {
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 767px) {
  .featured-services .row > [class*="col-"]:nth-child(even) .service-item {
    border-left: 0;
  }
}

.featured-services .service-item {
  width: 100%;
  padding: 40px 32px 34px;
  box-shadow: none;
  border-radius: 0;
  background: #fff;
  transition: background-color 0.3s var(--ease);
}

.featured-services .service-item::before {
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.featured-services .service-item:hover {
  transform: none;
  box-shadow: none;
  background: var(--cream);
}

.featured-services .service-item:hover::before {
  inset: 0 0 auto 0;
  background: var(--gold);
  transform: scaleX(1);
}

.featured-services .service-item .icon {
  margin-bottom: 18px;
}

.featured-services .service-item .icon i {
  font-size: 28px;
  color: var(--gold-ink);
}

.featured-services .service-item h4 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 12px;
}

.featured-services .service-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-3);
}

.featured-services .service-item:hover h4 a,
.featured-services .service-item:hover .icon i {
  color: var(--ink);
}

.featured-services .service-item:hover p {
  color: var(--ink-2);
}

/* ===========================================
   "VIEW THE SCREEN" HINTS on clickable cards
   Always visible and scoped to the cards (the old rule hid every .text-muted
   on the page, the auth modal's help text included).
   =========================================== */

.service-item {
  cursor: pointer;
}

.service-item .view-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-ink);
}

.service-item .view-hint::after {
  content: "\2192";
  transition: transform 0.25s var(--ease);
}

.service-item:hover .view-hint::after {
  transform: translateX(4px);
}

.service-item .view-hint i {
  display: none;
}

.service-item:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

/* ===========================================
   ABOUT
   =========================================== */

.about .about-image {
  position: relative;
  margin: 0 18px 18px 0;
}

.about .about-image::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-card);
}

.about .about-image img {
  position: relative;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-hover);
  filter: sepia(0.15) contrast(1.02);
}

.about .about-content h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.2;
}

.about .about-content .fst-italic {
  font-style: normal !important;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-2);
  padding-left: 20px;
  border-left: 2px solid var(--gold);
}

.about .about-content ul i {
  width: 52px;
  height: 52px;
  font-size: 20px;
  border-radius: var(--radius-control);
  background: var(--navy);
  color: var(--gold);
  box-shadow: none;
  margin-right: 20px;
}

.about .about-content ul h4 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
}

.about .about-content ul p {
  color: var(--ink-3);
  line-height: 1.6;
}

/* ===========================================
   SERVICES GRID
   =========================================== */

.services .service-item {
  height: 100%;
  text-align: left;
  padding: 34px 30px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.services .service-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold-line);
  box-shadow: var(--shadow-card-hover);
  background: #fff;
}

.services .service-item .icon {
  width: 52px;
  height: 52px;
  margin: 0 0 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-control);
  background: var(--navy);
  transition: background-color 0.3s var(--ease);
}

.services .service-item .icon::before,
.services .service-item .icon::after,
.services .service-item .icon svg {
  display: none;
}

.services .service-item .icon i {
  font-size: 22px;
  color: var(--gold);
  transition: color 0.3s var(--ease);
}

.services .service-item:hover .icon {
  background: var(--gold);
}

.services .service-item:hover .icon i {
  color: var(--navy);
}

.services .service-item h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 12px;
  border-bottom: 0;
  padding-bottom: 0;
}

.services .service-item:hover h3 {
  color: var(--ink);
  border-color: transparent;
}

.services .service-item p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-3);
  margin-bottom: 0;
}

/* ===========================================
   SHOWCASE: the live auction page, large, on navy
   =========================================== */

.showcase {
  background: var(--navy);
  color: rgba(250, 248, 243, 0.8);
  position: relative;
}

.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.1), transparent 60%);
  pointer-events: none;
}

.showcase .container {
  position: relative;
}

.showcase .section-title h2 {
  color: var(--gold);
}

.showcase .section-title p {
  color: #fff;
}

.showcase .section-title p .description-title {
  color: var(--gold);
}

/* The screenshot already carries its own browser chrome, so no frame here */
.showcase-frame {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

/* The JPG has a white margin and a baked-in shadow around the browser
   window. Crop to the window itself: it spans x 69-1851, y 46-1138 of the
   1920x1229 file. Percentage margins are relative to the wrapper's width. */
.showcase-window {
  display: block;
  aspect-ratio: 1783 / 1093;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(250, 248, 243, 0.08);
  transition: transform 0.5s var(--ease);
}

.showcase-window img {
  display: block;
  width: 107.684%;
  max-width: none;
  height: auto;
  margin: -2.58% 0 0 -3.87%;
}

.showcase-frame:hover .showcase-window {
  transform: translateY(-4px);
}

.showcase-frame:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
  border-radius: var(--radius-card);
}

.showcase-zoom {
  position: absolute;
  right: 5%;
  bottom: 7%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(22, 32, 45, 0.85);
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.showcase-zoom i {
  color: var(--gold);
}

.showcase-frame:hover .showcase-zoom,
.showcase-frame:focus-visible .showcase-zoom {
  opacity: 1;
  transform: none;
}

.showcase-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 48px;
  margin: 48px 0 0;
  padding: 0;
  font-size: 15px;
}

.showcase-points li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.showcase-points i {
  color: var(--gold);
  font-size: 18px;
}

@media (max-width: 767px) {
  .showcase-points {
    flex-direction: column;
    align-items: flex-start;
    max-width: 22rem;
    margin: 36px auto 0;
  }
}

/* ===========================================
   PRICING
   =========================================== */

.pricing {
  background: var(--cream);
}

.pricing .pricing-item {
  height: 100%;
  text-align: left;
  padding: 44px 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.pricing .pricing-item h3 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 14px;
  padding: 0;
  background: none;
}

.pricing .pricing-item h4 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.pricing .pricing-item ul {
  flex: 1;
  padding: 0;
  margin-bottom: 32px;
  text-align: left;
  font-size: 15px;
}

.pricing .pricing-item ul li {
  position: relative;
  padding: 7px 0 7px 26px;
  color: var(--ink-2);
  line-height: 1.5;
}

.pricing .pricing-item ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.pricing .btn-wrap {
  margin: 0;
  padding: 0;
  background: none;
  text-align: left;
}

.pricing .btn-buy {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  padding: 13px 24px;
  border-radius: var(--radius-control);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.25s var(--ease);
}

.pricing .btn-buy:hover {
  border-color: var(--gold);
  background: var(--cream);
  color: var(--ink);
}

.pricing .featured {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-lift);
  position: relative;
}

@media (min-width: 1200px) {
  .pricing .featured {
    transform: translateY(-16px);
  }
}

.pricing .featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 36px;
  right: 36px;
  height: 3px;
  background: var(--gold);
}

.pricing .featured h3 {
  background: none;
  color: var(--gold);
}

.pricing .featured h4 {
  color: #fff;
  border-color: rgba(250, 248, 243, 0.14);
}

.pricing .featured ul li {
  color: rgba(250, 248, 243, 0.82);
}

.pricing .featured .btn-buy {
  background: linear-gradient(180deg, #dcbc4f 0%, var(--gold) 55%, #c49f2c 100%);
  border-color: transparent;
  color: var(--ink);
}

.pricing .featured .btn-buy:hover {
  color: var(--ink);
  filter: brightness(1.05);
}

/* ===========================================
   FAQ
   =========================================== */

.faq {
  background: #fff;
}

.faq .faq-container .faq-item {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 26px 48px 26px 0;
  margin-bottom: 0;
}

.faq .faq-container .faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq .faq-container .faq-item h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.faq .faq-container .faq-item h3:hover,
.faq .faq-container .faq-active h3 {
  color: var(--ink);
}

.faq .faq-container .faq-item .faq-content p {
  color: var(--ink-3);
  line-height: 1.7;
  max-width: 62ch;
}

.faq .faq-container .faq-item .faq-toggle {
  top: 36px;
  right: 4px;
  color: var(--gold-ink);
}

.faq .faq-container .faq-active .faq-toggle {
  color: var(--gold-ink);
}

/* ===========================================
   CONTACT
   =========================================== */

.contact {
  background: var(--cream);
}

.contact .info-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: none;
  padding: 32px;
}

.contact .info-item i {
  width: 44px;
  height: 44px;
  font-size: 18px;
  border-radius: var(--radius-control);
  background: var(--navy);
  color: var(--gold);
}

.contact .info-item h3 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.contact .info-item p {
  color: var(--ink);
  font-size: 16px;
}

.contact .info-wrap iframe {
  border-radius: var(--radius-control);
  filter: grayscale(0.5) contrast(1.05);
}

.contact #contact-form {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: none;
}

.contact #contact-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.contact #contact-form .form-control,
#authModal .form-control,
#authModal .form-select {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
}

.contact #contact-form .form-control:focus,
#authModal .form-control:focus,
#authModal .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.contact #contact-form input[type=submit] {
  background: var(--navy);
  color: var(--cream);
  border: 0;
  padding: 14px 36px;
  border-radius: var(--radius-control);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color 0.25s var(--ease);
}

.contact #contact-form input[type=submit]:hover {
  background: var(--navy-2);
}

/* ===========================================
   FOOTER
   =========================================== */

.footer {
  background: var(--navy);
  color: rgba(250, 248, 243, 0.72);
  --heading-color: #fff;
  --default-color: rgba(250, 248, 243, 0.72);
  font-size: 15px;
}

.footer .footer-newsletter {
  background: var(--navy-2);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid rgba(250, 248, 243, 0.08);
  padding: 64px 0;
}

.footer .footer-newsletter h4 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #fff;
}

.footer .footer-newsletter p {
  color: rgba(250, 248, 243, 0.72);
}

.footer .footer-newsletter .newsletter-form {
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  overflow: hidden;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--gold);
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  border-radius: 6px;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: var(--gold-soft);
}

.footer .footer-top {
  padding-top: 56px;
}

.footer .footer-about .sitename {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

.footer h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer .footer-links ul i {
  color: var(--gold);
}

.footer .footer-contact a {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.footer .footer-links ul a,
.footer .footer-contact a {
  color: rgba(250, 248, 243, 0.72);
}

.footer .footer-links ul a:hover,
.footer .footer-contact a:hover {
  color: #fff;
}

.footer .footer-contact strong {
  color: #fff;
  font-weight: 600;
}

.footer .footer-bidders {
  padding-left: 32px;
  border-left: 1px solid rgba(250, 248, 243, 0.1);
}

.footer .footer-bidders p {
  max-width: 24rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  .footer .footer-bidders {
    padding-top: 24px;
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    border-left: 0;
    border-top: 1px solid rgba(250, 248, 243, 0.1);
  }
}

.btn-brand-footer {
  padding: 10px 20px;
  font-size: 14px;
  color: var(--cream);
  border-color: rgba(212, 175, 55, 0.5);
}

.btn-brand-footer:hover {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

.footer .copyright {
  border-top: 1px solid rgba(250, 248, 243, 0.08);
  padding: 24px 0;
  font-size: 13px;
}

.footer .copyright .sitename {
  color: #fff;
}

/* ===========================================
   SCROLL TOP, PRELOADER
   =========================================== */

.scroll-top {
  background-color: var(--navy);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-control);
}

.scroll-top i {
  color: var(--gold);
}

.scroll-top:hover {
  background-color: var(--navy-2);
}

#preloader div {
  background-color: var(--gold);
}

/* ===========================================
   MODALS (auth + screenshot)
   =========================================== */

#authModal .modal-content,
#screenshotModal .modal-content {
  border: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

#authModal .modal-header,
#screenshotModal .modal-header {
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding: 20px 24px;
}

#authModal .modal-title,
#screenshotModal .modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: #fff;
}

#authModal .modal-header .btn-close,
#screenshotModal .modal-header .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
}

#authModal .modal-body {
  padding: 28px 28px 20px;
}

#authModal .form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

#authModal .btn-primary {
  background: var(--navy);
  border-color: var(--navy);
  border-radius: var(--radius-control);
  padding: 12px 20px;
  font-weight: 600;
}

#authModal .btn-primary:hover,
#authModal .btn-primary:focus {
  background: var(--navy-2);
  border-color: var(--navy-2);
}

#authModal .modal-footer {
  background: var(--cream);
  border-top: 1px solid var(--line);
}

#authModal .modal-footer a {
  color: var(--gold-ink);
  font-weight: 600;
}

#screenshotModal .modal-dialog {
  max-width: 90vw;
  max-height: 90vh;
  margin: 1.75rem auto;
}

#screenshotModal .modal-content {
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

#screenshotModal .modal-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
  background: var(--cream);
}

#screenshotModal .modal-body img {
  max-width: 100%;
  max-height: calc(90vh - 200px); /* Reserve space for header and text */
  object-fit: contain;
  flex-shrink: 0;
}

#screenshotModal #modalDescription {
  flex-shrink: 0;
  min-height: 80px; /* Ensure space for text */
  max-height: 120px;
  overflow-y: auto;
  color: var(--ink-2);
}

/* Phone links look like their surroundings */
.contact-info a[href^="tel:"],
.info-item a[href^="tel:"],
.footer-contact a[href^="tel:"] {
  color: inherit;
  text-decoration: none;
}

/* Extended loading message for cold database starts */
.extended-loading-message {
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
