/* ============================================================
   PORTFOLIO PAGE — Dedicated Stylesheet
   Fonts: Sora (headings) + DM Sans (body)
   Base Color: #0a0b0e (Dark)
   Accent Color: #0073a2 / #00aced (Corel Blue)
   ============================================================ */

/* --- Reset & Base --- */
.portfolio-page {
  margin: 0; padding: 0;
  background: #0a0b0e;
  color: #e8e8ea;
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.portfolio-page *, .portfolio-page *::before, .portfolio-page *::after {
  box-sizing: border-box;
}
.pf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.pf-accent {
  color: #00aced;
}

/* --- Scroll-driven Reveal Animations --- */
.pf-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.pf-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVBAR — Collapsing on scroll
   ============================================================ */
.pf-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 24px 32px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: padding 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
              background 0.4s ease,
              backdrop-filter 0.4s ease,
              border-bottom 0.4s ease;
}
.pf-nav__inner {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pf-nav__logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Compact state on scroll */
.pf-nav--compact {
  padding: 12px 32px;
  background: rgba(10, 11, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pf-nav--compact .pf-nav__logo-img {
  height: 32px;
}

/* ============================================================
   iOS-STYLE TOGGLE SWITCH
   ============================================================ */
.pf-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 5px;
  gap: 0;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.pf-toggle__option {
  position: relative;
  z-index: 2;
  padding: 8px 26px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  border-radius: 50px;
  transition: color 0.35s ease;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.pf-toggle__option--active {
  color: #fff;
}
.pf-toggle__option:hover:not(.pf-toggle__option--active) {
  color: rgba(255, 255, 255, 0.8);
}
.pf-toggle__pill {
  position: absolute;
  z-index: 1;
  top: 5px;
  height: calc(100% - 10px);
  background: #00aced;
  border-radius: 50px;
  transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
              width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 0 16px rgba(0, 172, 237, 0.4), 
              0 2px 4px rgba(0,0,0,0.2);
}

/* ============================================================
   HERO — Full-bleed premises photo
   ============================================================ */
.pf-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 48px 80px;
  overflow: hidden;
}
.pf-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pf-hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 11, 14, 0.1) 0%,
    rgba(10, 11, 14, 0.4) 50%,
    rgba(10, 11, 14, 0.95) 100%
  );
}
.pf-hero__content {
  position: relative;
  z-index: 1;
}
.pf-hero__label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.pf-hero__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.pf-hero__cta-area {
  position: relative;
  z-index: 1;
  text-align: right;
  flex-shrink: 0;
}
.pf-hero__sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}
.pf-hero__enter-btn {
  display: inline-block;
  padding: 16px 48px;
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  background: #00aced;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 172, 237, 0.3);
}
.pf-hero__enter-btn:hover {
  transform: translateY(-3px);
  background: #008ebf;
  box-shadow: 0 8px 25px rgba(0, 172, 237, 0.4);
}

/* ============================================================
   PORTFOLIO SHOWCASE — 3-column auto-height
   ============================================================ */
.pf-showcase {
  padding: 100px 0 80px;
}
.pf-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start; /* Auto-height based on natural image ratio */
}
.pf-showcase__card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s ease,
              border-color 0.5s ease;
  /* Allow natural height */
  display: flex; 
}
.pf-showcase__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 172, 237, 0.15);
  border-color: rgba(0, 172, 237, 0.4);
}
.pf-showcase__card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ============================================================
   PROCESS — Mind Map Flowchart (Animated Lines)
   ============================================================ */
.pf-process {
  padding: 80px 0 100px;
}
.pf-section-title {
  text-align: center;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.pf-mindmap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.pf-mindmap__row {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-mindmap__node {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  width: 200px;
  position: relative;
  z-index: 2;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
  backdrop-filter: blur(8px);
}
.pf-mindmap__node:hover {
  border-color: #00aced;
  box-shadow: 0 0 30px rgba(0, 172, 237, 0.15);
  transform: translateY(-4px);
}
.pf-mindmap__node svg {
  width: 28px; height: 28px;
  display: block;
  margin: 0 auto 12px;
  color: #00aced;
}
.pf-mindmap__node span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}
.pf-mindmap__node--wide {
  width: 240px;
}
.pf-mindmap__node--final {
  width: 360px;
  padding: 40px;
  border-color: rgba(0, 172, 237, 0.4);
  background: rgba(0, 172, 237, 0.08);
}
.pf-mindmap__node--final span {
  font-size: 1.1rem;
  color: #fff;
}
.pf-mindmap__node--final small {
  display: block;
  margin-top: 10px;
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #00aced;
  text-transform: uppercase;
}

/* Animated Drawing Lines */
.pf-mindmap__line {
  background: rgba(0, 172, 237, 0.4);
  position: relative;
}
.pf-mindmap__line::after {
  content: '';
  position: absolute;
  width: 0; height: 0;
  border-style: solid;
}
/* Horizontal Lines */
.pf-mindmap__line--h {
  height: 2px;
  width: 0; /* Starts at 0 for animation */
  margin: 0;
  transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pf-mindmap__line--h.pf-line--drawn {
  width: 80px;
}
/* Left to Right arrow */
.pf-mindmap__line--h:not(.pf-mindmap__line--reverse)::after {
  right: -8px; top: -4px;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent rgba(0, 172, 237, 0.8);
}
/* Right to Left arrow */
.pf-mindmap__line--reverse::after {
  left: -8px; top: -4px;
  border-width: 5px 8px 5px 0;
  border-color: transparent rgba(0, 172, 237, 0.8) transparent transparent;
}

/* Vertical Connectors */
.pf-mindmap__vconn {
  width: 100%;
  height: 40px;
  display: flex;
  position: relative;
}
.pf-mindmap__vconn--right {
  justify-content: flex-end;
  padding-right: 100px;
}
.pf-mindmap__vconn--left {
  justify-content: flex-start;
  padding-left: 100px;
}
.pf-mindmap__line--v {
  width: 2px;
  height: 0; /* Starts at 0 */
  transition: height 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pf-mindmap__line--v.pf-line--drawn {
  height: 100%;
}
.pf-mindmap__line--v::after {
  bottom: -8px; left: -4px;
  border-width: 8px 5px 0 5px;
  border-color: rgba(0, 172, 237, 0.8) transparent transparent transparent;
}

/* ============================================================
   CERTIFICATIONS (Gold Medals)
   ============================================================ */
.pf-certs {
  padding: 80px 0;
  background: rgba(255,255,255,0.01);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pf-certs__medals {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}
.pf-medal {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.pf-medal__ring {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2d34 0%, #1a1c23 100%);
  border: 4px solid;
  border-image: linear-gradient(135deg, #d4af37 0%, #aa7c11 50%, #f9f295 100%) 1;
  /* border-image doesn't work with border-radius, use box-shadow/background trick */
  border: none;
  padding: 4px; /* border thickness */
  background: linear-gradient(135deg, #f9f295 0%, #aa7c11 50%, #d4af37 100%);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15), inset 0 4px 10px rgba(0,0,0,0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 2;
}
.pf-medal__ring:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.25), inset 0 4px 10px rgba(0,0,0,0.5);
}
.pf-medal__inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at top left, #2a2d34, #111317);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}
.pf-medal__year, .pf-medal__icon {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #d4af37;
  margin-bottom: 2px;
}
.pf-medal__name {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.pf-medal__sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: #a0a0a0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.pf-medal__ribbon {
  width: 40px;
  height: 40px;
  background: linear-gradient(to right, #005a80, #00aced, #005a80);
  position: absolute;
  top: 140px;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* ============================================================
   SISTER BRANCH ORG CHART (Tree Layout)
   ============================================================ */
.pf-org {
  padding: 100px 0;
}
.pf-org__tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}
.pf-org__level {
  display: flex;
  justify-content: center;
  width: 100%;
}
.pf-org__level--countries {
  gap: 120px;
  align-items: flex-start;
}
.pf-org__branch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  width: 100%;
}
.pf-org__children {
  grid-column: 2 / 3;
  justify-self: start;

  min-width: max-content;

  position: relative;

  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0;
  position: relative;
  /* Shift to right so the left edge of children is aligned with the center vertical line */
  /* If children are 200px wide, and we want them offset... */
  /* Actually, easiest way is to NOT center the children. */
}
/* We want the vertical line to drop down the left side of the children. */
/* The vertical line coming from India is centered. So the left edge of children should be exactly at the center of India. */
.pf-org__children {
  grid-column: 2 / 3;
  justify-self: start;

  min-width: max-content;

  position: relative;

  /* No margin top because the pf-org__line--v is above it */
  /* border-left removed for animation */
  padding-left: 20px;
  /* To align the left border with the center of the branch: */
  
  
}
/* Wait, if transform is 50%, it moves half its OWN width. We want it to move so its left edge is at the center of the parent. */
/* Parent is align-items: center, so .pf-org__children is centered. */
/* To make its left edge align with the center, we can do: margin-left: 100%; transform: translateX(-50%); No. */
/* Easiest:  */
.pf-org__children {
  grid-column: 2 / 3;
  justify-self: start;

  min-width: max-content;

  position: relative;

  
  /* border-left removed for animation */
  padding-left: 20px;
  padding-top: 20px; /* space after the center line drops down */
}
/* But the bottom leaf doesn't need the line continuing past it. */

.pf-org__children-wrapper {
  width: 0;
  display: flex;
  justify-content: flex-start;
}
/* Let's redo the children connecting logic cleanly. */
.pf-org__node {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 16px 32px;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  color: #fff;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.pf-org__node:hover {
  background: rgba(0, 172, 237, 0.1);
  border-color: #00aced;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 172, 237, 0.2);
}
.pf-org__node--root {
  font-size: 1.5rem;
  padding: 20px 48px;
  background: rgba(0, 172, 237, 0.15);
  border-color: #00aced;
}
.pf-org__node--country {
  grid-column: 1 / 3;
  justify-self: center;

  font-size: 1.2rem;
  border-color: rgba(255, 255, 255, 0.3);
}
.pf-org__node--leaf {
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  padding: 14px 24px;
  text-align: left;
  position: relative;
}
.pf-org__node--leaf::before {
  content: '';
  position: absolute;
  top: 50%; left: -21px; /* touches the border-left of the container */
  width: 21px; 
  height: 2px;
  background: rgba(0, 172, 237, 0.7);
}

/* Connecting Lines */
.pf-org__branches {
  position: relative;
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
}
.pf-org__line {
  background: rgba(0, 172, 237, 0.7);
}
.pf-org__line--v {
  grid-column: 1 / 3;
  justify-self: center;

  width: 2px;
  height: 0;
  transition: height 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pf-org__line--v.pf-line--drawn {
  height: 40px;
}
.pf-org__line--root-split::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: rgba(0, 172, 237, 0.7);
  transform: translateX(-50%);
  transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s;
}
.pf-org__line--root-split.pf-line--drawn::before {
  width: calc(50% + 60px);
}
.pf-org__notes {
  margin-top: 60px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 24px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}
.pf-org__notes p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 8px 0;
}

/* ============================================================
   TURNOVER — Suspense Counter
   ============================================================ */
.pf-turnover {
  padding: 60px 0 100px;
}
.pf-turnover__box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 64px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.pf-turnover__stat {
  display: flex;
  align-items: center;
  line-height: 1;
}
.pf-turnover__num {
  font-family: 'Sora', sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  text-shadow: 0 10px 30px rgba(0, 172, 237, 0.3);
  font-variant-numeric: tabular-nums; /* Keeps numbers from jumping */
}
.pf-turnover__marks {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 8px;
  height: 100%;
}
.pf-turnover__plus {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #00aced;
  line-height: 0.8;
}
.pf-turnover__cr {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  line-height: 0.8;
  margin-top: 4px;
}
.pf-turnover__divider {
  width: 2px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
}
.pf-turnover__text h3 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.pf-turnover__text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  margin: 0;
}

/* ============================================================
   GALLERY — Coming Soon Placeholders
   ============================================================ */
.pf-gallery {
  padding: 80px 0 120px;
  background: rgba(255,255,255,0.01);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.pf-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.pf-gallery__placeholder {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.pf-gallery__placeholder:hover {
  background: rgba(255, 255, 255, 0.04);
}
.pf-gallery__placeholder span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.pf-gallery__return {
  text-align: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.pf-btn {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.pf-btn--primary {
  padding: 18px 56px;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.pf-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 172, 237, 0.15);
  border-color: #00aced;
  color: #00aced;
}

/* ============================================================
   FOOTER (Minimal)
   ============================================================ */
.pf-footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.pf-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pf-footer__logo img {
  height: 36px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.pf-footer__logo:hover img {
  opacity: 1;
}
.pf-footer__link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}
.pf-footer__link:hover {
  color: #00aced;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .pf-mindmap__row { flex-direction: column; gap: 20px; }
  .pf-mindmap__line--h { width: 2px !important; height: 0; margin: 0; transition: height 0.8s ease; }
  .pf-mindmap__line--h.pf-line--drawn { height: 40px; }
  .pf-mindmap__line--h::after { bottom: -8px; left: -4px; border-width: 8px 5px 0 5px !important; border-color: rgba(0, 172, 237, 0.8) transparent transparent transparent !important; right: auto; top: auto; }
  .pf-mindmap__vconn { display: none; }
  .pf-org__level--countries { flex-direction: column; gap: 60px; align-items: center; }
  .pf-org__line--root-split::before { display: none; }
  .pf-turnover__box { flex-direction: column; text-align: center; padding: 40px; gap: 24px; }
  .pf-turnover__divider { width: 80px; height: 2px; }
  .pf-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 768px) {
  .pf-hero { flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 0 24px 56px; gap: 24px; }
  .pf-hero__cta-area { text-align: left; }
  .pf-nav { padding: 16px 20px; }
  .pf-nav--compact { padding: 10px 20px; }
  .pf-nav__logo-img { height: 36px; }
  .pf-nav--compact .pf-nav__logo-img { height: 28px; }
  .pf-toggle__option { padding: 6px 20px; font-size: 0.85rem; }
  .pf-showcase__grid { grid-template-columns: 1fr; gap: 24px; }
  .pf-certs__medals { gap: 40px; }
  .pf-org__node--root { padding: 16px 36px; }
  .pf-footer__inner { flex-direction: column; gap: 20px; }
}

@media (max-width: 480px) {
  .pf-hero__title { font-size: 2.2rem; }
  .pf-container { padding: 0 20px; }
  .pf-mindmap__node { width: 100%; max-width: 320px; }
  .pf-mindmap__node--wide, .pf-mindmap__node--final { width: 100%; max-width: 320px; }
  .pf-org__node--leaf { margin-left: 0; padding: 12px 16px; font-size: 0.9rem; }
  .pf-org__node--leaf::before { width: 21px; left: -20px; }
  .pf-gallery__grid { gap: 10px; }
  .pf-turnover__num { font-size: 3.5rem; }
  .pf-turnover__plus { font-size: 2rem; }
  .pf-turnover__cr { font-size: 1.4rem; }
}


.pf-org__children::after {
  content: '';
  position: absolute;
  top: 0; bottom: 25px; left: -1px;
  width: 2px;
  background: rgba(0, 172, 237, 0.7);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s;
}
.pf-org__children.pf-line--drawn::after {
  transform: scaleY(1);
}












