.final-nav {
  gap: 14px;
}

.desktop-nav {
  gap: 1px;
}

/* Give the full navigation its own row so laptop links never get crowded out. */
@media (min-width: 901px) {
  .final-header .final-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 20px;
    padding-top: 12px;
  }

  .final-header .final-actions {
    justify-content: flex-end;
  }

  .final-header .desktop-nav {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    gap: clamp(6px, 2vw, 28px);
    padding: 8px 0;
    margin-top: 12px;
    border-top: 1px solid rgba(110, 219, 214, 0.16);
  }

  .final-header .desktop-nav .nav-trigger {
    display: inline-flex;
    min-height: 44px;
    padding: 10px 16px;
    white-space: nowrap;
  }

  .final-header .final-menu-toggle {
    display: none;
  }

  .final-header .final-actions .header-quote,
  .final-header .final-actions .header-send-quote {
    display: inline-flex;
  }

  .final-header .mega-panel.open {
    display: block !important;
    max-height: calc(100dvh - 190px);
    overflow-y: auto;
  }
}

.final-header .nav-trigger:focus-visible,
.final-header .action-icon:focus-visible {
  outline: 2px solid #6edbd6;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .final-header .desktop-nav {
    display: none;
  }

  .final-header .final-nav {
    justify-content: space-between;
  }

  .final-header .final-menu-toggle {
    display: grid;
    font-size: 22px;
  }
}

.nav-trigger {
  padding-inline: 10px;
}

/* Hover bridge for seamless submenu transition */
.mega-panel::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
  pointer-events: auto;
}

.final-actions {
  flex: 0 0 auto;
  gap: 7px;
}

.header-send-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #b88332, #d49a3d);
  color: #ffffff;
  font-weight: 900;
  font-size: 13px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(184, 131, 50, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.header-send-quote:hover {
  background: linear-gradient(135deg, #c78f39, #e0a747);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184, 131, 50, 0.5);
  color: #ffffff;
}

.mobile-quote-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0;
}

.mobile-quote-actions .mobile-quote {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  font-size: 13px;
}

.mobile-send-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #b88332, #d49a3d);
  font-weight: 900;
  font-size: 13px;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(184, 131, 50, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-send-quote:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(184, 131, 50, 0.45);
  color: #ffffff;
}

.showroom-top-link,
.roi-top-link {
  flex: 0 0 auto;
}

@media (max-width: 1450px) {
  .desktop-nav .sitemap-trigger {
    display: none;
  }
}

@media (max-width: 1500px) {
  .showroom-top-link .showroom-long,
  .roi-top-link .roi-long {
    display: none;
  }

  .showroom-top-link,
  .roi-top-link {
    padding-inline: 11px;
  }
}

@media (max-width: 1400px) {
  .final-actions .header-quote,
  .final-actions .header-send-quote {
    min-width: 68px;
    padding-inline: 12px;
    font-size: 12px;
    text-align: center;
  }
}

@media (max-width: 1280px) {
  .desktop-nav [data-panel="mediaPanel"],
  .final-actions .header-quote,
  .final-actions .header-send-quote {
    display: none;
  }
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .final-menu-toggle {
    display: grid;
  }

  .final-actions .header-quote,
  .final-actions .header-send-quote {
    display: none;
  }
}

@media (max-width: 760px) {
  .final-nav {
    gap: 8px;
  }

  .final-actions {
    gap: 5px;
  }

  .showroom-top-link,
  .roi-top-link {
    width: 39px;
    min-width: 39px;
    min-height: 39px;
    padding: 0;
  }
}

@media (max-width: 390px) {
  .final-brand img {
    width: 44px;
    height: 44px;
  }

  .final-actions .action-icon,
  .showroom-top-link,
  .roi-top-link {
    width: 37px;
    min-width: 37px;
    height: 37px;
    min-height: 37px;
  }
}

/* ===== ENHANCED ATTRACTIVE TOP MENU BAR ===== */
.corporate-top {
  position: relative;
  z-index: 1102;
  background: linear-gradient(90deg, #040e12 0%, #081c23 35%, #081d25 65%, #040e12 100%);
  border-bottom: 1px solid rgba(110, 219, 214, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.38);
}

.corporate-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 219, 214, 0.45) 30%, rgba(110, 219, 214, 0.45) 70%, transparent);
  pointer-events: none;
}

.corporate-top-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
  color: #a2b7bf;
  font-size: 12px;
}

.corporate-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Manufacturer • Supplier • Trader Badge */
.corp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: linear-gradient(135deg, rgba(53, 182, 178, 0.18), rgba(53, 182, 178, 0.06));
  border: 1px solid rgba(110, 219, 214, 0.38);
  border-radius: 999px;
  color: #7cebe5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 14px rgba(53, 182, 178, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.corp-badge:hover {
  background: linear-gradient(135deg, rgba(53, 182, 178, 0.26), rgba(53, 182, 178, 0.12));
  border-color: rgba(110, 219, 214, 0.65);
  box-shadow: 0 0 18px rgba(110, 219, 214, 0.24);
}

.corp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6edbd6;
  box-shadow: 0 0 10px #6edbd6;
  position: relative;
  flex-shrink: 0;
}

.corp-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(110, 219, 214, 0.7);
  animation: corpDotPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes corpDotPulse {
  0% { transform: scale(0.9); opacity: 0.95; }
  50% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0.95; }
}

.corp-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

/* Phone Contact Pill */
.corp-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  color: #f3fcfa;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.corp-phone strong {
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.corp-phone .corp-icon {
  color: #6edbd6;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.corp-phone:hover {
  background: linear-gradient(135deg, rgba(53, 182, 178, 0.24), rgba(53, 182, 178, 0.1));
  border-color: rgba(110, 219, 214, 0.6);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(53, 182, 178, 0.22);
}

.corp-phone:hover .corp-icon {
  transform: scale(1.15) rotate(-6deg);
}

/* Location Item */
.corp-location {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b3c7cf;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.corp-location .corp-icon {
  color: #6edbd6;
  opacity: 0.85;
  flex-shrink: 0;
}

/* Right Navigation Links */
.corporate-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.corp-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 7px;
  color: #9cb3bd;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.corp-nav-icon {
  color: #5fb5b1;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.corp-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.corp-nav-link:hover .corp-nav-icon {
  opacity: 1;
  transform: translateY(-1px);
  color: #6edbd6;
}

/* Fallback un-enhanced markup styles */
.corporate-top-inner > div:first-child:not(.corporate-info) {
  display: flex;
  align-items: center;
  gap: 14px;
}
.corporate-top-inner > div:first-child:not(.corporate-info) > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px;
  background: rgba(53, 182, 178, 0.14);
  border: 1px solid rgba(110, 219, 214, 0.35);
  border-radius: 999px;
  color: #7cebe5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.corporate-top-inner > div:first-child:not(.corporate-info) > a {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1fbfb;
  font-weight: 800;
}
.corporate-top-inner > div:first-child:not(.corporate-info) > a:hover {
  border-color: rgba(110, 219, 214, 0.55);
  color: #6edbd6;
  background: rgba(53, 182, 178, 0.16);
}

/* Responsive top bar rules */
@media (max-width: 1080px) {
  .corporate-links {
    display: none;
  }
}

@media (max-width: 760px) {
  .corporate-top {
    display: block !important;
    background: #040e12;
  }
  .corporate-top-inner {
    min-height: 38px;
    padding: 3px 0;
    justify-content: center;
    gap: 8px;
  }
  .corp-location,
  .corp-divider:last-of-type,
  .corporate-top-inner > div:first-child:not(.corporate-info) > span:last-child {
    display: none;
  }
  .corp-badge,
  .corporate-top-inner > div:first-child:not(.corporate-info) > span:first-child {
    font-size: 10px;
    padding: 3px 9px;
  }
  .corp-phone,
  .corporate-top-inner > div:first-child:not(.corporate-info) > a {
    font-size: 11.5px;
    padding: 3px 9px;
  }
}

@media (max-width: 480px) {
  .corp-badge,
  .corporate-top-inner > div:first-child:not(.corporate-info) > span:first-child {
    display: none;
  }
  .corp-divider {
    display: none;
  }
}

/* Keep utility navigation reachable at tablet and phone widths. */
@media (max-width: 1180px) {
  .corporate-top .corporate-top-inner { flex-wrap: wrap; justify-content: center; gap: 4px 16px; padding: 6px 0; }
  .corporate-top .corporate-info { min-width: 0; justify-content: center; }
  .corporate-top .corporate-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
  .corporate-top .corp-nav-link { min-height: 36px; display: inline-flex; align-items: center; }
}
@media (max-width: 760px) {
  .corporate-top .corporate-top-inner { flex-direction: column; }
  .corporate-top .corporate-links { width: 100%; gap: 4px 10px; }
  .corporate-top .corp-nav-link { padding: 8px 6px; font-size: 11px; min-height: 40px; }
}

/* ==========================================================================
   LOGO & BRAND TEXT SLOW REVEAL ANIMATIONS (L&T HYDRAULIC INDUSTRY)
   ========================================================================== */

.final-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  cursor: pointer;
  perspective: 600px;
}

/* 1. LOGO IMAGE ANIMATION: Pop-in, gentle rotate, and ambient cyan glow pulse */
.final-brand img {
  position: relative;
  width: 58px;
  height: 58px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 12px;
  padding: 3px;
  transform-origin: center center;
  box-shadow: 0 0 0 1px rgba(110, 219, 214, 0.25), 0 8px 22px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s ease,
              filter 0.4s ease;
  will-change: transform, box-shadow, opacity;
  animation: logoImgReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both,
             logoImgHalo 5s ease-in-out 1.2s infinite;
}

@keyframes logoImgReveal {
  0% {
    opacity: 0;
    transform: scale(0.6) rotate(-14deg);
    filter: drop-shadow(0 0 0 rgba(110, 219, 214, 0));
  }
  50% {
    opacity: 1;
    transform: scale(1.1) rotate(3deg);
    filter: drop-shadow(0 0 20px rgba(110, 219, 214, 0.8));
  }
  75% {
    transform: scale(0.96) rotate(-1deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 8px rgba(110, 219, 214, 0.35));
  }
}

@keyframes logoImgHalo {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(110, 219, 214, 0.25), 0 8px 22px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 0 2px rgba(110, 219, 214, 0.65), 0 0 24px rgba(53, 182, 178, 0.48), 0 8px 26px rgba(0, 0, 0, 0.45);
  }
}

.final-brand:hover img,
.final-brand.brand-hovering img {
  transform: translateY(-2px) scale(1.07) rotate(1.5deg);
  box-shadow: 0 0 0 2px #6edbd6, 0 0 30px rgba(110, 219, 214, 0.7), 0 12px 30px rgba(0, 0, 0, 0.5);
  filter: brightness(1.04);
}

/* 2. TEXT CONTAINER & ACCENT UNDERLINE */
.final-brand div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
}

.final-brand div::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #24bcb4 0%, #6edbd6 60%, transparent 100%);
  border-radius: 99px;
  opacity: 0;
  pointer-events: none;
  animation: logoLineExpand 1.2s cubic-bezier(0.2, 0.8, 0.25, 1) 1.8s forwards;
  transition: width 0.4s ease, opacity 0.4s ease;
}

@keyframes logoLineExpand {
  0% {
    width: 0;
    opacity: 0;
  }
  40% {
    opacity: 0.85;
  }
  100% {
    width: 100%;
    opacity: 0.75;
  }
}

.final-brand:hover div::after,
.final-brand.brand-hovering div::after {
  width: 100%;
  opacity: 1;
  background: linear-gradient(90deg, #6edbd6 0%, #72ebe4 70%, transparent 100%);
  box-shadow: 0 0 8px rgba(110, 219, 214, 0.6);
}

/* 3. LOGO TITLE: "L&T Hydraulic Industry" (SLOW PROGRESSIVE REVEAL) */
.final-brand strong {
  display: block;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #ffffff;
  transform-origin: left center;
  will-change: clip-path, transform, opacity;
  animation: logoTitleSlowReveal 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both,
             logoTitleSheenSweep 7s ease-in-out 3s infinite;
}

@supports (-webkit-background-clip: text) {
  .final-brand strong {
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 42%, #6edbd6 55%, #ffffff 68%, #ffffff 100%);
    background-size: 260% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

@keyframes logoTitleSlowReveal {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transform: translateX(-14px);
    filter: blur(4px);
  }
  25% {
    opacity: 1;
    filter: blur(1px);
  }
  100% {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@keyframes logoTitleSheenSweep {
  0%, 75% {
    background-position: 100% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

.final-brand:hover strong,
.final-brand.brand-hovering strong {
  animation: logoTitleSheenSweep 1.2s ease-in-out forwards;
}

/* 4. LOGO SUBTITLE: "Built to Last" (SLOW REVEAL & SHIMMER) */
.final-brand span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9cb2bc;
  white-space: nowrap;
  will-change: transform, opacity, letter-spacing;
  animation: logoSubtitleSlowReveal 1.4s cubic-bezier(0.2, 0.8, 0.25, 1) 1.4s both,
             logoSubtitleBreath 6s ease-in-out 3.2s infinite;
  transition: color 0.3s ease, text-shadow 0.3s ease, letter-spacing 0.3s ease;
}

@keyframes logoSubtitleSlowReveal {
  0% {
    opacity: 0;
    transform: translateY(6px);
    letter-spacing: 0.04em;
    color: #72ebe4;
    filter: blur(3px);
  }
  40% {
    opacity: 0.65;
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.16em;
    color: #9cb2bc;
    filter: blur(0);
  }
}

@keyframes logoSubtitleBreath {
  0%, 100% {
    color: #9cb2bc;
    text-shadow: none;
  }
  50% {
    color: #72ebe4;
    text-shadow: 0 0 10px rgba(114, 235, 228, 0.45);
  }
}

.final-brand:hover span,
.final-brand.brand-hovering span {
  color: #72ebe4;
  text-shadow: 0 0 12px rgba(114, 235, 228, 0.65);
  letter-spacing: 0.18em;
}

/* 5. HOMEPAGE INTRO LOADER INTEGRATION */
body.loader-active .final-brand img,
body.loader-active .final-brand strong,
body.loader-active .final-brand span,
body.loader-active .final-brand div::after {
  animation: none !important;
  opacity: 0 !important;
}

/* 6. RESPONSIVE BEHAVIOR */
@media (max-width: 760px) {
  .final-brand div {
    display: flex !important;
  }
  .final-brand img {
    width: 48px;
    height: 48px;
  }
  .final-brand strong {
    font-size: 13.5px;
  }
  .final-brand span {
    font-size: 8.5px;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 440px) {
  .final-brand span {
    display: none !important;
  }
  .final-brand strong {
    font-size: 12.5px;
  }
}

@media (max-width: 350px) {
  .final-brand div {
    display: none !important;
  }
}

/* Keep visitor location and its permission control available on mobile. */
.corporate-info .corp-location { display: inline-flex; }
@media (max-width: 760px) {
  .corporate-top .corporate-info { flex-wrap: wrap; justify-content: center; }
  .corporate-info .corp-location { flex: 1 1 100%; justify-content: center; flex-wrap: wrap; white-space: normal; padding: 3px 0; }
  .corp-location > span { overflow-wrap: anywhere; }
  .corp-location .corp-location-button { flex-shrink: 0; }
}

/* Fit the shared navigation to its actual available width. */
.final-header .final-nav { width: min(1600px, calc(100% - 40px)); }
.final-nav .final-brand { min-width: 0; flex-shrink: 0; }
.final-nav .final-actions { margin-left: auto; }
@media (max-width: 1500px) {
  .final-nav .desktop-nav { display: none; }
  .final-nav .final-menu-toggle { display: grid; }
}
@media (max-width: 760px) {
  .final-header .final-nav { width: calc(100% - 24px); gap: 8px; }
  .final-nav .final-actions { gap: 5px; }
  .final-nav .final-brand { gap: 8px; }
}
@media (max-width: 480px) {
  .final-nav .final-brand div { display: none !important; }
  .final-nav .final-brand img { width: 44px; height: 44px; }
  .final-nav .final-actions :is(.action-icon, .showroom-top-link, .roi-top-link) {
    width: 40px; min-width: 40px; height: 44px; min-height: 44px;
  }
}
.final-mobile-drawer .mobile-logo { min-width: 0; }
.final-mobile-drawer .mobile-logo img { flex-shrink: 0; }
.final-mobile-drawer .mobile-logo strong { overflow-wrap: anywhere; }
.final-mobile-drawer .mobile-close { flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) {
  .final-brand :is(img, strong, span), .final-brand div::after {
    animation: none !important; opacity: 1; transform: none; clip-path: none;
  }
}

/* Enquiry actions share the top utility navigation. */
.corporate-top .corporate-top-inner { flex-wrap: wrap; gap: 6px 16px; }
.corporate-top .corporate-links { flex-wrap: wrap; }
.corporate-top .corp-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 32px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid #6edbd649;
  border-radius: 7px;
  background: #6edbd612;
  color: #bcece7;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
}
.corporate-top .corp-action:hover { background: #6edbd62b; color: #fff; }

.corporate-top .corp-tool-link { color: #a5ded8; white-space: nowrap; }
.corporate-top .corporate-top-inner > div:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
@media (min-width: 901px) {
  .final-header .desktop-nav .sitemap-trigger { display: inline-flex; }
}

/* Full navigation on laptops/desktops; drawer navigation on tablets/phones. */
@media (min-width: 1025px) {
  .final-header .final-nav .desktop-nav {
    display: flex;
    justify-content: space-evenly;
    gap: clamp(4px, 1vw, 16px);
    width: 100%;
  }
  .final-header .final-nav .desktop-nav .nav-trigger { display: inline-flex; padding-inline: 12px; }
  .final-header .final-nav .final-menu-toggle { display: none; }
}
@media (max-width: 1024px) {
  .final-header .final-nav { display: flex; padding-top: 0; }
  .final-header .final-nav .desktop-nav { display: none; }
  .final-header .final-nav .final-menu-toggle { display: grid; }
}

/* Share one header row between the brand, desktop menu and search. */
@media (min-width: 1025px) {
  .final-header .final-nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.5vw, 24px);
    padding-top: 0;
  }
  .final-header .final-nav .desktop-nav {
    flex: 1;
    width: auto;
    min-width: 0;
    margin-top: 0;
    padding: 0;
    border-top: 0;
    gap: 2px;
    justify-content: space-evenly;
  }
  .final-header .final-nav .desktop-nav .nav-trigger {
    padding-inline: clamp(6px, .8vw, 14px);
    font-size: clamp(12px, .95vw, 14px);
  }
  .final-header .final-nav .final-actions { margin-left: 0; flex-shrink: 0; }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  .final-header .final-nav .final-brand { gap: 8px; }
  .final-header .final-nav .final-brand strong { font-size: 12px; }
  .final-header .final-nav .final-brand img { width: 48px; height: 48px; }
}

.final-header .main-contact-link { text-decoration: none; white-space: nowrap; }

.final-header :is(.main-showroom-link, .main-roi-link) { text-decoration: none; white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1280px) {
  .final-header .final-nav { gap: 10px; }
  .final-header .final-nav .final-brand div { display: none; }
  .final-header .final-nav .desktop-nav .nav-trigger { padding-inline: 5px; font-size: 12px; gap: 4px; }
}

/* Distinguish the interactive planning tools from navigation links. */
.final-header .final-nav .desktop-nav :is(.main-showroom-link, .main-roi-link) {
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(110, 219, 214, .4);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(110, 219, 214, .2), rgba(110, 219, 214, .06));
  color: #b9f1eb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  font-size: 12px;
  font-weight: 800;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.final-header .final-nav .desktop-nav .main-roi-link {
  border-color: rgba(221, 171, 91, .5);
  background: linear-gradient(135deg, rgba(221, 171, 91, .2), rgba(221, 171, 91, .06));
  color: #f2d49f;
}
.final-header .final-nav .desktop-nav :is(.main-showroom-link, .main-roi-link):hover {
  border-color: currentColor;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .12);
  background-color: rgba(255, 255, 255, .08);
}
@media (min-width: 1025px) and (max-width: 1280px) {
  .final-header .final-nav .desktop-nav :is(.main-showroom-link, .main-roi-link) { padding-inline: 8px; font-size: 11px; }
}

/* Keep the desktop utility bar on one line in both header markup variants. */
@media (min-width: 1025px) {
  .corporate-top .corporate-top-inner {
    width: min(1600px, calc(100% - 40px));
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
  }
  .corporate-top .corporate-top-inner > div,
  .corporate-top .corporate-info,
  .corporate-top .corporate-links {
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
    white-space: nowrap;
    gap: 8px;
  }
  .corporate-top .corp-nav-link { padding-inline: 8px; }
}
@media (min-width: 1025px) and (max-width: 1250px) {
  .corporate-top .corporate-top-inner { width: calc(100% - 24px); gap: 8px; font-size: 11px; }
  .corporate-top .corporate-top-inner > div { gap: 6px; }
  .corporate-top .corp-badge,
  .corporate-top .corporate-top-inner > div:first-child:not(.corporate-info) > span:first-child {
    padding-inline: 7px; font-size: 9px; letter-spacing: 0;
  }
  .corporate-top .corp-nav-link { padding-inline: 6px; font-size: 11px; }
  .corporate-top .corp-location { font-size: 10px; }
  .corporate-top .corp-divider { display: none; }
}
