/* ═══════════════════════════════════════════════════════
   POLY HUKUK — Dark Theme (grlicalaw.com inspired)
   Avukat Sevgi İçkan Aksoy | polyhukuk.com
   ═══════════════════════════════════════════════════════ */

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

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  overflow-x: hidden; /* mobil Safari dahil tüm tarayıcılarda yatay scroll'u önler */
}

body {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #ffffff;
  background-color: #010101;
  overflow-x: hidden;
}

a  { color: inherit; text-decoration: none; transition: color .3s; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; padding: 0; }
input, textarea, select { font: inherit; letter-spacing: inherit; }
h1,h2,h3,h4,h5,h6 { font-weight: 800; line-height: 1.1; }

/* ── CSS Variables ───────────────────────────────────── */
:root {
  --accent:      #19c37b;
  --accent-dim:  rgba(25,195,123,.18);
  --accent-glow: rgba(25,195,123,.35);
  --blue:        #1a5cff;
  --blue-dim:    rgba(26,92,255,.18);
  --blue-glow:   rgba(26,92,255,.35);
  --bg:          #010101;
  --bg2:         #0b0b14;
  --white:       #ffffff;
  --gray:        rgba(255,255,255,.55);
  --gray-light:  rgba(255,255,255,.75);
  --border:      rgba(255,255,255,.09);
  --card-bg:     rgba(255,255,255,.04);
  --card-hover:  rgba(25,195,123,.06);
  --transition:  .3s ease-in-out;
  --radius:      14px;
  --radius-sm:   8px;
  --header-h:    72px;
  --sidebar-w:   240px;
}

/* ── Preloader ───────────────────────────────────────── */
.ph-preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s ease, visibility .7s ease;
}
.ph-preloader.ph-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.ph-preloader__ring {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.1);
  border-top-color: var(--accent);
  animation: ph-spin 1s linear infinite;
}
@keyframes ph-spin { to { transform: rotate(360deg); } }

/* ── Background Canvas ───────────────────────────────── */
.ph-bg {
  position: fixed; inset: 0; z-index: 0;
  background: var(--bg);
  pointer-events: none;
}

/* ── Themis Background Figure ────────────────────────── */
/* ══════════════════════════════════════════════════════════════
   Themis / Lady Justice — PNG background parallax
   ──────────────────────────────────────────────────────────────
   PNG boyutu: 1509 × 2615 px  (oran 0.577 — yüksek/dikey)
   Strateji  : height-based sizing → hiç bir zaman viewport
               yüksekliğini aşmaz, yatay scroll olmaz.
   Layer stack (back → front):
     z-0  .ph-bg          dark #010101 background (fixed)
     z-0  #ph-themis-bg   Themis PNG  (fixed, right side)
     z-1  .ph-section     content (transparent bg)
     z-500 .ph-header     always on top
   ══════════════════════════════════════════════════════════════ */

/* ── Wrapper ────────────────────────────────────────────────── */
#ph-themis-bg {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);   /* JS overrides every rAF tick */
  z-index: 0;
  pointer-events: none;

  /* HEIGHT-based: statue never taller than viewport */
  height: 88vh;
  width: auto;
  max-width: 46vw;   /* never wider than ~half the screen */
}

/* ── Image ──────────────────────────────────────────────────── */
#ph-themis-bg img {
  display: block;
  height: 100%;
  width: auto;
  transform-origin: center center;
  transform: perspective(1200px) rotateY(-12deg); /* JS overwrites */
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter:
    drop-shadow(0 0 48px rgba(25, 195, 123, 0.30))
    drop-shadow(0 0 90px rgba(192, 24, 230, 0.18));
}

/* ── Responsive ─────────────────────────────────────────────── */

/* Standard desktop */
@media (max-width: 1400px) {
  #ph-themis-bg {
    height: 84vh;
    max-width: 44vw;
  }
}

/* Tablet landscape */
@media (max-width: 1100px) {
  #ph-themis-bg {
    height: 78vh;
    max-width: 40vw;
  }
}

/* Tablet portrait */
@media (max-width: 900px) {
  #ph-themis-bg {
    height: 70vh;
    max-width: 38vw;
    opacity: 0.55;
  }
}

/* Büyük mobil (480px–768px) — küçük, hafif, içeriği ezmez */
@media (max-width: 768px) {
  #ph-themis-bg {
    height: 55vh;
    max-width: 55vw;
    right: 0;
    opacity: 0.35;
  }
}

/* Küçük mobil (max 480px) — daha da küçük, neredeyse şeffaf */
@media (max-width: 480px) {
  #ph-themis-bg {
    height: 45vh;
    max-width: 60vw;
    right: 0;
    opacity: 0.22;
  }
}
.ph-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 80% 40%, rgba(26,92,255,.13) 0%, transparent 65%),
    radial-gradient(ellipse 35% 40% at 75% 70%, rgba(25,195,123,.07) 0%, transparent 55%);
}

/* ── Fixed Header ────────────────────────────────────── */
.ph-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: flex-start;
  padding: 0 48px;
  background: linear-gradient(to bottom, rgba(1,1,1,.92) 0%, rgba(1,1,1,0) 100%);
  backdrop-filter: blur(2px);
}

.ph-header__logo {
  display: flex; align-items: center; gap: 14px;
  font-size: 1rem; font-weight: 800; letter-spacing: .06em;
  text-decoration: none; color: inherit;
}
.ph-header__logo-icon {
  width: 36px; height: 36px; flex-shrink: 0;
}
.ph-header__logo-name { color: #fff; }
.ph-header__logo-accent { color: var(--accent); }

.ph-header__nav {
  display: flex; align-items: center; gap: 36px;
}
.ph-header__nav a {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray);
}
.ph-header__nav a:hover { color: var(--white); }
.ph-header__nav .ph-nav-cta {
  border: 1.5px solid var(--accent);
  color: var(--white);
  padding: 9px 22px; border-radius: 100px;
  font-size: .78rem; font-weight: 700;
  transition: var(--transition);
}
.ph-header__nav .ph-nav-cta:hover {
  background: var(--accent); color: #000;
  box-shadow: 0 0 24px var(--accent-glow);
}

/* Burger (mobile) */
.ph-burger {
  display: none; flex-direction: column;
  gap: 5px; width: 28px; padding: 4px 0;
  background: none; border: none; cursor: pointer;
}
.ph-burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }

/* Mobile menu overlay */
.ph-mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 400;
  background: rgba(1,1,1,.97);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 32px;
}
.ph-mobile-menu.open { display: flex; }
.ph-mobile-menu a {
  font-size: 1.6rem; font-weight: 800;
  color: var(--gray-light); letter-spacing: .04em;
  transition: var(--transition);
}
.ph-mobile-menu a:hover { color: var(--accent); }
.ph-mobile-menu__close {
  position: absolute; top: 24px; right: 32px;
  font-size: 2rem; color: var(--gray); cursor: pointer;
}

/* ── Left Dot Navigation ─────────────────────────────── */
.ph-dots {
  position: fixed;
  left: 44px; top: 50%; transform: translateY(-50%);
  z-index: 400;
  display: flex; flex-direction: column; gap: 22px;
}
.ph-dot {
  display: flex; align-items: center; gap: 14px;
  cursor: pointer; text-decoration: none;
  color: var(--gray);
  transition: var(--transition);
}
.ph-dot::before {
  content: '';
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35);
  transition: var(--transition);
}
.ph-dot.active { color: var(--white); }
.ph-dot.active::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-dim);
}
.ph-dot:hover::before { border-color: var(--white); }
.ph-dot__label {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
  opacity: 0; transform: translateX(-10px);
  transition: var(--transition);
}
.ph-dot:hover .ph-dot__label,
.ph-dot.active .ph-dot__label { opacity: 1; transform: translateX(0); }

/* ── Hero CTA Button (İletişime Geç) — normal flow, not fixed ── */
.ph-to-contact {
  /* Artık fixed değil — hero section içinde normal bir CTA butonu */
  display: inline-flex;
  text-decoration: none;
}

/* ── Calendly Float Button ───────────────────────────── */
.ph-calendly-float {
  position: fixed; bottom: 32px; right: 32px;
  z-index: 400;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(25, 195, 123, 0.40);
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
  color: #fff;
}
.ph-calendly-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(25, 195, 123, 0.60);
  color: #fff;
}
.ph-calendly-float svg { width: 26px; height: 26px; stroke: #fff; }

/* Calendly inline button in contact section */
.ph-btn--calendly {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.ph-btn--calendly:hover { background: var(--accent-dim); border-color: var(--accent-dim); }

/* ── Page Wrapper ────────────────────────────────────── */
#ph-page { position: relative; z-index: 1; }

/* ── Section Base ────────────────────────────────────── */
.ph-section {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; align-items: center;
}
.ph-section__inner {
  margin-left: var(--sidebar-w);
  padding: 12vh 7% 12vh 3%;
  width: calc(100% - var(--sidebar-w));
}
.ph-label {
  display: inline-block;
  font-size: .72rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.ph-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 20px;
}
.ph-subtitle {
  font-size: 1rem; color: var(--gray);
  line-height: 1.75; max-width: 560px;
  margin-bottom: 48px;
}
.ph-divider {
  width: 60px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 40px;
}

/* ── HERO SECTION ────────────────────────────────────── */
#ph-hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start; /* center yerine flex-start: içerik asla üstten taşmaz */
  overflow: hidden;
  padding-top: var(--header-h);
  position: relative;
}

.ph-hero__left {
  padding-left: max(80px, 12%);
  padding-right: 20%;   /* leave room for Themis on the right */
  padding-top: 7vh;     /* görsel ortalama: header'ın altından nefes boşluğu */
  padding-bottom: 7vh;
  display: flex; flex-direction: column; gap: 20px;
  max-width: 820px;
  position: relative; z-index: 2;
}
.ph-hero__eyebrow {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: none;
  color: var(--accent);
}
.ph-hero__heading {
  font-size: clamp(3.2rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--white);
}
.ph-hero__heading em { font-style: normal; color: var(--accent); }
.ph-hero__desc {
  font-size: .95rem; color: var(--gray);
  line-height: 1.75; max-width: 380px;
}
.ph-hero__actions {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.ph-hero__badges {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 8px;
}
.ph-hero__badge {
  display: flex; align-items: center; gap: 14px;
  font-size: .88rem; color: var(--gray-light);
  font-weight: 500;
}
.ph-hero__badge-icon {
  width: 20px; height: 20px; color: var(--accent); flex-shrink: 0;
}

.ph-hero__right {
  position: relative;
  height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ph-hero__glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, rgba(25,195,123,.08) 45%, transparent 70%);
  filter: blur(50px);
  animation: ph-pulse 4s ease-in-out infinite alternate;
}
@keyframes ph-pulse {
  from { transform: scale(.92); opacity: .8; }
  to   { transform: scale(1.08); opacity: 1; }
}
.ph-hero__img {
  position: relative; z-index: 1;
  height: 85vh; width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 50px var(--blue-glow)) drop-shadow(0 0 25px var(--accent-dim));
  animation: ph-float 6s ease-in-out infinite alternate;
}
@keyframes ph-float {
  from { transform: translateY(0px); }
  to   { transform: translateY(-20px); }
}
.ph-hero__justice-svg {
  position: relative; z-index: 1;
  width: 75%; height: auto;
  filter: drop-shadow(0 0 60px var(--blue-glow)) drop-shadow(0 0 30px var(--accent-dim));
  animation: ph-float 6s ease-in-out infinite alternate;
}

/* ── Buttons ─────────────────────────────────────────── */
.ph-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 36px;
  border-radius: 100px;
  font-size: .88rem; font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer; text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.ph-btn--outline {
  border: 1.5px solid var(--accent);
  color: var(--white); background: transparent;
}
.ph-btn--outline:hover {
  background: var(--accent); color: #000;
  box-shadow: 0 0 30px var(--accent-glow);
}
.ph-btn--solid {
  background: var(--accent); color: #000;
  border: 1.5px solid var(--accent); font-weight: 800;
}
.ph-btn--solid:hover {
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-2px);
}
.ph-btn--ghost {
  border: 1.5px solid var(--border); color: var(--gray);
}
.ph-btn--ghost:hover { border-color: var(--white); color: var(--white); }

/* ── Practice Areas (Hizmetler) ──────────────────────── */
#ph-hizmetler { background: transparent; }

.ph-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.ph-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  cursor: pointer;
  transition: transform .3s, border-color .3s, box-shadow .3s, background .3s;
  text-decoration: none; color: inherit;
  display: block;
}
.ph-card:hover {
  transform: translateY(-5px);
  border-color: rgba(25,195,123,.4);
  background: var(--card-hover);
  box-shadow: 0 24px 48px rgba(0,0,0,.4), 0 0 24px var(--accent-dim);
}
.ph-card__icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 1.3rem;
}
.ph-card__title {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 10px; line-height: 1.3;
}
.ph-card__desc {
  font-size: .82rem; color: var(--gray);
  line-height: 1.65;
}
.ph-card__arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700;
  color: var(--accent); margin-top: 18px;
  transition: gap .3s;
}
.ph-card:hover .ph-card__arrow { gap: 10px; }

/* ── Vision / Neden Biz ──────────────────────────────── */
#ph-neden { background: transparent; }

.ph-vision__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px; align-items: center;
}
.ph-vision__text p {
  color: var(--gray); line-height: 1.85; font-size: .95rem;
}
.ph-vision__text p + p { margin-top: 18px; }
.ph-vision__stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.ph-stat {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.ph-stat__num {
  font-size: 2.6rem; font-weight: 800;
  color: var(--accent); line-height: 1;
}
.ph-stat__label {
  font-size: .8rem; color: var(--gray);
  margin-top: 8px; line-height: 1.4;
}

/* ── Blog / Makaleler ────────────────────────────────── */
#ph-blog { background: transparent; }

.ph-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}
.ph-blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  text-decoration: none; color: inherit; display: block;
}
.ph-blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(25,195,123,.35);
  box-shadow: 0 24px 48px rgba(0,0,0,.4);
}
.ph-blog-card__img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.ph-blog-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.ph-blog-card:hover .ph-blog-card__img { transform: scale(1.05); }
.ph-blog-card__body { padding: 24px; }
.ph-blog-card__tag {
  font-size: .68rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
  display: block;
}
.ph-blog-card__title {
  font-size: .95rem; font-weight: 700;
  line-height: 1.4; margin-bottom: 10px;
}
.ph-blog-card__excerpt {
  font-size: .82rem; color: var(--gray);
  line-height: 1.65; margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.ph-blog-card__link {
  font-size: .78rem; font-weight: 700;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .3s;
}
.ph-blog-card:hover .ph-blog-card__link { gap: 10px; }

/* ── Contact / İletişim ──────────────────────────────── */
#ph-iletisim { background: transparent; }

.ph-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px; align-items: start;
}
.ph-contact__info { display: flex; flex-direction: column; gap: 28px; }
.ph-contact__item {
  display: flex; align-items: flex-start; gap: 16px;
}
.ph-contact__item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.ph-contact__item-icon svg { width: 20px; height: 20px; }
.ph-contact__item-label {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 4px;
}
.ph-contact__item-val { font-weight: 700; font-size: .95rem; }
.ph-contact__item-val a { color: inherit; transition: color .3s; }
.ph-contact__item-val a:hover { color: var(--accent); }

.ph-form { display: flex; flex-direction: column; gap: 20px; }
.ph-field label {
  display: block; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 8px;
}
.ph-field input,
.ph-field textarea {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: .9rem;
  transition: border-color .3s, box-shadow .3s;
  outline: none; resize: vertical;
}
.ph-field input:focus,
.ph-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.ph-field input::placeholder,
.ph-field textarea::placeholder { color: rgba(255,255,255,.28); }

#ph-form-status {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 600;
  display: none;
}
#ph-form-status.success {
  display: block;
  background: rgba(25,195,123,.12);
  border: 1px solid var(--accent);
  color: var(--accent);
}
#ph-form-status.error {
  display: block;
  background: rgba(255,60,60,.1);
  border: 1px solid rgba(255,60,60,.5);
  color: #ff6b6b;
}

/* ── Footer ──────────────────────────────────────────── */
.ph-footer {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.025);
  border-top: 1px solid var(--border);
  padding: 64px 48px 40px;
}
.ph-footer__inner {
  max-width: 1300px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.ph-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.ph-footer__desc {
  font-size: .83rem; color: var(--gray);
  line-height: 1.75; max-width: 270px;
}
.ph-footer__baro {
  font-size: .76rem; color: rgba(255,255,255,.35);
  line-height: 1.6;
}
.ph-footer__col h4 {
  font-size: .68rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 18px;
}
.ph-footer__col a {
  display: block;
  font-size: .84rem; color: var(--gray);
  margin-bottom: 11px;
  transition: color .3s;
}
.ph-footer__col a:hover { color: var(--white); }
.ph-footer__bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: .78rem; color: rgba(255,255,255,.35);
}
.ph-footer__bottom a { color: var(--gray); transition: color .3s; }
.ph-footer__bottom a:hover { color: var(--white); }

/* ══════════════════════════════════════════════════════
   INNER PAGE LAYOUT
   ══════════════════════════════════════════════════════ */

.ph-inner {
  position: relative; z-index: 1;
  min-height: 100vh;
  padding-top: var(--header-h);
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
}

/* Left sidebar for inner pages */
.ph-sidebar {
  position: sticky; top: var(--header-h);
  height: calc(100vh - var(--header-h));
  padding: 36px 0;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow-y: auto; overflow-x: hidden;
}
.ph-sidebar::-webkit-scrollbar { width: 3px; }
.ph-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.ph-sidebar__back {
  display: flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700;
  color: var(--gray); padding: 0 24px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  transition: color .3s;
}
.ph-sidebar__back:hover { color: var(--accent); }
.ph-sidebar__back svg { width: 14px; height: 14px; }

.ph-sidebar__cat {
  font-size: .65rem; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: 0 24px 10px;
  margin-top: 20px;
}
.ph-sidebar__link {
  display: block;
  font-size: .82rem; color: var(--gray);
  padding: 9px 24px;
  transition: color .3s, background .3s;
  border-left: 2px solid transparent;
  line-height: 1.4;
}
.ph-sidebar__link:hover { color: var(--white); background: var(--card-bg); }
.ph-sidebar__link.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-dim);
}

/* Inner page main content */
.ph-main {
  padding: 56px 64px 80px;
  max-width: 880px;
}

.ph-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .76rem; color: var(--gray);
  margin-bottom: 32px;
}
.ph-breadcrumb a { color: var(--gray); transition: color .3s; }
.ph-breadcrumb a:hover { color: var(--white); }
.ph-breadcrumb__sep { opacity: .4; }
.ph-breadcrumb__current { color: var(--accent); }

.ph-page-tag {
  display: inline-block;
  font-size: .68rem; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.ph-page-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 20px;
}
.ph-page-intro {
  font-size: 1.05rem; color: var(--gray);
  line-height: 1.8;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

/* Page body typography */
.ph-content h2 {
  font-size: 1.5rem; font-weight: 800;
  margin: 44px 0 16px; color: var(--white);
}
.ph-content h3 {
  font-size: 1.15rem; font-weight: 700;
  margin: 32px 0 12px; color: var(--white);
}
.ph-content p {
  color: var(--gray); line-height: 1.85;
  margin-bottom: 16px; font-size: .95rem;
}
.ph-content ul, .ph-content ol {
  margin: 0 0 20px 0;
  padding: 0;
}
.ph-content ul li {
  position: relative; padding-left: 22px;
  color: var(--gray); line-height: 1.75;
  margin-bottom: 8px; font-size: .95rem;
}
.ph-content ul li::before {
  content: '';
  position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
}
.ph-content ol { counter-reset: ph-ol; }
.ph-content ol li {
  counter-increment: ph-ol;
  position: relative; padding-left: 28px;
  color: var(--gray); line-height: 1.75;
  margin-bottom: 8px; font-size: .95rem;
}
.ph-content ol li::before {
  content: counter(ph-ol) '.';
  position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}
.ph-content a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-dim);
  transition: border-color .3s;
}
.ph-content a:hover { border-color: var(--accent); }

.ph-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  margin: 28px 0;
  background: var(--card-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.ph-content blockquote p { margin: 0; font-style: italic; }

/* FAQ boxes */
.ph-faq { margin: 32px 0; }
.ph-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.ph-faq-q {
  padding: 18px 22px;
  font-weight: 700; font-size: .95rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  background: var(--card-bg);
  transition: background .3s;
}
.ph-faq-q:hover { background: rgba(25,195,123,.05); }
.ph-faq-q::after { content: '+'; color: var(--accent); font-size: 1.2rem; flex-shrink: 0; }
.ph-faq-item.open .ph-faq-q::after { content: '−'; }
.ph-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
}
.ph-faq-item.open .ph-faq-a { max-height: 600px; }
.ph-faq-a-inner { padding: 18px 22px; color: var(--gray); font-size: .9rem; line-height: 1.8; }

/* Related links box */
.ph-related {
  margin-top: 52px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
}
.ph-related__title {
  font-size: .72rem; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.ph-related__links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.ph-related__link {
  display: flex; align-items: center; gap: 8px;
  font-size: .84rem; color: var(--gray);
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: color .3s, border-color .3s, background .3s;
}
.ph-related__link:hover {
  color: var(--white);
  border-color: rgba(25,195,123,.3);
  background: var(--accent-dim);
}
.ph-related__link::before {
  content: '→';
  color: var(--accent); font-size: .8rem; flex-shrink: 0;
}

/* Author block (blog posts) */
.ph-author {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--card-bg);
  margin-bottom: 36px;
}
.ph-author__name { font-weight: 800; font-size: .95rem; }
.ph-author__meta { font-size: .78rem; color: var(--gray); margin-top: 3px; }
.ph-author__links { margin-left: auto; display: flex; gap: 12px; }
.ph-author__links a { font-size: .78rem; color: var(--accent); font-weight: 700; }

/* Disclaimer */
.ph-disclaimer {
  font-size: .78rem; color: rgba(255,255,255,.3);
  line-height: 1.7; margin-top: 40px;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-style: italic;
}

/* ── Animations / Scroll Reveal ──────────────────────── */
.ph-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.ph-reveal.visible { opacity: 1; transform: translateY(0); }
.ph-reveal:nth-child(2) { transition-delay: .1s; }
.ph-reveal:nth-child(3) { transition-delay: .2s; }
.ph-reveal:nth-child(4) { transition-delay: .3s; }
.ph-reveal:nth-child(5) { transition-delay: .4s; }
.ph-reveal:nth-child(6) { transition-delay: .5s; }
.ph-reveal:nth-child(7) { transition-delay: .6s; }
.ph-reveal:nth-child(8) { transition-delay: .7s; }

/* ── Blog / Hakkımızda / Spesifik Sayfalar ───────────── */
.ph-blog-header {
  padding: 14vh 7% 8vh;
  margin-left: var(--sidebar-w);
  border-bottom: 1px solid var(--border);
}
.ph-blog-list {
  padding: 60px 7% 80px;
  margin-left: var(--sidebar-w);
}
.ph-blog-filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.ph-filter-btn, .filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .78rem; font-weight: 700;
  color: var(--gray); cursor: pointer;
  transition: var(--transition); background: none;
}
.ph-filter-btn:hover, .ph-filter-btn.active,
.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.blog-controls {
  margin-bottom: 40px;
}
.filter-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.blog-all-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
@media (max-width: 900px) { .blog-all-grid { grid-template-columns: 1fr; } }

/* ── RESPONSIVE / MOBILE ─────────────────────────────── */
@media (max-width: 1200px) {
  :root { --sidebar-w: 200px; }
  .ph-header { padding: 0 32px; }
  .ph-hero__left { padding-left: max(var(--sidebar-w), 14%); }
}

@media (max-width: 1024px) {
  .ph-dots { display: none; }
  :root { --sidebar-w: 0px; }
  .ph-section__inner { margin-left: 0; width: 100%; padding: 10vh 6%; }
  .ph-inner { grid-template-columns: 1fr; }
  .ph-sidebar { display: none; }
  .ph-main { padding: 48px 32px 64px; max-width: 100%; }
  .ph-vision__grid { grid-template-columns: 1fr; gap: 40px; }
  .ph-contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .ph-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ph-blog-header, .ph-blog-list { margin-left: 0; }
}

@media (max-width: 768px) {
  #ph-hero { min-height: auto; padding: var(--header-h) 0 0; }
  .ph-hero__left { padding-left: 6%; padding-right: 6%; padding-top: 48px; padding-bottom: 60px; max-width: 100%; }
  .ph-hero__right { display: none; }
  .ph-hero__heading { font-size: 3rem; }
  .ph-header__nav { display: none; }
  .ph-burger { display: flex; }
  .ph-grid { grid-template-columns: 1fr; }
  .ph-blog-grid { grid-template-columns: 1fr; }
  .ph-vision__stats { grid-template-columns: 1fr 1fr; }
  /* ph-to-contact artık normal flow button — gizlemeye gerek yok */
  .ph-calendly-float { width: 48px; height: 48px; bottom: 20px; right: 20px; }
  /* iletisim.html grid — tek kolon */
  .ph-contact-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .ph-faq-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 540px) {
  .ph-header { padding: 0 20px; }
  .ph-hero__heading { font-size: 2.4rem; }
  .ph-section__inner { padding: 8vh 5%; }
  .ph-footer { padding: 40px 24px 32px; }
  .ph-footer__inner { grid-template-columns: 1fr; }
  .ph-contact__grid { gap: 28px; }
  .ph-vision__stats { grid-template-columns: 1fr; }
  .ph-main { padding: 36px 20px 52px; }
  .ph-related__links { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════
   ALIASES & ADDITIONS — matches actual HTML class names
   ══════════════════════════════════════════════════════ */

/* ── Logo (used in header + footer) ─────────────────── */
.ph-logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .95rem; font-weight: 800; letter-spacing: .04em;
  text-decoration: none; color: inherit;
}
.ph-logo svg { flex-shrink: 0; }
.ph-logo span { color: var(--white); }

/* ── Nav links ───────────────────────────────────────── */
.ph-nav {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;   /* push nav + lang switcher to the right */
  margin-right: 14px;  /* gap between nav and lang switcher */
}
.ph-nav__link {
  font-size: .82rem; font-weight: 600; letter-spacing: .03em;
  color: var(--gray);
  padding: 8px 16px; border-radius: 100px;
  transition: color .3s, background .3s;
  text-decoration: none;
}
.ph-nav__link:hover { color: var(--white); background: rgba(255,255,255,.05); }

/* ── Hero – alias class names ────────────────────────── */
.ph-hero__content { /* alias for ph-hero__left */
  padding-left: max(80px, 12%);
  padding-right: 20%;
  padding-top: 7vh;
  padding-bottom: 7vh;
  display: flex; flex-direction: column; gap: 20px;
  max-width: 820px;
  position: relative; z-index: 2;
}
.ph-hero__visual { /* kept for compat, not used in new layout */
  display: none;
}
.ph-hero__sub { /* alias for ph-hero__desc */
  font-size: .95rem; color: var(--gray);
  line-height: 1.75; max-width: 400px;
}
.ph-hero__svg { /* alias for ph-hero__justice-svg */
  position: relative; z-index: 1;
  width: 72%; height: auto;
  filter: drop-shadow(0 0 60px var(--blue-glow)) drop-shadow(0 0 30px var(--accent-dim));
  animation: ph-float 6s ease-in-out infinite alternate;
}
/* Badge pills in hero */
.ph-hero__badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 4px;
}
.ph-badge {
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  color: var(--gray-light);
  background: var(--card-bg);
  transition: border-color .3s, color .3s;
}
.ph-badge:hover { border-color: var(--accent); color: var(--accent); }

/* ── Section helpers ─────────────────────────────────── */
.ph-section {
  position: relative; z-index: 1;
  padding: 100px 0;
}
.ph-section--dark {
  background: rgba(255,255,255,.018);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ph-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 48px;
}
.ph-section-head {
  text-align: center;
  margin-bottom: 60px;
}
.ph-section-label { /* alias for ph-label */
  display: inline-block;
  font-size: .72rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.ph-section-title { /* alias for ph-title */
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 18px;
}
.ph-section-desc { /* alias for ph-subtitle */
  font-size: .95rem; color: var(--gray);
  line-height: 1.75; max-width: 540px;
  margin: 0 auto;
}
/* Accent inline text */
.ph-accent { color: var(--accent); }

/* ── Cards grid alias ────────────────────────────────── */
.ph-cards { /* alias for ph-grid */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
/* Card aliases */
.ph-card__text { /* alias for ph-card__desc */
  font-size: .82rem; color: var(--gray);
  line-height: 1.65; margin-top: 10px;
}
.ph-card__link { /* alias for ph-card__arrow */
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700;
  color: var(--accent); margin-top: 18px;
  transition: gap .3s;
}
.ph-card:hover .ph-card__link { gap: 10px; }
.ph-card__icon svg { width: 22px; height: 22px; }

/* ── Vision section ──────────────────────────────────── */
.ph-vision {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px; align-items: start;
}
.ph-vision__text { /* content column */
  display: flex; flex-direction: column;
}

/* ── Services grid (inner links) ─────────────────────── */
.ph-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.ph-service-group h4 {
  font-size: .68rem; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 14px;
}
.ph-service-group a {
  display: block;
  font-size: .82rem; color: var(--gray);
  padding: 5px 0;
  transition: color .3s;
  text-decoration: none;
  border-bottom: none !important;
}
.ph-service-group a:hover { color: var(--accent); }

/* ── Blog card aliases ───────────────────────────────── */
.ph-blog-card__cat { /* alias for ph-blog-card__tag */
  font-size: .68rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
  display: block;
}
.ph-blog-card__more { /* alias for ph-blog-card__link */
  font-size: .78rem; font-weight: 700;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .3s; margin-top: 4px;
}
.ph-blog-card:hover .ph-blog-card__more { gap: 10px; }
.ph-blog-card__img-link { /* wrapper link around image */
  display: block; aspect-ratio: 16/9; overflow: hidden;
}
.ph-blog-card__img-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ph-blog-card:hover .ph-blog-card__img-link img { transform: scale(1.05); }
.ph-blog-card__title a { color: inherit; text-decoration: none; border: none !important; }
.ph-blog-card__title a:hover { color: var(--accent); }

/* ── Contact layout ──────────────────────────────────── */
.ph-contact {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px; align-items: start;
}
.ph-contact__list {
  display: flex; flex-direction: column; gap: 20px;
  list-style: none; padding: 0; margin: 0;
}
.ph-contact__list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: .9rem; color: var(--gray-light);
  line-height: 1.5;
}
.ph-contact__list li svg {
  width: 18px; height: 18px;
  color: var(--accent); flex-shrink: 0; margin-top: 2px;
}
.ph-contact__list a { color: inherit; transition: color .3s; }
.ph-contact__list a:hover { color: var(--accent); }

/* ── Form field alias ────────────────────────────────── */
.ph-form__group { display: flex; flex-direction: column; gap: 8px; }
.ph-form__group label {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gray);
}
.ph-form__group input,
.ph-form__group textarea {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: .9rem;
  transition: border-color .3s, box-shadow .3s;
  outline: none; resize: vertical;
}
.ph-form__group input:focus,
.ph-form__group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.ph-form__group input::placeholder,
.ph-form__group textarea::placeholder { color: rgba(255,255,255,.28); }

/* ── Footer aliases ──────────────────────────────────── */
.ph-footer__links { /* alias for ph-footer__col */
  display: flex; flex-direction: column;
}
.ph-footer__links h5 {
  font-size: .68rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 18px;
}
.ph-footer__links a {
  display: block;
  font-size: .84rem; color: var(--gray);
  margin-bottom: 11px;
  transition: color .3s; text-decoration: none;
}
.ph-footer__links a:hover { color: var(--white); }

/* ── Sidebar aliases ─────────────────────────────────── */
.ph-sidebar__label { /* alias for ph-sidebar__cat */
  font-size: .65rem; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: 0 24px 10px;
  display: block;
}
.ph-sidebar__nav { flex: 1; overflow-y: auto; }
.ph-sidebar__contact {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
}
.ph-sidebar__phone {
  font-size: .82rem; font-weight: 700;
  color: var(--gray-light);
  transition: color .3s; text-decoration: none;
}
.ph-sidebar__phone:hover { color: var(--accent); }

/* ── Inner page header ───────────────────────────────── */
.ph-inner-header {
  margin-bottom: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.ph-inner-title { /* alias for ph-page-title */
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 16px;
}
.ph-inner-lead { /* alias for ph-page-intro */
  font-size: 1rem; color: var(--gray);
  line-height: 1.8; margin-top: 8px;
}
.ph-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .76rem; color: var(--gray);
  margin-bottom: 24px;
}
.ph-breadcrumb a { color: var(--gray); transition: color .3s; text-decoration: none; }
.ph-breadcrumb a:hover { color: var(--white); }
.ph-breadcrumb span { opacity: .4; }

/* ── WhatsApp float (alias for .ph-whatsapp) ─────────── */
.ph-whatsapp {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 400;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: transform .3s, box-shadow .3s;
  text-decoration: none; color: #fff;
}
.ph-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}
.ph-whatsapp svg { width: 28px; height: 28px; }

/* ── text-dim helper ─────────────────────────────────── */
:root { --text-dim: var(--gray); }

/* ── btn default style (when no modifier) ────────────── */
.ph-btn:not(.ph-btn--outline):not(.ph-btn--ghost):not(.ph-btn--solid) {
  background: var(--accent);
  color: #000;
  border: 1.5px solid var(--accent);
  font-weight: 800;
}
.ph-btn:not(.ph-btn--outline):not(.ph-btn--ghost):not(.ph-btn--solid):hover {
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-2px);
}

/* ── Responsive aliases ──────────────────────────────── */
@media (max-width: 1024px) {
  .ph-vision { grid-template-columns: 1fr; gap: 40px; }
  .ph-contact { grid-template-columns: 1fr; gap: 40px; }
  .ph-container { padding: 0 32px; }
}
@media (max-width: 768px) {
  .ph-hero__content { padding-left: 6%; padding-right: 6%; padding-top: 48px; padding-bottom: 60px; }
  .ph-hero__visual { display: none; }
  .ph-hero__badges { gap: 8px; }
  .ph-nav { display: none; }
  /* .ph-nav gizlenince margin-left:auto etkisi kaybolur → dil+burger logoya yapışır.
     Dil seçiciye margin-left:auto vererek sağa itmeyi devralıyoruz. */
  .ph-lang-switcher { margin-left: auto; margin-right: 10px; }
  .ph-cards { grid-template-columns: 1fr; }
  .ph-services-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ph-section { padding: 64px 0; }
  .ph-container { padding: 0 20px; }
  .ph-lang-btn span.ph-lang-current { display: none; }
}

/* ── Language Switcher ─────────────────────────────────── */
.ph-lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
}
.ph-lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,.14);
  color: var(--gray);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  transition: border-color .3s, color .3s, background .3s;
  background: transparent;
}
.ph-lang-btn:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.04);
}
.ph-lang-chevron {
  transition: transform .3s;
  margin-left: 1px;
}
.ph-lang-switcher.open .ph-lang-chevron { transform: rotate(180deg); }

.ph-lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 148px;
  background: rgba(8,8,18,.97);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s, visibility .22s, transform .22s;
  z-index: 600;
}
.ph-lang-switcher.open .ph-lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ph-lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray);
  transition: color .2s, background .2s;
  text-decoration: none;
  cursor: pointer;
}
.ph-lang-option:hover {
  background: rgba(255,255,255,.06);
  color: var(--white);
}
.ph-lang-option.active {
  color: var(--accent);
}
.ph-lang-option.active::after {
  content: '✓';
  margin-left: auto;
  font-size: .7rem;
  opacity: .7;
}
@media (max-width: 540px) {
  .ph-services-grid { grid-template-columns: 1fr; }
  .ph-vision__stats { grid-template-columns: 1fr 1fr; }
}
