/*
Theme Name: Pharoniya Pro
Theme URI: https://pharoniya-pm.ae/
Author: Jawad
Description: Custom industrial B2B theme built for Pharoniya Project Management — inspection equipment rental & sales and third-party inspection services worldwide.
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pharoniya
Tags: business, industrial, one-column, custom-menu, custom-logo, featured-images, responsive
*/

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
  /* Colour — steel & signal blue */
  --ph-navy:        #0A1B33;
  --ph-navy-2:      #10294A;
  --ph-blue:        #1A62B8;   /* matched to the droplet logo's corporate blue */
  --ph-blue-dark:   #114C92;
  --ph-blue-tint:   #E8F0F9;
  --ph-amber:       #F2A32C;
  --ph-ink:         #16202E;
  --ph-muted:       #5B6B7F;
  --ph-line:        #DCE4EE;
  --ph-line-soft:   #EDF1F7;
  --ph-bg:          #FFFFFF;
  --ph-bg-alt:      #F5F8FC;

  /* Type */
  --ph-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ph-body:    "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ph-mono:    "IBM Plex Mono", ui-monospace, "Courier New", monospace;

  /* Rhythm */
  --ph-wrap: 1200px;
  --ph-gutter: 24px;
  --ph-section-y: 96px;
  --ph-radius: 4px;

  --ph-shadow:    0 1px 2px rgba(10, 27, 51, .06), 0 12px 32px -12px rgba(10, 27, 51, .14);
  --ph-shadow-lg: 0 2px 4px rgba(10, 27, 51, .06), 0 28px 60px -20px rgba(10, 27, 51, .26);
}

/* ==========================================================================
   2. BASE
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ph-bg);
  color: var(--ph-ink);
  font-family: var(--ph-body);
  font-size: 16.5px;
  line-height: 1.68;
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--ph-blue); text-decoration: none; }
a:hover { color: var(--ph-blue-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--ph-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.028em;
  color: var(--ph-navy);
  margin: 0 0 .55em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 4.1vw, 3.35rem); line-height: 1.08; letter-spacing: -.035em; }
h2 { font-size: clamp(1.72rem, 2.9vw, 2.4rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.16rem, 1.5vw, 1.32rem); letter-spacing: -.02em; line-height: 1.28; }
h4 { font-size: 1.06rem; letter-spacing: -.015em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }

:focus-visible {
  outline: 3px solid var(--ph-amber);
  outline-offset: 3px;
}

.ph-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ph-navy); color: #fff; padding: 12px 20px;
}
.ph-skip:focus { left: 0; color: #fff; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ==========================================================================
   3. LAYOUT HELPERS
   ========================================================================== */

.ph-wrap {
  width: 100%;
  max-width: var(--ph-wrap);
  margin-inline: auto;
  padding-inline: var(--ph-gutter);
}

.ph-section { padding-block: var(--ph-section-y); position: relative; }
.ph-section--tight { padding-block: 72px; }
.ph-section--alt { background: var(--ph-bg-alt); }
.ph-section--dark { background: var(--ph-navy); color: #C6D3E4; }
.ph-section--dark h2,
.ph-section--dark h3 { color: #fff; }

/* Signature: technical spec label */
.ph-eyebrow {
  font-family: var(--ph-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ph-blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.ph-eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--ph-amber);
}
.ph-section--dark .ph-eyebrow { color: #7FB0F5; }

.ph-head { max-width: 760px; margin-bottom: 52px; }
.ph-head--center { margin-inline: auto; text-align: center; }
.ph-head--center .ph-eyebrow { justify-content: center; }
.ph-head p { color: var(--ph-muted); font-size: 1.06rem; }
.ph-section--dark .ph-head p { color: #A9BCD4; }

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

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.ph-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ph-body);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 15px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--ph-radius);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.ph-btn:hover { transform: translateY(-2px); }

.ph-btn--primary { background: var(--ph-blue); color: #fff; }
.ph-btn--primary:hover { background: var(--ph-blue-dark); color: #fff; }

.ph-btn--dark { background: var(--ph-navy); color: #fff; }
.ph-btn--dark:hover { background: var(--ph-navy-2); color: #fff; }

.ph-btn--ghost { border-color: var(--ph-line); color: var(--ph-navy); background: #fff; }
.ph-btn--ghost:hover { border-color: var(--ph-blue); color: var(--ph-blue); }

.ph-btn--light { background: #fff; color: var(--ph-navy); }
.ph-btn--light:hover { background: var(--ph-blue-tint); color: var(--ph-navy); }

.ph-btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.ph-btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

.ph-btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Text link with arrow */
.ph-link {
  font-family: var(--ph-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ph-link span { transition: transform .18s ease; }
.ph-link:hover span { transform: translateX(4px); }

/* ==========================================================================
   5. TOP BAR + HEADER
   ========================================================================== */

.ph-topbar {
  background: var(--ph-navy);
  color: #A9BCD4;
  font-size: .82rem;
}
.ph-topbar .ph-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
}
.ph-topbar a { color: #D6E2F2; }
.ph-topbar a:hover { color: #fff; }
.ph-topbar-list { display: flex; align-items: center; gap: 24px; }
.ph-topbar-list a { display: inline-flex; align-items: center; gap: 7px; }
.ph-topbar-note {
  font-family: var(--ph-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .7rem;
  color: #7B8FA8;
}

.ph-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--ph-line-soft);
  transition: box-shadow .2s ease;
}
.ph-header.is-stuck { box-shadow: 0 6px 24px -12px rgba(10,27,51,.28); }
.ph-header .ph-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}
.ph-logo img { max-height: 54px; width: auto; }
.ph-logo-text {
  font-family: var(--ph-display);
  font-size: 1.22rem;
  letter-spacing: -.03em;
  font-weight: 700;
  color: var(--ph-navy);
  line-height: 1.05;
}
.ph-logo-text small {
  display: block;
  font-family: var(--ph-mono);
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ph-blue);
  font-weight: 500;
}

.ph-nav-area { display: flex; align-items: center; gap: 28px; }

.ph-menu, .ph-menu ul { list-style: none; margin: 0; padding: 0; }
.ph-menu { display: flex; align-items: center; gap: 4px; }
.ph-menu li { position: relative; }
.ph-menu > li > a {
  display: block;
  padding: 12px 14px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--ph-navy);
}
.ph-menu > li > a:hover,
.ph-menu > li.current-menu-item > a { color: var(--ph-blue); }

.ph-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 268px;
  background: #fff;
  border: 1px solid var(--ph-line-soft);
  border-top: 2px solid var(--ph-blue);
  box-shadow: var(--ph-shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.ph-menu li:hover > .sub-menu,
.ph-menu li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.ph-menu .sub-menu a {
  display: block;
  padding: 11px 14px;
  font-size: .9rem;
  color: var(--ph-ink);
  border-radius: 3px;
}
.ph-menu .sub-menu a:hover { background: var(--ph-blue-tint); color: var(--ph-blue-dark); }

.ph-burger {
  display: none;
  width: 46px; height: 46px;
  background: var(--ph-navy);
  border: 0; border-radius: var(--ph-radius);
  cursor: pointer;
  padding: 13px 11px;
}
.ph-burger span {
  display: block; height: 2px; background: #fff; margin: 4px 0;
  transition: transform .22s ease, opacity .22s ease;
}
.ph-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ph-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ph-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.ph-mobile-panel {
  display: none;
  background: #fff;
  border-top: 1px solid var(--ph-line-soft);
  padding: 12px var(--ph-gutter) 26px;
}
.ph-mobile-panel.is-open { display: block; }
.ph-mobile-panel .ph-menu { flex-direction: column; align-items: stretch; gap: 0; }
.ph-mobile-panel .ph-menu > li > a { padding: 14px 0; border-bottom: 1px solid var(--ph-line-soft); }
.ph-mobile-panel .sub-menu {
  position: static; opacity: 1; visibility: visible; transform: none;
  box-shadow: none; border: 0; border-left: 2px solid var(--ph-blue-tint);
  padding: 4px 0 4px 14px; margin: 4px 0 8px;
}
.ph-mobile-panel .ph-btn { width: 100%; justify-content: center; margin-top: 18px; }

/* ==========================================================================
   6. SECTION 1 — HERO
   ========================================================================== */

.ph-hero {
  position: relative;
  background: linear-gradient(122deg, var(--ph-navy) 0%, var(--ph-navy-2) 58%, #16386A 100%);
  color: #C6D3E4;
  overflow: hidden;
}
/* Blueprint grid — the industrial signature motif */
.ph-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 20% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 20% 0%, #000 20%, transparent 78%);
}
.ph-hero .ph-wrap { position: relative; z-index: 2; }

.ph-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
  padding-block: 104px;
}
.ph-hero h1 { color: #fff; margin-bottom: 22px; }
.ph-hero h1 em {
  font-style: normal;
  color: #6FA8F7;
}
.ph-hero-lead {
  font-size: 1.1rem;
  color: #AFC2DA;
  max-width: 56ch;
  margin-bottom: 30px;
}
.ph-hero .ph-eyebrow { color: #7FB0F5; }

.ph-hero-secondary {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--ph-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ph-hero-secondary a { color: #9FBCE6; border-bottom: 1px solid rgba(159,188,230,.35); padding-bottom: 2px; }
.ph-hero-secondary a:hover { color: #fff; border-color: #fff; }
.ph-hero-secondary i { color: rgba(255,255,255,.25); font-style: normal; }

.ph-hero-media { position: relative; }
.ph-hero-media img {
  width: 100%;
  border-radius: var(--ph-radius);
  box-shadow: var(--ph-shadow-lg);
}
.ph-hero-plate {
  position: absolute;
  left: -28px; bottom: -28px;
  background: #fff;
  border-left: 3px solid var(--ph-amber);
  padding: 18px 24px;
  box-shadow: var(--ph-shadow-lg);
  max-width: 250px;
}
.ph-hero-plate strong {
  display: block;
  font-family: var(--ph-display);
  font-size: 1.85rem;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ph-navy);
}
.ph-hero-plate span {
  font-family: var(--ph-mono);
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ph-muted);
}

/* Marquee strip of capabilities */
.ph-hero-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.16);
}
.ph-hero-strip ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 30px;
  padding-block: 18px;
}
.ph-hero-strip li {
  font-family: var(--ph-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #93AACB;
  display: flex; align-items: center; gap: 9px;
}
.ph-hero-strip li::before { content: ""; width: 5px; height: 5px; background: var(--ph-amber); }

/* ==========================================================================
   7. SECTION 2 — DIVISIONS
   ========================================================================== */

.ph-division {
  position: relative;
  background: #fff;
  border: 1px solid var(--ph-line);
  border-top: 3px solid var(--ph-blue);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ph-division:hover { transform: translateY(-4px); box-shadow: var(--ph-shadow); }
.ph-division--b { border-top-color: var(--ph-amber); }
.ph-division-no {
  font-family: var(--ph-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--ph-muted);
  margin-bottom: 20px;
}
.ph-division h3 { margin-bottom: 14px; }
.ph-division p { color: var(--ph-muted); margin-bottom: 24px; }
.ph-division ul {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; gap: 9px;
}
.ph-division ul li {
  font-size: .92rem;
  padding-left: 22px;
  position: relative;
  color: var(--ph-ink);
}
.ph-division ul li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 9px; height: 2px; background: var(--ph-blue);
}
.ph-division .ph-btn { align-self: flex-start; margin-top: auto; }

/* ==========================================================================
   8. SECTION 3 — EQUIPMENT CATEGORIES
   ========================================================================== */

.ph-equip {
  background: #fff;
  border: 1px solid var(--ph-line);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ph-equip:hover {
  border-color: var(--ph-blue);
  box-shadow: var(--ph-shadow);
  transform: translateY(-4px);
}
.ph-equip-icon {
  width: 46px; height: 46px;
  color: var(--ph-blue);
}
.ph-equip h3 { font-size: 1.13rem; margin: 0; }
.ph-equip p { font-size: .9rem; color: var(--ph-muted); margin: 0; flex-grow: 1; }
.ph-equip .ph-link { color: var(--ph-navy); }
.ph-equip:hover .ph-link { color: var(--ph-blue); }

/* ==========================================================================
   9. SECTION 4 — PROCESS
   ========================================================================== */

.ph-step { position: relative; padding-top: 30px; }
.ph-step::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--ph-line);
}
.ph-step::after {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 42px; height: 2px; background: var(--ph-blue);
}
.ph-step-no {
  font-family: var(--ph-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  color: var(--ph-blue);
  display: block;
  margin-bottom: 12px;
}
.ph-step h3 { font-size: 1.09rem; margin-bottom: 10px; }
.ph-step p { font-size: .92rem; color: var(--ph-muted); margin: 0; }

/* ==========================================================================
   10. SECTION 5 — INSPECTION SERVICES
   ========================================================================== */

.ph-service {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  padding: 28px;
  transition: background .2s ease, border-color .2s ease;
}
.ph-service:hover { background: rgba(255,255,255,.08); border-color: rgba(127,176,245,.5); }
.ph-service h3 { font-size: 1.09rem; margin-bottom: 10px; }
.ph-service p { font-size: .9rem; color: #A9BCD4; margin: 0; }
.ph-service-no {
  font-family: var(--ph-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--ph-amber);
  display: block;
  margin-bottom: 16px;
}

/* ==========================================================================
   11. SECTION 6 — INDUSTRIES
   ========================================================================== */

.ph-industry {
  background: #fff;
  border: 1px solid var(--ph-line);
  padding: 24px 20px;
  text-align: center;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.ph-industry:hover { border-color: var(--ph-blue); background: var(--ph-blue-tint); transform: translateY(-3px); }
.ph-industry svg { width: 34px; height: 34px; margin: 0 auto 14px; color: var(--ph-blue); }
.ph-industry span {
  display: block;
  font-family: var(--ph-display);
  font-size: .99rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ph-navy);
  line-height: 1.2;
}

/* ==========================================================================
   12. SECTION 7 — WHY US
   ========================================================================== */

.ph-why {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--ph-line);
}
.ph-why-mark {
  flex: none;
  width: 42px; height: 42px;
  border: 1px solid var(--ph-line);
  display: grid; place-items: center;
  color: var(--ph-blue);
  background: var(--ph-blue-tint);
}
.ph-why-mark svg { width: 21px; height: 21px; }
.ph-why h3 { font-size: 1.1rem; margin-bottom: 8px; }
.ph-why p { font-size: .92rem; color: var(--ph-muted); margin: 0; }

/* ==========================================================================
   13. SECTION 8 — GLOBAL NETWORK
   ========================================================================== */

.ph-reach {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid rgba(255,255,255,.14);
  margin-top: 46px;
}
.ph-reach-item {
  flex: 1 1 200px;
  padding: 34px 28px;
  border-right: 1px solid rgba(255,255,255,.14);
  position: relative;
}
.ph-reach-item:last-child { border-right: 0; }
.ph-reach-item strong {
  display: block;
  font-family: var(--ph-display);
  font-size: 1.5rem;
  letter-spacing: -.035em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
}
.ph-reach-item span {
  font-family: var(--ph-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7FB0F5;
}
.ph-reach-item::after {
  content: "→";
  position: absolute;
  right: -9px; top: 50%;
  transform: translateY(-50%);
  color: var(--ph-amber);
  background: var(--ph-navy);
  padding: 2px;
  font-size: .9rem;
}
.ph-reach-item:last-child::after { display: none; }

/* ==========================================================================
   14. SECTION 9 — VENDOR
   ========================================================================== */

.ph-vendor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ph-vendor-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--ph-line);
  border: 1px solid var(--ph-line);
}
.ph-vendor-list li {
  background: #fff;
  padding: 20px 18px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ph-navy);
  display: flex; gap: 11px; align-items: flex-start;
}
.ph-vendor-list li::before {
  content: "✓";
  color: var(--ph-blue);
  font-weight: 700;
  line-height: 1.4;
}

/* ==========================================================================
   15. SECTION 10 — TRUST
   ========================================================================== */

.ph-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ph-line);
  background: var(--ph-line);
  gap: 1px;
}
.ph-trust-cell { background: #fff; padding: 40px 32px; }
.ph-trust-cell strong {
  display: block;
  font-family: var(--ph-display);
  font-size: 2.25rem;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ph-navy);
  margin-bottom: 10px;
}
.ph-trust-cell span {
  font-family: var(--ph-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ph-blue);
  display: block;
  margin-bottom: 12px;
}
.ph-trust-cell p { font-size: .9rem; color: var(--ph-muted); margin: 0; }

/* ==========================================================================
   16. SECTION 11 — FAQ
   ========================================================================== */

.ph-faq { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--ph-line); }
.ph-faq-item { border-bottom: 1px solid var(--ph-line); }
.ph-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: 0;
  padding: 24px 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--ph-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ph-navy);
  line-height: 1.35;
}
.ph-faq-q:hover { color: var(--ph-blue); }
.ph-faq-icon {
  flex: none;
  width: 26px; height: 26px;
  border: 1px solid var(--ph-line);
  position: relative;
}
.ph-faq-icon::before,
.ph-faq-icon::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  background: var(--ph-blue);
  transform: translate(-50%, -50%);
  transition: transform .2s ease, opacity .2s ease;
}
.ph-faq-icon::before { width: 11px; height: 2px; }
.ph-faq-icon::after { width: 2px; height: 11px; }
.ph-faq-q[aria-expanded="true"] .ph-faq-icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
.ph-faq-a {
  display: none;
  padding: 0 44px 26px 0;
  color: var(--ph-muted);
  font-size: .97rem;
}
.ph-faq-a.is-open { display: block; }

/* ==========================================================================
   17. SECTION 12 — FINAL CTA
   ========================================================================== */

.ph-cta {
  background: linear-gradient(118deg, var(--ph-blue-dark) 0%, var(--ph-blue) 55%, #2A7BEA 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ph-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 120% at 50% 0%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(80% 120% at 50% 0%, #000 10%, transparent 72%);
}
.ph-cta .ph-wrap { position: relative; z-index: 2; }
.ph-cta h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.ph-cta p { color: rgba(255,255,255,.86); max-width: 62ch; margin: 0 auto 32px; }
.ph-cta .ph-btn-row { justify-content: center; }
.ph-cta .ph-eyebrow { color: rgba(255,255,255,.9); justify-content: center; }
.ph-cta .ph-eyebrow::before { background: #fff; }
.ph-cta .ph-head p { color: rgba(255,255,255,.86); }
.ph-cta .ph-head { margin-inline: auto; text-align: center; }

.ph-cta-contact {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.24);
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 14px 30px;
  font-family: var(--ph-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.ph-cta-contact a { color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.ph-cta-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   18. FOOTER
   ========================================================================== */

.ph-footer { background: var(--ph-navy); color: #93A9C6; font-size: .92rem; }
.ph-footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.15fr 1.15fr 1fr;
  gap: 40px;
  padding-block: 72px 56px;
}
.ph-footer h4 {
  font-family: var(--ph-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.ph-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ph-footer a { color: #93A9C6; }
.ph-footer a:hover { color: #fff; }
.ph-footer-brand img { max-height: 52px; margin-bottom: 20px; }
.ph-footer-brand .ph-logo-text { color: #fff; margin-bottom: 18px; }
.ph-footer-brand p { color: #7F94B0; max-width: 34ch; font-size: .9rem; }
.ph-footer-social { display: flex; gap: 10px; margin-top: 24px; }
.ph-footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.16);
  display: grid; place-items: center;
  color: #93A9C6;
}
.ph-footer-social a:hover { background: var(--ph-blue); border-color: var(--ph-blue); color: #fff; }
.ph-footer-social svg { width: 16px; height: 16px; }
.ph-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.11);
  padding-block: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: #7F94B0;
}

/* Floating WhatsApp */
.ph-wa {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1FA855;
  color: #fff;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  font-size: .87rem;
  font-weight: 600;
  box-shadow: 0 10px 30px -8px rgba(31,168,85,.6);
}
.ph-wa:hover { background: #17904a; color: #fff; }
.ph-wa svg { width: 20px; height: 20px; }

/* ==========================================================================
   19. INNER PAGES / BLOG
   ========================================================================== */

.ph-pagehead {
  background: linear-gradient(122deg, var(--ph-navy) 0%, var(--ph-navy-2) 100%);
  color: #A9BCD4;
  padding-block: 74px;
  position: relative;
  overflow: hidden;
}
.ph-pagehead::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(110% 100% at 15% 0%, #000 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(110% 100% at 15% 0%, #000 15%, transparent 75%);
}
.ph-pagehead .ph-wrap { position: relative; z-index: 2; }
.ph-pagehead h1 { color: #fff; margin-bottom: 10px; }
.ph-breadcrumb {
  font-family: var(--ph-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7FB0F5;
}
.ph-breadcrumb a { color: #7FB0F5; }
.ph-breadcrumb a:hover { color: #fff; }

.ph-content { max-width: 820px; }
.ph-content h2 { margin-top: 1.6em; }
.ph-content h3 { margin-top: 1.4em; }
.ph-content img { margin-block: 1.6em; }
.ph-content blockquote {
  margin: 1.8em 0;
  padding: 6px 0 6px 26px;
  border-left: 3px solid var(--ph-blue);
  color: var(--ph-navy);
  font-size: 1.1rem;
}

.ph-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 56px; }
.ph-widget { margin-bottom: 34px; }
.ph-widget h4 {
  font-family: var(--ph-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ph-blue);
  margin-bottom: 16px;
}
.ph-widget ul { list-style: none; padding: 0; display: grid; gap: 10px; }

.ph-post-card {
  background: #fff;
  border: 1px solid var(--ph-line);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.ph-post-card:hover { box-shadow: var(--ph-shadow); transform: translateY(-3px); }
.ph-post-card-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--ph-blue-tint); }
.ph-post-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ph-post-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.ph-post-meta {
  font-family: var(--ph-mono);
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ph-muted);
}
.ph-post-card h3 { font-size: 1.1rem; margin: 0; }
.ph-post-card h3 a { color: var(--ph-navy); }
.ph-post-card h3 a:hover { color: var(--ph-blue); }
.ph-post-card p { font-size: .92rem; color: var(--ph-muted); margin: 0; }

.ph-pagination { display: flex; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.ph-pagination .page-numbers {
  display: grid; place-items: center;
  min-width: 44px; height: 44px; padding: 0 12px;
  border: 1px solid var(--ph-line);
  color: var(--ph-navy);
  font-size: .9rem;
}
.ph-pagination .page-numbers:hover,
.ph-pagination .page-numbers.current {
  background: var(--ph-blue); border-color: var(--ph-blue); color: #fff;
}

/* Forms */
.ph-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ph-field { display: grid; gap: 7px; }
.ph-field--full { grid-column: 1 / -1; }
.ph-field label {
  font-family: var(--ph-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ph-muted);
}
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="search"], input[type="number"], input[type="date"], select, textarea {
  width: 100%;
  font-family: var(--ph-body);
  font-size: .95rem;
  color: var(--ph-ink);
  background: #fff;
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  padding: 13px 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--ph-blue);
  box-shadow: 0 0 0 3px var(--ph-blue-tint);
  outline: none;
}
textarea { min-height: 140px; resize: vertical; }
input[type="submit"], button[type="submit"] {
  background: var(--ph-blue);
  color: #fff;
  border: 0;
  border-radius: var(--ph-radius);
  padding: 15px 30px;
  font-family: var(--ph-body);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
}
input[type="submit"]:hover, button[type="submit"]:hover { background: var(--ph-blue-dark); }

.ph-alert {
  border-left: 3px solid var(--ph-blue);
  background: var(--ph-blue-tint);
  padding: 16px 20px;
  font-size: .92rem;
  margin-bottom: 22px;
}

/* ==========================================================================
   20. MOTION
   ========================================================================== */

.ph-reveal { opacity: 0; transform: translateY(18px); }
.ph-reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,.68,.35,1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .ph-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   21. RESPONSIVE
   ========================================================================== */

@media (max-width: 1080px) {
  .ph-footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .ph-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  :root { --ph-section-y: 72px; }
  .ph-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .ph-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .ph-hero-inner { grid-template-columns: 1fr; gap: 46px; padding-block: 66px; }
  .ph-hero-media { max-width: 620px; }
  .ph-hero-plate { left: auto; right: 16px; }
  .ph-vendor { grid-template-columns: 1fr; gap: 40px; }
  .ph-layout { grid-template-columns: 1fr; gap: 48px; }
  .ph-menu, .ph-nav-area > nav { display: none; }
  .ph-burger { display: block; }
  .ph-topbar-note { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  :root { --ph-section-y: 60px; --ph-gutter: 20px; }
  .ph-grid--2, .ph-grid--3, .ph-grid--4 { grid-template-columns: 1fr; }
  .ph-trust { grid-template-columns: 1fr; }
  .ph-division { padding: 28px 24px; }
  .ph-vendor-list { grid-template-columns: 1fr; }
  .ph-topbar .ph-wrap { justify-content: center; }
  .ph-topbar-list { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .ph-hero-plate { position: static; margin-top: 16px; max-width: none; }
  .ph-reach-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .ph-reach-item:last-child { border-bottom: 0; }
  .ph-reach-item::after { display: none; }
  .ph-btn { width: 100%; justify-content: center; }
  .ph-btn-row { flex-direction: column; }
  .ph-form-grid { grid-template-columns: 1fr; }
  .ph-footer-top { grid-template-columns: 1fr; gap: 34px; padding-block: 52px 40px; }
  .ph-footer-bottom { flex-direction: column; text-align: center; }
  .ph-wa { right: 14px; bottom: 14px; padding: 11px 15px; }
  .ph-faq-a { padding-right: 0; }
}

/* ==========================================================================
   22. MOTION SYSTEM
   ========================================================================== */

/* --- Scroll progress bar ------------------------------------------------ */
.ph-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, var(--ph-blue) 0%, var(--ph-amber) 100%);
  transition: width .12s linear;
  pointer-events: none;
}

/* --- Header shrink ------------------------------------------------------ */
.ph-header .ph-wrap { transition: min-height .28s ease; }
.ph-header.is-stuck .ph-wrap { min-height: 68px; }
.ph-logo img { transition: max-height .28s ease; }
.ph-header.is-stuck .ph-logo img { max-height: 42px; }

/* --- Reveal variants ---------------------------------------------------- */
.ph-reveal[data-anim="left"]  { transform: translateX(-28px); }
.ph-reveal[data-anim="right"] { transform: translateX(28px); }
.ph-reveal[data-anim="zoom"]  { transform: scale(.955); }
.ph-reveal[data-anim="fade"]  { transform: none; }
.ph-reveal[data-anim="clip"]  { transform: none; clip-path: inset(0 0 100% 0); }
.ph-reveal[data-anim="clip"].is-in { clip-path: inset(0 0 0 0); transition: clip-path .7s cubic-bezier(.22,.68,.35,1), opacity .5s ease; }
.ph-reveal.is-in { transform: none; }

/* --- Hero entrance sequence --------------------------------------------- */
@keyframes ph-rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ph-rise-soft {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ph-media-in {
  from { opacity: 0; transform: translateY(28px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
@keyframes ph-grid-drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 64px 64px, 64px 64px; }
}
@keyframes ph-sweep {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}
@keyframes ph-pulse-ring {
  0%   { transform: scale(.85); opacity: .8; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes ph-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes ph-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

.ph-hero::before { animation: ph-grid-drift 24s linear infinite; }

.ph-hero-copy > * { opacity: 0; animation: ph-rise .78s cubic-bezier(.22,.68,.35,1) forwards; }
.ph-hero-copy > *:nth-child(1) { animation-delay: .08s; }
.ph-hero-copy > *:nth-child(2) { animation-delay: .18s; }
.ph-hero-copy > *:nth-child(3) { animation-delay: .3s; }
.ph-hero-copy > *:nth-child(4) { animation-delay: .42s; }
.ph-hero-copy > *:nth-child(5) { animation-delay: .52s; }

.ph-hero-media { opacity: 0; animation: ph-media-in .95s cubic-bezier(.22,.68,.35,1) .3s forwards; }
.ph-hero-plate { opacity: 0; animation: ph-rise-soft .6s ease .95s forwards; }

/* Scanning line across the hero image */
.ph-hero-media::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(242,163,44,.9), transparent);
  animation: ph-scan 5.5s ease-in-out 1.6s infinite;
  pointer-events: none;
  border-radius: var(--ph-radius);
}
@keyframes ph-scan {
  0%   { top: 2%;  opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 98%; opacity: 0; }
}

/* --- Capability marquee ------------------------------------------------- */
.ph-hero-strip { overflow: hidden; }
.ph-hero-strip .ph-wrap { max-width: none; padding-inline: 0; }
.ph-hero-strip ul {
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  gap: 0;
  animation: ph-marquee 34s linear infinite;
}
.ph-hero-strip li { padding-inline: 26px; white-space: nowrap; }
.ph-hero-strip:hover ul { animation-play-state: paused; }

/* --- Button micro-interaction ------------------------------------------- */
.ph-btn { position: relative; overflow: hidden; }
.ph-btn::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.34), transparent);
  transform: translateX(-120%);
  pointer-events: none;
}
.ph-btn:hover::after { animation: ph-sweep .78s ease; }
.ph-btn:active { transform: translateY(0); }

/* --- Card interactions --------------------------------------------------- */
.ph-equip { position: relative; }
.ph-equip::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 3px; width: 0;
  background: var(--ph-blue);
  transition: width .32s cubic-bezier(.22,.68,.35,1);
}
.ph-equip:hover::before { width: 100%; }
.ph-equip-icon { transition: transform .35s cubic-bezier(.34,1.4,.64,1), color .25s ease; }
.ph-equip:hover .ph-equip-icon { transform: translateY(-3px) scale(1.08); }

.ph-division { position: relative; overflow: hidden; }
.ph-division::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 150px; height: 150px;
  border: 1px solid var(--ph-blue-tint);
  border-radius: 50%;
  transition: transform .5s ease, opacity .4s ease;
  opacity: 0;
}
.ph-division:hover::after { transform: scale(1.35); opacity: 1; }

.ph-industry svg { transition: transform .35s cubic-bezier(.34,1.4,.64,1); }
.ph-industry:hover svg { transform: translateY(-4px) rotate(-4deg); }

.ph-why-mark { transition: background .25s ease, border-color .25s ease, transform .3s ease; }
.ph-why:hover .ph-why-mark { background: var(--ph-blue); border-color: var(--ph-blue); color: #fff; transform: rotate(-6deg); }

.ph-step { transition: transform .3s ease; }
.ph-step:hover { transform: translateY(-4px); }
.ph-step::after { transition: width .4s cubic-bezier(.22,.68,.35,1); }
.ph-step:hover::after { width: 100%; }

.ph-service { position: relative; overflow: hidden; }
.ph-service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px 160px at var(--mx, 50%) var(--my, 50%), rgba(127,176,245,.16), transparent 70%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.ph-service:hover::before { opacity: 1; }

.ph-trust-cell { transition: background .3s ease; }
.ph-trust-cell:hover { background: var(--ph-blue-tint); }

.ph-reach-item { transition: background .3s ease; }
.ph-reach-item:hover { background: rgba(255,255,255,.06); }

.ph-vendor-list li { transition: background .25s ease, transform .25s ease; }
.ph-vendor-list li:hover { background: var(--ph-blue-tint); transform: translateX(4px); }

/* Floating vendor illustration */
.ph-vendor-media img { animation: ph-float 7s ease-in-out infinite; }

/* --- FAQ smooth open ----------------------------------------------------- */
.ph-faq-a {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  transition: max-height .38s cubic-bezier(.22,.68,.35,1), opacity .3s ease, padding .3s ease;
}
.ph-faq-a.is-open { max-height: 400px; opacity: 1; padding-bottom: 26px; }

/* --- WhatsApp pulse ------------------------------------------------------ */
.ph-wa { position: fixed; }
.ph-wa::before {
  content: "";
  position: absolute;
  left: 18px; top: 50%;
  width: 26px; height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background: rgba(31,168,85,.55);
  animation: ph-pulse-ring 2.6s ease-out infinite;
  z-index: -1;
}

/* --- Back to top --------------------------------------------------------- */
.ph-top {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 94;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--ph-navy);
  color: #fff;
  border: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background .2s ease;
}
.ph-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.ph-top:hover { background: var(--ph-blue); }
.ph-top svg { width: 18px; height: 18px; }

/* --- Count-up numbers ---------------------------------------------------- */
.ph-count { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   23. SERVICE PAGES
   ========================================================================== */

.ph-pagehead--service { padding-block: 96px 88px; }
.ph-pagehead--service .ph-hero-lead { color: #A9BCD4; max-width: 62ch; margin-block: 18px 30px; }
.ph-pagehead--service .ph-btn-row { margin-top: 6px; }
.ph-pagehead::before { animation: ph-grid-drift 28s linear infinite; }

/* Anchor sub-navigation */
.ph-subnav {
  background: #fff;
  border-bottom: 1px solid var(--ph-line);
  position: sticky;
  top: 82px;
  z-index: 80;
}
.ph-subnav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 4px; overflow-x: auto;
  scrollbar-width: none;
}
.ph-subnav ul::-webkit-scrollbar { display: none; }
.ph-subnav a {
  display: block;
  white-space: nowrap;
  padding: 17px 16px;
  font-family: var(--ph-mono);
  font-size: .74rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ph-muted);
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.ph-subnav a:hover, .ph-subnav a.is-active { color: var(--ph-blue); border-bottom-color: var(--ph-blue); }

/* Split intro block */
.ph-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.ph-split--reverse .ph-split-media { order: -1; }
.ph-split-media img { width: 100%; border-radius: var(--ph-radius); box-shadow: var(--ph-shadow); }
.ph-split p { color: var(--ph-muted); font-size: 1.04rem; }

/* Spec table */
.ph-spec {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--ph-line);
  background: #fff;
}
.ph-spec th, .ph-spec td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--ph-line);
  font-size: .93rem;
}
.ph-spec th {
  font-family: var(--ph-mono);
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ph-blue);
  background: var(--ph-bg-alt);
  width: 34%;
}
.ph-spec tr:last-child th, .ph-spec tr:last-child td { border-bottom: 0; }
.ph-spec tr { transition: background .2s ease; }
.ph-spec tbody tr:hover td { background: var(--ph-blue-tint); }

/* Checklist */
.ph-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ph-checklist li {
  display: flex; gap: 13px; align-items: flex-start;
  font-size: .96rem;
}
.ph-checklist li::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  border: 1.5px solid var(--ph-blue);
  background:
    linear-gradient(45deg, transparent 46%, var(--ph-blue) 46%, var(--ph-blue) 54%, transparent 54%) center/11px 11px no-repeat,
    linear-gradient(-45deg, transparent 46%, var(--ph-blue) 46%, var(--ph-blue) 54%, transparent 54%) center/11px 11px no-repeat;
  transform: rotate(0deg);
  transition: transform .25s ease;
}
.ph-checklist li:hover::before { transform: rotate(90deg); }

/* Inline highlight band */
.ph-band {
  background: var(--ph-navy);
  color: #C6D3E4;
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  border-left: 4px solid var(--ph-amber);
}
.ph-band h3 { color: #fff; margin: 0 0 6px; }
.ph-band p { margin: 0; color: #A9BCD4; font-size: .96rem; }

/* Enquiry form panel */
.ph-formpanel {
  background: #fff;
  border: 1px solid var(--ph-line);
  border-top: 3px solid var(--ph-blue);
  padding: 40px;
  box-shadow: var(--ph-shadow);
}
.ph-formpanel h3 { margin-bottom: 6px; }
.ph-formpanel > p { color: var(--ph-muted); font-size: .95rem; margin-bottom: 26px; }

/* ==========================================================================
   24. RESPONSIVE — ADDITIONS
   ========================================================================== */

@media (max-width: 1024px) {
  .ph-split { grid-template-columns: 1fr; gap: 40px; }
  .ph-split--reverse .ph-split-media { order: 0; }
  .ph-subnav { top: 68px; }
}

@media (max-width: 720px) {
  .ph-pagehead--service { padding-block: 62px 56px; }
  .ph-band { padding: 30px 24px; }
  .ph-formpanel { padding: 28px 22px; }
  .ph-spec th { width: 42%; padding: 13px 14px; }
  .ph-spec td { padding: 13px 14px; }
  .ph-top { left: 14px; bottom: 14px; width: 40px; height: 40px; }
  .ph-wa span { display: none; }
  .ph-wa { padding: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .ph-hero::before,
  .ph-pagehead::before,
  .ph-hero-strip ul,
  .ph-hero-media::after,
  .ph-vendor-media img,
  .ph-wa::before { animation: none !important; }
  .ph-hero-copy > *,
  .ph-hero-media,
  .ph-hero-plate { opacity: 1 !important; animation: none !important; }
  .ph-faq-a.is-open { max-height: none; }
}

/* ==========================================================================
   25. ICON SIZING — one place, so an icon can never render oversized
   ========================================================================== */

.ph-ico { width: 20px; height: 20px; flex: none; }

.ph-topbar-list .ph-ico     { width: 15px; height: 15px; }
.ph-equip-icon .ph-ico      { width: 100%; height: 100%; }
.ph-industry .ph-ico        { width: 30px; height: 30px; margin: 0 auto 14px; }
.ph-why-mark .ph-ico        { width: 20px; height: 20px; }
.ph-footer-social .ph-ico   { width: 16px; height: 16px; }
.ph-cta-ico .ph-ico         { width: 19px; height: 19px; }
.ph-wa .ph-ico              { width: 19px; height: 19px; }
.ph-division .ph-equip-icon { width: 44px; height: 44px; margin-bottom: 4px; }

/* ==========================================================================
   26. TOP BAR + HEADER — rebuilt
   ========================================================================== */

.ph-topbar {
  background: linear-gradient(90deg, var(--ph-navy) 0%, #0D2440 100%);
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .8rem;
}
.ph-topbar .ph-wrap { min-height: 44px; gap: 24px; }

.ph-topbar-list { gap: 0; flex-wrap: nowrap; }
.ph-topbar-list a {
  gap: 9px;
  padding: 0 18px;
  white-space: nowrap;
  line-height: 1.2;
  border-left: 1px solid rgba(255,255,255,.09);
  transition: color .2s ease;
}
.ph-topbar-list a:first-child { border-left: 0; padding-left: 0; }
.ph-topbar-list a .ph-ico { color: var(--ph-blue); transition: transform .25s ease, color .2s ease; }
.ph-topbar-list a:hover .ph-ico { transform: translateY(-2px); color: var(--ph-amber); }

.ph-topbar-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: .68rem;
}
.ph-topbar-note::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #35C97A;
  box-shadow: 0 0 0 0 rgba(53,201,122,.6);
  animation: ph-live 2.4s ease-out infinite;
}
@keyframes ph-live {
  0%   { box-shadow: 0 0 0 0 rgba(53,201,122,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(53,201,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(53,201,122,0); }
}

/* --- Main header row ----------------------------------------------------- */
.ph-header .ph-wrap { min-height: 88px; gap: 32px; }
.ph-logo { display: flex; align-items: center; transition: opacity .2s ease; }
.ph-logo:hover { opacity: .82; }
.ph-logo img { max-height: 56px; }

.ph-nav-area { gap: 20px; }

/* Animated underline on menu items */
.ph-menu > li > a {
  position: relative;
  padding: 12px 15px;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: -.01em;
}
.ph-menu > li > a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 2px;
  background: var(--ph-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s cubic-bezier(.22,.68,.35,1);
}
.ph-menu > li > a:hover::after,
.ph-menu > li.current-menu-item > a::after,
.ph-menu > li.current-menu-parent > a::after { transform: scaleX(1); }

/* Parent items that open a dropdown get a caret */
.ph-menu > li.menu-item-has-children > a::before {
  content: "";
  position: absolute;
  right: 1px; top: 50%;
  width: 5px; height: 5px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: .5;
  transition: transform .25s ease, opacity .2s ease;
}
.ph-menu > li.menu-item-has-children > a { padding-right: 22px; }
.ph-menu > li.menu-item-has-children:hover > a::before { transform: rotate(225deg) translate(-2px, -2px); opacity: 1; }

.ph-menu .sub-menu a { position: relative; padding-left: 18px; }
.ph-menu .sub-menu a::before {
  content: "";
  position: absolute;
  left: 6px; top: 50%;
  width: 0; height: 1.5px;
  margin-top: -1px;
  background: var(--ph-blue);
  transition: width .25s ease;
}
.ph-menu .sub-menu a:hover { padding-left: 26px; }
.ph-menu .sub-menu a:hover::before { width: 12px; }

/* Divider before the header CTA */
.ph-header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 22px;
  border-left: 1px solid var(--ph-line);
}
.ph-header-call {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--ph-navy);
  white-space: nowrap;
  letter-spacing: -.01em;
}
.ph-header-call small {
  display: block;
  font-family: var(--ph-mono);
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ph-muted);
}
.ph-header-call .ph-ico { color: var(--ph-blue); }
.ph-header-cta .ph-btn { padding: 13px 22px; font-size: .86rem; }

/* ==========================================================================
   27. PRE-FOOTER CTA — rebuilt
   ========================================================================== */

.ph-cta { padding-block: 104px 96px; }
.ph-cta::after {
  content: "";
  position: absolute;
  left: 50%; top: -30%;
  width: 900px; height: 900px;
  margin-left: -450px;
  background: radial-gradient(circle, rgba(255,255,255,.14) 0%, transparent 62%);
  animation: ph-breathe 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ph-breathe {
  0%, 100% { transform: scale(1);    opacity: .75; }
  50%      { transform: scale(1.16); opacity: 1; }
}

.ph-cta-inner { position: relative; z-index: 3; max-width: 900px; margin-inline: auto; }
.ph-cta h2 {
  max-width: 22ch;
  margin-inline: auto;
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  letter-spacing: -.035em;
  line-height: 1.12;
}
.ph-cta p { font-size: 1.03rem; line-height: 1.62; }
.ph-cta .ph-btn { padding: 16px 30px; }

/* Contact strip rebuilt as three aligned cards */
.ph-cta-contact {
  margin-top: 46px;
  padding-top: 0;
  border-top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--ph-body);
  font-size: 1rem;
}
.ph-cta-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 16px 18px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--ph-radius);
  color: #fff;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.ph-cta-pill:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.5);
  transform: translateY(-3px);
  color: #fff;
}
.ph-cta-ico {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.14);
  border-radius: var(--ph-radius);
  transition: background .25s ease, transform .3s ease;
}
.ph-cta-pill:hover .ph-cta-ico { background: #fff; color: var(--ph-blue-dark); transform: rotate(-6deg); }
.ph-cta-text { min-width: 0; }
.ph-cta-text small {
  display: block;
  font-family: var(--ph-mono);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: 3px;
}
.ph-cta-text strong {
  display: block;
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}

.ph-cta .ph-cta-note {
  max-width: none;
  margin: 38px auto 0;
  font-family: var(--ph-mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.ph-cta .ph-cta-note::before,
.ph-cta .ph-cta-note::after {
  content: "";
  width: 30px; height: 1px;
  background: rgba(255,255,255,.3);
}

/* ==========================================================================
   28. EXTRA MOTION
   ========================================================================== */

/* Heading rule that draws in when the block reveals */
.ph-head .ph-eyebrow::before { width: 0; transition: width .5s cubic-bezier(.22,.68,.35,1) .15s; }
.ph-reveal.is-in .ph-eyebrow::before,
.ph-head.is-in .ph-eyebrow::before { width: 26px; }

/* Footer links slide on hover */
.ph-footer ul a {
  display: inline-block;
  transition: transform .22s ease, color .2s ease;
}
.ph-footer ul a:hover { transform: translateX(5px); }

.ph-footer-social a { transition: background .22s ease, border-color .22s ease, color .22s ease, transform .28s ease; }
.ph-footer-social a:hover { transform: translateY(-4px) rotate(-6deg); }

/* Spec table rows stagger in */
.ph-spec tbody tr { transition: background .2s ease; }

/* Checklist marks pop on reveal */
.ph-checklist li::before { transition: transform .3s cubic-bezier(.34,1.4,.64,1), background-size .3s ease; }

/* Sub-nav active indicator glides */
.ph-subnav a { position: relative; }

/* Link arrow nudge */
.ph-link:hover { letter-spacing: .13em; }
.ph-link { transition: letter-spacing .25s ease, color .2s ease; }

/* Post cards */
.ph-post-card-thumb img { transition: transform .55s cubic-bezier(.22,.68,.35,1); }
.ph-post-card:hover .ph-post-card-thumb img { transform: scale(1.06); }

/* ==========================================================================
   29. RESPONSIVE — FINAL PASS
   ========================================================================== */

@media (max-width: 1180px) {
  .ph-header-call { display: none; }
  .ph-header-cta { padding-left: 0; border-left: 0; }
}

@media (max-width: 1024px) {
  .ph-header .ph-wrap { min-height: 74px; }
  .ph-header-cta .ph-btn { display: none; }
  .ph-cta-contact { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .ph-topbar-note { display: none; }
  .ph-topbar .ph-wrap { justify-content: center; }
}

@media (max-width: 720px) {
  .ph-topbar { font-size: .76rem; }
  .ph-topbar-list a { padding: 0 12px; }
  .ph-topbar-list a span { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; }
  .ph-cta { padding-block: 62px 58px; }
  .ph-cta-contact { grid-template-columns: 1fr; }
  .ph-cta-pill { padding: 14px; }
  .ph-cta .ph-cta-note { font-size: .6rem; letter-spacing: .07em; margin-top: 30px; }
  .ph-cta .ph-cta-note::before,
  .ph-cta .ph-cta-note::after { width: 18px; }
  .ph-logo img { max-height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .ph-cta::after,
  .ph-topbar-note::before { animation: none !important; }
}

/* ==========================================================================
   30. CONTACT PAGE + MAP
   ========================================================================== */

.ph-contact-card {
  display: block;
  background: #fff;
  border: 1px solid var(--ph-line);
  border-top: 3px solid var(--ph-blue);
  padding: 28px 24px;
  color: var(--ph-ink);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.ph-contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ph-shadow);
  border-color: var(--ph-blue);
  color: var(--ph-ink);
}
.ph-contact-ico {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  background: var(--ph-blue-tint);
  color: var(--ph-blue);
  margin-bottom: 18px;
  transition: background .25s ease, color .25s ease, transform .3s ease;
}
a.ph-contact-card:hover .ph-contact-ico {
  background: var(--ph-blue);
  color: #fff;
  transform: rotate(-8deg);
}
.ph-contact-card small {
  display: block;
  font-family: var(--ph-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ph-muted);
  margin-bottom: 7px;
}
.ph-contact-card strong {
  display: block;
  font-family: var(--ph-display);
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ph-navy);
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.ph-contact-note {
  display: block;
  margin-top: 10px;
  font-size: .82rem;
  color: var(--ph-muted);
}

.ph-map-section {
  position: relative;
  line-height: 0;
  border-top: 1px solid var(--ph-line);
}
.ph-map-section iframe {
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(1) contrast(.94);
  transition: filter .5s ease;
}
.ph-map-section:hover iframe { filter: none; }

@media (max-width: 720px) {
  .ph-map-section iframe { height: 300px; }
  .ph-contact-card { padding: 22px 20px; }
}

/* ==========================================================================
   31. COLOUR LOCK
   --------------------------------------------------------------------------
   WordPress core global styles, page-builder CSS, and leftover plugin CSS all
   set anchor colours. Visited links are the worst offender: a browser default
   purple on a blue button makes the label almost unreadable. These rules pin
   the foreground colour for every state so text can never fall out of contrast
   with the surface it sits on.
   ========================================================================== */

a:visited { color: inherit; }
a:link, a:visited { -webkit-text-fill-color: currentColor; }

.ph-content a:link,
.ph-content a:visited { color: var(--ph-blue); }
.ph-content a:hover   { color: var(--ph-blue-dark); }

/* --- Buttons ------------------------------------------------------------- */
.ph-btn:link,
.ph-btn:visited,
.ph-btn:hover,
.ph-btn:focus,
.ph-btn:active { text-decoration: none; }

.ph-btn--primary:link, .ph-btn--primary:visited,
.ph-btn--dark:link,    .ph-btn--dark:visited {
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.ph-btn--primary:hover, .ph-btn--primary:focus { color: #fff; -webkit-text-fill-color: #fff; }
.ph-btn--dark:hover,    .ph-btn--dark:focus    { color: #fff; -webkit-text-fill-color: #fff; }

.ph-btn--light:link, .ph-btn--light:visited,
.ph-btn--light:hover, .ph-btn--light:focus {
  color: var(--ph-navy);
  -webkit-text-fill-color: var(--ph-navy);
}

.ph-btn--outline-light:link, .ph-btn--outline-light:visited,
.ph-btn--outline-light:hover, .ph-btn--outline-light:focus {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.ph-btn--ghost:link, .ph-btn--ghost:visited { color: var(--ph-navy); -webkit-text-fill-color: var(--ph-navy); }
.ph-btn--ghost:hover, .ph-btn--ghost:focus  { color: var(--ph-blue); -webkit-text-fill-color: var(--ph-blue); }

input[type="submit"], button[type="submit"] { color: #fff; -webkit-text-fill-color: #fff; }

/* --- Dark surfaces -------------------------------------------------------- */
.ph-topbar a:link, .ph-topbar a:visited { color: #CFDDF0; -webkit-text-fill-color: #CFDDF0; }
.ph-topbar a:hover, .ph-topbar a:focus  { color: #fff;    -webkit-text-fill-color: #fff; }

.ph-footer a:link, .ph-footer a:visited { color: #A2B7D2; -webkit-text-fill-color: #A2B7D2; }
.ph-footer a:hover, .ph-footer a:focus  { color: #fff;    -webkit-text-fill-color: #fff; }
.ph-footer .ph-btn:link, .ph-footer .ph-btn:visited { color: #fff; -webkit-text-fill-color: #fff; }

.ph-hero-secondary a:link, .ph-hero-secondary a:visited { color: #A9C4EA; -webkit-text-fill-color: #A9C4EA; }
.ph-hero-secondary a:hover { color: #fff; -webkit-text-fill-color: #fff; }

.ph-cta-pill:link, .ph-cta-pill:visited, .ph-cta-pill:hover { color: #fff; -webkit-text-fill-color: #fff; }

.ph-pagehead a:link, .ph-pagehead a:visited { color: #86B4F5; -webkit-text-fill-color: #86B4F5; }
.ph-pagehead a:hover { color: #fff; -webkit-text-fill-color: #fff; }

.ph-section--dark a:link, .ph-section--dark a:visited { color: #86B4F5; -webkit-text-fill-color: #86B4F5; }
.ph-section--dark a:hover { color: #fff; -webkit-text-fill-color: #fff; }
.ph-section--dark .ph-btn--light:link, .ph-section--dark .ph-btn--light:visited { color: var(--ph-navy); -webkit-text-fill-color: var(--ph-navy); }
.ph-section--dark .ph-btn--outline-light:link, .ph-section--dark .ph-btn--outline-light:visited { color: #fff; -webkit-text-fill-color: #fff; }

.ph-wa:link, .ph-wa:visited, .ph-wa:hover { color: #fff; -webkit-text-fill-color: #fff; }

/* --- Light surfaces ------------------------------------------------------- */
.ph-header a:link, .ph-header a:visited { color: var(--ph-navy); -webkit-text-fill-color: var(--ph-navy); }
.ph-menu > li > a:hover, .ph-menu > li.current-menu-item > a { color: var(--ph-blue); -webkit-text-fill-color: var(--ph-blue); }
.ph-header .ph-btn--primary:link, .ph-header .ph-btn--primary:visited { color: #fff; -webkit-text-fill-color: #fff; }

.ph-contact-card:link, .ph-contact-card:visited { color: var(--ph-ink); -webkit-text-fill-color: var(--ph-ink); }
.ph-equip .ph-link:link, .ph-equip .ph-link:visited { color: var(--ph-navy); -webkit-text-fill-color: var(--ph-navy); }
.ph-equip:hover .ph-link { color: var(--ph-blue); -webkit-text-fill-color: var(--ph-blue); }
.ph-post-card h3 a:link, .ph-post-card h3 a:visited { color: var(--ph-navy); -webkit-text-fill-color: var(--ph-navy); }
.ph-post-card h3 a:hover { color: var(--ph-blue); -webkit-text-fill-color: var(--ph-blue); }

/* Brighter tint for the hero's highlighted words on navy (contrast) */
.ph-hero h1 em { color: #7FB3F8; }

/* ==========================================================================
   32. NAVIGATION — never wraps
   ========================================================================== */

.ph-menu { flex-wrap: nowrap; }
.ph-menu > li > a {
  white-space: nowrap;
  padding: 12px 13px;
  font-size: .89rem;
}
.ph-menu .sub-menu { min-width: 288px; }
.ph-menu .sub-menu a { white-space: normal; line-height: 1.35; }

@media (max-width: 1320px) {
  .ph-menu > li > a { padding: 12px 10px; font-size: .85rem; }
  .ph-header .ph-wrap { gap: 20px; }
}

/* Mobile panel items should wrap normally again */
.ph-mobile-panel .ph-menu { flex-wrap: wrap; }
.ph-mobile-panel .ph-menu > li > a { white-space: normal; font-size: .95rem; }

/* ==========================================================================
   33. FOOTER — four columns
   ========================================================================== */

.ph-footer-top { grid-template-columns: 1.55fr 1fr 1.35fr 1.25fr; }

.ph-footer-contact { gap: 14px; }
.ph-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  line-height: 1.45;
}
.ph-footer-contact .ph-ico {
  width: 16px; height: 16px;
  margin-top: 3px;
  color: var(--ph-blue);
}
.ph-footer-contact a { display: inline-block; }
.ph-footer .ph-btn { width: auto; }

@media (max-width: 1080px) {
  .ph-footer-top { grid-template-columns: 1fr 1fr; }
  .ph-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .ph-footer-top { grid-template-columns: 1fr; }
  .ph-footer .ph-btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   34. FAQ ACCORDION — redesigned, and hardened against outside button styles
   --------------------------------------------------------------------------
   WordPress global styles and form plugins both style bare <button> elements.
   A FAQ trigger is a button, so it was picking up a blue block background with
   navy text on top of it. These rules reset the element completely, then build
   the card look on the wrapper instead, where nothing else can reach it.
   ========================================================================== */

.ph-faq {
  max-width: 900px;
  margin-inline: auto;
  border-top: 0;
  display: grid;
  gap: 12px;
  counter-reset: ph-faq;
}

.ph-faq-item {
  background: #fff;
  border: 1px solid var(--ph-line);
  border-left: 3px solid var(--ph-line);
  border-bottom: 1px solid var(--ph-line);
  border-radius: var(--ph-radius);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.ph-faq-item:hover {
  border-left-color: var(--ph-blue);
  box-shadow: 0 10px 26px -18px rgba(10,27,51,.4);
}
.ph-faq-item.is-open {
  border-left-color: var(--ph-amber);
  box-shadow: var(--ph-shadow);
}

/* Full reset of the trigger element */
.ph-faq .ph-faq-q,
.ph-faq .ph-faq-q:hover,
.ph-faq .ph-faq-q:focus,
.ph-faq .ph-faq-q:active {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-transform: none !important;
  width: 100%;
  margin: 0;
  min-height: 0;
  line-height: 1.4;
}

.ph-faq .ph-faq-q {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px !important;
  text-align: left;
  cursor: pointer;
  font-family: var(--ph-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ph-navy) !important;
  -webkit-text-fill-color: var(--ph-navy);
  transition: color .2s ease;
}
.ph-faq .ph-faq-q:hover {
  color: var(--ph-blue) !important;
  -webkit-text-fill-color: var(--ph-blue);
}
.ph-faq-item.is-open .ph-faq-q {
  color: var(--ph-navy) !important;
  -webkit-text-fill-color: var(--ph-navy);
}

/* Numbered marker */
.ph-faq .ph-faq-q::before {
  counter-increment: ph-faq;
  content: counter(ph-faq, decimal-leading-zero);
  flex: none;
  font-family: var(--ph-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--ph-blue);
  -webkit-text-fill-color: var(--ph-blue);
  padding-top: 2px;
  transition: color .25s ease;
}
.ph-faq-item.is-open .ph-faq-q::before {
  color: var(--ph-amber);
  -webkit-text-fill-color: var(--ph-amber);
}

/* Question text fills the middle */
.ph-faq .ph-faq-q > span:first-of-type { flex: 1 1 auto; }

/* Plus / minus control */
.ph-faq .ph-faq-icon {
  flex: none;
  width: 30px; height: 30px;
  border: 1px solid var(--ph-line);
  border-radius: 50%;
  background: #fff;
  position: relative;
  transition: background .25s ease, border-color .25s ease, transform .35s cubic-bezier(.34,1.4,.64,1);
}
.ph-faq .ph-faq-q:hover .ph-faq-icon { border-color: var(--ph-blue); background: var(--ph-blue-tint); }
.ph-faq .ph-faq-icon::before,
.ph-faq .ph-faq-icon::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  background: var(--ph-blue);
  transform: translate(-50%, -50%);
  transition: transform .3s cubic-bezier(.22,.68,.35,1), opacity .25s ease, background .25s ease;
}
.ph-faq .ph-faq-icon::before { width: 11px; height: 1.5px; }
.ph-faq .ph-faq-icon::after  { width: 1.5px; height: 11px; }

/* Higher specificity than the :hover rule above, so an open item keeps its
   filled marker even while the pointer is still resting on it. */
.ph-faq .ph-faq-item.is-open .ph-faq-q .ph-faq-icon,
.ph-faq .ph-faq-item.is-open .ph-faq-q:hover .ph-faq-icon {
  background: var(--ph-navy);
  border-color: var(--ph-navy);
  transform: rotate(180deg);
}
.ph-faq .ph-faq-item.is-open .ph-faq-q .ph-faq-icon::before,
.ph-faq .ph-faq-item.is-open .ph-faq-q:hover .ph-faq-icon::before {
  background: #fff;
  width: 12px;
  height: 2px;
}
.ph-faq .ph-faq-item.is-open .ph-faq-q .ph-faq-icon::after,
.ph-faq .ph-faq-item.is-open .ph-faq-q:hover .ph-faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

/* Answer */
.ph-faq .ph-faq-a {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 68px 0 66px;
  color: var(--ph-muted);
  font-size: .96rem;
  line-height: 1.68;
  transition: max-height .4s cubic-bezier(.22,.68,.35,1), opacity .3s ease, padding .3s ease;
}
.ph-faq .ph-faq-a.is-open {
  max-height: 420px;
  opacity: 1;
  padding-bottom: 24px;
}

@media (max-width: 720px) {
  .ph-faq .ph-faq-q { gap: 12px; padding: 18px 16px !important; font-size: .97rem; }
  .ph-faq .ph-faq-q::before { display: none; }
  .ph-faq .ph-faq-a { padding: 0 16px; }
  .ph-faq .ph-faq-a.is-open { padding-bottom: 20px; }
  .ph-faq .ph-faq-icon { width: 26px; height: 26px; }
}

/* ==========================================================================
   35. OTHER BUTTON ELEMENTS — same hardening
   ========================================================================== */

.ph-burger,
.ph-burger:hover,
.ph-burger:focus {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: var(--ph-navy) !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ph-top,
.ph-top:focus {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: var(--ph-navy) !important;
  background-image: none !important;
  border: 0 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  box-shadow: none !important;
}
.ph-top:hover { background: var(--ph-blue) !important; }

@media (prefers-reduced-motion: reduce) {
  .ph-faq .ph-faq-a.is-open { max-height: none; }
}
