/* ================================================================
   BENCHMARK ATTESTATION — PREMIUM HEADER v2.0
   A fully custom, premium, animated header with:
   - Dark topbar with contact info
   - Glassmorphism main nav
   - Smooth mega-dropdown menus
   - Animated mobile drawer
   - Scroll-aware shrink effect
   - Gold accent touches for UAE premium feel
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── CSS TOKENS ── */
:root {
  --ph-primary:       #1c5fb0;
  --ph-primary-dark:  #0e3d7a;
  --ph-primary-deep:  #071f45;
  --ph-gold:          #c9953a;
  --ph-gold-light:    #e8b85a;
  --ph-topbar-bg:     #071f45;
  --ph-nav-bg:        #ffffff;
  --ph-nav-scroll:    rgba(255,255,255,0.97);
  --ph-text:          #14233a;
  --ph-text-muted:    #6b7a96;
  --ph-border:        rgba(28,95,176,0.12);
  --ph-shadow:        0 4px 32px rgba(7,31,69,0.13);
  --ph-shadow-deep:   0 8px 48px rgba(7,31,69,0.22);
  --ph-radius:        10px;
  --ph-font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ph-transition:    0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --ph-nav-height:    72px;
  --ph-nav-height-sm: 60px;
  --ph-topbar-height: 40px;
}

/* ================================================================
   RESET scope to .ph-header only
   ================================================================ */
.ph-header,
.ph-header * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ================================================================
   OUTER WRAPPER — fixed, layered
   ================================================================ */
.ph-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  font-family: var(--ph-font);
  will-change: transform;
  isolation: isolate;
}

/* ================================================================
   TOP BAR
   ================================================================ */
.ph-topbar {
  background: var(--ph-topbar-bg);
  background-image: url('/images/header-topbar-bg.png');
  background-size: cover;
  background-position: center;
  height: var(--ph-topbar-height);
  overflow: hidden;
  transition: height var(--ph-transition), opacity var(--ph-transition);
  position: relative;
}

/* gold accent line on bottom of topbar */
.ph-topbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--ph-gold) 30%,
    var(--ph-gold-light) 50%,
    var(--ph-gold) 70%,
    transparent 100%
  );
  opacity: 0.7;
}

.ph-topbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ph-topbar-contacts {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.ph-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0 16px 0 0;
  transition: color var(--ph-transition);
  white-space: nowrap;
}

.ph-contact-item:last-of-type {
  padding-right: 0;
}

.ph-contact-item + .ph-contact-item {
  border-left: 1px solid rgba(255,255,255,0.18);
  padding-left: 16px;
}

.ph-contact-item:hover {
  color: var(--ph-gold-light);
}

.ph-contact-icon {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  flex-shrink: 0;
}

.ph-contact-icon svg {
  width: 13px;
  height: 13px;
}

.ph-topbar-track {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ph-gold-light);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border: 1px solid rgba(201,149,58,0.4);
  border-radius: 20px;
  background: rgba(201,149,58,0.08);
  transition: all var(--ph-transition);
  white-space: nowrap;
  text-transform: uppercase;
}

.ph-topbar-track:hover {
  background: rgba(201,149,58,0.18);
  border-color: var(--ph-gold);
  color: var(--ph-gold-light);
  transform: translateY(-1px);
}

/* ================================================================
   MAIN NAV BAR
   ================================================================ */
.ph-navbar {
  background: var(--ph-nav-bg);
  height: var(--ph-nav-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ph-border);
  box-shadow: var(--ph-shadow);
  transition: height var(--ph-transition),
              background var(--ph-transition),
              box-shadow var(--ph-transition);
  position: relative;
}

/* scrolled state — applied by JS */
.ph-header.is-scrolled .ph-topbar {
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.ph-header.is-scrolled .ph-navbar {
  height: var(--ph-nav-height-sm);
  background: var(--ph-nav-scroll);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: var(--ph-shadow-deep);
}

.ph-navbar-inner {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

/* ================================================================
   LOGO
   ================================================================ */
.ph-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
}

.ph-logo img {
  height: 52px;
  width: auto;
  display: block;
  transition: height var(--ph-transition), filter var(--ph-transition);
}

.ph-header.is-scrolled .ph-logo img {
  height: 42px;
}

/* gold dot accent */
.ph-logo-accent {
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ph-gold), transparent 60%);
  border-radius: 1px;
  opacity: 0;
  transition: opacity var(--ph-transition);
}

.ph-logo:hover .ph-logo-accent {
  opacity: 1;
}

/* ================================================================
   DESKTOP NAVIGATION
   ================================================================ */
.ph-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ph-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
}

.ph-menu > li {
  position: relative;
}

/* Nav Links */
.ph-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ph-text);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: color var(--ph-transition), background var(--ph-transition);
  letter-spacing: 0.01em;
  position: relative;
}

/* animated underline on hover */
.ph-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: linear-gradient(90deg, var(--ph-primary), var(--ph-gold));
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ph-transition);
}

.ph-menu > li > a:hover::after,
.ph-menu > li.ph-active > a::after {
  transform: scaleX(1);
}

.ph-menu > li > a:hover {
  color: var(--ph-primary);
  background: rgba(28,95,176,0.05);
}

.ph-menu > li.ph-active > a {
  color: var(--ph-primary);
  font-weight: 600;
}

/* Chevron icon */
.ph-chevron {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  opacity: 0.6;
}

.ph-menu > li.ph-open > a .ph-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* ================================================================
   DROPDOWN PANEL
   ================================================================ */
.ph-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--ph-border);
  border-radius: var(--ph-radius);
  box-shadow: 0 16px 48px rgba(7,31,69,0.16), 0 4px 16px rgba(7,31,69,0.08);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
  pointer-events: none;
}

/* left-align for first item, right-align for last */
.ph-menu > li:first-child .ph-dropdown { left: 0; transform: translateX(0) translateY(-8px); }
.ph-menu > li:last-child .ph-dropdown  { left: auto; right: 0; transform: translateX(0) translateY(-8px); }

/* arrow pointer */
.ph-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid var(--ph-border);
  border-top: 1px solid var(--ph-border);
  transform: translateX(-50%) rotate(45deg);
}

.ph-menu > li:first-child .ph-dropdown::before { left: 24px; }
.ph-menu > li:last-child .ph-dropdown::before  { left: auto; right: 24px; transform: translateX(0) rotate(45deg); }

.ph-menu > li.ph-open > .ph-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.ph-menu > li:first-child.ph-open > .ph-dropdown,
.ph-menu > li:last-child.ph-open > .ph-dropdown {
  transform: translateX(0) translateY(0);
}

/* Dropdown items */
.ph-dropdown ul {
  list-style: none;
}

.ph-dropdown ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ph-text);
  text-decoration: none;
  border-radius: 7px;
  transition: background var(--ph-transition), color var(--ph-transition), padding-left var(--ph-transition);
  position: relative;
}

.ph-dropdown ul li a::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--ph-primary);
  border-radius: 50%;
  opacity: 0;
  flex-shrink: 0;
  transition: opacity var(--ph-transition);
}

.ph-dropdown ul li a:hover {
  background: rgba(28,95,176,0.06);
  color: var(--ph-primary);
  padding-left: 18px;
}

.ph-dropdown ul li a:hover::before {
  opacity: 1;
}

/* gold accent top line in dropdown */
.ph-dropdown-header {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ph-gold);
  padding: 6px 14px 4px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--ph-border);
}

/* ================================================================
   CTA BUTTON
   ================================================================ */
.ph-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--ph-primary) 0%, var(--ph-primary-dark) 100%);
  color: #fff !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 25px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(28,95,176,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform var(--ph-transition),
              box-shadow var(--ph-transition),
              background var(--ph-transition);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  margin-left: 12px;
}

.ph-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--ph-transition);
}

.ph-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(28,95,176,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
}

.ph-cta-btn:hover::before {
  opacity: 1;
}

.ph-cta-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ================================================================
   HAMBURGER BUTTON
   ================================================================ */
.ph-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--ph-border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  transition: background var(--ph-transition), border-color var(--ph-transition);
}

.ph-burger:hover {
  background: rgba(28,95,176,0.05);
  border-color: var(--ph-primary);
}

.ph-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ph-primary-dark);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease, width 0.2s ease;
}

.ph-burger span:nth-child(2) {
  width: 14px;
}

.ph-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ph-burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.ph-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   MOBILE OVERLAY
   ================================================================ */
.ph-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,17,38,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.38s cubic-bezier(0.4,0,0.2,1),
              visibility 0.38s;
  z-index: 1040;
}
.ph-overlay.is-open { opacity: 1; visibility: visible; }

/* ================================================================
   DRAWER CANVAS — elegant off-canvas panel
   ================================================================ */
.ph-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 380px);
  height: 100dvh;
  background: #fff;
  box-shadow: -20px 0 80px rgba(4,17,38,0.28);
  transform: translateX(calc(100% + 20px));
  transition: transform 0.42s cubic-bezier(0.16,1,0.3,1);
  z-index: 1060;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px 0 0 24px;
}
.ph-drawer.is-open { transform: translateX(0); }

/* ── Drawer Header ── */
.ph-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 18px;
  background: linear-gradient(135deg, var(--ph-primary-deep) 0%, var(--ph-primary-dark) 60%, var(--ph-primary) 100%);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

/* decorative rings */
.ph-drawer-head::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  top: -80px;
  right: -40px;
  pointer-events: none;
}
.ph-drawer-head::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  bottom: -60px;
  left: 20px;
  pointer-events: none;
}

.ph-drawer-head img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  position: relative;
  z-index: 1;
}

/* gold accent line below header */
.ph-drawer-gold-line {
  height: 2px;
  background: linear-gradient(90deg, var(--ph-gold) 0%, var(--ph-gold-light) 50%, transparent 100%);
  flex-shrink: 0;
}

.ph-drawer-close {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.ph-drawer-close:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
  transform: rotate(90deg);
}
.ph-drawer-close svg { width: 18px; height: 18px; }

/* ── Drawer Body ── */
.ph-drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 16px;
  scroll-behavior: smooth;
}
.ph-drawer-body::-webkit-scrollbar { width: 3px; }
.ph-drawer-body::-webkit-scrollbar-track { background: transparent; }
.ph-drawer-body::-webkit-scrollbar-thumb { background: rgba(28,95,176,0.15); border-radius: 2px; }

/* ── Drawer Menu ── */
.ph-drawer-menu {
  list-style: none;
  padding: 0 14px;
}

.ph-drawer-menu > li {
  border-bottom: 1px solid rgba(28,95,176,0.08);
  opacity: 0;
  transform: translateX(20px);
  animation: ph-drawerItemIn 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
}
.ph-drawer-menu > li:last-child { border-bottom: none; }

/* staggered entrance */
.ph-drawer.is-open .ph-drawer-menu > li:nth-child(1) { animation-delay: 0.05s; }
.ph-drawer.is-open .ph-drawer-menu > li:nth-child(2) { animation-delay: 0.10s; }
.ph-drawer.is-open .ph-drawer-menu > li:nth-child(3) { animation-delay: 0.15s; }
.ph-drawer.is-open .ph-drawer-menu > li:nth-child(4) { animation-delay: 0.20s; }
.ph-drawer.is-open .ph-drawer-menu > li:nth-child(5) { animation-delay: 0.25s; }
.ph-drawer.is-open .ph-drawer-menu > li:nth-child(6) { animation-delay: 0.30s; }

/* reset when closed */
.ph-drawer:not(.is-open) .ph-drawer-menu > li {
  animation: none;
  opacity: 0;
  transform: translateX(20px);
}

@keyframes ph-drawerItemIn {
  to { opacity: 1; transform: translateX(0); }
}

.ph-drawer-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ph-text);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  position: relative;
}
.ph-drawer-menu > li > a:hover { color: var(--ph-primary); }

/* left accent on hover */
.ph-drawer-menu > li > a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background: linear-gradient(180deg, var(--ph-primary), var(--ph-gold));
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.ph-drawer-menu > li > a:hover::before,
.ph-drawer-item.is-open > a::before { transform: translateY(-50%) scaleY(1); }
.ph-drawer-item.is-open > a { color: var(--ph-primary); }

.ph-drawer-chevron {
  width: 18px;
  height: 18px;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  opacity: 0.45;
  flex-shrink: 0;
}
.ph-drawer-item.is-open > a .ph-drawer-chevron {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--ph-primary);
}

/* ── Sub-menu accordion ── */
.ph-drawer-sub {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1);
  margin: 0 0 4px 4px;
  border-left: 2px solid rgba(28,95,176,0.12);
  border-radius: 0 0 0 6px;
  padding-left: 4px;
}
.ph-drawer-item.is-open > .ph-drawer-sub { max-height: 800px; }

.ph-drawer-sub li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ph-text-muted);
  text-decoration: none;
  border-radius: 8px;
  margin: 2px 4px;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}
.ph-drawer-sub li a::before {
  content: '';
  width: 5px;
  height: 5px;
  background: rgba(28,95,176,0.3);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.18s ease;
}
.ph-drawer-sub li a:hover {
  background: rgba(28,95,176,0.06);
  color: var(--ph-primary);
  padding-left: 16px;
}
.ph-drawer-sub li a:hover::before { background: var(--ph-primary); }

/* ── Drawer Footer ── */
.ph-drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid rgba(28,95,176,0.1);
  flex-shrink: 0;
  background: linear-gradient(180deg, #f4f8ff 0%, #eef4ff 100%);
}

.ph-drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--ph-primary) 0%, var(--ph-primary-dark) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(28,95,176,0.35),
              inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
.ph-drawer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
}
.ph-drawer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(28,95,176,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
  color: #fff;
}

.ph-drawer-contacts {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ph-drawer-contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  background: #fff;
  border: 1px solid rgba(28,95,176,0.12);
  border-radius: 12px;
  color: var(--ph-text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease,
              box-shadow 0.2s ease, transform 0.2s ease;
}
.ph-drawer-contact-link:hover {
  border-color: var(--ph-primary);
  color: var(--ph-primary);
  box-shadow: 0 2px 12px rgba(28,95,176,0.1);
  transform: translateY(-1px);
}
.ph-drawer-contact-link svg {
  width: 16px;
  height: 16px;
  color: var(--ph-primary);
  flex-shrink: 0;
}

/* ================================================================
   BODY SPACER — push content below header
   ================================================================ */
.ph-spacer {
  height: calc(var(--ph-topbar-height) + var(--ph-nav-height));
  transition: height var(--ph-transition);
}

.ph-header.is-scrolled ~ .ph-spacer,
body.ph-scrolled .ph-spacer {
  height: var(--ph-nav-height-sm);
}

/* ================================================================
   RESPONSIVE — Mobile breakpoint
   ================================================================ */
@media (max-width: 991px) {
  .ph-nav    { display: none; }
  .ph-burger { display: flex; }
  .ph-topbar-inner { padding: 0 16px; }
  .ph-navbar-inner { padding: 0 16px; }
}

@media (max-width: 639px) {
  .ph-topbar-track { display: none; }
  .ph-contact-item:nth-child(n+3) { display: none; }
}

@media (max-width: 479px) {
  :root {
    --ph-topbar-height: 34px;
    --ph-nav-height: 56px;
  }
  .ph-contact-item + .ph-contact-item { display: none; }
  .ph-logo img { height: 40px; }
  .ph-burger { width: 40px; height: 40px; }
  .ph-drawer { width: 92vw; border-radius: 18px 0 0 18px; }
}

/* ================================================================
   ENTRANCE ANIMATION
   ================================================================ */
@keyframes ph-slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.ph-header {
  animation: ph-slideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
