body { background: #0A0A0A; }

/* PAGE HERO */
.page-hero {
  padding: 160px 0 80px;
  background: #0A0A0A;
  position: relative;
}

.page-hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.page-hero .badge {
  margin-bottom: 24px;
}

.page-hero h1 {
  font-size: 52px;
  font-weight: 500;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 20px;
}

.page-hero-sub {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  max-width: 560px;
}

/* PAGE SECTION */
.page-section {
  padding: 100px 0;
  position: relative;
}

.page-section-dark { background: #0A0A0A; }
.page-section-darker { background: #070709; }
.page-section-white { background: #FFFFFF; }
.page-section-gray { background: #F0F0F0; }

.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.page-section-header {
  margin-bottom: 64px;
}

.page-section-header h2 {
  font-size: 36px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 20px;
}

.page-section-header p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 560px;
}

/* DARK TEXT */
.page-section-dark h2,
.page-section-darker h2 { color: #FFFFFF; }
.page-section-dark p,
.page-section-darker p { color: rgba(255,255,255,0.4); }

/* LIGHT TEXT */
.page-section-white h2,
.page-section-gray h2 { color: #0A0A0A; }
.page-section-white p,
.page-section-gray p { color: #3A3A3A; }

/* FEATURE GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.feature-card {
  padding: 48px;
  background: rgba(255,255,255,0.03);
  transition: background 0.3s;
}

.feature-card:hover {
  background: rgba(255,255,255,0.05);
}

.feature-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #0951C7;
  display: block;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 500;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.4);
}

/* PHASE BLOCKS */
.phase-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.phase-block {
  padding: 40px 32px;
  background: rgba(255,255,255,0.03);
  transition: background 0.3s, transform 0.4s;
}

.phase-block:hover {
  background: rgba(9,81,199,0.06);
  transform: translateY(-4px);
}

.phase-block-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #0951C7;
  margin-bottom: 16px;
  display: block;
}

.phase-block h3 {
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.phase-block p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
}

.phase-block-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.phase-block-tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
}

/* QUOTE BLOCK */
.quote-block {
  padding: 64px;
  background: rgba(9,81,199,0.04);
  text-align: center;
  margin-top: 64px;
}

.quote-block p {
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* PAGE CTA */
.page-cta {
  padding: 120px 0;
  background: #0A0A0A;
  text-align: center;
}

.page-cta h2 {
  font-size: 36px;
  font-weight: 500;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-cta p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  margin-bottom: 32px;
}

/* ===== BLOG V2 — WHITE CLEAN ===== */
.blog-hero {
  padding: 160px 0 0;
  background: #FFFFFF;
}

.blog-hero-top {
  margin-bottom: 40px;
}

.blog-hero-top h1 {
  font-size: 48px;
  font-weight: 500;
  color: #0A0A0A;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.blog-hero-top p {
  font-size: 15px;
  font-weight: 300;
  color: #8A8A8A;
  line-height: 1.7;
  max-width: 520px;
}

.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid #F0F0F0;
}

.blog-filter {
  padding: 8px 18px;
  font-family: 'Sora', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A8A8A;
  background: none;
  border: 1px solid #E0E0E0;
  cursor: pointer;
  transition: all 0.3s;
}

.blog-filter:hover {
  border-color: #0A0A0A;
  color: #0A0A0A;
}

.blog-filter.active {
  background: #0A0A0A;
  border-color: #0A0A0A;
  color: #FFFFFF;
}

/* FEATURED */
.blog-featured {
  padding: 48px 0;
  background: #FFFFFF;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s;
}

.blog-featured-card:hover {
  transform: translateY(-3px);
}

.blog-featured-img {
  overflow: hidden;
}

.blog-featured-img img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.blog-featured-card:hover .blog-featured-img img {
  transform: scale(1.03);
}

.blog-featured-body {
  padding: 48px;
  background: #F7F7F7;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-body h2 {
  font-size: 26px;
  font-weight: 500;
  color: #0A0A0A;
  line-height: 1.3;
  margin: 16px 0 12px;
}

.blog-featured-body p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: #5A5A5A;
}

.blog-featured-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.blog-featured-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #0951C7;
}

/* BLOG V2 META */
.blog-v2-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-v2-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #0951C7;
}

.blog-v2-dot {
  width: 3px;
  height: 3px;
  background: #CCCCCC;
}

.blog-v2-read {
  font-size: 10px;
  font-weight: 300;
  color: #AAAAAA;
  letter-spacing: 0.04em;
}

.blog-v2-date {
  font-size: 11px;
  font-weight: 300;
  color: #AAAAAA;
}

/* BLOG LIST */
.blog-list {
  padding: 48px 0 120px;
  background: #FFFFFF;
}

.blog-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-v2-card {
  text-decoration: none;
  display: block;
  transition: transform 0.4s;
}

.blog-v2-card:hover {
  transform: translateY(-4px);
}

.blog-v2-img-wrap {
  overflow: hidden;
  margin-bottom: 20px;
}

.blog-v2-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.blog-v2-card:hover .blog-v2-img-wrap img {
  transform: scale(1.04);
}

.blog-v2-body h3 {
  font-size: 18px;
  font-weight: 500;
  color: #0A0A0A;
  line-height: 1.35;
  margin: 12px 0 10px;
}

.blog-v2-body p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: #6A6A6A;
  margin-bottom: 16px;
}

/* ===== PORTFOLIO V3 — FULL DESIGN ===== */

/* HERO DARK FULLSCREEN */
.pf-hero-dark {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 72px;
}

.pf-hero-dark-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.pf-hero-dark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0A0A0A 0%, rgba(10,10,10,0.6) 40%, rgba(10,10,10,0.3) 100%);
}

.pf-hero-dark-content {
  position: relative;
  z-index: 1;
  padding-bottom: 72px !important;
}

.pf-hero-dark-content h1 {
  font-size: 56px;
  font-weight: 500;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 20px 0 16px;
}

.pf-hero-dark-content p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 480px;
}

/* STATS BAR */
.pf-stats {
  background: #0A0A0A;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pf-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.pf-stat {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.pf-stat:last-child { border-right: none; }

.pf-stat-num {
  display: block;
  font-size: 36px;
  font-weight: 300;
  color: #0951C7;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.pf-stat-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
}

/* SECTION LABEL */
.pf-section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.pf-section-label span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #8A8A8A;
  flex-shrink: 0;
}

.pf-section-line {
  flex: 1;
  height: 1px;
  background: #E0E0E0;
}

/* FEATURED GRID */
.pf-featured-section {
  padding: 80px 0 48px;
  background: #FFFFFF;
}

.pf-feat-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 8px;
}

.pf-feat-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.pf-feat-item:first-child {
  grid-row: span 2;
}

.pf-feat-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.pf-feat-item:hover img {
  transform: scale(1.04);
}

.pf-feat-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.4s;
}

.pf-feat-item:hover .pf-feat-overlay {
  background: rgba(0,0,0,0.12);
}

/* GALLERY MASONRY */
.pf-gallery {
  padding: 0 0 80px;
  background: #FFFFFF;
}

.pf-masonry {
  columns: 3;
  column-gap: 8px;
}

.pf-item {
  break-inside: avoid;
  margin-bottom: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.pf-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.4s;
  pointer-events: none;
}

.pf-item:hover::after {
  background: rgba(0,0,0,0.1);
}

.pf-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.pf-item:hover img {
  transform: scale(1.03);
}

/* PORTFOLIO ONLY IMAGES */
.pf-only {
  padding: 80px 0 0;
  background: #FFFFFF;
}

.pf-masonry-full {
  columns: 4;
  column-gap: 6px;
  padding: 0 6px;
}

.pf-masonry-full .pf-item {
  margin-bottom: 6px;
}

/* CTA DARK */
.pf-cta-dark {
  padding: 120px 0;
  background: #0A0A0A;
}

.pf-cta-center {
  text-align: center;
}

.pf-cta-center h2 {
  font-size: 36px;
  font-weight: 500;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.pf-cta-center p {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  margin-bottom: 32px;
}

/* LIGHTBOX */
.pf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.pf-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.pf-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  transition: transform 0.3s;
}

.pf-lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 32px;
  color: #FFFFFF;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-weight: 300;
  transition: opacity 0.3s;
}

.pf-lightbox-close:hover { opacity: 0.6; }

.pf-lightbox-prev,
.pf-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  transition: color 0.3s, background 0.3s;
}

.pf-lightbox-prev:hover,
.pf-lightbox-next:hover {
  color: #FFFFFF;
  background: rgba(255,255,255,0.1);
}

.pf-lightbox-prev { left: 24px; }
.pf-lightbox-next { right: 24px; }

/* SPLIT GRID */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.split-title {
  font-size: 34px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #0A0A0A;
  margin-top: 20px;
}

.split-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: #5A5A5A;
  margin-bottom: 16px;
}

.split-highlight {
  font-size: 16px;
  font-weight: 500;
  color: #0A0A0A;
  margin-top: 8px;
}

/* STAT ROW */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.stat-row-dark { margin-top: 64px; }

.stat-item {
  text-align: center;
  padding: 40px 24px;
}

.stat-item-dark {
  background: rgba(255,255,255,0.03);
}

.stat-big {
  display: block;
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #0A0A0A;
  margin-bottom: 8px;
}

.stat-item-dark .stat-big { color: #0951C7; }

.stat-desc {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #8A8A8A;
}

/* ANCHOR GRID */
.anchor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.anchor-card {
  padding: 40px;
  background: #F0F0F0;
  transition: background 0.3s;
}

.anchor-card:hover {
  background: #E8E8E8;
}

.anchor-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #0951C7;
  display: block;
  margin-bottom: 16px;
}

.anchor-card h3 {
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #0A0A0A;
  line-height: 1.4;
  margin-bottom: 12px;
}

.anchor-card p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: #5A5A5A;
}

/* BIG QUOTE */
.big-quote {
  text-align: center;
  padding: 40px 0;
}

.big-quote p {
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  color: #3A3A3A;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

/* SERVICE COLS */
.service-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-col {
  padding: 40px;
  background: #FFFFFF;
  transition: transform 0.4s;
}

.service-col:hover {
  transform: translateY(-4px);
}

.service-col-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #0951C7;
  display: block;
  margin-bottom: 16px;
}

.service-col h3 {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: #0A0A0A;
  margin-bottom: 12px;
}

.service-col p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: #5A5A5A;
  margin-bottom: 20px;
}

.service-col-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-col-list li {
  font-size: 12px;
  font-weight: 300;
  color: #8A8A8A;
  padding-left: 14px;
  position: relative;
}

.service-col-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 4px;
  background: #0951C7;
}

/* INDICATOR GRID */
.indicator-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.indicator-card {
  padding: 32px 24px;
  background: #F0F0F0;
  text-align: center;
  transition: background 0.3s;
}

.indicator-card:hover {
  background: #E8E8E8;
}

.indicator-icon {
  font-size: 18px;
  color: #0951C7;
  margin-bottom: 16px;
}

.indicator-card h3 {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0A0A0A;
  margin-bottom: 10px;
}

.indicator-card p {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: #5A5A5A;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .page-hero h1 { font-size: 38px; }
  .feature-grid { grid-template-columns: 1fr; }
  .phase-blocks { grid-template-columns: repeat(2, 1fr); }
  .blog-v2-grid { grid-template-columns: 1fr; }
  .blog-featured-card { grid-template-columns: 1fr; }
  .blog-featured-img img { min-height: 240px; }
  .pf-masonry { columns: 2; }
  .pf-masonry-full { columns: 3; }
  .pf-feat-grid { grid-template-columns: 1fr 1fr; }
  .pf-feat-item:first-child { grid-row: auto; }
  .pf-stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .pf-stat { border-right: none; }
  .pf-hero-dark-content h1 { font-size: 40px; }
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .anchor-grid { grid-template-columns: 1fr; }
  .service-cols { grid-template-columns: 1fr; }
  .indicator-grid { grid-template-columns: repeat(2, 1fr); }
  .split-title { font-size: 28px; }
}

@media (max-width: 640px) {
  .page-hero { padding: 100px 0 48px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero-sub { font-size: 14px; }
  .page-hero-container,
  .page-container { padding: 0 20px; }
  .page-section { padding: 56px 0; }
  .page-section-header h2 { font-size: 26px; }
  .phase-blocks { grid-template-columns: 1fr; }
  .pf-masonry { columns: 1; column-gap: 0; }
  .pf-masonry-full { columns: 2; column-gap: 4px; padding: 0 4px; }
  .pf-masonry-full .pf-item { margin-bottom: 4px; }
  .pf-only { padding: 72px 0 0; }
  .pf-feat-grid { grid-template-columns: 1fr; }
  .pf-hero-dark { height: 50vh; }
  .pf-hero-dark-content h1 { font-size: 28px; }
  .pf-cta-center h2 { font-size: 24px; }
  .pf-cta-dark { padding: 80px 0; }
  .pf-lightbox-prev { left: 8px; }
  .pf-lightbox-next { right: 8px; }
  .pf-lightbox img { max-width: 96vw; max-height: 80vh; }
  .quote-block { padding: 32px 20px; }
  .quote-block p { font-size: 16px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .indicator-grid { grid-template-columns: 1fr; }
  .big-quote p { font-size: 16px; }
  .stat-big { font-size: 32px; }
  .split-title { font-size: 24px; }
  .split-text { font-size: 14px; }
  .feature-card { padding: 32px 20px; }
  .feature-card h3 { font-size: 16px; }
  .blog-hero-top h1 { font-size: 32px; }
  .blog-featured-body { padding: 24px; }
  .blog-featured-body h2 { font-size: 20px; }
  .page-cta { padding: 80px 0; }
  .page-cta h2 { font-size: 26px; }
}
