/* ===== PORTFOLIO PAGE STYLES ===== */

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--midnight);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: brightness(0.5) saturate(0.7);
}

.page-hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(170deg, rgba(11, 17, 32, 0.95) 0%, rgba(11, 17, 32, 0.5) 50%, rgba(11, 17, 32, 0.85) 100%),
    radial-gradient(ellipse 60% 50% at 70% 60%, rgba(184, 114, 58, 0.08) 0%, transparent 60%);
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 72px 72px;
}

.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: orbFloat 10s ease-in-out infinite;
}

.page-hero-orb.orb-a {
  width: 400px;
  height: 400px;
  background: rgba(184, 114, 58, 0.08);
  top: 5%;
  right: 5%;
}

.page-hero-orb.orb-b {
  width: 300px;
  height: 300px;
  background: rgba(184, 114, 58, 0.05);
  bottom: 10%;
  left: 10%;
  animation-delay: -5s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(25px, -18px);
  }
}

.page-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin: 0 auto;
  padding: 150px 32px 90px;
  width: 100%;
}

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.page-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.3s;
}

.page-hero-breadcrumb a:hover {
  color: var(--copper-light);
}

.page-hero-breadcrumb span {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

.page-hero-breadcrumb .current {
  color: var(--copper-light);
  font-size: 0.82rem;
  font-weight: 600;
}

.page-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(184, 114, 58, 0.1);
  border: 1px solid rgba(184, 114, 58, 0.2);
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 28px;
  animation: chipPulse 3s ease-in-out infinite;
}

@keyframes chipPulse {

  0%,
  100% {
    border-color: rgba(184, 114, 58, 0.2);
  }

  50% {
    border-color: rgba(184, 114, 58, 0.4);
  }
}

.page-hero-chip-dot {
  width: 7px;
  height: 7px;
  background: var(--copper-light);
  border-radius: 50%;
  animation: dotBlink 2s ease-in-out infinite;
}

@keyframes dotBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.page-hero-chip span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--copper-light);
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

.page-hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.06;
  margin-bottom: 22px;
  letter-spacing: -1.5px;
  max-width: 700px;
}

.page-hero-title .accent {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--copper-light);
  letter-spacing: 0;
}

.page-hero-desc {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.8;
  max-width: 560px;
  font-weight: 400;
}

.page-hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.page-hero-stat {
  position: relative;
  padding-right: 48px;
}

.page-hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.page-hero-stat-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--copper-light);
  letter-spacing: -1px;
  line-height: 1;
}

.page-hero-stat-label {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-top: 8px;
  font-weight: 500;
}

/* ===== FEATURED PROJECT ===== */
.featured-section {
  background: var(--bg-warm);
}

.featured-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}

.featured-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.featured-visual-main {
  position: relative;
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.featured-visual-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 17, 32, 0.5) 0%, transparent 40%);
}

.featured-status-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 7px 18px;
  border-radius: 50px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.featured-status-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: dotBlink 2s ease-in-out infinite;
}

.featured-status-badge span {
  font-size: 0.72rem;
  font-weight: 700;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.featured-visual-card {
  position: absolute;
  bottom: -18px;
  right: -14px;
  background: var(--bg-card);
  padding: 20px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  z-index: 4;
}

.featured-visual-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--copper), var(--copper-glow));
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
}

.featured-visual-card h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.featured-visual-card p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin: 0;
}

.featured-visual-ring {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 80px;
  height: 80px;
  border: 2px solid var(--copper);
  border-radius: var(--radius-lg);
  opacity: 0.2;
  z-index: 3;
}

.featured-content .section-subtitle {
  margin-bottom: 28px;
}

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.featured-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.featured-meta-item i {
  color: var(--copper);
  font-size: 0.75rem;
}

.featured-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.featured-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.featured-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(184, 114, 58, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  font-size: 0.9rem;
}

.featured-detail h5 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.featured-detail p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===== PROJECT PORTFOLIO ===== */
.portfolio-section {
  background: var(--bg-main);
}

.portfolio-filter {
  display: flex;
  gap: 8px;
  margin-top: 36px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.portfolio-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.35s ease;
}

.portfolio-filter-btn:hover {
  border-color: var(--border-copper);
  color: var(--copper);
}

.portfolio-filter-btn.active {
  background: linear-gradient(135deg, var(--copper), var(--copper-glow));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-copper);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-copper);
}

.portfolio-card-visual {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--midnight);
}

.portfolio-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-card-visual img {
  transform: scale(1.06);
}

.portfolio-card-status {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.portfolio-card-status.status-complete {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.portfolio-card-status.status-active {
  background: rgba(184, 114, 58, 0.2);
  border: 1px solid rgba(184, 114, 58, 0.35);
  color: var(--copper-light);
}

.portfolio-card-status.status-upcoming {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #818cf8;
}

.portfolio-card-type {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--copper), var(--copper-glow));
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(184, 114, 58, 0.4);
}

.portfolio-card-body {
  padding: 26px;
}

.portfolio-card-body h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.portfolio-card-body p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.portfolio-card-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.portfolio-card-info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.portfolio-card-info-item i {
  color: var(--copper);
  font-size: 0.7rem;
}

.portfolio-card-progress {
  width: 100%;
  height: 4px;
  background: var(--bg-accent);
  border-radius: 2px;
  overflow: hidden;
}

.portfolio-card-progress-bar {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  width: 0;
}

.portfolio-card-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}

.portfolio-card-progress-label strong {
  color: var(--copper);
  font-weight: 700;
}

/* ===== PROCESS / TIMELINE ===== */
.process-section {
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  top: -300px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 114, 58, 0.06), transparent 70%);
  pointer-events: none;
}

.process-section::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 114, 58, 0.04), transparent 70%);
  pointer-events: none;
}

.process-timeline {
  position: relative;
  margin-top: 64px;
}

.process-timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(184, 114, 58, 0.3), rgba(184, 114, 58, 0.05));
}

.process-step {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
  text-align: left;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step-content {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.4s ease;
  order: 1;
}

.process-step-content:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(184, 114, 58, 0.2);
}

.process-step-content h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.process-step-content p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}

.process-step-number {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: linear-gradient(135deg, var(--copper), var(--copper-glow));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 0 0 8px rgba(184, 114, 58, 0.12), 0 8px 25px rgba(184, 114, 58, 0.25);
  position: relative;
  z-index: 2;
  order: 2;
}

.process-step-spacer {
  display: flex;
  align-items: center;
  justify-content: center;
  order: 3;
}

.process-step-spacer img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.75;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  filter: grayscale(0.2);
}

.process-step:hover .process-step-spacer img {
  opacity: 1;
  transform: scale(1.03);
  border-color: rgba(184, 114, 58, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  filter: grayscale(0);
}

.process-step:nth-child(even) .process-step-content {
  order: 3;
}

.process-step:nth-child(even) .process-step-spacer {
  order: 1;
}

/* ===== IMPACT / METRICS ===== */
.impact-section {
  background: var(--bg-warm);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.impact-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.impact-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.impact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-copper);
}

.impact-card:hover::after {
  transform: scaleX(1);
}

.impact-card-icon {
  width: 56px;
  height: 56px;
  background: var(--midnight);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper-light);
  font-size: 1.2rem;
  margin: 0 auto 18px;
}

.impact-card-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--copper);
  margin-bottom: 6px;
}

.impact-card h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.impact-card p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--bg-main);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 34px;
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-copper);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}

.testimonial-stars i {
  color: var(--amber);
  font-size: 0.82rem;
}

.testimonial-quote {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
  margin-bottom: 24px;
  position: relative;
  padding-left: 18px;
  border-left: 2px solid var(--border-copper);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--copper), var(--copper-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
}

.testimonial-author-info h5 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-author-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--midnight);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 25% 50%, rgba(184, 114, 58, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 75% 50%, rgba(184, 114, 58, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 90px 0;
}

.cta-inner h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .featured-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline-line {
    display: none;
  }

  .process-step {
    grid-template-columns: auto 1fr;
    gap: 24px;
  }

  .process-step-spacer {
    display: none;
  }

  .process-step:nth-child(even) .process-step-content {
    order: unset;
  }

  .process-step:nth-child(even) .process-step-spacer {
    order: unset;
  }

  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .page-hero-inner {
    padding: 120px 20px 64px;
  }

  .page-hero-stats {
    gap: 28px;
  }

  .page-hero-stat {
    padding-right: 28px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-filter {
    justify-content: center;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .featured-visual-main {
    height: 320px;
  }

  .featured-visual-card {
    bottom: -12px;
    right: -8px;
    padding: 14px 18px;
  }

  .process-step {
    gap: 16px;
  }

  .process-step-number {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions a {
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
  }
}