﻿/* ==========================================================================
    PREMIUM HERO + HEADER  ·  مربی شنا
    Light editorial composition / Persian typography / #42C0F8 system
    ========================================================================== */

:root {
  --ph-navy: #1A3A5C;
  --ph-navy-deep: #0A1929;
  --ph-blue: #42C0F8;
  --ph-blue-light: #1A8AE8;
  --ph-blue-subtle: #EAF4FB;
  --ph-bg: #FFFFFF;
  --ph-bg-soft: #F3F8FC;
  --ph-bg-muted: #EAF4FB;
  --ph-text: #1A3A5C;
  --ph-text-muted: #627D98;
  --ph-text-secondary: #243B53;
  --ph-white: #FFFFFF;
  --ph-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ph-container: 1280px;
  --ph-pad: clamp(20px, 4vw, 64px);
}

/* ============================================================
   HEADER
   ============================================================ */

.ph-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 -1px 0 rgba(16, 42, 67, 0.06);
  transition: padding 0.5s var(--ph-ease), background 0.5s ease,
    border-color 0.5s ease, box-shadow 0.5s ease,
    backdrop-filter 0.5s ease;
}

.ph-header.is-scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.511);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom-color: rgba(255, 255, 255, 0.353);
  box-shadow: inset 0 -1px 0 rgba(16, 42, 67, 0.08),
    0 8px 32px rgba(16, 42, 67, 0.08);
}

.ph-header__inner {
  position: relative;
  direction: rtl;
  max-width: var(--ph-container);
  margin: 0 auto;
  padding: 0 var(--ph-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* --- brand --- */
.ph-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  direction: rtl;
  flex-shrink: 0;
}

.ph-brand__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.ph-brand__mark--img {
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}


.ph-brand__mark .m-wave {
  stroke: var(--ph-blue);
  stroke-width: 2.2;
  stroke-linecap: round;
  fill: none;
}

.ph-brand__mark .m-line {
  stroke: rgba(22, 119, 210, 0.25);
  stroke-width: 1.4;
  stroke-linecap: round;
}

.ph-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.ph-brand__name {
  font-family: "Vazirmatn", "Dana", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ph-navy);
  letter-spacing: -0.01em;
}

.ph-brand__tag {
  margin-top: 4px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ph-blue);
  direction: ltr;
  text-align: right;
  font-family: "Vazirmatn", sans-serif;
}

/* --- nav --- */
.ph-nav-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
}

.ph-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 36px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ph-nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-family: "Vazirmatn", "Dana", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ph-text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
  direction: rtl;
}

.ph-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  width: 26px;
  height: 2px;
  background: var(--ph-blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s var(--ph-ease);
}

.ph-nav a:hover,
.ph-nav a.is-active {
  color: var(--ph-navy);
}

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

/* --- actions --- */
.ph-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  direction: ltr;
}

.ph-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: none;
  color: var(--ph-text-muted);
  cursor: pointer;
  text-decoration: none;
  border-radius: 50%;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s var(--ph-ease);
}

.ph-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ph-icon-btn i {
  font-size: 18px;
  line-height: 1;
}

.ph-icon-btn:hover {
  color: var(--ph-blue);
  background: var(--ph-bg-muted);
  transform: translateY(-1px);
}

.ph-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--ph-blue);
  color: var(--ph-white);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

/* inline search */
.ph-search {
  direction: rtl;
  display: flex;
  align-items: center;
  width: 0;
  overflow: hidden;
  transition: width 0.5s var(--ph-ease), margin 0.5s var(--ph-ease);
}

.ph-search.is-open {
  width: 200px;
  margin-left: 6px;
}

.ph-search input {
  width: 100%;
  padding: 10px 4px;
  border: 0;
  border-bottom: 2px solid rgba(22, 119, 210, 0.15);
  background: transparent;
  color: var(--ph-navy);
  font-family: "Vazirmatn", "Dana", sans-serif;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.3s ease;
  direction: rtl;
}

.ph-search input::placeholder {
  color: var(--ph-text-muted);
}

.ph-search input:focus {
  border-bottom-color: var(--ph-blue);
}

/* header CTA */
.ph-cta-wrap {
  display: flex;
  align-items: center;
  margin-right: 10px;
  padding-right: 16px;
  border-right: 1px solid rgba(22, 119, 210, 0.12);
}

.ph-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  direction: rtl;
  padding: 13px 24px;
  border-radius: 50px;
  background: var(--ph-blue);
  color: var(--ph-white);
  font-family: "Vazirmatn", "Dana", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(22, 119, 210, 0.25);
  transition: background 0.35s ease, transform 0.35s var(--ph-ease),
    box-shadow 0.35s ease;
}

.ph-cta svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ph-ease);
}

.ph-cta:hover {
  background: var(--ph-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 119, 210, 0.35);
}

.ph-cta:hover svg {
  transform: translateX(-4px);
}

/* burger */
.ph-burger {
  display: none;
  width: 44px;
  height: 40px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.ph-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ph-text);
  transition: transform 0.4s var(--ph-ease), opacity 0.3s ease;
  border-radius: 2px;
}

.ph-burger i {
  font-size: 22px;
  line-height: 1;
  color: var(--ph-text);
  transition: color 0.3s ease, transform 0.3s var(--ph-ease);
}

.ph-burger:hover i {
  color: var(--ph-blue);
}

/* ============================================================
   MOBILE MENU
   ============================================================ */

.ph-mobile {
  position: fixed;
  inset: 0;
  z-index: 960;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-16px);
  background: var(--ph-white);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.45s ease, transform 0.55s var(--ph-ease),
    visibility 0.45s;
}

.ph-mobile.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.ph-mobile__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px var(--ph-pad) 34px;
}

.ph-mobile__top {
  position: sticky;
  top: 0;
  z-index: 2;
  flex: none;
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ph-white);
  padding-bottom: 40px;
}

.ph-mobile__close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(22, 119, 210, 0.2);
  border-radius: 4px;
  background: none;
  color: var(--ph-navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.ph-mobile__close:hover {
  border-color: var(--ph-blue);
  color: var(--ph-blue);
}

.ph-mobile__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
}

.ph-mobile__close i {
  font-size: 18px;
  line-height: 1;
}

.ph-mobile__nav {
  flex: none;
  margin: auto 0;
  direction: rtl;
  list-style: none;
  padding: 0;
}

.ph-mobile__nav li {
  border-bottom: 1px solid rgba(22, 119, 210, 0.06);
  opacity: 0;
  transform: translateY(22px);
}

.ph-mobile.is-open .ph-mobile__nav li {
  animation: phIn 0.7s var(--ph-ease) forwards;
}

.ph-mobile.is-open .ph-mobile__nav li:nth-child(1) {
  animation-delay: 0.08s;
}

.ph-mobile.is-open .ph-mobile__nav li:nth-child(2) {
  animation-delay: 0.14s;
}

.ph-mobile.is-open .ph-mobile__nav li:nth-child(3) {
  animation-delay: 0.2s;
}

.ph-mobile.is-open .ph-mobile__nav li:nth-child(4) {
  animation-delay: 0.26s;
}

.ph-mobile.is-open .ph-mobile__nav li:nth-child(5) {
  animation-delay: 0.32s;
}

.ph-mobile.is-open .ph-mobile__nav li:nth-child(6) {
  animation-delay: 0.38s;
}

.ph-mobile.is-open .ph-mobile__nav li:nth-child(7) {
  animation-delay: 0.44s;
}

.ph-mobile.is-open .ph-mobile__nav li:nth-child(8) {
  animation-delay: 0.5s;
}

.ph-mobile.is-open .ph-mobile__nav li:nth-child(9) {
  animation-delay: 0.56s;
}

.ph-mobile__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  font-family: "Vazirmatn", "Dana", sans-serif;
  font-size: clamp(22px, 7vw, 30px);
  font-weight: 700;
  color: var(--ph-navy);
  text-decoration: none;
  transition: color 0.3s ease;
  direction: rtl;
}

.ph-mobile__nav a small {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--ph-text-muted);
  direction: ltr;
}

.ph-mobile__nav a:hover {
  color: var(--ph-blue);
}

.ph-mobile__foot {
  flex: none;
  direction: rtl;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ph-mobile__foot .ph-btn {
  justify-content: center;
}

.ph-mobile__meta {
  direction: ltr;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--ph-text-muted);
  text-transform: uppercase;
}

/* ============================================================
   HERO SHELL
   ============================================================ */

.ph-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ph-bg);
  padding: 120px 0 80px;
  isolation: isolate;
}

.ph-hero__inner {
  position: relative;
  z-index: 6;
  direction: rtl;
  width: 100%;
  max-width: var(--ph-container);
  margin: 0 auto;
  padding: 0 var(--ph-pad);
  display: flex;
  align-items: center;
  gap: 60px;
}

.ph-hero__visual {
  flex: 0 0 58%;
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-hero__content {
  flex: 0 0 42%;
  max-width: 560px;
}

/* ============================================================
   ABSTRACT AQUATIC SHAPE
   ============================================================ */

.ph-aquatic-shape {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 70%;
  height: 80%;
  z-index: 1;
  pointer-events: none;
}

.ph-aquatic-shape svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ============================================================
   SWIMMER IMAGE
   ============================================================ */

.ph-swimmer-frame {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 85%;
  height: 80%;
  z-index: 2;
  overflow: hidden;
  clip-path: polygon(0% 5%,
      10% 0%,
      100% 10%,
      100% 100%,
      0% 100%);
}

.ph-swimmer-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
  display: block;
}

/* fallback SVG swimmer when no image */
.ph-swimmer-fallback {
  position: absolute;
  top: 5%;
  left: 8%;
  width: 80%;
  height: 85%;
  z-index: 2;
  pointer-events: none;
}

.ph-swimmer-fallback svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* subtle overlay for depth */
.ph-swimmer-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(22, 119, 210, 0.04) 0%,
      rgba(243, 248, 252, 0.15) 100%);
  pointer-events: none;
}

/* ============================================================
   TYPOGRAPHY / COPY
   ============================================================ */

.ph-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-family: "Vazirmatn", "Dana", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--ph-blue);
}

.ph-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--ph-blue);
  border-radius: 2px;
}

.ph-title {
  margin: 0 0 28px;
  font-family: "Vazirmatn", "Dana", sans-serif;
  font-size: clamp(36px, 4.7vw, 52px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--ph-navy);
  letter-spacing: -0.015em;
  direction: rtl;
}

.ph-title .accent {
  color: var(--ph-blue);
}

.ph-desc {
  max-width: 440px;
  margin: 0 0 38px;
  font-family: "Vazirmatn", "Dana", sans-serif;
  font-size: 17px;
  line-height: 1.9;
  color: var(--ph-text-muted);
  direction: rtl;
}

.ph-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ph-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  direction: rtl;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  font-family: "Vazirmatn", "Dana", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.4s ease, transform 0.4s var(--ph-ease),
    box-shadow 0.4s ease;
}

.ph-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s var(--ph-ease);
}

.ph-btn i {
  font-size: 15px;
  line-height: 1;
  transition: transform 0.4s var(--ph-ease);
}

.ph-btn--primary {
  background: var(--ph-blue);
  color: var(--ph-white);
  box-shadow: 0 4px 20px rgba(22, 119, 210, 0.3);
}

.ph-btn--primary:hover {
  background: var(--ph-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(22, 119, 210, 0.4);
}

.ph-btn--primary:hover svg,
.ph-btn--primary:hover i {
  transform: translateX(-4px);
}

.ph-btn--ghost {
  background: rgba(22, 119, 210, 0.06);
  color: var(--ph-blue);
  border: 1.5px solid rgba(22, 119, 210, 0.2);
}

.ph-btn--ghost:hover {
  background: rgba(22, 119, 210, 0.12);
  border-color: var(--ph-blue);
  transform: translateY(-2px);
}

.ph-btn--ghost:hover svg,
.ph-btn--ghost:hover i {
  transform: translateX(-4px);
}

/* ============================================================
   HERO SLIDER INDICATOR
   ============================================================ */

.ph-slider-indicator {
  position: absolute;
  bottom: 40px;
  right: calc(var(--ph-pad) + 20px);
  z-index: 6;
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ph-slider-indicator__num {
  font-family: "Vazirmatn", "Dana", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ph-text-muted);
  transition: color 0.4s ease;
  position: relative;
  padding-bottom: 4px;
}

.ph-slider-indicator__num.is-active {
  color: var(--ph-blue);
}

.ph-slider-indicator__num.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 2px;
  background: var(--ph-blue);
  border-radius: 2px;
}

.ph-slider-indicator__num:not(.is-active)::after {
  display: none;
}

/* ============================================================
   PERFORMANCE RAIL
   ============================================================ */

.ph-rail {
  position: absolute;
  left: calc(var(--ph-pad) + 10px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  direction: ltr;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ph-rail::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(22, 119, 210, 0.12);
}

.ph-rail__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

.ph-rail__dot {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid rgba(22, 119, 210, 0.25);
  background: var(--ph-white);
  transition: border-color 0.45s ease, background 0.45s ease,
    box-shadow 0.45s ease;
}

.ph-rail__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ph-rail__num {
  font-family: "Vazirmatn", "Dana", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ph-text-muted);
  transition: color 0.45s ease;
}

.ph-rail__label {
  font-family: "Vazirmatn", "Dana", sans-serif;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ph-text-muted);
  white-space: nowrap;
  transition: color 0.45s ease;
}

.ph-rail__item.is-active .ph-rail__dot {
  border-color: var(--ph-blue);
  background: var(--ph-blue);
  box-shadow: 0 0 0 4px rgba(22, 119, 210, 0.12);
}

.ph-rail__item.is-active .ph-rail__num {
  color: var(--ph-blue);
}

.ph-rail__item.is-active .ph-rail__label {
  color: var(--ph-navy);
}

/* ============================================================
   SCROLL INDICATOR
   ============================================================ */

.ph-scroll {
  position: absolute;
  bottom: 30px;
  right: calc(var(--ph-pad) + 30px);
  z-index: 6;
  direction: ltr;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ph-scroll__text {
  font-family: "Vazirmatn", "Dana", sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ph-text-muted);
}

.ph-scroll__line {
  position: relative;
  width: 1px;
  height: 54px;
  background: rgba(22, 119, 210, 0.12);
  overflow: hidden;
}

.ph-scroll__line::after {
  content: "";
  position: absolute;
  top: -45%;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(180deg, transparent, var(--ph-blue));
  animation: phDrop 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes phDrop {
  0% {
    top: -45%;
  }

  70%,
  100% {
    top: 105%;
  }
}

/* ============================================================
   ENTRANCE MOTION
   ============================================================ */

.ph-anim {
  opacity: 0;
  transform: translateY(26px);
  animation: phIn 0.95s var(--ph-ease) forwards;
}

.ph-anim--d1 {
  animation-delay: 0.15s;
}

.ph-anim--d2 {
  animation-delay: 0.3s;
}

.ph-anim--d3 {
  animation-delay: 0.45s;
}

.ph-anim--d4 {
  animation-delay: 0.6s;
}

.ph-anim--d5 {
  animation-delay: 0.78s;
}

.ph-anim--d6 {
  animation-delay: 0.95s;
}

@keyframes phIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1280px) {
  .ph-rail {
    display: none;
  }
}

@media (max-width: 1120px) {
  .ph-nav a {
    font-size: 13.5px;
  }

  .ph-brand__tag {
    display: none;
  }
}

@media (max-width: 1024px) {
  .ph-header {
    padding: 16px 0;
  }

  .ph-header.is-scrolled {
    padding: 10px 0;
  }

  .ph-nav-wrap,
  .ph-search,
  .ph-cta-wrap {
    display: none;
  }

  .ph-header__inner {
    gap: 16px;
  }

  .ph-burger {
    display: flex;
  }

  .ph-hero__inner {
    flex-direction: column;
    gap: 40px;
    padding-top: 20px;
  }

  .ph-hero__visual {
    flex: none;
    width: 100%;
    height: 380px;
    order: -1;
  }

  .ph-hero__content {
    flex: none;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .ph-hero__content .ph-eyebrow::before {
    display: none;
  }

  .ph-hero__content .ph-eyebrow {
    justify-content: center;
  }

  .ph-hero__content .ph-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .ph-cta-row {
    justify-content: center;
  }

  .ph-slider-indicator {
    display: none;
  }
}

@media (max-width: 768px) {
  .ph-hero {
    padding: 100px 0 60px;
  }

  .ph-hero__visual {
    height: 300px;
  }

  .ph-swimmer-frame {
    clip-path: polygon(0% 8%,
        15% 0%,
        100% 12%,
        100% 100%,
        0% 100%);
  }

  .ph-title {
    font-size: clamp(30px, 8.6vw, 42px);
    line-height: 1.38;
    margin-bottom: 20px;
  }

  .ph-desc {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 28px;
    max-width: 100%;
  }

  .ph-eyebrow {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .ph-scroll {
    display: none;
  }

  .ph-actions .ph-cta {
    display: none;
  }

  .ph-actions .ph-icon-btn--search {
    display: none;
  }

  .ph-rail {
    display: none;
  }
}

@media (max-width: 560px) {
  .ph-brand__mark {
    width: 30px;
    height: 30px;
  }

  .ph-brand__name {
    font-size: 16px;
  }

  .ph-actions {
    gap: 0;
  }

  .ph-cta-row {
    flex-direction: column;
    gap: 12px;
  }

  .ph-btn {
    justify-content: center;
    width: 100%;
    padding: 15px 24px;
    font-size: 14.5px;
  }

  .ph-hero {
    padding: 90px 0 50px;
  }

  .ph-hero__visual {
    height: 260px;
  }

  .ph-slider-indicator {
    bottom: 20px;
    right: 20px;
  }
}

/* ============================================================
   FOREGROUND PARTICLES
   ============================================================ */

.ph-layer--bubbles {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.ph-bubble {
  position: absolute;
  bottom: -10%;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%,
      rgba(22, 119, 210, 0.25),
      rgba(22, 119, 210, 0.08) 46%,
      rgba(22, 119, 210, 0.01) 72%);
  box-shadow: inset 0 0 6px rgba(22, 119, 210, 0.3);
  opacity: 0;
  filter: blur(var(--bl, 0px));
  animation: phRise var(--dur, 18s) linear infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

@keyframes phRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.8);
  }

  8% {
    opacity: var(--o, 0.5);
  }

  86% {
    opacity: var(--o, 0.5);
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--dx, 30px), -118vh, 0) scale(1.15);
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .ph-anim {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .ph-swimmer-fallback svg,
  .ph-scroll__line::after,
  .ph-rail__dot,
  .ph-bubble {
    animation: none !important;
  }
}

/* TTC keyframe (moved to animated-hero.css, kept here as backup) */
@keyframes ttcFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .ph-hero__testimonials {
    display: none;
  }
}


