/* ============================================================
       NEW DESIGN SYSTEM — CYAN SKEUOMORPHISM (matches homepage)
       Fonts: Fraunces (display serif), Sora (body), Space Mono (mono)
       ============================================================ */
:root {
  --cyan: #00B4D8;
  --cyan-deep: #0077B6;
  --cyan-soft: #CAF0F8;
  --cyan-pale: #E0F7FA;
  --navy: #0A1F44;
  --navy-deep: #051024;
  --navy-soft: #E7ECF5;
  --red: #C8102E;
  --gold: #C9A34E;
  --cream: #F2F7F9;
  --paper: #FFFFFF;
  --paper-2: #EAF4F8;
  --ink: #101418;
  --ink-soft: #3A4553;
  --ink-mute: #7C8797;
  --line: rgba(10, 31, 68, .09);
  --whatsapp: #25D366;

  --shadow-raised: 6px 6px 16px rgba(10, 31, 68, .10), -6px -6px 16px rgba(255, 255, 255, .9);
  --shadow-inset: inset 4px 4px 10px rgba(10, 31, 68, .06), inset -4px -4px 10px rgba(255, 255, 255, .85);
  --shadow-deep: 0 30px 70px -20px rgba(10, 31, 68, .22);
  --shadow-cyan: 0 8px 30px -8px rgba(0, 180, 216, .45);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --font-body: 'Sora', -apple-system, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-mono: 'Space Mono', monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t: .45s var(--ease);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(202, 240, 248, .6), transparent 60%),
    radial-gradient(ellipse 40% 50% at 100% 100%, rgba(0, 180, 216, .08), transparent 60%),
    var(--cream);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--t);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.015em;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--cyan-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 1.5px;
  background: var(--cyan);
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 28px;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: var(--t);
  border: 1px solid transparent;
  position: relative;
  white-space: nowrap;
}

.btn-cyan {
  background: var(--cyan-deep);
  color: #FFF;
  box-shadow: 4px 4px 0 rgba(0, 119, 182, .35);
}

.btn-cyan:hover {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 rgba(0, 119, 182, .35);
  background: var(--cyan);
}

.btn-ghost {
  background: var(--paper);
  color: var(--navy);
  border: 1.5px solid var(--cyan);
  box-shadow: var(--shadow-raised);
}

.btn-ghost:hover {
  background: var(--cyan);
  color: #FFF;
  transform: translateY(-2px);
}

/* ============================================================
       HEADER — floating pill nav (matches homepage)
       ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 24px;
  background: transparent;
  transition: var(--t);
}

.site-header.scrolled {
  background: rgba(242, 247, 249, .85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 30px -18px rgba(10, 31, 68, .2);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 8px 8px 20px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 60px;
  box-shadow: var(--shadow-raised);
  max-width: 1180px;
  margin: 0 auto;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  height: 34px;
  width: auto;
  border-radius: 8px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -.01em;
}

.logo-text span {
  font-family: var(--font-mono);
  font-size: .46rem;
  color: var(--cyan-deep);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: 5px;
}

.nav-toggle {
  display: none;
  background: var(--paper);
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  z-index: 1001;
  box-shadow: var(--shadow-raised);
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: var(--t);
  margin: 4px 0;
  border-radius: 1px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-soft);
  border-radius: 40px;
  transition: var(--t);
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: var(--cyan-deep);
  background: var(--cyan-pale);
}

.nav-arrow svg {
  width: 9px;
  height: 9px;
  transition: var(--t);
}

.nav-item:hover .nav-arrow svg {
  transform: rotate(180deg);
}

.nav-item.has-dropdown::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  z-index: 998;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-deep);
  padding: 10px;
  min-width: 270px;
  max-height: 360px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--t);
  z-index: 999;
}

.dropdown-menu::-webkit-scrollbar {
  width: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(0, 119, 182, .25);
  border-radius: 2px;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 6px;
  transition: var(--t);
  border-left: 2px solid transparent;
}

.dropdown-menu a:hover {
  background: var(--cyan-pale);
  color: var(--cyan-deep);
  border-left-color: var(--cyan);
  padding-left: 18px;
}

/* Mega menu — centered, no hover gap */
.mega-menu {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-deep);
  padding: 0;
  min-width: 880px;
  max-width: 94vw;
  max-height: 72vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: var(--t);
  z-index: 999;
}

.mega-menu::-webkit-scrollbar {
  width: 3px;
}

.mega-menu::-webkit-scrollbar-thumb {
  background: rgba(0, 119, 182, .25);
  border-radius: 2px;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-18px);
}

.mega-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  position: sticky;
  top: 0;
  z-index: 2;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.mega-header-title {
  font-family: var(--font-mono);
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--navy);
}

.mega-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: 40px;
  box-shadow: var(--shadow-inset);
}

.mega-search i {
  font-size: 11px;
  color: var(--ink-mute);
}

.mega-search input {
  border: none;
  background: transparent;
  font-size: .72rem;
  outline: none;
  width: 160px;
  font-family: var(--font-body);
  color: var(--ink);
}

.mega-search input::placeholder {
  color: var(--ink-mute);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.mega-group {
  border-right: 1px solid var(--line);
}

.mega-group:last-child {
  border-right: none;
}

.mega-group h4 {
  font-family: var(--font-mono);
  font-size: .52rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--cyan-deep);
  padding: 13px 20px 9px;
  border-bottom: 1px solid var(--line);
}

.mega-group a {
  display: block;
  padding: 8px 20px;
  font-size: .72rem;
  color: var(--ink-soft);
  transition: var(--t);
  border-bottom: 1px solid rgba(10, 31, 68, .04);
}

.mega-group a:hover {
  background: var(--cyan-pale);
  color: var(--cyan-deep);
  padding-left: 26px;
}

/* ============================================================
       PORT HERO — image background with title (matches about/contact)
       ============================================================ */
.port-hero {
  position: relative;
  margin: 8px 24px 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-deep);
  border: 1px solid var(--line);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.port-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.port-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) brightness(.7);
}

.port-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 16, 36, .22) 0%, rgba(5, 16, 36, .85) 100%);
}

.port-hero-content {
  position: relative;
  z-index: 1;
  padding: 52px 56px 44px;
  width: 100%;
  max-width: 900px;
}

.port-hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 24px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 40px;
}

.port-hero-breadcrumb a {
  color: var(--cyan-soft);
  font-weight: 700;
}

.port-hero-breadcrumb a:hover {
  color: #FFF;
}

.port-hero-title {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: .96;
  color: #FFF;
  margin-bottom: 20px;
  letter-spacing: -.025em;
}

.port-hero-title em {
  font-style: italic;
  color: var(--cyan-soft);
  font-weight: 300;
  position: relative;
  display: inline-block;
}

.port-hero-title em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: .08em;
  height: .1em;
  background: var(--cyan);
  opacity: .7;
  border-radius: 2px;
}

.port-hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, .78);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.port-hero-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.port-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 40px;
  font-family: var(--font-mono);
  font-size: .56rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .85);
}

.port-hero-meta-item i {
  color: var(--cyan-soft);
}

.port-hero-meta-item strong {
  color: #FFF;
}

/* ============================================================
       PORT CONTENT — editorial prose
       ============================================================ */
.port-content {
  padding: 70px 0 40px;
  position: relative;
}

.prose {
  max-width: 860px;
  margin: 0 auto;
}

.prose p {
  font-size: .96rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.prose p:first-of-type {
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.8;
}

.prose p strong {
  color: var(--navy);
  font-weight: 700;
}

.prose h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.15;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  letter-spacing: -.015em;
  position: relative;
}

.prose h2::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 44px;
  height: 2px;
  background: var(--cyan);
}

.prose ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 32px;
  margin: 18px 0 28px;
  padding: 0;
}

.prose ul li {
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.55;
  padding: 6px 0 6px 22px;
  position: relative;
  border-bottom: 1px dashed rgba(10, 31, 68, .06);
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}

.prose ul li:last-child {
  border-bottom: none;
}

/* ============================================================
       QUOTE CTA — full-width cyan band (matches homepage)
       ============================================================ */
.quote-new {
  padding: 40px 0 80px;
}

.quote-inner {
  background: linear-gradient(135deg, var(--cyan-deep), var(--cyan));
  border-radius: var(--r-lg);
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--shadow-cyan);
  position: relative;
  overflow: hidden;
}

.quote-inner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: 10%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  pointer-events: none;
}

.quote-inner::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: 5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  pointer-events: none;
}

.quote-inner-text {
  position: relative;
  z-index: 1;
}

.quote-inner-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: #FFF;
  line-height: 1.05;
  margin-bottom: 10px;
}

.quote-inner-text h2 em {
  font-style: italic;
  color: var(--cyan-soft);
  font-weight: 300;
}

.quote-inner-text p {
  font-size: .88rem;
  color: rgba(255, 255, 255, .8);
  max-width: 480px;
  line-height: 1.6;
}

.quote-inner .btn-cyan {
  background: #FFF;
  color: var(--navy);
  box-shadow: 5px 5px 0 var(--navy);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.quote-inner .btn-cyan:hover {
  background: var(--cyan-soft);
  box-shadow: 2px 2px 0 var(--navy);
}

/* ============================================================
       FOOTER — light, structured (matches homepage)
       ============================================================ */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 0;
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.footer-brand .logo {
  margin-bottom: 18px;
}

.footer-brand .logo img {
  height: 38px;
}

.footer-brand .logo-text strong {
  color: var(--navy);
}

.footer-brand .logo-text span {
  color: var(--cyan-deep);
}

.footer-brand p {
  font-size: .82rem;
  line-height: 1.75;
  color: var(--ink-mute);
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: .56rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--cyan-deep);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: .8rem;
  transition: var(--t);
}

.footer-links a:hover {
  color: var(--cyan-deep);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: .8rem;
  color: var(--ink-soft);
  align-items: flex-start;
  line-height: 1.6;
}

.footer-contact i {
  color: var(--cyan-deep);
  margin-top: 3px;
  font-size: .78rem;
  width: 15px;
  flex-shrink: 0;
}

.footer-contact a {
  color: inherit;
}

.footer-contact a:hover {
  color: var(--cyan-deep);
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper-2);
  padding: 10px 16px;
  border-radius: 40px;
  border: 1px solid var(--line);
  transition: var(--t);
  margin-top: 4px;
}

.footer-whatsapp:hover {
  border-color: var(--cyan);
  transform: translateX(4px);
}

.footer-whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #25D366;
  border-radius: 50%;
  color: #FFF;
  flex-shrink: 0;
}

.footer-whatsapp-icon svg {
  width: 15px;
  height: 15px;
}

.footer-whatsapp-tag {
  color: #25D366;
  font-weight: 700;
  font-size: .66rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.footer-whatsapp-num {
  color: var(--navy);
  font-weight: 700;
  font-size: .82rem;
  white-space: nowrap;
}

.footer-whatsapp-arrow {
  color: var(--cyan-deep);
  font-size: 1rem;
  margin-left: 2px;
}

.footer-bottom {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: .56rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.footer-bottom-right {
  display: flex;
  gap: 20px;
}

.footer-bottom-right a:hover {
  color: var(--cyan-deep);
}

/* ===== WHATSAPP FLOAT (unchanged) ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  z-index: 1000;
  transition: var(--t);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 14px 40px rgba(37, 211, 102, .6);
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
       RESPONSIVE
       ============================================================ */
@media (max-width: 1100px) {
  .port-hero {
    margin: 8px 16px 0;
    min-height: 380px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .quote-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 44px 40px;
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh;
    background: var(--cream);
    /* Changed from rgba to solid color */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    padding: 110px 32px 40px;
    transition: right .45s var(--ease);
    overflow-y: auto;
    /* This is crucial for scrolling */
    align-items: flex-start;
    gap: 6px;
    z-index: 999;
  }

  .primary-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 2px;
    align-items: flex-start;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 16px 14px;
    font-size: .84rem;
    color: var(--ink);
    border-radius: 8px;
  }

  .nav-link:hover {
    background: var(--cyan-pale);
  }

  .nav-item.has-dropdown::after {
    display: none;
  }

  .dropdown-menu,
  .mega-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: none !important;
    border-left: 2px solid rgba(0, 119, 182, .25) !important;
    padding: 0 !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s var(--ease), padding .45s var(--ease);
    display: block !important;
    min-width: auto !important;
    width: 100% !important;
    background: var(--paper-2) !important;
    /* ADDED: Solid background for the dropdown itself */
    backdrop-filter: none !important;
    top: auto !important;
    left: auto !important;
    border-radius: var(--r-md);
    /* Added border radius for mobile view */
    max-width: 100%;
    margin-left: 0;
  }

  .nav-item.open .dropdown-menu,
  .nav-item.open .mega-menu {
    max-height: 600px !important;
    /* Large enough to show a good chunk of the list */
    overflow-y: auto !important;
    /* Allows scrolling the ports if they exceed screen height */
    padding: 8px 0 8px 18px !important;
    margin-bottom: 10px;
  }

  .dropdown-menu a,
  .mega-group a {
    color: var(--ink-soft) !important;
    padding: 12px 14px !important;
    margin: 0 !important;
    font-size: .82rem !important;
    border-bottom: 1px solid rgba(10, 31, 68, .06) !important;
    background: var(--paper) !important;
    /* Adds contrast to each link */
  }

  .dropdown-menu a:hover,
  .mega-group a:hover {
    color: var(--cyan-deep) !important;
    background: var(--cyan-pale);
  }

  .mega-header {
    padding: 12px 0;
    margin-bottom: 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    border-bottom: 1px solid rgba(10, 31, 68, .06);
    background: transparent;
    position: static;
    backdrop-filter: none;
  }

  .mega-search {
    width: 100%;
    background: var(--paper);
    padding: 8px 14px;
    border: 1px solid var(--line);
    position: static;
  }

  .mega-search input {
    width: 100%;
  }

  .mega-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mega-group {
    border-right: none;
    border-bottom: 1px solid rgba(10, 31, 68, .05);
  }

  .mega-group h4 {
    font-size: .56rem !important;
    padding: 10px 12px;
    background: transparent;
  }

  .header-inner {
    border-radius: 40px;
    padding: 8px 8px 8px 16px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .port-hero {
    margin: 8px 12px 0;
    min-height: 340px;
  }

  .port-hero-content {
    padding: 36px 26px 32px;
  }

  .port-hero-title {
    font-size: 2.3rem;
  }

  .port-content {
    padding: 50px 0 20px;
  }

  .prose p {
    font-size: .92rem;
  }

  .prose p:first-of-type {
    font-size: 1rem;
  }

  .prose h2 {
    margin-top: 36px;
    font-size: 1.3rem;
  }

  .prose ul {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .quote-inner {
    padding: 36px 28px;
  }
}

@media (max-width: 480px) {
  .port-hero-title {
    font-size: 2rem;
  }

  .port-hero-desc {
    font-size: .9rem;
  }

  .port-hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}