/* =========================================
       DESIGN SYSTEM — Neumorphism / Light
    ========================================= */
:root {
  --bg: #E0E8F0;
  --bg-light: #F0F4F8;
  --bg-dark: #C8D4E0;
  --steel: #3E5F8A;
  --steel-light: #5A7FAE;
  --ice: #A8C8E8;
  --coral: #E86B4A;
  --coral-dark: #D45535;
  --ink: #1B2A4A;
  --ink-soft: #3A4A6A;
  --text: #4A5A7A;
  --text-soft: #6A7A9A;
  --white: #FFFFFF;

  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  --shadow-soft: 6px 6px 14px #C8D4E0, -6px -6px 14px #F8FCFF;
  --shadow-soft-sm: 4px 4px 10px #C8D4E0, -4px -4px 10px #F8FCFF;
  --shadow-soft-lg: 10px 10px 24px #C8D4E0, -10px -10px 24px #F8FCFF;
  --shadow-inset: inset 4px 4px 10px #C8D4E0, inset -4px -4px 10px #F8FCFF;
  --shadow-inset-sm: inset 2px 2px 6px #C8D4E0, inset -2px -2px 6px #F8FCFF;
  --shadow-pressed: inset 6px 6px 12px #C8D4E0, inset -6px -6px 12px #F8FCFF;

  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;

  --font-display: 'Quicksand', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-dark);
  border-radius: 10px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--steel-light);
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =========================================
       TYPOGRAPHY
    ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
  margin-bottom: 22px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg);
  box-shadow: var(--shadow-soft-sm);
}

.eyebrow::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
}

/* Dark enquiry card: no pale-blue pill behind the label. */
.eu-port-page .port-sidebar p.eyebrow,
.eu-port-hub .port-sidebar p.eyebrow {
  color: #f4f8fb !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* =========================================
       BUTTONS
    ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 34px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 10px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-lg);
}

.btn:active {
  box-shadow: var(--shadow-pressed);
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: var(--white);
  box-shadow: 6px 6px 14px rgba(200, 212, 224, 0.9), -6px -6px 14px #F8FCFF;
}

.btn-primary:hover {
  box-shadow: 8px 8px 20px rgba(200, 212, 224, 0.9), -8px -8px 20px #F8FCFF;
  filter: brightness(1.05);
}

.btn-primary:active {
  box-shadow: inset 4px 4px 10px rgba(180, 80, 60, 0.4), inset -4px -4px 10px rgba(255, 140, 110, 0.3);
}

.btn-outline {
  background: var(--bg);
  color: var(--steel);
  box-shadow: var(--shadow-soft);
}

.btn-outline:hover {
  color: var(--coral);
}

/* =========================================
       HEADER / NAVBAR
    ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg);
  box-shadow: 0 2px 12px rgba(200, 212, 224, 0.5);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(200, 212, 224, 0.7);
}

.site-header.menu-open {
  background: var(--bg) !important;
  box-shadow: none;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  position: relative;
  z-index: 1002;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1001;
}

.logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

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

.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.logo-text span {
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: var(--coral);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: var(--bg);
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1003;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
  margin: 5px 0;
}

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

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

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: var(--steel);
  box-shadow: var(--shadow-soft-sm);
  background: var(--bg);
}

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

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

.nav-item.has-dropdown::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 100%;
  height: 18px;
  background: transparent;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(8px);
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft-lg);
  padding: 12px;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  max-height: 420px;
  overflow-y: auto;
}

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

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

.dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--bg-dark);
  border-radius: 10px;
}

.dropdown-menu a {
  display: block;
  padding: 11px 18px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.dropdown-menu a:hover {
  background: var(--bg);
  color: var(--coral);
  box-shadow: var(--shadow-inset-sm);
}

.mega-menu {
  position: fixed;
  top: 63px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft-lg);
  padding: 32px;
  width: 92vw;
  max-width: 1100px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  max-height: 72vh;
  overflow-y: auto;
}

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

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

.mega-menu::-webkit-scrollbar-track {
  background: transparent;
}

.mega-menu::-webkit-scrollbar-thumb {
  background: var(--bg-dark);
  border-radius: 10px;
}

.mega-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(200, 212, 224, 0.5);
}

.mega-header-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.mega-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  width: 300px;
  box-shadow: var(--shadow-inset-sm);
}

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

.mega-search input::placeholder {
  color: var(--text-soft);
}

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

.mega-group h4 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral);
  margin-bottom: 12px;
}

.mega-group a {
  display: block;
  padding: 7px 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition-fast);
}

.mega-group a:hover {
  color: var(--steel);
  transform: translateX(4px);
}

/* =========================================
       SUBPAGE HERO — Centered with Background Image
    ========================================= */
.subpage-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 160px;
  padding-bottom: 100px;
  overflow: hidden;
  background: var(--bg);
}

.subpage-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.18;
  mix-blend-mode: multiply;
}

.subpage-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(224, 232, 240, 0.55) 0%, rgba(224, 232, 240, 0.95) 80%);
  z-index: 2;
}

.subpage-hero-orb {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  box-shadow: var(--shadow-soft-lg);
  animation: orbFloat 10s ease-in-out infinite alternate;
}

.subpage-hero-orb-1 {
  width: 240px;
  height: 240px;
  background: var(--bg);
  top: 8%;
  left: -6%;
  animation-delay: 0s;
}

.subpage-hero-orb-2 {
  width: 170px;
  height: 170px;
  background: var(--bg);
  bottom: 12%;
  right: -4%;
  animation-delay: 3s;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(24px, -24px) scale(1.06);
  }
}

.subpage-hero-container {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
  animation: fadeUp 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 24px;
  font-weight: 600;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--steel);
}

.breadcrumb a:hover {
  color: var(--coral);
}

.subpage-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.subpage-hero-title span {
  color: var(--steel);
  position: relative;
  display: inline-block;
}

.subpage-hero-title span::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(232, 107, 74, 0.18);
  border-radius: var(--radius-full);
  z-index: -1;
}

.subpage-hero-desc {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 0;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
       ARTICLE SECTION — Neumorphic Long Form
    ========================================= */
.article-section {
  padding: 80px 0 100px;
  background: var(--bg);
}

.article-container {
  max-width: 920px;
  margin: 0 auto;
}

.article-content {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 64px 72px;
  box-shadow: var(--shadow-soft-lg);
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  opacity: 0;
  transform: translateY(24px);
}

.article-content::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(168, 200, 232, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.article-content>* {
  position: relative;
  z-index: 1;
}

.article-content p {
  margin-bottom: 24px;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--text);
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(200, 212, 224, 0.7);
  position: relative;
  line-height: 1.3;
  font-weight: 700;
}

.article-content h2::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 64px;
  height: 2px;
  background: var(--coral);
  border-radius: var(--radius-full);
}

.article-content h2:first-of-type {
  margin-top: 0;
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: 700;
}

.article-content ul {
  margin-bottom: 24px;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-content ul li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}

.article-content ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--coral);
  font-size: 0.7rem;
  opacity: 0.85;
}

/* CTA inside article */
.article-cta {
  margin-top: 56px;
  padding: 40px 36px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.article-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -15%;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(232, 107, 74, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.article-cta h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.article-cta p {
  color: var(--text);
  margin-bottom: 24px;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.article-cta .btn {
  position: relative;
  z-index: 1;
}

/* Strong text in article */
.article-content strong {
  color: var(--ink);
  font-weight: 800;
}

/* =========================================
       FLOATING TOC
    ========================================= */
.toc-toggle {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 998;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--steel);
  background: var(--bg);
  border: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: var(--transition);
}

.toc-toggle:hover {
  box-shadow: var(--shadow-soft-lg);
  color: var(--coral);
  transform: translateY(-2px);
}

.toc-toggle i {
  font-size: 0.9rem;
}

.toc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 42, 74, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.toc-overlay.active {
  opacity: 1;
  visibility: visible;
}

.toc-modal {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 860px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-soft-lg);
  transform: scale(0.95);
  transition: var(--transition);
}

.toc-overlay.active .toc-modal {
  transform: scale(1);
}

.toc-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft-sm);
  cursor: pointer;
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.toc-close:hover {
  box-shadow: var(--shadow-soft);
  color: var(--coral);
}

.toc-title-modal {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(200, 212, 224, 0.6);
  font-weight: 700;
}

.toc-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.toc-link:hover {
  box-shadow: var(--shadow-soft);
  color: var(--coral);
  transform: translateX(4px);
}

.toc-link i {
  font-size: 0.6rem;
  color: var(--steel);
}

/* =========================================
       FOOTER
    ========================================= */
.site-footer {
  background: var(--bg);
  color: var(--text);
  padding: 80px 0 0;
  box-shadow: 0 -4px 20px rgba(200, 212, 224, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(200, 212, 224, 0.6);
}

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

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

.footer-brand p {
  margin-top: 20px;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text);
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-body);
  color: var(--steel);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--coral);
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  align-items: flex-start;
}

.footer-contact i {
  color: var(--coral);
  margin-top: 4px;
  font-size: 0.8rem;
}

.hero-whatsapp-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  padding: 10px 18px;
  border-radius: 50px;
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid rgba(255, 183, 3, 0.3);
  max-width: fit-content;
  margin-top: 8px;
  box-shadow: var(--shadow-soft-sm);
}

.hero-whatsapp-bar:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(255, 183, 3, 0.6);
}

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

.hero-whatsapp-icon svg {
  width: 16px;
  height: 16px;
}

.hero-whatsapp-tag {
  color: #25D366;
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-whatsapp-num {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}

.hero-whatsapp-arrow {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  margin-left: 4px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-soft);
}

/* =========================================
       FLOATING WHATSAPP
    ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 6px 6px 14px #C8D4E0, -6px -6px 14px #F8FCFF, 0 0 20px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: var(--transition);
  border: 2px solid var(--bg);
}

.whatsapp-float:hover {
  transform: scale(1.08) rotate(10deg);
  box-shadow: 8px 8px 20px #C8D4E0, -8px -8px 20px #F8FCFF, 0 0 30px rgba(37, 211, 102, 0.4);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* =========================================
       RESPONSIVE DESIGN
    ========================================= */
@media (max-width: 1024px) {
  .header-inner {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    padding: 100px 32px 40px;
    transition: var(--transition);
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(200, 212, 224, 0.6);
    align-items: flex-start;
    gap: 16px;
    z-index: 1001;
  }

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

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

  .nav-item {
    width: 100%;
  }

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

  .dropdown-menu,
  .mega-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 0 0 16px !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    display: block !important;
    width: 100% !important;
    margin-top: 0;
  }

  .nav-item.open .dropdown-menu,
  .nav-item.open .mega-menu {
    max-height: 3000px !important;
    margin-top: 8px;
  }

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

  .dropdown-menu a,
  .mega-group a {
    padding: 10px 12px !important;
    color: var(--text) !important;
    font-size: 0.9rem !important;
  }

  .mega-header {
    display: none;
  }

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

  .mega-group h4 {
    color: var(--coral);
    margin-bottom: 6px;
    padding: 8px 12px;
  }

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

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

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

  .article-content {
    padding: 48px 40px;
  }

  .toc-links-grid {
    grid-template-columns: 1fr;
  }

  .toc-toggle {
    bottom: 24px;
    left: 24px;
    padding: 10px 16px;
    font-size: 0.72rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .article-content {
    padding: 36px 24px;
  }

  .article-content h2 {
    font-size: 1.35rem;
    margin-top: 36px;
  }

  .article-content ul li {
    font-size: 0.9rem;
  }

  .article-cta {
    padding: 28px 20px;
  }

  .toc-modal {
    padding: 28px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand p {
    margin: 20px auto 0;
  }

  .footer-contact li {
    justify-content: center;
    text-align: left;
  }

  .hero-whatsapp-bar {
    margin: 10px auto 0;
  }
}

@media (max-width: 480px) {
  .toc-toggle {
    padding: 8px 14px;
    font-size: 0.65rem;
  }

  .toc-toggle i {
    font-size: 0.75rem;
  }
}