/* =============================================================
   Hornets-Tech — Encoders / Decoders / IPTV
   Reference stylesheet for Wix rebuild.

   Each block below maps 1-to-1 to a section in index.html and to
   a Wix strip / repeater. Colours, fonts and spacing are listed
   at the top so a colleague can re-enter the same values in Wix.
   ============================================================= */

/* -------------------------------------------------------------
   DESIGN TOKENS
   In Wix: Site Design > Colours / Fonts. Use the same hex values.
   ------------------------------------------------------------- */
:root {
  --c-bg:        #0b0b0d;       /* page background, footer */
  --c-surface:   #ffffff;       /* card surface */
  --c-surface-2: #f5f5f7;       /* alt section background */
  --c-text:      #14161a;       /* primary text */
  --c-text-mute: #5b6068;       /* secondary text */
  --c-border:    #e6e7eb;       /* hairlines */
  --c-accent:    #f5b400;       /* hornet amber — buttons, highlight */
  --c-accent-2:  #1a1a1a;       /* deep black for hero text */

  --font-display: "League Spartan", "Lato", system-ui, sans-serif;
  --font-body:    "Lato", system-ui, -apple-system, sans-serif;

  --radius-card: 14px;
  --radius-btn:  999px;

  --shadow-card:       0 1px 2px rgba(20,22,26,.04), 0 6px 24px rgba(20,22,26,.06);
  --shadow-card-hover: 0 2px 6px rgba(20,22,26,.06), 0 18px 48px rgba(20,22,26,.14);
}

/* -------------------------------------------------------------
   RESET & BASE
   ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* -------------------------------------------------------------
   BUTTONS  (Wix: Button preset — primary / ghost)
   ------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn--primary { background: var(--c-accent); color: #111; }
.btn--primary:hover { background: #ffc827; transform: translateY(-1px); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.85); color: #fff; }
.btn--ghost:hover { background: #fff; color: #111; }

/* -------------------------------------------------------------
   SECTION 1 — HEADER
   Wix: Header strip, sticky, white background, max-width 1200px row.
   ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px;
}
.brand img { height: 36px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--c-text);
}
.nav a:hover { color: var(--c-accent); }
.nav__cta {
  background: var(--c-accent-2);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
}
.nav__cta:hover { background: var(--c-accent); color: #111 !important; }

/* -------------------------------------------------------------
   SECTION 2 — HERO
   Wix: Strip, full-width, background image with dark overlay.
   ------------------------------------------------------------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(8,8,10,.55) 0%, rgba(8,8,10,.85) 100%),
    url("assets/hero-data-centre.png");
  background-size: cover;
  background-position: center;
}
.hero__inner { padding: 120px 24px 140px; max-width: 880px; text-align: left; }
.eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--c-accent); font-weight: 700;
  padding: 6px 12px; border: 1px solid var(--c-accent); border-radius: 999px;
  margin-bottom: 28px;
}
.hero__title {
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 800;
  margin-bottom: 24px;
}
.hero__title span { color: var(--c-accent); }
.hero__lede {
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 640px;
  color: rgba(255,255,255,.88);
  margin-bottom: 36px;
}
.hero__lede strong { color: #fff; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* -------------------------------------------------------------
   SECTION 3 — INTRO
   Wix: Centered text strip, white background.
   ------------------------------------------------------------- */
.intro { padding: 96px 0 32px; text-align: center; }
.intro__inner { max-width: 780px; margin: 0 auto; }
.section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--c-text-mute);
  font-size: 18px;
}

/* -------------------------------------------------------------
   SECTION 4 — PRODUCT GRID
   Wix: Repeater. 3 columns on desktop, 2 on tablet, 1 on mobile.
   Each card uses the same template; populate via repeater dataset.
   ------------------------------------------------------------- */
.products { padding: 48px 0 96px; background: var(--c-surface); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .product-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: var(--shadow-card);
}
.card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-card-hover);
}
.card__media {
  background: linear-gradient(180deg, #fafafb 0%, #eef0f3 100%);
  padding: 28px;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 9;
}
.card__media img { max-height: 100%; width: auto; object-fit: contain; }
.card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__title {
  font-size: 22px; font-weight: 800; line-height: 1.2;
}
.specs { display: flex; flex-wrap: wrap; gap: 6px; }
.specs li {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  background: #f3f1ea;
  color: #6b5b00;
  padding: 5px 10px;
  border-radius: 999px;
}
.card__desc {
  color: var(--c-text-mute);
  font-size: 15px;
  flex: 1;
}
.link-cta {
  align-self: flex-start;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-text);
  padding: 8px 0;
  border-bottom: 2px solid var(--c-accent);
}
.link-cta:hover { color: var(--c-accent); }
.link-cta span { display: inline-block; transition: transform .15s ease; margin-left: 4px; }
.link-cta:hover span { transform: translateX(4px); }

/* -------------------------------------------------------------
   SECTION 5 — VALUE BAND
   Wix: Strip with 3-column layout, alt background.
   ------------------------------------------------------------- */
.value { background: var(--c-surface-2); padding: 80px 0; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.value__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 800px) { .value__grid { grid-template-columns: 1fr; } }
.value__item h4 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.value__item p { color: var(--c-text-mute); }
.value__num {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 800; letter-spacing: .2em;
  color: var(--c-accent);
  margin-bottom: 14px;
}

/* -------------------------------------------------------------
   SECTION 6 — SUPPORT
   Wix: Dark strip, premium tone.
   Layout: top intro block + 3×2 grid of feature items (icon, title, desc).
   Acts as the show-off / reassurance band before the contact CTA.
   ------------------------------------------------------------- */
.support {
  background: var(--c-bg);
  color: #fff;
  padding: 96px 0 104px;
  position: relative;
  overflow: hidden;
}
.support::before {
  /* subtle radial highlight in the top-right corner for depth */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 400px at 85% -10%, rgba(245,180,0,.10), transparent 60%);
}
.support__head { max-width: 760px; margin: 0 0 56px; position: relative; }
.eyebrow--dark { color: var(--c-accent); border-color: rgba(245,180,0,.6); margin-bottom: 22px; }
.support__title {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 800;
  margin-bottom: 18px;
}
.support__title span { color: var(--c-accent); }
.support__lede {
  color: rgba(255,255,255,.72);
  font-size: 17px;
  max-width: 640px;
}

.support__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 36px;
  position: relative;
}
@media (max-width: 1000px) { .support__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .support__grid { grid-template-columns: 1fr; } }

.support__item {
  padding: 28px 28px 30px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,.02);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.support__item:hover {
  border-color: rgba(245,180,0,.45);
  background: rgba(245,180,0,.04);
  transform: translateY(-2px);
}
.support__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(245,180,0,.12);
  color: var(--c-accent);
  margin-bottom: 18px;
}
.support__icon svg { width: 22px; height: 22px; }
.support__item h3 {
  font-size: 19px; font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.25;
}
.support__item p {
  color: rgba(255,255,255,.7);
  font-size: 15px;
  line-height: 1.55;
}

/* -------------------------------------------------------------
   SECTION 7 — DEPLOYMENT EXAMPLE
   Wix: Strip, white background, with the SVG diagram as an Image
   element + a small two-row legend underneath.
   ------------------------------------------------------------- */
.deployment { background: var(--c-surface); padding: 96px 0 104px; }
.deployment__head { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.deployment__head .eyebrow { margin-bottom: 22px; }
.deployment__diagram {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: 32px;
  overflow-x: auto;            /* horizontal scroll on narrow viewports */
}
.deployment__diagram img {
  display: block;
  width: 100%;
  min-width: 920px;            /* prevent diagram from squishing into illegibility */
  height: auto;
}
.deployment__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  justify-content: center;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--c-text-mute);
}
.legend__item { display: flex; align-items: center; gap: 10px; }
.legend__item strong { color: var(--c-text); font-weight: 800; }
.legend__swatch {
  width: 18px; height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
}
.legend__item--ours .legend__swatch {
  background: #fff8e1;
  border: 2.5px solid var(--c-accent);
}
.legend__item--customer .legend__swatch {
  background: #fff;
  border: 1.5px solid #9aa0a6;
}

/* -------------------------------------------------------------
   SECTION 8 — CONTACT CTA
   Wix: Strip, dark background, centered content.
   ------------------------------------------------------------- */
.cta { background: var(--c-bg); color: #fff; padding: 96px 0; text-align: center; }
.cta__inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.cta h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.cta p { color: rgba(255,255,255,.75); font-size: 17px; }

/* -------------------------------------------------------------
   SECTION 9 — FOOTER
   Wix: Footer strip, dark, 3 columns + copyright row.
   ------------------------------------------------------------- */
.site-footer { background: #0b0b0d; color: rgba(255,255,255,.72); padding-top: 64px; }
.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (max-width: 800px) { .site-footer__inner { grid-template-columns: 1fr; } }
.site-footer__logo { height: 36px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); }
.site-footer__col h5 {
  color: #fff; font-size: 13px; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase; margin-bottom: 12px;
}
.site-footer__col a:hover { color: var(--c-accent); }
.site-footer__copy {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
