/* ==========================================================================
   CENTRALIZED PORT PAGES STYLESHEET
   Theme: Ship Chandler Georgia - Modern Red & Steel
   ========================================================================== */

/* ============================================
           DESIGN TOKENS — GEORGIA BLUE & RED
        ============================================ */
    :root {
      --paper: #F3F4F6;
      --ink: #0E1B2C;
      --ink-soft: #16293F;
      --red: #C8102E;
      --red-deep: #9E0B24;
      --red-mist: #FDF0F2;
      --steel: #5C6F82;
      --hairline: #DDE2E9;
      --white: #FFFFFF;

      --r-xxs: 3px;
      --r-xs: 8px;
      --r-sm: 14px;
      --r-md: 22px;
      --r-lg: 34px;

      --ease: cubic-bezier(0.22, 1, 0.36, 1);
      --t-fast: 0.18s ease;
      --t-base: 0.4s var(--ease);

      --sh-1: 0 2px 8px rgba(14, 27, 44, 0.05);
      --sh-2: 0 10px 32px rgba(14, 27, 44, 0.09);
      --sh-3: 0 26px 68px rgba(14, 27, 44, 0.16);

      --f-display: 'Instrument Sans', sans-serif;
      --f-text: 'Karla', sans-serif;
    }

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

    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
      scroll-padding-top: 140px;
      /* Important for TOC anchor links */
    }

    body {
      font-family: var(--f-text);
      color: var(--steel);
      background: var(--paper);
      line-height: 1.65;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

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

    ul {
      list-style: none;
    }

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

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

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

    .kicker {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      font-family: var(--f-text);
      font-size: 0.68rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.24em;
      color: var(--red);
      margin-bottom: 14px;
    }

    .kicker::before {
      content: '';
      width: 18px;
      height: 2px;
      background: var(--red);
      border-radius: 1px;
      flex-shrink: 0;
    }

    /* ============================================
           BUTTONS
        ============================================ */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      padding: 15px 30px;
      font-family: var(--f-display);
      font-size: 0.83rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      border: none;
      cursor: pointer;
      border-radius: var(--r-xxs);
      transition: var(--t-base);
      position: relative;
      overflow: hidden;
      line-height: 1.2;
    }

    .btn-fill {
      background: var(--red);
      color: var(--white);
      box-shadow: 0 4px 16px rgba(200, 16, 46, 0.28);
    }

    .btn-fill:hover {
      background: var(--red-deep);
      transform: translateY(-2px);
      box-shadow: 0 8px 26px rgba(200, 16, 46, 0.4);
    }

    /* ============================================
           HEADER
        ============================================ */
    .masthead {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 1000;
      background: rgba(243, 244, 246, 0.8);
      backdrop-filter: blur(18px) saturate(1.3);
      -webkit-backdrop-filter: blur(18px) saturate(1.3);
      border-bottom: 1px solid var(--hairline);
      transition: var(--t-base);
    }

    .masthead.is-stuck {
      background: rgba(255, 255, 255, 0.97);
      box-shadow: var(--sh-1);
    }

    .masthead.is-open {
      background: var(--white) !important;
      border-bottom: none;
    }

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

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

    .brand img {
      height: 46px;
      width: auto;
      border-radius: var(--r-xs);
      background: var(--white);
      padding: 3px;
      border: 1px solid var(--hairline);
      box-shadow: var(--sh-1);
    }

    .brand-copy {
      display: flex;
      flex-direction: column;
      line-height: 1.06;
    }

    .brand-copy strong {
      font-family: var(--f-display);
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--ink);
      letter-spacing: -0.03em;
    }

    .brand-copy span {
      font-family: var(--f-text);
      font-size: 0.56rem;
      font-weight: 800;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--red);
    }

    .burger {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      width: 44px;
      height: 44px;
      padding: 11px;
      z-index: 1003;
      border-radius: var(--r-xs);
      transition: var(--t-fast);
    }

    .burger:hover {
      background: var(--hairline);
    }

    .burger span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--ink);
      border-radius: 2px;
      margin: 4.5px auto;
      transition: var(--t-base);
    }

    .nav-shell {
      display: flex;
      align-items: center;
      gap: 26px;
    }

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

    .nav-unit {
      position: relative;
    }

    .nav-anchor {
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 10px 13px;
      font-family: var(--f-text);
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--ink);
      border-radius: var(--r-xxs);
      position: relative;
    }

    .nav-anchor::after {
      content: '';
      position: absolute;
      bottom: 2px;
      left: 13px;
      right: 13px;
      height: 2px;
      background: var(--red);
      border-radius: 1px;
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s var(--ease);
    }

    .nav-anchor:hover::after,
    .nav-unit.is-active .nav-anchor::after {
      transform: scaleX(1);
    }

    .nav-anchor:hover,
    .nav-unit.is-active .nav-anchor {
      color: var(--red);
    }

    .caret {
      width: 9px;
      height: 9px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--t-base);
      margin-top: 0px;
    }

    .nav-unit:hover .caret {
      transform: rotate(180deg);
    }

    /* Dropdown */
    .flyout {
      position: absolute;
      top: 100%;
      left: 0;
      transform: translateY(8px);
      background: var(--white);
      border: 1px solid var(--hairline);
      border-radius: var(--r-sm);
      box-shadow: var(--sh-3);
      padding: 10px;
      min-width: 258px;
      opacity: 0;
      visibility: hidden;
      transition: var(--t-base);
      z-index: 999;
      max-height: 400px;
      overflow-y: auto;
    }

    .nav-unit:hover .flyout {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .flyout::-webkit-scrollbar {
      width: 4px;
    }

    .flyout::-webkit-scrollbar-thumb {
      background: #C8D0DA;
      border-radius: 4px;
    }

    .flyout a {
      display: block;
      padding: 10px 13px;
      font-size: 0.87rem;
      font-weight: 500;
      color: var(--ink);
      border-radius: var(--r-xxs);
    }

    .flyout a:hover {
      background: var(--paper);
      color: var(--red);
      padding-left: 17px;
    }

    /* Mega Menu — Centered */
    .mega {
      position: fixed;
      top: 80px;
      left: 50%;
      transform: translateX(-50%) translateY(14px);
      background: var(--white);
      border: 1px solid var(--hairline);
      border-radius: var(--r-md);
      box-shadow: var(--sh-3);
      padding: 32px;
      width: 92vw;
      max-width: 1040px;
      opacity: 0;
      visibility: hidden;
      transition: var(--t-base);
      z-index: 999;
      max-height: 74vh;
      overflow-y: auto;
    }

    /* THE FIX: Invisible bridge to prevent hover flicker */
    .mega::before {
      content: '';
      position: absolute;
      top: -25px;
      /* Bridges the gap between header and menu */
      left: 0;
      width: 100%;
      height: 25px;
      background: transparent;
    }

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

    .mega::-webkit-scrollbar {
      width: 4px;
    }

    .mega::-webkit-scrollbar-thumb {
      background: #C8D0DA;
      border-radius: 4px;
    }

    .mega-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 24px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--hairline);
    }

    .mega-top h4 {
      font-size: 1.15rem;
      color: var(--ink);
    }

    .mega-filter {
      display: flex;
      align-items: center;
      gap: 9px;
      background: var(--paper);
      padding: 9px 18px;
      border-radius: var(--r-xxs);
      border: 1px solid var(--hairline);
      width: 290px;
      transition: var(--t-fast);
    }

    .mega-filter:focus-within {
      border-color: var(--red);
      box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.07);
    }

    .mega-filter input {
      border: none;
      background: transparent;
      outline: none;
      font-family: var(--f-text);
      font-size: 0.87rem;
      width: 100%;
      color: var(--ink);
    }

    .mega-filter input::placeholder {
      color: var(--steel);
    }

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

    .mega-col h5 {
      font-family: var(--f-text);
      font-size: 0.65rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: var(--red);
      margin-bottom: 12px;
    }

    .mega-col a {
      display: block;
      padding: 6px 0;
      font-size: 0.87rem;
      font-weight: 500;
      color: var(--steel);
    }

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

    /* ============================================
           PORT HERO
        ============================================ */
    .port-hero {
      position: relative;
      padding: 140px 0 70px;
      background: var(--ink);
      overflow: hidden;
    }

    .port-hero-bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.12;
      z-index: 1;
    }

    .port-hero-scrim {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse at 10% 50%, rgba(200, 16, 46, 0.15) 0%, transparent 60%),
        linear-gradient(160deg, rgba(14, 27, 44, 0.98) 0%, rgba(22, 41, 63, 0.95) 100%);
      z-index: 2;
    }

    .port-hero-inner {
      position: relative;
      z-index: 3;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 50px;
      align-items: center;
    }

    .port-hero-copy {
      opacity: 0;
      transform: translateY(30px);
      animation: rise 0.9s var(--ease) forwards;
    }

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

    .breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.8rem;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.6);
      margin-bottom: 22px;
    }

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

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

    .port-hero-copy h1 {
      font-size: clamp(2.6rem, 4.8vw, 4rem);
      color: var(--white);
      line-height: 1.05;
      margin-bottom: 20px;
    }

    .port-hero-copy h1 em {
      font-style: normal;
      color: var(--red);
    }

    .port-hero-copy p {
      font-size: 1.05rem;
      color: rgba(255, 255, 255, 0.8);
      max-width: 480px;
      line-height: 1.75;
    }

    .port-hero-cards {
      display: flex;
      flex-direction: column;
      gap: 14px;
      opacity: 0;
      transform: translateY(30px);
      animation: rise 0.9s var(--ease) 0.15s forwards;
    }

    .ph-card {
      display: flex;
      align-items: center;
      gap: 16px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-left: 3px solid var(--red);
      border-radius: var(--r-xs);
      padding: 18px 22px;
      transition: var(--t-base);
    }

    .ph-card:hover {
      background: rgba(255, 255, 255, 0.1);
      transform: translateX(6px);
    }

    .ph-card i {
      font-size: 1.4rem;
      color: var(--red);
    }

    .ph-card div {
      display: flex;
      flex-direction: column;
    }

    .ph-card strong {
      font-family: var(--f-display);
      font-size: 0.95rem;
      color: var(--white);
    }

    .ph-card span {
      font-size: 0.8rem;
      color: rgba(255, 255, 255, 0.7);
    }

    /* ============================================
           PORT ARTICLE SECTION (HORIZONTAL TABS)
        ============================================ */
    .port-article-section {
      padding: 0 0 100px;
      background: var(--white);
      position: relative;
    }

    /* Sticky Horizontal TOC Bar */
    .port-toc-bar-wrap {
      position: sticky;
      top: 70px;
      /* Sits right below the fixed header */
      z-index: 900;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--hairline);
      box-shadow: 0 4px 20px rgba(14, 27, 44, 0.05);
      margin-bottom: 50px;
    }

    .port-toc-bar {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 14px 0;
      overflow-x: auto;
      white-space: nowrap;
      -ms-overflow-style: none;
      /* IE and Edge */
      scrollbar-width: none;
      /* Firefox */
    }

    .port-toc-bar::-webkit-scrollbar {
      display: none;
    }

    .port-toc-bar a {
      font-family: var(--f-text);
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--steel);
      padding: 8px 16px;
      border-radius: var(--r-xxs);
      background: var(--paper);
      border: 1px solid var(--hairline);
      transition: var(--t-fast);
      flex-shrink: 0;
    }

    .port-toc-bar a:hover {
      color: var(--ink);
      border-color: #C8D0DA;
    }

    .port-toc-bar a.active {
      background: var(--ink);
      color: var(--white);
      border-color: var(--ink);
    }

    /* Main Content Area */
    .port-article-layout {
      display: grid;
      grid-template-columns: 1fr;
      max-width: 900px;
      margin: 0 auto;
    }

    .port-article-content>p {
      font-size: 1.05rem;
      color: var(--steel);
      line-height: 1.85;
      margin-bottom: 24px;
    }

    /* Service Category Cards */
    .service-category {
      margin-top: 50px;
      padding: 32px;
      background: var(--paper);
      border: 1px solid var(--hairline);
      border-radius: var(--r-md);
      scroll-margin-top: 150px;
      /* Offset for sticky bars */
    }

    .service-category h2 {
      font-size: 1.5rem;
      color: var(--ink);
      margin-bottom: 16px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--hairline);
      line-height: 1.25;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .service-category h2 i {
      color: var(--red);
      font-size: 1.2rem;
    }

    .service-category p {
      font-size: 0.96rem;
      color: var(--steel);
      line-height: 1.8;
      margin-bottom: 18px;
    }

    .service-category ul {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px 16px;
      margin-bottom: 20px;
    }

    .service-category ul li {
      font-size: 0.92rem;
      color: var(--steel);
      line-height: 1.6;
      padding-left: 22px;
      position: relative;
    }

    .service-category ul li::before {
      content: '\f00c';
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      color: var(--red);
      font-size: 0.65rem;
      position: absolute;
      left: 0;
      top: 5px;
    }

    .service-category strong {
      color: var(--ink);
      font-weight: 700;
    }

    /* Article CTA */
    .port-article-cta {
      margin-top: 56px;
      background: var(--ink);
      border-radius: var(--r-md);
      padding: 40px;
      text-align: center;
      color: var(--white);
      position: relative;
      overflow: hidden;
    }

    .port-article-cta::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -20%;
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, rgba(200, 16, 46, 0.2) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }

    .port-article-cta h3 {
      color: var(--white);
      font-size: 1.6rem;
      margin-bottom: 12px;
      position: relative;
      z-index: 1;
    }

    .port-article-cta p {
      color: rgba(255, 255, 255, 0.75);
      font-size: 0.95rem;
      margin-bottom: 24px;
      position: relative;
      z-index: 1;
    }

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

    /* ============================================
           FOOTER
        ============================================ */
    .foot {
      background: var(--ink);
      color: var(--white);
      position: relative;
      overflow: hidden;
    }

    .foot::before {
      content: '';
      position: absolute;
      top: -110px;
      right: -70px;
      width: 320px;
      height: 320px;
      background: radial-gradient(circle, rgba(200, 16, 46, 0.13) 0%, transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }

    .foot-top {
      padding: 64px 0 44px;
      display: grid;
      grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
      gap: 44px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      position: relative;
      z-index: 1;
    }

    .foot-brand .brand-copy strong {
      color: var(--white);
    }

    .foot-brand .brand-copy span {
      color: var(--red);
    }

    .foot-brand p {
      margin-top: 16px;
      font-size: 0.88rem;
      line-height: 1.72;
      color: rgba(255, 255, 255, 0.68);
      max-width: 330px;
    }

    .foot-col h4 {
      color: var(--white);
      font-family: var(--f-display);
      font-size: 0.9rem;
      font-weight: 700;
      margin-bottom: 18px;
      padding-bottom: 9px;
      position: relative;
      letter-spacing: 0.02em;
    }

    .foot-col h4::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 22px;
      height: 2px;
      background: var(--red);
      border-radius: 1px;
    }

    .foot-links {
      display: flex;
      flex-direction: column;
      gap: 11px;
    }

    .foot-links a {
      font-size: 0.84rem;
      color: rgba(255, 255, 255, 0.68);
    }

    .foot-links a:hover {
      color: var(--red);
      padding-left: 5px;
    }

    .foot-contact li {
      display: flex;
      gap: 11px;
      margin-bottom: 15px;
      font-size: 0.84rem;
      color: rgba(255, 255, 255, 0.68);
      align-items: flex-start;
    }

    .foot-contact i {
      color: var(--red);
      margin-top: 4px;
      flex-shrink: 0;
      width: 14px;
      font-size: 0.82rem;
    }

    .foot-wa {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.05);
      padding: 9px 15px;
      border-radius: var(--r-xxs);
      border: 1px solid rgba(200, 16, 46, 0.3);
      margin-top: 7px;
      transition: var(--t-fast);
    }

    .foot-wa:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(200, 16, 46, 0.6);
      transform: translateX(4px);
    }

    .foot-wa-ico {
      width: 24px;
      height: 24px;
      background: #25D366;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .foot-wa-ico svg {
      width: 13px;
      height: 13px;
      color: #fff;
    }

    .foot-wa-tag {
      font-size: 0.65rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #25D366;
    }

    .foot-wa-num {
      font-size: 0.82rem;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.9);
      white-space: nowrap;
    }

    .foot-wa-arr {
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.9rem;
      margin-left: 2px;
    }

    .foot-bottom {
      padding: 22px 0;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 0.78rem;
      color: rgba(255, 255, 255, 0.45);
      position: relative;
      z-index: 1;
    }

    /* ============================================
           WHATSAPP FLOAT
        ============================================ */
    .wa-float {
      position: fixed;
      bottom: 34px;
      right: 34px;
      width: 56px;
      height: 56px;
      background: #25D366;
      color: #FFFFFF;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
      z-index: 1000;
      transition: var(--t-base);
    }

    .wa-float:hover {
      transform: scale(1.1) rotate(8deg);
      box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
    }

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

      .burger {
        display: block;
      }

      .nav-shell {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 106px 26px 36px;
        transition: var(--t-base);
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
        align-items: flex-start;
        gap: 16px;
        z-index: 1001;
      }

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

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

      .nav-unit {
        width: 100%;
      }

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

      .nav-anchor::after {
        display: none;
      }

      .flyout,
      .mega {
        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 14px !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        display: block !important;
        width: 100% !important;
        margin-top: 0;
      }

      .nav-unit.open .flyout,
      .nav-unit.open .mega {
        max-height: 3000px !important;
        margin-top: 8px;
      }

      .nav-unit.has-flyout::after {
        display: none;
      }

      .flyout a,
      .mega-col a {
        padding: 9px 11px !important;
        color: var(--steel) !important;
        font-size: 0.9rem !important;
      }

      .mega-top {
        display: none;
      }

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

      .mega-col h5 {
        color: var(--red);
        margin-bottom: 5px;
        padding: 6px 11px;
      }

      .burger.open span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
      }

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

      .burger.open span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
      }

      .port-hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
      }

      .port-hero-cards {
        flex-direction: row;
        flex-wrap: wrap;
      }

      .ph-card {
        flex: 1 1 200px;
      }

      .service-category ul {
        grid-template-columns: 1fr;
      }

      .foot-top {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 768px) {
      .port-hero-copy h1 {
        font-size: 2.4rem;
      }

      .port-hero-cards {
        flex-direction: column;
      }

      .port-toc-bar-wrap {
        top: 60px;
        /* Adjust for mobile header size */
      }

      .port-toc-bar {
        padding: 10px 0;
      }

      .port-toc-bar a {
        font-size: 0.78rem;
        padding: 6px 12px;
      }

      .port-article-cta {
        padding: 30px 20px;
      }

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

      .foot-brand p {
        margin: 16px auto 0;
      }

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

      .foot-wa {
        margin: 8px auto 0;
      }
    }
