
:root {
  --navy: #061b3a;
  --navy-light: #0e315f;
  --blue: #0867e8;
  --blue-light: #11a8e8;
  --text: #10213c;
  --muted: #60708a;
  --surface: #f7faff;
  --border: #dae3f0;
  --white: #ffffff;
  --max-width: 1420px;
  --shadow: 0 18px 45px rgba(6, 27, 58, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.v2-container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}


/* HEADER */
.v2-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(6, 27, 58, 0.08);
  backdrop-filter: blur(16px);
}

.v2-nav {
  min-height: 82px;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.v2-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.v2-logo img {
  width: 185px;
  max-height: 58px;
  object-fit: contain;
}

.v2-nav-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.v2-nav-menu > a,
.v2-nav-dropdown > a {
  position: relative;
  color: #0a1931;
  font-size: 0.92rem;
  font-weight: 720;
  text-decoration: none;
}

.v2-nav-menu > a::after,
.v2-nav-dropdown > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -10px;
  height: 2px;
  background: var(--blue);
  transition: right 180ms ease;
}

.v2-nav-menu > a:hover::after,
.v2-nav-menu > a.active::after,
.v2-nav-dropdown > a:hover::after {
  right: 0;
}

.v2-nav-dropdown {
  position: relative;
  padding: 28px 0;
  margin: -28px 0;
}

.v2-dropdown-panel {
  position: absolute;
  top: 73px;
  left: 50%;
  transform: translateX(-45%) translateY(8px);
  width: 650px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.v2-dropdown-small {
  width: 390px;
  grid-template-columns: 1fr;
}

.v2-nav-dropdown:hover .v2-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-45%) translateY(0);
}

.v2-dropdown-panel a {
  display: block;
  padding: 14px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
}

.v2-dropdown-panel a:hover {
  background: #eef5ff;
}

.v2-dropdown-panel strong,
.v2-dropdown-panel small {
  display: block;
}

.v2-dropdown-panel small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.4;
}

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

.v2-phone {
  color: #081b36;
  font-size: 0.88rem;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.v2-mobile-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 9px;
  padding: 9px 12px;
  background: var(--blue);
  color: #fff;
  font-size: 1.1rem;
}


/* BUTTONS */
.v2-button,
.v2-button-outline {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.v2-button {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 25px rgba(8, 103, 232, 0.28);
}

.v2-button:hover,
.v2-button-outline:hover {
  transform: translateY(-2px);
}

.v2-button-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.82rem;
}

.v2-button-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.v2-button-white {
  color: #124eb8;
  background: #fff;
}


/* HERO */
.v2-hero {
  position: relative;
  overflow: hidden;
  min-height: 820px;
  padding: 115px 0 36px;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      rgba(1, 14, 35, 0.98) 0%,
      rgba(2, 21, 50, 0.90) 38%,
      rgba(2, 26, 60, 0.36) 68%,
      rgba(2, 21, 49, 0.08) 100%
    ),
    url("/assets/v2/cloudnorth-toronto-hero-clean.jpg")
    center center / cover no-repeat;
}

.v2-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 35%, rgba(0, 168, 255, 0.25), transparent 28%),
    linear-gradient(180deg, transparent 65%, rgba(2, 15, 34, 0.72));
}

.v2-hero-network {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(72, 167, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 167, 255, 0.35) 1px, transparent 1px);
  background-size: 75px 75px;
  mask-image: linear-gradient(90deg, transparent 38%, #000 68%);
}

.v2-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.v2-hero-copy {
  max-width: 700px;
}

.v2-eyebrow {
  margin-bottom: 16px;
  color: #8acfff;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v2-hero h1 {
  margin: 0 0 20px;
  max-width: 670px;
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.v2-hero-copy p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.65;
}

.v2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.v2-security-visual {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-security-rings {
  width: 280px;
  height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(93, 198, 255, 0.28);
  border-radius: 40% 60% 55% 45%;
  box-shadow:
    0 0 0 30px rgba(25, 149, 255, 0.05),
    0 0 0 65px rgba(25, 149, 255, 0.035),
    0 0 75px rgba(24, 166, 255, 0.34);
  transform: rotate(6deg);
}

.v2-shield {
  width: 145px;
  height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #23b8ff;
  border-radius: 50% 50% 46% 46% / 42% 42% 60% 60%;
  background: rgba(2, 34, 76, 0.62);
  box-shadow: inset 0 0 42px rgba(0, 180, 255, 0.3);
  font-size: 3rem;
  transform: rotate(-6deg);
}

.v2-capabilities {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 68px;
}

.v2-capabilities > div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
}

.v2-capabilities span {
  font-size: 1.4rem;
}


/* TECHNOLOGY STRIP */
.v2-tech-strip {
  padding: 28px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.v2-tech-strip p {
  margin: 0 0 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.v2-tech-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  align-items: center;
}

.v2-tech-list span {
  color: #536176;
  font-size: 1.02rem;
  font-weight: 820;
  text-align: center;
  filter: grayscale(1);
}


/* SHARED SECTION */
.v2-section {
  padding: 76px 0;
}

.v2-section-heading {
  max-width: 850px;
  margin: 0 auto 44px;
  text-align: center;
}

.v2-section-heading span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v2-section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.v2-section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.v2-center {
  margin-top: 30px;
  text-align: center;
}


/* SOLUTIONS */
.v2-solutions {
  background:
    radial-gradient(circle at top, rgba(58, 145, 255, 0.08), transparent 32%),
    #f8fbff;
}

.v2-solution-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.v2-solution-card {
  min-height: 305px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 17px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(12, 38, 75, 0.04);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.v2-solution-card:hover {
  transform: translateY(-7px);
  border-color: rgba(8, 103, 232, 0.36);
  box-shadow: 0 20px 42px rgba(12, 38, 75, 0.12);
}

.v2-card-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #eaf3ff;
  color: var(--blue);
  font-size: 1.8rem;
}

.v2-solution-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1rem;
}

.v2-solution-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.v2-solution-card span {
  margin-top: auto;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
}


/* INDUSTRIES */
.v2-industries {
  position: relative;
  overflow: hidden;
  padding: 68px 0;
  background:
    radial-gradient(circle at bottom right, rgba(18, 104, 206, 0.3), transparent 32%),
    #041b3a;
}

.v2-industries::after {
  content: "";
  position: absolute;
  inset: auto -12% -160px;
  height: 300px;
  border: 1px solid rgba(57, 156, 255, 0.17);
  border-radius: 50%;
}

.v2-heading-light h2 {
  color: #fff;
}

.v2-heading-light span {
  color: #64c5ff;
}

.v2-industry-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.v2-industry-card {
  min-height: 215px;
  padding: 22px 14px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(80, 170, 255, 0.33);
  border-radius: 7px;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.v2-industry-card:hover {
  transform: translateY(-5px);
  background: rgba(38, 137, 232, 0.13);
}

.v2-industry-card > div {
  min-height: 48px;
  color: #fff;
  font-size: 2rem;
}

.v2-industry-card h3 {
  margin: 12px 0;
  color: #fff;
  font-size: 0.9rem;
}

.v2-industry-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.74rem;
  line-height: 1.55;
}


/* WHY */
.v2-why {
  background: #fff;
}

.v2-why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 26px;
}

.v2-why-item {
  text-align: center;
}

.v2-why-item > div {
  min-height: 50px;
  color: var(--blue);
  font-size: 2rem;
}

.v2-why-item h3 {
  margin: 12px 0 8px;
  color: var(--navy);
  font-size: 0.92rem;
}

.v2-why-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}


/* CTA */
.v2-cta-section {
  padding: 0 0 18px;
  background: #fff;
}

.v2-cta {
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 28px 38px;
  color: #fff;
  background: linear-gradient(110deg, #0c397e, #284cca);
  border-radius: 7px;
}

.v2-cta-copy {
  display: flex;
  align-items: center;
  gap: 20px;
}

.v2-cta-icon {
  font-size: 3rem;
}

.v2-cta h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 1.6rem;
}

.v2-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.v2-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


/* FOOTER */
.v2-footer {
  padding: 50px 0 20px;
  color: rgba(255, 255, 255, 0.72);
  background: #031936;
}

.v2-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, 1fr);
  gap: 50px;
}

.v2-footer-logo {
  display: block;
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 850;
  text-decoration: none;
}

.v2-footer-logo span {
  display: block;
  color: #8bcfff;
  font-size: 0.73rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.v2-footer p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  line-height: 1.65;
}

.v2-footer h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 0.86rem;
}

.v2-footer-grid > div > a:not(.v2-footer-logo) {
  display: block;
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.78rem;
  text-decoration: none;
}

.v2-footer-grid > div > a:hover {
  color: #fff;
}

.v2-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.v2-socials a {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.v2-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.v2-footer-bottom p {
  margin: 0;
}

.v2-footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.v2-footer-bottom a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  text-decoration: none;
}


/* RESPONSIVE */
@media (max-width: 1180px) {
  .v2-phone {
    display: none;
  }

  .v2-solution-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .v2-industry-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .v2-why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .v2-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .v2-nav {
    min-height: 72px;
  }

  .v2-mobile-toggle {
    display: block;
  }

  .v2-nav-menu {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .v2-nav-menu.open {
    display: flex;
  }

  .v2-nav-menu > a,
  .v2-nav-dropdown > a {
    display: block;
    padding: 12px;
  }

  .v2-nav-dropdown {
    margin: 0;
    padding: 0;
  }

  .v2-dropdown-panel {
    position: static;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    border: 0;
    box-shadow: none;
  }

  .v2-nav-dropdown:hover .v2-dropdown-panel {
    display: grid;
    transform: none;
  }

  .v2-nav-actions .v2-button {
    display: none;
  }

  .v2-hero-content {
    grid-template-columns: 1fr;
  }

  .v2-security-visual {
    display: none;
  }

  .v2-capabilities {
    grid-template-columns: repeat(3, 1fr);
  }

  .v2-tech-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .v2-industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .v2-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .v2-container,
  .v2-nav {
    width: min(100% - 28px, var(--max-width));
  }

  .v2-logo img {
    width: 145px;
  }

  .v2-hero {
    min-height: auto;
    padding-top: 72px;
  }

  .v2-hero h1 {
    font-size: 2.8rem;
  }

  .v2-capabilities,
  .v2-tech-list,
  .v2-solution-grid,
  .v2-industry-grid,
  .v2-why-grid,
  .v2-footer-grid {
    grid-template-columns: 1fr;
  }

  .v2-capabilities {
    margin-top: 44px;
  }

  .v2-solution-card,
  .v2-industry-card {
    min-height: auto;
  }

  .v2-footer-bottom {
    flex-direction: column;
  }
}

/* Remove legacy hero security overlay */
.v2-security-visual,
.v2-security-rings,
.v2-shield {
  display: none !important;
}
/* CloudNorth final shared logo treatment */
.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-link img,
.site-logo img,
.nav-logo img,
.header-logo img,
.logo img {
    display: block;
    width: auto;
    max-width: 220px;
    height: 58px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-link img,
    .site-logo img,
    .nav-logo img,
    .header-logo img,
    .logo img {
        max-width: 175px;
        height: 48px;
    }
}

/* CloudNorth production logo */
header img[src*="/logo.png"],
.site-header img[src*="/logo.png"],
.main-header img[src*="/logo.png"],
.navbar img[src*="/logo.png"] {
    display: block;
    width: auto;
    height: 64px;
    max-width: 260px;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 992px) {
    header img[src*="/logo.png"],
    .site-header img[src*="/logo.png"],
    .main-header img[src*="/logo.png"],
    .navbar img[src*="/logo.png"] {
        height: 54px;
        max-width: 220px;
    }
}

@media (max-width: 768px) {
    header img[src*="/logo.png"],
    .site-header img[src*="/logo.png"],
    .main-header img[src*="/logo.png"],
    .navbar img[src*="/logo.png"] {
        height: 46px;
        max-width: 185px;
    }
}

/* ==========================================================
   CloudNorth Enterprise Logo
   ========================================================== */

.logo img,
.header-logo img,
.site-logo img,
.navbar-brand img,
.cloudnorth-brand-logo,
header img[src*="logo.png"] {

    display: block;
    width: auto !important;
    height: 82px !important;
    max-width: 340px !important;
    object-fit: contain;
    object-position: left center;
    transition: all .25s ease;
}

.site-header,
.main-header,
.navbar {
    min-height: 98px;
}

.header-inner,
.nav-inner,
.navbar .container {
    display: flex;
    align-items: center;
}

/* Tablet */

@media (max-width: 992px){

.logo img,
.header-logo img,
.site-logo img,
.navbar-brand img,
.cloudnorth-brand-logo,
header img[src*="logo.png"]{

    height:68px !important;
    max-width:280px !important;

}

.site-header,
.main-header,
.navbar{

    min-height:84px;

}

}

/* Mobile */

@media (max-width:768px){

.logo img,
.header-logo img,
.site-logo img,
.navbar-brand img,
.cloudnorth-brand-logo,
header img[src*="logo.png"]{

    height:54px !important;
    max-width:220px !important;

}

.site-header,
.main-header,
.navbar{

    min-height:70px;

}

}


/* FINAL CloudNorth logo size override */
header img,
header a img,
.site-header img,
.main-header img,
.navbar img,
.nav img,
.logo img,
.site-logo img,
.header-logo img,
.navbar-brand img,
.cloudnorth-brand-logo {
    width: 230px !important;
    height: auto !important;
    max-width: 230px !important;
    max-height: 82px !important;
    min-width: 230px !important;
    object-fit: contain !important;
    display: block !important;
}

header,
.site-header,
.main-header,
.navbar {
    min-height: 100px !important;
}

@media (max-width: 992px) {
    header img,
    header a img,
    .site-header img,
    .main-header img,
    .navbar img,
    .logo img,
    .site-logo img,
    .header-logo img,
    .navbar-brand img,
    .cloudnorth-brand-logo {
        width: 200px !important;
        min-width: 200px !important;
        max-width: 200px !important;
        max-height: 70px !important;
    }
}

@media (max-width: 768px) {
    header img,
    header a img,
    .site-header img,
    .main-header img,
    .navbar img,
    .logo img,
    .site-logo img,
    .header-logo img,
    .navbar-brand img,
    .cloudnorth-brand-logo {
        width: 170px !important;
        min-width: 170px !important;
        max-width: 170px !important;
        max-height: 58px !important;
    }
}

/* =========================================================
   CloudNorth enterprise header logo — final override
   ========================================================= */

.site-header-v2 {
    min-height: 96px !important;
}

.site-nav-v2 {
    min-height: 96px !important;
    display: flex !important;
    align-items: center !important;
}

.site-logo-v2 {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 235px !important;
    width: 235px !important;
    min-width: 235px !important;
    max-width: 235px !important;
    height: 84px !important;
    overflow: visible !important;
    line-height: 0 !important;
}

.site-logo-v2 img {
    display: block !important;
    width: 225px !important;
    min-width: 225px !important;
    max-width: 225px !important;
    height: auto !important;
    max-height: 76px !important;
    object-fit: contain !important;
    object-position: left center !important;
    transform: none !important;
}

/* Tablet */
@media (max-width: 1100px) {
    .site-logo-v2 {
        flex-basis: 195px !important;
        width: 195px !important;
        min-width: 195px !important;
        max-width: 195px !important;
        height: 74px !important;
    }

    .site-logo-v2 img {
        width: 188px !important;
        min-width: 188px !important;
        max-width: 188px !important;
        max-height: 64px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .site-header-v2,
    .site-nav-v2 {
        min-height: 72px !important;
    }

    .site-logo-v2 {
        flex-basis: 170px !important;
        width: 170px !important;
        min-width: 170px !important;
        max-width: 170px !important;
        height: 62px !important;
    }

    .site-logo-v2 img {
        width: 165px !important;
        min-width: 165px !important;
        max-width: 165px !important;
        max-height: 54px !important;
    }
}

/* CloudNorth cropped enterprise logo */
.site-logo-v2 {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 245px !important;
    width: 245px !important;
    min-width: 245px !important;
    max-width: 245px !important;
    overflow: visible !important;
}

.site-logo-v2 img {
    display: block !important;
    width: 235px !important;
    min-width: 235px !important;
    max-width: 235px !important;
    height: auto !important;
    max-height: 74px !important;
    object-fit: contain !important;
}

.site-header-v2,
.site-nav-v2 {
    min-height: 92px !important;
}

@media (max-width: 768px) {
    .site-logo-v2 {
        flex-basis: 180px !important;
        width: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
    }

    .site-logo-v2 img {
        width: 174px !important;
        min-width: 174px !important;
        max-width: 174px !important;
        max-height: 54px !important;
    }

    .site-header-v2,
    .site-nav-v2 {
        min-height: 72px !important;
    }
}

/* Final CloudNorth enterprise header logo */
.site-header-v2,
.site-nav-v2 {
    min-height: 98px !important;
}

.site-logo-v2 {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 275px !important;
    width: 275px !important;
    min-width: 275px !important;
    max-width: 275px !important;
    height: 86px !important;
    overflow: visible !important;
}

.site-logo-v2 img {
    display: block !important;
    width: 265px !important;
    min-width: 265px !important;
    max-width: 265px !important;
    height: auto !important;
    max-height: 80px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

@media (max-width: 1100px) {
    .site-logo-v2 {
        flex-basis: 220px !important;
        width: 220px !important;
        min-width: 220px !important;
        max-width: 220px !important;
    }

    .site-logo-v2 img {
        width: 212px !important;
        min-width: 212px !important;
        max-width: 212px !important;
        max-height: 66px !important;
    }
}

@media (max-width: 768px) {
    .site-header-v2,
    .site-nav-v2 {
        min-height: 72px !important;
    }

    .site-logo-v2 {
        flex-basis: 180px !important;
        width: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
        height: 62px !important;
    }

    .site-logo-v2 img {
        width: 174px !important;
        min-width: 174px !important;
        max-width: 174px !important;
        max-height: 54px !important;
    }
}

/* ==========================================================
   CloudNorth V2 mobile navigation fix
   ========================================================== */

.site-menu-toggle-v2 {
    position: relative;
    z-index: 10002 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 992px) {

    .site-header-v2 {
        position: relative;
        z-index: 10000 !important;
        overflow: visible !important;
    }

    .site-nav-v2 {
        position: relative;
        overflow: visible !important;
    }

    .site-menu-toggle-v2 {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        width: 46px;
        height: 46px;
        padding: 8px;
        border: 0;
        background: transparent;
    }

    .site-menu-toggle-v2 span {
        display: block;
        width: 26px;
        height: 2px;
        background: currentColor;
        transition:
            transform 0.25s ease,
            opacity 0.25s ease;
        transform-origin: center;
    }

    .site-menu-toggle-v2.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-menu-toggle-v2.is-open span:nth-child(2) {
        opacity: 0;
    }

    .site-menu-toggle-v2.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-menu-v2,
    .site-nav-links-v2,
    .nav-links-v2,
    .site-navigation-v2 {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 10001 !important;

        display: none !important;
        flex-direction: column !important;
        align-items: stretch !important;

        width: 100% !important;
        max-height: calc(100vh - 72px);
        overflow-y: auto;

        padding: 16px 20px 24px;
        margin: 0;

        background: #ffffff !important;
        border-top: 1px solid rgba(15, 31, 61, 0.08);
        box-shadow: 0 18px 40px rgba(15, 31, 61, 0.16);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);

        transition:
            opacity 0.2s ease,
            transform 0.2s ease,
            visibility 0.2s ease;
    }

    .site-menu-v2.is-open,
    .site-nav-links-v2.is-open,
    .nav-links-v2.is-open,
    .site-navigation-v2.is-open {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    .site-menu-v2 a,
    .site-nav-links-v2 a,
    .nav-links-v2 a,
    .site-navigation-v2 a {
        display: block !important;
        width: 100%;
        padding: 13px 4px;
        border-bottom: 1px solid rgba(15, 31, 61, 0.07);
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    /* Prevent the hero overlay from blocking mobile navigation */
    .v2-hero,
    .v2-hero-overlay,
    .v2-hero-network {
        z-index: auto;
    }
}

/* ==========================================================
   CloudNorth V2 mobile navigation fix
   ========================================================== */

.site-menu-toggle-v2 {
    position: relative;
    z-index: 10002 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 992px) {

    .site-header-v2 {
        position: relative;
        z-index: 10000 !important;
        overflow: visible !important;
    }

    .site-nav-v2 {
        position: relative;
        overflow: visible !important;
    }

    .site-menu-toggle-v2 {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        width: 46px;
        height: 46px;
        padding: 8px;
        border: 0;
        background: transparent;
    }

    .site-menu-toggle-v2 span {
        display: block;
        width: 26px;
        height: 2px;
        background: currentColor;
        transition:
            transform 0.25s ease,
            opacity 0.25s ease;
        transform-origin: center;
    }

    .site-menu-toggle-v2.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-menu-toggle-v2.is-open span:nth-child(2) {
        opacity: 0;
    }

    .site-menu-toggle-v2.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-menu-v2,
    .site-nav-links-v2,
    .nav-links-v2,
    .site-navigation-v2 {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 10001 !important;

        display: none !important;
        flex-direction: column !important;
        align-items: stretch !important;

        width: 100% !important;
        max-height: calc(100vh - 72px);
        overflow-y: auto;

        padding: 16px 20px 24px;
        margin: 0;

        background: #ffffff !important;
        border-top: 1px solid rgba(15, 31, 61, 0.08);
        box-shadow: 0 18px 40px rgba(15, 31, 61, 0.16);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);

        transition:
            opacity 0.2s ease,
            transform 0.2s ease,
            visibility 0.2s ease;
    }

    .site-menu-v2.is-open,
    .site-nav-links-v2.is-open,
    .nav-links-v2.is-open,
    .site-navigation-v2.is-open {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    .site-menu-v2 a,
    .site-nav-links-v2 a,
    .nav-links-v2 a,
    .site-navigation-v2 a {
        display: block !important;
        width: 100%;
        padding: 13px 4px;
        border-bottom: 1px solid rgba(15, 31, 61, 0.07);
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    /* Prevent the hero overlay from blocking mobile navigation */
    .v2-hero,
    .v2-hero-overlay,
    .v2-hero-network {
        z-index: auto;
    }
}

/* ==========================================================
   CLOUDNORTH FINAL PRODUCTION POLISH
   ========================================================== */

:root {
    --cn-navy: #0d1d3a;
    --cn-blue: #1769e8;
    --cn-light-blue: #eaf3ff;
    --cn-border: rgba(13, 29, 58, 0.1);
    --cn-shadow: 0 18px 50px rgba(13, 29, 58, 0.12);
}

/* ---------- Enterprise header and logo ---------- */

.site-header-v2 {
    position: relative !important;
    z-index: 10000 !important;
    min-height: 94px !important;
    background: #ffffff !important;
    border-bottom: 1px solid var(--cn-border);
}

.site-nav-v2 {
    min-height: 94px !important;
    display: flex !important;
    align-items: center !important;
    gap: clamp(18px, 2vw, 34px) !important;
    overflow: visible !important;
}

.site-logo-v2 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 255px !important;
    width: 255px !important;
    min-width: 255px !important;
    max-width: 255px !important;
    height: 82px !important;
    overflow: visible !important;
    line-height: 0 !important;
}

.site-logo-v2 img {
    display: block !important;
    width: 245px !important;
    min-width: 245px !important;
    max-width: 245px !important;
    height: auto !important;
    max-height: 76px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

/* ---------- Trust strip ---------- */

.cn-home-trust {
    background: #ffffff;
    border-bottom: 1px solid var(--cn-border);
}

.cn-home-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.cn-home-trust-grid > div {
    padding: 24px 22px;
    text-align: center;
    border-right: 1px solid var(--cn-border);
}

.cn-home-trust-grid > div:last-child {
    border-right: 0;
}

.cn-home-trust strong,
.cn-home-trust span {
    display: block;
}

.cn-home-trust strong {
    margin-bottom: 5px;
    color: var(--cn-navy);
    font-size: 1rem;
}

.cn-home-trust span {
    color: #667085;
    font-size: 0.82rem;
}

/* ---------- About trust cards ---------- */

.cn-trust-section {
    padding: 90px 0;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f6f9fd 100%
        );
}

.cn-trust-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.cn-trust-heading > span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--cn-blue);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cn-trust-heading h2 {
    margin: 0 0 16px;
    color: var(--cn-navy);
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.12;
}

.cn-trust-heading p {
    margin: 0;
    color: #667085;
    font-size: 1rem;
    line-height: 1.75;
}

.cn-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.cn-trust-card {
    padding: 30px 26px;
    background: #ffffff;
    border: 1px solid var(--cn-border);
    border-radius: 18px;
    box-shadow: 0 8px 26px rgba(13, 29, 58, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.cn-trust-card:hover {
    transform: translateY(-5px);
    border-color: rgba(23, 105, 232, 0.24);
    box-shadow: var(--cn-shadow);
}

.cn-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    height: 54px;
    margin-bottom: 20px;
    padding: 0 12px;
    color: #ffffff;
    background: var(--cn-blue);
    border-radius: 14px;
    font-weight: 800;
}

.cn-trust-card h3 {
    margin: 0 0 12px;
    color: var(--cn-navy);
    font-size: 1.08rem;
}

.cn-trust-card p {
    margin: 0;
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ---------- Real testimonial ---------- */

.cn-testimonial-section {
    padding: 78px 0;
    background: var(--cn-navy);
}

.cn-testimonial-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 46px;
    color: #ffffff;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
}

.cn-testimonial-label {
    margin-bottom: 18px;
    color: #8fc5ff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cn-testimonial-card blockquote {
    margin: 0 0 22px;
    font-size: clamp(1.25rem, 2.6vw, 2rem);
    line-height: 1.55;
}

.cn-testimonial-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

/* ---------- General polish ---------- */

.v2-button,
.v2-button-outline,
.btn,
.button {
    min-height: 48px;
    border-radius: 8px;
}

img {
    max-width: 100%;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

button,
a {
    touch-action: manipulation;
}

/* ---------- Mobile navigation ---------- */

.site-menu-toggle-v2 {
    position: relative !important;
    z-index: 10003 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
}

@media (max-width: 1100px) {
    .site-logo-v2 {
        flex-basis: 210px !important;
        width: 210px !important;
        min-width: 210px !important;
        max-width: 210px !important;
    }

    .site-logo-v2 img {
        width: 202px !important;
        min-width: 202px !important;
        max-width: 202px !important;
        max-height: 64px !important;
    }
}

@media (max-width: 992px) {
    .site-header-v2,
    .site-nav-v2 {
        min-height: 76px !important;
    }

    .site-nav-v2 {
        justify-content: space-between !important;
    }

    .site-logo-v2 {
        flex-basis: 188px !important;
        width: 188px !important;
        min-width: 188px !important;
        max-width: 188px !important;
        height: 66px !important;
    }

    .site-logo-v2 img {
        width: 182px !important;
        min-width: 182px !important;
        max-width: 182px !important;
        max-height: 56px !important;
    }

    .site-menu-toggle-v2 {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 5px !important;
        flex: 0 0 46px !important;
        width: 46px !important;
        height: 46px !important;
        margin-left: auto !important;
        padding: 9px !important;
        border: 0 !important;
        border-radius: 8px !important;
        background: transparent !important;
    }

    .site-menu-toggle-v2 span {
        display: block !important;
        width: 25px !important;
        height: 2px !important;
        background: var(--cn-navy) !important;
        transition:
            transform 0.22s ease,
            opacity 0.22s ease !important;
        transform-origin: center !important;
    }

    .site-menu-toggle-v2.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }

    .site-menu-toggle-v2.is-open span:nth-child(2) {
        opacity: 0 !important;
    }

    .site-menu-toggle-v2.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }

    .site-menu-v2,
    .site-nav-links-v2,
    .nav-links-v2,
    .site-navigation-v2,
    .site-header-v2 nav ul {
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 10002 !important;

        display: none !important;
        flex-direction: column !important;
        align-items: stretch !important;

        width: 100% !important;
        max-height: calc(100vh - 76px) !important;
        margin: 0 !important;
        padding: 14px 22px 24px !important;
        overflow-y: auto !important;

        background: #ffffff !important;
        border-top: 1px solid var(--cn-border) !important;
        box-shadow: 0 24px 48px rgba(13, 29, 58, 0.18) !important;

        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-8px) !important;
    }

    .site-menu-v2.is-open,
    .site-nav-links-v2.is-open,
    .nav-links-v2.is-open,
    .site-navigation-v2.is-open,
    .site-header-v2 nav ul.is-open {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    .site-menu-v2 a,
    .site-nav-links-v2 a,
    .nav-links-v2 a,
    .site-navigation-v2 a,
    .site-header-v2 nav ul a {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 48px !important;
        padding: 12px 4px !important;
        border-bottom: 1px solid rgba(13, 29, 58, 0.07) !important;
    }

    body.cn-mobile-menu-open {
        overflow: hidden !important;
    }

    .cn-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cn-home-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cn-home-trust-grid > div:nth-child(2) {
        border-right: 0;
    }

    .cn-home-trust-grid > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--cn-border);
    }
}

@media (max-width: 600px) {
    .site-logo-v2 {
        flex-basis: 168px !important;
        width: 168px !important;
        min-width: 168px !important;
        max-width: 168px !important;
    }

    .site-logo-v2 img {
        width: 162px !important;
        min-width: 162px !important;
        max-width: 162px !important;
        max-height: 50px !important;
    }

    .cn-trust-section {
        padding: 64px 0;
    }

    .cn-trust-grid,
    .cn-home-trust-grid {
        grid-template-columns: 1fr;
    }

    .cn-trust-card {
        padding: 26px 22px;
    }

    .cn-home-trust-grid > div {
        border-right: 0;
        border-bottom: 1px solid var(--cn-border);
    }

    .cn-home-trust-grid > div:last-child {
        border-bottom: 0;
    }

    .cn-testimonial-card {
        padding: 32px 22px;
    }
}
