
:root {
  --eq-dark: #1e2022;
  --eq-heading: #1e2022;
  --eq-body: #677788;
  --eq-primary: #377dff;
  --eq-primary-hover: #1366ff;
  --eq-border: #e7eaf3;
  --eq-light: #f8fafd;
  --eq-white: #ffffff;
  --eq-container: 1140px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--eq-body);
  background: var(--eq-white);
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--eq-primary);
  text-decoration: none;
}

a:hover {
  color: var(--eq-primary-hover);
}

.container-eq {
  width: min(calc(100% - 40px), var(--eq-container));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(231, 234, 243, .75);
  backdrop-filter: blur(12px);
}

.site-header .navbar {
  min-height: 72px;
}

.logo-mark {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-block;
  flex: 0 0 auto;
  border: 1.5px solid #1e2f47;
  border-radius: 8px;
  background: #fff;
}

.logo-orbit {
  position: absolute;
  display: block;
  border-style: solid;
  border-radius: 50%;
  background: transparent;
}

.logo-orbit-primary {
  width: 16px;
  height: 16px;
  left: 7px;
  top: 7px;
  border-width: 2px;
  border-color: var(--eq-primary);
}

.logo-orbit-accent {
  width: 10px;
  height: 10px;
  right: 6px;
  bottom: 6px;
  border-width: 2px;
  border-color: #00a9c9;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.nav-wordmark {
  margin-left: .68rem;
  color: var(--eq-heading);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1;
}


.site-header .nav-link {
  position: relative;
  padding: 1.55rem .85rem !important;
  color: #5a6a7d;
  font-size: .94rem;
  font-weight: 500;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--eq-primary);
}

.site-header .nav-link.active::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: 12px;
  height: 2px;
  background: var(--eq-primary);
}

/* Front-like compact buttons */
.btn-eq {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .68rem 1.15rem;
  border-radius: .3125rem;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.2;
  transition: all .2s ease;
}

.btn-eq-primary {
  color: #fff;
  background: var(--eq-primary);
  border: 1px solid var(--eq-primary);
  box-shadow: 0 .25rem .5rem rgba(55, 125, 255, .16);
}

.btn-eq-primary:hover {
  color: #fff;
  background: var(--eq-primary-hover);
  border-color: var(--eq-primary-hover);
  transform: translateY(-1px);
}

.btn-eq-outline {
  color: var(--eq-primary);
  background: #fff;
  border: 1px solid rgba(55, 125, 255, .45);
}

.btn-eq-outline:hover {
  color: #fff;
  background: var(--eq-primary);
  border-color: var(--eq-primary);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 425px;
  overflow: hidden;
  background-image: url("../assets/equivonix-hero-building.png");
  background-size: cover;
  background-position: center 46%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.99) 0%,
      rgba(255,255,255,.98) 22%,
      rgba(255,255,255,.90) 37%,
      rgba(255,255,255,.55) 51%,
      rgba(255,255,255,.08) 69%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 425px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(760px, 100%);
  padding: 3.7rem 0;
}

.hero-heading {
  margin: 0 0 1.2rem;
  max-width: 760px;
  color: var(--eq-heading);
  font-size: clamp(2.35rem, 3.55vw, 3.55rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.03em;
}

.hero-heading-static {
  display: block;
  color: var(--eq-heading);
}

.hero-rotator {
  display: block;
  min-height: 1.2em;
  color: var(--eq-primary);
  white-space: nowrap;
}

.hero-rotating-text {
  display: inline;
  color: var(--eq-primary);
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: .95em;
  margin-left: .08em;
  vertical-align: -.08em;
  background: var(--eq-primary);
  animation: cursorBlink .8s steps(1) infinite;
}

@keyframes cursorBlink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .typing-cursor {
    animation: none;
    opacity: 1;
  }
}

.hero p {
  max-width: 535px;
  margin: 0 0 1.7rem;
  color: var(--eq-body);
  font-size: 1.08rem;
  line-height: 1.7;
}

/* ---------- Sections ---------- */

.section {
  padding: 5.25rem 0;
}

.section-light {
  background: var(--eq-light);
}

.section-label {
  margin-bottom: .55rem;
  color: var(--eq-primary);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--eq-heading);
  font-size: clamp(1.9rem, 2.8vw, 2.65rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -.025em;
}

.section-text {
  margin: 0;
  color: var(--eq-body);
  line-height: 1.75;
}

.products-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--eq-primary);
  font-size: .94rem;
  font-weight: 500;
  white-space: nowrap;
}

.text-link i {
  transition: transform .2s ease;
}

.text-link:hover i {
  transform: translateX(3px);
}

/* ---------- Compact product rail ---------- */



.check-list {
  list-style: none;
  margin: 1.65rem 0 0;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
  color: #4d5f73;
}

.check-icon {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  margin-top: .08rem;
  border-radius: 50%;
  color: var(--eq-primary);
  background: rgba(55,125,255,.10);
  font-size: .72rem;
}


.products-section {
  overflow: hidden;
}

.products-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.7rem;
}

.products-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.products-view-all {
  margin-left: .65rem;
}

.product-nav-btn {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--eq-border);
  border-radius: .3125rem;
  background: #fff;
  color: #5f7084;
  transition: .18s ease;
}

.product-nav-btn:hover {
  color: var(--eq-primary);
  border-color: rgba(55,125,255,.45);
  background: #fff;
}

.product-rail-shell {
  position: relative;
}

.product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(390px, 43%);
  gap: 1rem;
  overflow-x: auto;
  padding: .2rem 0 .6rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.product-rail::-webkit-scrollbar {
  display: none;
}

.compact-product-card {
  min-height: 205px;
  display: grid;
  grid-template-columns: 112px 1fr;
  overflow: hidden;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--eq-border);
  border-radius: .5rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.compact-product-card:hover {
  transform: translateY(-2px);
  border-color: #d8e0eb;
  box-shadow: 0 .65rem 1.7rem rgba(140,152,164,.11);
}

.compact-product-visual {
  display: grid;
  place-items: center;
  min-height: 100%;
  color: var(--eq-primary);
  background:
    radial-gradient(circle at 30% 25%, rgba(55,125,255,.15), transparent 36%),
    linear-gradient(145deg, #f5f9ff, #edf4ff);
  border-right: 1px solid var(--eq-border);
  font-size: 2.15rem;
}

.compact-product-content {
  min-width: 0;
  padding: 1.3rem 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-meta {
  margin-bottom: .2rem;
  color: #8a98a9;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.compact-product-content h3 {
  margin: 0 0 .2rem;
  color: var(--eq-heading);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.2;
}

.product-tagline {
  margin-bottom: .5rem;
  color: #3f4f61;
  font-size: .93rem;
  font-weight: 500;
}

.compact-product-content p {
  display: -webkit-box;
  margin: 0 0 .7rem;
  overflow: hidden;
  color: var(--eq-body);
  font-size: .89rem;
  line-height: 1.48;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.compact-product-content .text-link {
  font-size: .88rem;
}

@media (max-width: 991.98px) {
  .product-rail {
    grid-auto-columns: minmax(360px, 72%);
  }
}

@media (max-width: 767.98px) {
  .products-head {
    display: block;
  }

  .products-actions {
    margin-top: 1rem;
  }

  .products-view-all {
    margin-left: .35rem;
  }

  .product-rail {
    grid-auto-columns: minmax(315px, 89%);
  }

  .compact-product-card {
    grid-template-columns: 88px 1fr;
    min-height: 205px;
  }

  .compact-product-visual {
    font-size: 1.8rem;
  }
}

@media (max-width: 430px) {
  .product-rail {
    grid-auto-columns: 94%;
  }

  .compact-product-card {
    grid-template-columns: 72px 1fr;
  }

  .compact-product-content {
    padding: 1.15rem;
  }
}

/* ---------- Consultative closing section ---------- */

.consult-section {
  padding: 4.6rem 0;
  background: #fff;
  border-top: 1px solid var(--eq-border);
}

.consult-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: center;
  padding: 2.6rem 0;
}

.consult-copy {
  max-width: 720px;
}

.consult-copy h2 {
  margin: 0 0 .7rem;
  color: var(--eq-heading);
  font-size: clamp(1.9rem, 2.7vw, 2.55rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -.025em;
}

.consult-copy p {
  max-width: 650px;
  margin: 0;
  color: var(--eq-body);
  line-height: 1.7;
}

.consult-action {
  flex: 0 0 auto;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 2.8rem 0 1.6rem;
  border-top: 1px solid var(--eq-border);
  background: #fff;
  color: var(--eq-body);
  font-size: .9rem;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: start;
  padding-bottom: 2.1rem;
}

.footer-brand-block {
  max-width: 430px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--eq-heading);
}

.logo-mark-footer {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.logo-mark-footer .logo-orbit-primary {
  width: 14px;
  height: 14px;
  left: 6px;
  top: 6px;
}

.logo-mark-footer .logo-orbit-accent {
  width: 9px;
  height: 9px;
  right: 5px;
  bottom: 5px;
}

.footer-wordmark {
  color: var(--eq-heading);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: -.015em;
}

.footer-tagline {
  margin: .9rem 0 .35rem;
  color: var(--eq-body);
}

.footer-email {
  color: var(--eq-primary);
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  padding-top: .45rem;
}

.footer-links a,
.footer-legal a {
  color: var(--eq-body);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--eq-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding-top: 1.35rem;
  border-top: 1px solid var(--eq-border);
  color: #8996a6;
  font-size: .84rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}@media (max-width: 991.98px) {
  .site-header .nav-link {
    padding: .7rem 0 !important;
  }

  .site-header .nav-link.active::after {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 490px;
  }

  .hero {
    background-position: 65% center;
  }

  .hero::before {
    background:
      linear-gradient(
        90deg,
        rgba(255,255,255,.99) 0%,
        rgba(255,255,255,.97) 58%,
        rgba(255,255,255,.58) 100%
      );
  }

  }

@media (max-width: 767.98px) {
  .container-eq {
    width: min(calc(100% - 28px), var(--eq-container));
  }

  .section {
    padding: 4rem 0;
  }

  .hero-heading {
    font-size: 2.45rem;
  }

  .hero-rotator {
    white-space: normal;
    min-height: 2.35em;
  }

  .hero,
  .hero-inner {
    min-height: 500px;
  }

  .hero::before {
    background:
      linear-gradient(
        90deg,
        rgba(255,255,255,.995) 0%,
        rgba(255,255,255,.98) 70%,
        rgba(255,255,255,.80) 100%
      );
  }
}


@media (max-width: 575.98px) {
  .hero-heading {
    font-size: 2.2rem;
  }

  .hero-rotator {
    min-height: 2.35em;
  }
}


/* ---------- Company dropdown ---------- */

.site-header .dropdown-toggle::after {
  margin-left: .4rem;
  vertical-align: .16em;
  border-top-width: .3em;
}

.company-dropdown {
  width: 285px;
  margin-top: -.15rem !important;
  padding: .55rem;
  border: 1px solid var(--eq-border);
  border-radius: .5rem;
  background: #fff;
  box-shadow: 0 .85rem 2.3rem rgba(33, 50, 91, .12);
}

.company-menu-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: .8rem;
  align-items: center;
  padding: .78rem .8rem;
  border-radius: .375rem;
  color: var(--eq-body);
  transition: background .18s ease, color .18s ease;
}

.company-menu-item:hover {
  color: var(--eq-heading);
  background: var(--eq-light);
}

.company-menu-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: .45rem;
  color: var(--eq-primary);
  background: rgba(55, 125, 255, .09);
}

.company-menu-item strong {
  display: block;
  margin-bottom: .08rem;
  color: var(--eq-heading);
  font-size: .92rem;
  font-weight: 500;
}

.company-menu-item small {
  display: block;
  color: var(--eq-body);
  font-size: .8rem;
  line-height: 1.35;
}

/* ---------- Why Equivonix visual ---------- */

.why-visual {
  overflow: hidden;
  border: 1px solid var(--eq-border);
  border-radius: .5rem;
  background: #f7f9fc;
  box-shadow: 0 .75rem 2rem rgba(140, 152, 164, .10);
}

.why-visual-image {
  width: 100%;
  height: 390px;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 991.98px) {
  .company-dropdown {
    width: 100%;
    margin-top: 0 !important;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .why-visual-image {
    height: 330px;
  }
}

@media (max-width: 575.98px) {
  .why-visual-image {
    height: 280px;
  }
}


@media (max-width: 767.98px) {
  .consult-section {
    padding: 3.7rem 0;
  }

  .consult-inner {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .footer-links {
    gap: 1rem 1.35rem;
    padding-top: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: .8rem;
  }
}

@media (max-width: 575.98px) {
  .nav-wordmark {
    font-size: 1rem;
    margin-left: .58rem;
  }
}
