/* ==========================================================================
   HighwaysHub Enterprises — main stylesheet
   ========================================================================== */

:root {
  --navy-950: #060c18;
  --navy-900: #0b1730;
  --navy-800: #122145;
  --navy-700: #1a2f5c;
  --navy-100: #eef1f8;

  --gold-500: #f0b01e;
  --gold-600: #d99a10;
  --gold-100: #fdf3dc;

  --green-600: #16693a;
  --green-500: #1f8a4c;
  --green-100: #e7f5ec;

  --red-500: #e6483a;
  --blue-500: #2f6fd6;

  --ink-900: #10141f;
  --ink-700: #333a4d;
  --ink-500: #667085;
  --ink-300: #9aa2b1;

  --surface-0: #ffffff;
  --surface-1: #f7f8fb;
  --surface-2: #eef0f6;
  --line: #e4e7ee;

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-sm: 0 2px 10px rgba(11, 23, 48, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 23, 48, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 23, 48, 0.16);

  --container: 1200px;
  --font-head: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--surface-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink-900);
  margin: 0;
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--ink-500);
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950);
  box-shadow: 0 10px 24px rgba(240, 176, 30, 0.35);
}
.btn-gold:hover { box-shadow: 0 16px 32px rgba(240, 176, 30, 0.45); }

.btn-outline-light {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.6); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--line);
}
.btn-outline-dark:hover { border-color: var(--navy-900); background: var(--surface-1); }

.btn-sm { padding: 10px 20px; font-size: 0.86rem; }
.btn-block { width: 100%; }

/* ---------------- Navbar ---------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.is-scrolled {
  background: rgba(6, 12, 24, 0.85);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img { height: 42px; width: auto; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.brand-text span {
  font-size: 0.68rem;
  color: var(--gold-500);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-links a {
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  font-size: 0.94rem;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* ---------------- Hero ---------------- */
.hero {
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(240,176,30,0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(31,138,76,0.18), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  padding: 190px 0 120px;
  color: #fff;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #ffd977, var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  margin-top: 22px;
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
}

.hero-actions { display: flex; gap: 16px; margin-top: 38px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stats .stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
}
.hero-stats .stat span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mark {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.10), transparent 60%);
  border: 1px solid rgba(255,255,255,0.14);
  animation: spin 40s linear infinite;
}

.hero-mark img {
  width: 190px;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.45));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-badge {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.hero-badge.b1 { top: 6%; left: -6%; }
.hero-badge.b2 { bottom: 10%; right: -8%; }
.hero-badge span { display:block; font-size:0.68rem; font-weight:500; color: rgba(255,255,255,0.6); margin-top: 2px;}

/* ---------------- Ticker ---------------- */
.ticker-strip {
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 48px;
  animation: ticker 28s linear infinite;
}
.ticker-track span {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.ticker-track span b { color: var(--gold-500); font-weight: 700; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------- About strip ---------------- */
.about {
  padding: 110px 0 90px;
  background: var(--surface-0);
}
.about .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}
.about h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.2; }
.about .lead-text { font-size: 1.08rem; color: var(--ink-700); line-height: 1.75; margin-top: 20px;}
.about-points { display: grid; gap: 22px; margin-top: 6px; }
.about-point { display: flex; gap: 16px; align-items: flex-start; }
.about-point .icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--gold-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-600);
}
.about-point h5 { font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; }
.about-point p { margin: 0; font-size: 0.94rem; color: var(--ink-500); line-height: 1.55; }

/* ---------------- Businesses ---------------- */
.businesses { padding: 100px 0; background: var(--surface-1); }

.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.businesses.is-two .biz-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 780px;
  margin: 0 auto;
}

.biz-card {
  background: var(--surface-0);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.biz-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.biz-logo {
  width: 76px; height: 76px;
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-1);
  border: 1px solid var(--line);
  margin-bottom: 26px;
  padding: 14px;
}
.biz-logo img { width: 100%; height: 100%; object-fit: contain; }

.biz-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  width: fit-content;
}
.tag-navy { background: var(--navy-100); color: var(--navy-800); }
.tag-green { background: var(--green-100); color: var(--green-600); }
.tag-gold { background: var(--gold-100); color: var(--gold-600); }

.biz-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 10px; }
.biz-card p { font-size: 0.96rem; color: var(--ink-500); line-height: 1.65; flex: 1; }

.biz-list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 9px; }
.biz-list li {
  font-size: 0.88rem;
  color: var(--ink-700);
  display: flex; align-items: center; gap: 9px;
  font-weight: 500;
}
.biz-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  flex: none;
}

.biz-card .btn { margin-top: auto; }

/* ---------------- Digital Services ---------------- */
.digital { padding: 100px 0; background: var(--surface-0); }

.digital-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}
.digital-intro h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; line-height: 1.15; }
.digital-intro p { margin-top: 16px; font-size: 1.05rem; color: var(--ink-500); line-height: 1.65; }

.digital-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}
.digital-card {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.digital-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); background: var(--surface-0); }
.digital-card .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--navy-100);
  color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.digital-card h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; }
.digital-card p { font-size: 0.92rem; color: var(--ink-500); line-height: 1.6; margin: 0; }

.digital-closing {
  font-size: 1rem;
  color: var(--ink-500);
  line-height: 1.7;
  max-width: 760px;
  margin: 0 0 56px;
}

/* ---------------- Shop / categories ---------------- */
.shop { padding: 100px 0; background: var(--surface-0); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-bottom: 60px;
}
.cat-card {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: #fff; }
.cat-card .cat-img {
  width: 100%; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; margin-bottom: 14px; background: #fff;
}
.cat-card .cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card h5 { font-size: 0.86rem; font-weight: 700; line-height: 1.3; }

/* ---------------- Why us ---------------- */
.why { padding: 100px 0; background: var(--navy-950); color: #fff; }
.why .section-head h2 { color: #fff; }
.why .section-head p { color: rgba(255,255,255,0.55); }
.why .eyebrow { color: var(--gold-500); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
}
.why-card .num {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-500);
  margin-bottom: 18px;
  display: block;
}
.why-card h4 { color: #fff; font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.55); font-size: 0.92rem; line-height: 1.6; margin: 0; }

/* ---------------- Contact ---------------- */
.contact { padding: 100px 0; background: var(--surface-1); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  background: var(--surface-0);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.contact-info {
  background: var(--navy-950);
  color: #fff;
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
}
.contact-info h3 { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.contact-info > p { color: rgba(255,255,255,0.55); font-size: 0.95rem; margin-bottom: 34px; }

.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-item .icon {
  flex: none; width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(240,176,30,0.14);
  color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
}
.contact-item h5 { font-size: 0.94rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.contact-item p, .contact-item a { font-size: 0.9rem; color: rgba(255,255,255,0.62); line-height: 1.5; }
.contact-item a:hover { color: var(--gold-500); }

.contact-map { position: relative; min-height: 420px; }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-fallback-link {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 1;
  background: var(--surface-0);
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease;
}
.map-fallback-link:hover { transform: translateY(-2px); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.6); padding: 70px 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.9fr);
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.65; max-width: 300px; color: rgba(255,255,255,0.5); }
.footer-col h5 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 18px; letter-spacing: 0.02em;}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold-500); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0; font-size: 0.82rem; color: rgba(255,255,255,0.4);
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom .made-by a { color: var(--gold-500); font-weight: 600; }

/* ---------------- Whatsapp float ---------------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 999;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(37,211,102,0.45);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------------- Reveal animation (JS opt-in; visible by default so content never hides behind a stalled script) ---------------- */
html.reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.reveal-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 960px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 10px; }
  .hero-mark { width: 240px; height: 240px; }
  .hero-mark img { width: 130px; }
  .about .container { grid-template-columns: 1fr; gap: 40px; }
  .biz-grid, .businesses.is-two .biz-grid { grid-template-columns: 1fr; }
  .digital-intro { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .digital-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 320px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 150px 0 80px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .contact-info { padding: 40px 26px; }
}

/* Mobile nav drawer */
.nav-links.is-open {
  display: flex;
  position: fixed;
  top: 0; right: 0;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: var(--navy-950);
  flex-direction: column;
  align-items: flex-start;
  padding: 100px 32px 32px;
  gap: 26px;
  box-shadow: -20px 0 50px rgba(0,0,0,0.4);
}
.nav-scrim { display: none; position: fixed; inset: 0; background: rgba(6,12,24,0.6); z-index: 998; }
.nav-scrim.is-open { display: block; }

/* ---------------- Legal pages (Privacy / Terms) ---------------- */
.legal-hero {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  padding: 170px 0 60px;
  color: #fff;
}
.legal-hero .eyebrow { color: var(--gold-500); }
.legal-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
.legal-hero p { margin-top: 14px; color: rgba(255,255,255,0.6); font-size: 0.95rem; }

.legal-body { padding: 70px 0 110px; background: var(--surface-0); }
.legal-body .container { max-width: 820px; }

.legal-body h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: 46px;
  margin-bottom: 14px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-700);
}
.legal-body p { margin: 0 0 16px; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body strong { color: var(--ink-900); }
.legal-body a { color: var(--navy-800); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--gold-600); }

.legal-updated {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-500);
  background: var(--surface-1);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 30px;
}
