/* ============================================================
   BriveX Technologies — Internal Pages Stylesheet
   File: assets/css/brivex-internal.css
   Typography: Plus Jakarta Sans (display) + Inter (body)
   Depends on: brivex.css (variables, reset, nav, footer, utils)
   ============================================================ */

/* ============================================================
   PAGE HERO  (shared by all internal pages)
   ============================================================ */
.page-hero {
  min-height: 52vh;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--faint);
}
.page-hero--dark {
  background: var(--ink);
}

.page-hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 80% at 80% 20%,
      rgba(42, 187, 176, 0.1) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 50% at 5% 90%,
      rgba(42, 187, 176, 0.06) 0%,
      transparent 55%
    );
  pointer-events: none;
}
.page-hero--dark .page-hero-mesh {
  background:
    radial-gradient(
      ellipse 60% 80% at 80% 20%,
      rgba(42, 187, 176, 0.13) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 50% at 5% 90%,
      rgba(42, 187, 176, 0.07) 0%,
      transparent 55%
    );
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42, 187, 176, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 187, 176, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 30%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 30%,
    transparent 100%
  );
}
.page-hero--dark .page-hero-grid {
  background-image:
    linear-gradient(rgba(42, 187, 176, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 187, 176, 0.06) 1px, transparent 1px);
}
.page-hero-inner {
  flex: 1;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding: 72px 56px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 2;
}

/* Page hero heading — Plus Jakarta Sans Bold, tight tracking */
.page-hero-h1 {
  font-family: var(--ff-display);
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin-bottom: 22px;
}
.page-hero-h1 span {
  color: var(--teal);
}

/* Page hero body — Inter Regular */
.page-hero-desc {
  font-family: var(--ff-body);
  font-size: var(--text-md);
  line-height: var(--lh-relaxed);
  color: var(--muted);
  font-weight: 400;
  letter-spacing: var(--ls-normal);
  max-width: 460px;
  margin-bottom: 32px;
}

/* Breadcrumb — Inter */
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: var(--ls-normal);
}
.page-hero-breadcrumb a {
  color: var(--muted);
  transition: color 0.2s;
}
.page-hero-breadcrumb a:hover {
  color: var(--teal);
}
.breadcrumb-sep {
  color: var(--teal);
  font-size: 13px;
}
.page-hero-breadcrumb span:last-child {
  color: var(--ink);
}
.page-hero--dark .page-hero-breadcrumb span:last-child {
  color: rgba(255, 255, 255, 0.6);
}
.page-hero--dark .page-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.38);
}

/* ── Service page visual chips ── */
.phv-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
}
.phv-ring-a {
  width: 280px;
  height: 280px;
  border: 1px dashed rgba(42, 187, 176, 0.24);
  transform: translate(-50%, -50%);
  animation: spin 22s linear infinite;
}
.phv-ring-b {
  width: 400px;
  height: 400px;
  border: 1px solid rgba(42, 187, 176, 0.08);
  transform: translate(-50%, -50%);
  animation: spin 36s linear infinite reverse;
}
.phv-ring-a::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}
.phv-orb {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(42, 187, 176, 0.18) 0%,
    rgba(42, 187, 176, 0.04) 60%,
    transparent 100%
  );
  position: relative;
  z-index: 2;
}
.phv-stat-chips {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
  white-space: nowrap;
}
.phv-chip {
  background: var(--white);
  border: 1px solid rgba(42, 187, 176, 0.22);
  border-radius: var(--radius-md);
  padding: 11px 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
  text-align: center;
}
.phv-chip-n {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: var(--ls-snug);
  display: block;
  line-height: 1;
}
.phv-chip-n em {
  color: var(--teal);
  font-style: normal;
}
.phv-chip-l {
  font-family: var(--ff-body);
  font-size: var(--text-2xs);
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  display: block;
  margin-top: 4px;
}
.phv-chip-offset {
  transform: translateY(-14px);
}

/* ── Portfolio hero stats ── */
.port-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.phs-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 100%;
}
.phs-n {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: var(--ls-snug);
  display: block;
  line-height: 1;
}
.phs-n em {
  color: var(--teal);
  font-style: normal;
}
.phs-l {
  font-family: var(--ff-body);
  font-size: var(--text-2xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: var(--ls-wider);
  display: block;
  margin-top: 5px;
}

/* ── Team hero visual ── */
.team-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.thv-grid {
  display: flex;
  gap: 14px;
  align-items: center;
}
.thv-dot {
  border-radius: 50%;
  flex-shrink: 0;
}
.thv-dot--teal {
  background: var(--teal);
}
.thv-dot--white {
  background: rgba(42, 187, 176, 0.15);
  border: 2px solid rgba(42, 187, 176, 0.3);
}
.thv-dot:not(.thv-dot--sm) {
  width: 60px;
  height: 60px;
}
.thv-dot--sm {
  width: 36px;
  height: 36px;
}
.thv-badge {
  position: absolute;
  background: var(--white);
  border: 1px solid rgba(42, 187, 176, 0.22);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
  bottom: 20px;
  left: 10px;
}
.thv-badge--offset {
  left: auto;
  right: 10px;
  bottom: 60px;
}
.thv-badge-n {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: var(--ls-snug);
  display: block;
  line-height: 1;
}
.thv-badge-n em {
  color: var(--teal);
  font-style: normal;
}
.thv-badge-l {
  font-family: var(--ff-body);
  font-size: var(--text-2xs);
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  display: block;
  margin-top: 4px;
}

/* ============================================================
   SERVICES PAGE — Glass Cards
   ============================================================ */
.svc-page-section {
  padding: 100px 56px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.svc-page-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 60% at 15% 40%,
      rgba(42, 187, 176, 0.09) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 40% at 90% 20%,
      rgba(42, 187, 176, 0.06) 0%,
      transparent 55%
    );
  pointer-events: none;
}
.svc-page-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42, 187, 176, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 187, 176, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  will-change: transform;
}
.svc-page-inner {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.svc-page-header {
  margin-bottom: 60px;
}

.svc-page-h2 {
  font-family: var(--ff-display);
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin-top: 14px;
}
.svc-page-h2 span {
  color: var(--teal);
}

.svc-glass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  contain: layout style;
}

.svc-glass-card.visible,
.svc-glass-card.reveal.visible {
  transform: none !important;
  will-change: auto !important;
  opacity: 1 !important;
}

/* FIX 2 — Make card the hit target, not its children
   Evidence: elementFromPoint returned P.sgc-desc for ALL 6 cards —
   children are intercepting events, card never gets mouseenter directly.
   pointer-events:none on children, re-enable on interactive elements. */
.svc-glass-card * {
  pointer-events: none;
}
.svc-glass-card a,
.svc-glass-card button,
.svc-glass-card .sgc-cta {
  pointer-events: auto;
}

/* FIX 3 — Remove will-change and transform-style from card
   Evidence: will-change:opacity,transform on cards 5-6 confirms
   stale animation state is creating a new compositing layer */
.svc-glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  will-change: auto;
  transform-style: flat;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s var(--ease);
}

.svc-glass-card:hover {
  border-color: rgba(42, 187, 176, 0.35);
  box-shadow: 0 20px 52px rgba(42, 187, 176, 0.12);
  transform: translateY(-4px);
}
/* FIX 4 — Glow using CSS vars (no JS transform needed)
   The .sgc-glow tracks cursor via --glow-x/--glow-y CSS custom
   properties set by the mousemove handler in brivex-internal.js */
.sgc-glow {
  position: absolute;
  left: var(--glow-x, -9999px);
  top: var(--glow-y, -9999px);
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(42, 187, 176, 0.18) 0%,
    transparent 65%
  );
  transform: translate(-50%, -50%);
  transition: opacity 0.25s; /* removed left/top from transition — they jump, not animate */
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.svc-glass-card:hover .sgc-glow {
  opacity: 1;
}

.sgc-inner {
  position: relative;
  z-index: 1;
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sgc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.sgc-num {
  font-family: var(--ff-body);
  font-size: var(--text-2xs);
  font-weight: 700;
  color: var(--teal);
  opacity: 0.6;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  padding-top: 4px;
}
.sgc-icon {
  width: 52px;
  height: 52px;
  background: rgba(42, 187, 176, 0.1);
  border: 1px solid rgba(42, 187, 176, 0.22);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.35s var(--ease);
  flex-shrink: 0;
}
.svc-glass-card:hover .sgc-icon {
  background: rgba(42, 187, 176, 0.18);
  border-color: rgba(42, 187, 176, 0.45);
  transform: translateZ(12px) scale(1.05);
}
.sgc-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sgc-title {
  font-family: var(--ff-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--white);
  letter-spacing: var(--ls-snug);
  line-height: var(--lh-snug);
  margin-bottom: 14px;
}
.sgc-desc {
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  line-height: var(--lh-loose);
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  flex: 1;
  margin-bottom: 22px;
}
.sgc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin-bottom: 26px;
}
.sgc-tags li {
  font-family: var(--ff-body);
  background: rgba(42, 187, 176, 0.08);
  border: 1px solid rgba(42, 187, 176, 0.18);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--teal);
  letter-spacing: var(--ls-normal);
  transition:
    background 0.2s,
    border-color 0.2s;
}
.svc-glass-card:hover .sgc-tags li {
  background: rgba(42, 187, 176, 0.13);
  border-color: rgba(42, 187, 176, 0.3);
}

.sgc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--teal);
  letter-spacing: var(--ls-normal);
  margin-top: auto;
  transition:
    gap 0.2s var(--ease),
    color 0.2s;
}
.sgc-cta svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  transition: transform 0.2s var(--ease);
}
.svc-glass-card:hover .sgc-cta {
  gap: 12px;
}
.svc-glass-card:hover .sgc-cta svg {
  transform: translateX(3px);
}

/* ── Why Choose Us ── */
.why-section {
  padding: 100px 56px;
  background: var(--white);
  position: relative;
}
.why-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 60% at 90% 50%,
    rgba(42, 187, 176, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.why-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.why-h2 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin: 14px 0 18px;
}
.why-h2 span {
  color: var(--teal);
}
.why-desc {
  font-family: var(--ff-body);
  font-size: var(--text-md);
  line-height: var(--lh-loose);
  color: var(--muted);
  font-weight: 400;
  letter-spacing: var(--ls-normal);
}
.why-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--faint);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s var(--ease);
}
.why-card:hover {
  border-color: var(--teal-mid);
  box-shadow: 0 10px 36px rgba(42, 187, 176, 0.08);
  transform: translateX(4px);
}
.why-card-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-soft);
  border: 1px solid var(--teal-mid);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-card-title {
  font-family: var(--ff-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: var(--ls-snug);
  margin-bottom: 6px;
}
.why-card-desc {
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: var(--muted);
  font-weight: 400;
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.port-filter-section {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 70px;
  z-index: 100;
}
.port-filter-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 56px;
}
.port-filter-tabs {
  display: flex;
  gap: 4px;
  padding: 14px 0;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.port-filter-tabs::-webkit-scrollbar {
  display: none;
}

.pft-btn {
  background: none;
  border: 1.5px solid transparent;
  border-radius: 100px;
  padding: 8px 20px;
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: var(--ls-normal);
  white-space: nowrap;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.pft-btn:hover {
  color: var(--ink);
  border-color: var(--line);
}
.pft-btn.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.port-bento-section {
  padding: 72px 56px 100px;
  background: var(--white);
}
.port-bento-inner {
  max-width: 1300px;
  margin: 0 auto;
}

#port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
  align-items: start;
}
.pb-col {
  display: contents;
}

.pb-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--faint);
  position: relative;
  transition:
    transform 0.38s var(--ease),
    box-shadow 0.38s,
    border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.pb-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(42, 187, 176, 0.12);
  border-color: var(--teal-mid);
}
.pb-card--feature,
.pb-card--wide {
  grid-row: unset;
  grid-column: unset;
}

.pb-img-wrap {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  padding-top: 62.5%;
  height: 0;
}
.pb-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s var(--ease);
}
.pb-card:hover .pb-img {
  transform: scale(1.06);
}

.pb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 26, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.pb-card:hover .pb-overlay {
  opacity: 1;
}
.pb-overlay-inner {
  transform: translateY(10px);
  transition: transform 0.35s var(--ease);
}
.pb-card:hover .pb-overlay-inner {
  transform: translateY(0);
}

.pb-overlay-tag {
  display: inline-block;
  background: rgba(42, 187, 176, 0.2);
  border: 1px solid rgba(42, 187, 176, 0.4);
  border-radius: 100px;
  padding: 3px 12px;
  font-family: var(--ff-body);
  font-size: var(--text-2xs);
  font-weight: 600;
  color: var(--teal);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pb-overlay-title {
  font-family: var(--ff-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--white);
  letter-spacing: var(--ls-snug);
  line-height: var(--lh-snug);
  margin-bottom: 8px;
}
.pb-overlay-desc {
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  margin-bottom: 14px;
}
.pb-store-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pb-body {
  padding: 18px 20px 22px;
  flex-shrink: 0;
}
.pb-body .p-desc {
  overflow: visible;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  white-space: normal;
}

/* Open button in overlay */
.pb-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 8px 18px;
  font-family: var(--ff-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--ls-normal);
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  text-decoration: none;
}
.pb-open-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(42, 187, 176, 0.35);
  color: var(--white);
}
.pb-open-btn svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}
.port-item.hidden {
  display: none;
}

.port-load-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(42, 187, 176, 0.13);
}
.port-load-more p {
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: 400;
  letter-spacing: var(--ls-normal);
}
.port-load-more strong {
  color: var(--ink);
  font-weight: 600;
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-section {
  padding: 100px 56px;
  background: var(--white);
}
.team-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.team-section-header {
  margin-bottom: 52px;
}

.team-h2 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin-top: 14px;
}
.team-h2 span {
  color: var(--teal);
}

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

.team-card {
  position: relative;
  background: var(--faint);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 32px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition:
    border-color 0.35s,
    box-shadow 0.35s,
    transform 0.35s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.team-card:hover {
  border-color: var(--teal-mid);
  box-shadow: 0 20px 52px rgba(42, 187, 176, 0.1);
}

.tc-glow {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(42, 187, 176, 0.18) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 0;
}
.team-card:hover .tc-glow {
  opacity: 1;
}

.tc-avatar-wrap {
  position: relative;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.tc-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
  transition: transform 0.35s var(--ease);
}
.team-card:hover .tc-avatar {
  transform: scale(1.05) translateZ(8px);
}
.tc-avatar-ring {
  position: absolute;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border-radius: 50%;
  border: 1.5px dashed rgba(42, 187, 176, 0.4);
  animation: spin 14s linear infinite;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.team-card:hover .tc-avatar-ring {
  border-color: var(--teal);
}
.tc-status-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  background: var(--teal);
  border: 2px solid var(--white);
  border-radius: 50%;
  z-index: 4;
}

/* Role badge — Inter SemiBold, uppercase */
.tc-role-badge {
  display: inline-block;
  background: var(--teal-soft);
  border: 1px solid var(--teal-mid);
  border-radius: 100px;
  padding: 4px 14px;
  font-family: var(--ff-body);
  font-size: var(--text-2xs);
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tc-role-badge--sm {
  font-size: 9.5px;
  padding: 3px 11px;
}

/* Name — Plus Jakarta Sans */
.tc-name {
  font-family: var(--ff-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: var(--ls-snug);
  line-height: var(--lh-snug);
  margin-bottom: 12px;
}
.tc-name--sm {
  font-family: var(--ff-display);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: var(--ls-snug);
  margin-bottom: 0;
}

/* Bio — Inter */
.tc-bio {
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 20px;
}

.tc-social-pane {
  display: flex;
  gap: 8px;
  margin-top: auto;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(42, 187, 176, 0.18);
  border-radius: 100px;
  padding: 8px 14px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.team-card:hover .tc-social-pane {
  opacity: 1;
  transform: translateY(0);
}
.tc-social-pane--sm {
  padding: 6px 12px;
}
.tc-social {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: none;
  transition:
    color 0.2s,
    background 0.2s;
}
.tc-social:hover {
  color: var(--teal);
  background: var(--teal-soft);
}
.tc-social svg {
  width: 14px;
  height: 14px;
}
.tc-avatar-wrap--sm .tc-avatar {
  width: 70px;
  height: 70px;
}
.team-card--lead .tc-avatar {
  width: 100px;
  height: 100px;
}

/* Join section */
.join-section {
  padding: 100px 56px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.join-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 80% at 50% 50%,
      rgba(42, 187, 176, 0.1) 0%,
      transparent 60%
    ),
    linear-gradient(rgba(42, 187, 176, 0.04) 1px, transparent 1px) 0 0 / 56px
      56px,
    linear-gradient(90deg, rgba(42, 187, 176, 0.04) 1px, transparent 1px) 0 0 /
      56px 56px;
  pointer-events: none;
}
.join-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0 auto;
}
.join-h2 {
  font-family: var(--ff-display);
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin: 14px 0 18px;
}
.join-h2 span {
  color: var(--teal);
}
.join-desc {
  font-family: var(--ff-body);
  font-size: var(--text-md);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  margin-bottom: 36px;
}

/* ============================================================
   APPOINTMENT PAGE
   ============================================================ */
.appt-hero-inner {
  grid-template-columns: 1.1fr 0.9fr;
}
.appt-trust-row {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.appt-trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: var(--ls-normal);
}
.appt-trust-icon {
  width: 36px;
  height: 36px;
  background: var(--teal-soft);
  border: 1px solid var(--teal-mid);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.appt-trust-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.appt-side-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.appt-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.appt-info-card:hover {
  border-color: var(--teal-mid);
  box-shadow: 0 6px 24px rgba(42, 187, 176, 0.07);
}
.aic-icon {
  width: 38px;
  height: 38px;
  background: var(--teal-soft);
  border: 1px solid var(--teal-mid);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.aic-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.aic-label {
  font-family: var(--ff-body);
  font-size: var(--text-2xs);
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-bottom: 3px;
}
.aic-value {
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: var(--ls-normal);
}
.aic-value a {
  color: var(--ink);
  transition: color 0.2s;
}
.aic-value a:hover {
  color: var(--teal);
}

.appt-form-section {
  padding: 80px 56px;
  background: var(--faint);
}
.appt-form-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.appt-form-header {
  margin-bottom: 48px;
}
.appt-form-h2 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin-top: 14px;
}
.appt-form-h2 span {
  color: var(--teal);
}

.appt-iframe-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
}
.appt-iframe-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 200px;
  background: radial-gradient(
    ellipse,
    rgba(42, 187, 176, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}
.appt-iframe-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  gap: 18px;
  position: relative;
  z-index: 2;
}
.appt-iframe-loading p {
  font-family: var(--ff-body);
  font-size: var(--text-base);
  color: var(--muted);
  font-weight: 400;
}
.appt-loading-spinner {
  width: 40px;
  height: 40px;
  border: 2.5px solid var(--teal-soft);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin360 0.8s linear infinite;
}
@keyframes spin360 {
  to {
    transform: rotate(360deg);
  }
}
#appt-iframe {
  width: 100%;
  height: 0;
  opacity: 0;
  display: block;
  transition: opacity 0.4s;
  position: relative;
  z-index: 1;
}
.appt-iframe-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 40px;
  gap: 16px;
  position: relative;
  z-index: 2;
}
.aif-icon {
  width: 56px;
  height: 56px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.aif-icon svg {
  width: 26px;
  height: 26px;
  stroke: #b87314;
}
.appt-iframe-fallback h3 {
  font-family: var(--ff-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: var(--ls-snug);
}
.appt-iframe-fallback p {
  font-family: var(--ff-body);
  font-size: var(--text-base);
  color: var(--muted);
  font-weight: 400;
  line-height: var(--lh-relaxed);
  max-width: 420px;
}
.aif-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.aif-or {
  font-family: var(--ff-body);
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: 8px;
}
.aif-phone {
  font-family: var(--ff-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--teal);
  letter-spacing: var(--ls-snug);
}

/* Process steps */
.process-section {
  padding: 100px 56px;
  background: var(--white);
  position: relative;
}
.process-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 60% at 50% 100%,
    rgba(42, 187, 176, 0.05) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.process-inner {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.process-header {
  margin-bottom: 60px;
}
.process-h2 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin-top: 14px;
}
.process-h2 span {
  color: var(--teal);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(to right, var(--teal), rgba(42, 187, 176, 0.15));
  z-index: 0;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.ps-num {
  font-family: var(--ff-body);
  font-size: var(--text-2xs);
  font-weight: 700;
  color: var(--teal);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ps-icon {
  width: 56px;
  height: 56px;
  background: var(--white);
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 0 6px var(--teal-soft);
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
.process-step:hover .ps-icon {
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(42, 187, 176, 0.15);
}
.ps-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s;
}
.process-step:hover .ps-icon svg {
  stroke: var(--white);
}
.ps-title {
  font-family: var(--ff-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: var(--ls-snug);
  margin-bottom: 10px;
}
.ps-desc {
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: var(--muted);
  font-weight: 400;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chi-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s;
}
.chi-card:hover {
  border-color: rgba(42, 187, 176, 0.3);
}
.chi-icon {
  width: 38px;
  height: 38px;
  background: rgba(42, 187, 176, 0.12);
  border: 1px solid rgba(42, 187, 176, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chi-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chi-label {
  font-family: var(--ff-body);
  font-size: var(--text-2xs);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-bottom: 3px;
}
.chi-value {
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--lh-relaxed);
}
.chi-value a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}
.chi-value a:hover {
  color: var(--teal);
}

.contact-form-section {
  padding: 100px 56px;
  background: var(--white);
}
.contact-form-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: flex-start;
}
.cf-h2 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin: 14px 0 16px;
}
.cf-h2 span {
  color: var(--teal);
}
.cf-desc {
  font-family: var(--ff-body);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 28px;
}
.cf-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cf-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--faint);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.cf-social-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-soft);
}
.cf-social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  stroke: none;
}

.cf-form-card {
  position: relative;
  background: var(--faint);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  overflow: hidden;
}
.cf-form-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(42, 187, 176, 0.09) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.cf-form {
  position: relative;
  z-index: 1;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cf-group {
  margin-bottom: 18px;
}

.cf-label {
  display: block;
  font-family: var(--ff-body);
  font-size: var(--text-2xs);
  font-weight: 700;
  color: var(--ink-2);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-bottom: 7px;
}
.cf-label span {
  color: var(--teal);
}

.cf-input {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--ff-body);
  font-size: var(--text-base);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: var(--ls-normal);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.cf-input::placeholder {
  color: var(--muted);
  font-weight: 400;
}
.cf-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 187, 176, 0.12);
}
.cf-select {
  cursor: none;
}
.cf-textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--ff-body);
}

.cf-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 15px 32px;
  border-radius: 100px;
  font-family: var(--ff-body);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: var(--ls-normal);
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(42, 187, 176, 0.3);
}
.cf-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(42, 187, 176, 0.42);
}
.cf-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}
.cf-submit:hover svg {
  transform: translateX(3px);
}

.cf-success {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.cf-success-icon {
  width: 60px;
  height: 60px;
  background: var(--teal-soft);
  border: 2px solid var(--teal-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cf-success-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cf-success h3 {
  font-family: var(--ff-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: var(--ls-snug);
}
.cf-success p {
  font-family: var(--ff-body);
  font-size: var(--text-base);
  color: var(--muted);
  font-weight: 400;
}

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-page-section {
  padding: 100px 56px;
  background: var(--white);
}
.faq-page-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  align-items: flex-start;
}
.faq-col-h2 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin: 14px 0 16px;
}
.faq-col-h2 span {
  color: var(--teal);
}
.faq-col-desc {
  font-family: var(--ff-body);
  font-size: var(--text-base);
  line-height: var(--lh-relaxed);
  color: var(--muted);
  font-weight: 400;
}
.faq-accordions {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child {
  border-top: 1px solid var(--line);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: var(--ff-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: var(--ls-snug);
  text-align: left;
  gap: 16px;
  transition: color 0.2s;
}
.faq-q:hover {
  color: var(--teal);
}
.faq-arrow {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq-item.open .faq-q {
  color: var(--teal);
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s var(--ease),
    padding 0.3s;
  padding-bottom: 0;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 22px;
}
.faq-a p {
  font-family: var(--ff-body);
  font-size: var(--text-base);
  line-height: var(--lh-loose);
  color: var(--muted);
  font-weight: 400;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-section {
  padding: 100px 56px;
  background: var(--white);
}
.legal-inner {
  max-width: 880px;
  margin: 0 auto;
}
.legal-blocks {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.legal-block {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.legal-block:first-child {
  border-top: 1px solid var(--line);
}
.legal-block-num {
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--teal);
  letter-spacing: var(--ls-widest);
  padding-top: 4px;
  opacity: 0.7;
}
.legal-block-title {
  font-family: var(--ff-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: var(--ls-snug);
  margin-bottom: 12px;
}
.legal-block-body {
  font-family: var(--ff-body);
  font-size: var(--text-base);
  line-height: var(--lh-loose);
  color: var(--muted);
  font-weight: 400;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ahs-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.ahs-item:hover {
  border-color: var(--teal-mid);
  box-shadow: 0 6px 24px rgba(42, 187, 176, 0.07);
}
.ahs-n {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: var(--ls-snug);
  display: block;
  line-height: 1;
}
.ahs-n em {
  color: var(--teal);
  font-style: normal;
}
.ahs-l {
  font-family: var(--ff-body);
  font-size: var(--text-2xs);
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  display: block;
  margin-top: 5px;
}

.about-page-section {
  padding: 100px 56px;
  background: var(--white);
}
.about-page-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(42, 187, 176, 0.13) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.about-img {
  position: relative;
  z-index: 2;
  width: 88%;
  max-width: 400px;
  filter: drop-shadow(0 16px 40px rgba(42, 187, 176, 0.16));
  animation: floatY 6s ease-in-out infinite;
}
.about-img-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--teal);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: center;
  z-index: 3;
  box-shadow: 0 8px 28px rgba(42, 187, 176, 0.35);
}
.aib-n {
  font-family: var(--ff-body);
  font-size: var(--text-2xs);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  display: block;
}
.aib-year {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: var(--ls-snug);
  display: block;
  line-height: 1.1;
}

.about-page-h2 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin: 14px 0 20px;
}
.about-page-h2 span {
  color: var(--teal);
}
.about-page-body {
  font-family: var(--ff-body);
  font-size: var(--text-md);
  line-height: var(--lh-loose);
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 18px;
}
.about-page-body strong {
  color: var(--ink-2);
  font-weight: 600;
}

.values-section {
  padding: 100px 56px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.values-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 50% 60% at 20% 50%,
      rgba(42, 187, 176, 0.09) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 35% 40% at 85% 20%,
      rgba(42, 187, 176, 0.06) 0%,
      transparent 55%
    );
  pointer-events: none;
}
.values-inner {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.values-header {
  margin-bottom: 52px;
}
.values-h2 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin-top: 14px;
}
.values-h2 span {
  color: var(--teal);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.value-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  overflow: hidden;
  transition:
    border-color 0.35s,
    box-shadow 0.35s;
  transform-style: preserve-3d;
}
.value-card:hover {
  border-color: rgba(42, 187, 176, 0.35);
  box-shadow: 0 20px 52px rgba(42, 187, 176, 0.12);
}
.vc-glow {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(42, 187, 176, 0.2) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.value-card:hover .vc-glow {
  opacity: 1;
}
.vc-icon {
  width: 48px;
  height: 48px;
  background: rgba(42, 187, 176, 0.1);
  border: 1px solid rgba(42, 187, 176, 0.22);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.vc-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vc-title {
  font-family: var(--ff-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--white);
  letter-spacing: var(--ls-snug);
  margin-bottom: 10px;
}
.vc-desc {
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

.timeline-section {
  padding: 100px 56px;
  background: var(--faint);
}
.timeline-inner {
  max-width: 800px;
  margin: 0 auto;
}
.timeline-header {
  margin-bottom: 52px;
}
.timeline-h2 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin-top: 14px;
}
.timeline-h2 span {
  color: var(--teal);
}
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), rgba(42, 187, 176, 0.1));
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 40px;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-dot {
  position: absolute;
  left: -38px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal-mid);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--teal-mid);
}
.tl-dot--active {
  background: var(--teal);
  box-shadow:
    0 0 0 3px var(--teal-soft),
    0 0 0 5px var(--teal);
}
.tl-year {
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--teal);
  letter-spacing: var(--ls-wide);
  padding-top: 2px;
}
.tl-content h4 {
  font-family: var(--ff-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: var(--ls-snug);
  margin-bottom: 6px;
}
.tl-content p {
  font-family: var(--ff-body);
  font-size: var(--text-sm);
  line-height: var(--lh-relaxed);
  color: var(--muted);
  font-weight: 400;
}

/* ============================================================
   RESPONSIVE — Internal Pages
   ============================================================ */
@media (max-width: 1100px) {
  .svc-glass-grid {
    grid-template-columns: 1fr 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 1024px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 28px 64px;
    gap: 40px;
  }
  .svc-page-section,
  .why-section,
  .port-bento-section,
  .team-section,
  .join-section,
  .process-section,
  .about-page-section,
  .values-section,
  .timeline-section,
  .contact-form-section,
  .faq-page-section,
  .legal-section {
    padding: 80px 28px;
  }
  .port-filter-inner {
    padding: 0 28px;
  }
  .port-filter-section {
    top: 70px;
  }
  .why-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .team-lead-grid {
    grid-template-columns: 1fr 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  #port-grid {
    grid-template-columns: 1fr 1fr;
  }
  .phv-stat-chips {
    position: static;
    transform: none;
    justify-content: center;
  }
  .phv-ring-a,
  .phv-ring-b,
  .phv-orb {
    display: none;
  }
  .port-hero-stats {
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
  }
  .phs-item {
    flex: 1;
    min-width: 120px;
  }
  .team-hero-visual {
    min-height: 180px;
  }
  .appt-hero-inner,
  .about-page-inner,
  .contact-form-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .appt-form-section {
    padding: 80px 28px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .process-steps::before {
    display: none;
  }
}
@media (max-width: 768px) {
  .svc-glass-grid {
    grid-template-columns: 1fr;
  }
  .team-lead-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .port-load-more {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  #port-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .cf-row {
    grid-template-columns: 1fr;
  }
  .appt-trust-row {
    gap: 12px;
  }
  .cf-form-card {
    padding: 28px 24px;
  }
}
@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .port-filter-tabs {
    gap: 6px;
  }
  .page-hero-inner {
    padding: 48px 20px 56px;
  }
  .svc-page-section,
  .why-section,
  .port-bento-section,
  .team-section,
  .join-section {
    padding: 64px 20px;
  }
  .timeline {
    padding-left: 24px;
  }
  .legal-block {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .legal-block-num {
    display: none;
  }
  .about-hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
}
