/* =====================================================================
   HOME — About, Expertise, Featured Work, Maintenance polish
   ===================================================================== */

/* shared heading style for these sections */
.section-h2 {
  margin: 0 0 18px;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.about-v2 p,
.expertise-v2 p,
.featured-v2 p,
.process p {
  opacity: 1;
  transform: none;
}

/* ---------- ABOUT ---------- */
.about-v2 {
  padding: 110px 20px;
  background: #0a0a0d;
}

.about-v2::before {
  top: 50%;
  left: 24%;
  width: 640px;
  height: 640px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 193, 7, 0.2), transparent 70%);
}

.about-v2__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-v2__media {
  position: relative;
  padding: 0 0 28px 28px;
}

.about-v2__ring {
  position: absolute;
  top: 26px;
  left: 0;
  right: 28px;
  bottom: 0;
  border: 2px solid rgba(255, 193, 7, 0.35);
  border-radius: 32px;
  box-shadow: 0 0 40px rgba(255, 193, 7, 0.12);
}

.about-v2__frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.about-v2__frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.about-v2__media:hover .about-v2__frame img {
  transform: scale(1.05);
}

.about-v2__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 13, 0.55));
}

.about-v2__chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: rgba(21, 21, 27, 0.92);
  border: 1px solid rgba(255, 193, 7, 0.35);
  border-radius: 18px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 193, 7, 0.16);
  animation: aboutFloat 6s ease-in-out infinite;
}

.about-v2__chip--a {
  top: -6px;
  right: -8px;
}

.about-v2__chip--b {
  bottom: 4px;
  left: 0;
  animation-delay: -3s;
}

.about-v2__chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #14100a;
  background: linear-gradient(135deg, #ffe259, #ff9800);
  border-radius: 14px;
}

.about-v2__chip b {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  line-height: 1.2;
  color: #fff;
}

.about-v2__chip small {
  display: block;
  font-size: 0.75rem;
  color: #a2a2ad;
}

.about-v2__copy p {
  margin-bottom: 26px;
  font-size: 1.04rem;
  line-height: 1.8;
  color: #b9b9c6;
}

.about-v2__feats {
  display: grid;
  gap: 12px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.about-v2__feats li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.about-v2__feats li:hover {
  transform: translateX(6px);
  background: rgba(255, 193, 7, 0.07);
  border-color: rgba(255, 193, 7, 0.35);
}

.about-v2__feats li > span {
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  color: #ffc107;
  background: rgba(255, 193, 7, 0.12);
  border-radius: 14px;
}

.about-v2__feats b {
  display: block;
  color: #fff;
  font-size: 0.98rem;
}

.about-v2__feats small {
  display: block;
  color: #a2a2ad;
  font-size: 0.84rem;
}

.about-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@keyframes aboutFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- EXPERTISE ---------- */
.expertise-v2 {
  padding: 110px 20px;
  background: linear-gradient(180deg, #0d0d11 0%, #15121c 50%, #0d0d11 100%);
}

.expertise-v2__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.expertise-v2__copy p {
  margin-bottom: 30px;
  font-size: 1.04rem;
  line-height: 1.8;
  color: #b9b9c6;
}

.expertise-v2__feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 34px;
}

.ex-feat {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  background: linear-gradient(180deg, #1a1a22, #15151b);
  border: 1px solid rgba(255, 193, 7, 0.16);
  border-radius: 18px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ex-feat:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 193, 7, 0.45);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7), 0 0 34px rgba(255, 193, 7, 0.14);
}

.ex-feat > span {
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  color: #14100a;
  background: linear-gradient(135deg, #ffe259, #ffc107 55%, #ff9800);
  border-radius: 14px;
  box-shadow: 0 10px 22px -8px rgba(255, 193, 7, 0.6);
}

.ex-feat b {
  display: block;
  color: #fff;
  font-size: 0.94rem;
  line-height: 1.3;
}

.ex-feat small {
  display: block;
  margin-top: 2px;
  color: #a2a2ad;
  font-size: 0.8rem;
}

/* process timeline */
.process {
  position: relative;
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}

.process::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 40px;
  left: 29px;
  width: 2px;
  background: linear-gradient(180deg, #ffc107, rgba(255, 193, 7, 0.08));
  box-shadow: 0 0 14px rgba(255, 193, 7, 0.5);
}

.process li {
  position: relative;
  display: flex;
  gap: 22px;
  margin-bottom: 26px;
}

.process li:last-child {
  margin-bottom: 0;
}

.process__n {
  position: relative;
  z-index: 1;
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #14100a;
  background: linear-gradient(135deg, #ffe259, #ffc107 55%, #ff9800);
  border-radius: 50%;
  box-shadow: 0 0 0 6px #0f0d15, 0 0 30px rgba(255, 193, 7, 0.5);
}

.process li > div {
  flex: 1;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.process li:hover > div {
  transform: translateX(6px);
  background: rgba(255, 193, 7, 0.07);
  border-color: rgba(255, 193, 7, 0.35);
}

.process h3 {
  margin: 0 0 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
}

.process p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #a9a9b6;
}

/* ---------- FEATURED WORK ---------- */
.featured-v2 {
  padding: 110px 20px;
  background: #0a0a0d;
}

.featured-v2__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.featured-v2__head p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #a9a9b6;
}

.featured-v2__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1240px;
  margin: 0 auto;
}

.featured-v2__grid > div {
  min-width: 0;
}

.featured-v2__cta {
  margin-top: 56px;
  text-align: center;
}

/* ---------- MAINTENANCE (polish) ---------- */
.maintenance-section {
  padding: 100px 20px;
}

.maintenance-section h2 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(100deg, #ffe259, #ffc107 45%, #ff9800);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-bottom: 44px;
}

.maintenance-item {
  border-radius: 22px;
}

.maintenance-button {
  border-radius: 999px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1099px) {
  .featured-v2__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .about-v2,
  .expertise-v2,
  .featured-v2 {
    padding: 80px 20px;
  }
  .about-v2__grid,
  .expertise-v2__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .about-v2__media {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .about-v2,
  .expertise-v2,
  .featured-v2 {
    padding: 64px 16px;
  }
  .expertise-v2__feats {
    grid-template-columns: 1fr;
  }
  .featured-v2__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-v2__media {
    padding: 0 0 20px 16px;
  }
  .about-v2__chip {
    padding: 9px 14px 9px 9px;
  }
  .about-v2__chip--a {
    right: 0;
  }
  .about-v2__actions .btn-glow,
  .about-v2__actions .btn-outline-glow,
  .expertise-v2__copy .btn-glow {
    flex: 1 1 100%;
  }
  .process li {
    gap: 14px;
  }
  .process__n {
    flex-basis: 50px;
    height: 50px;
    font-size: 0.98rem;
  }
  .process::before {
    left: 24px;
  }
  .maintenance-section {
    padding: 72px 16px;
  }
}

/* ---------- header-aware hero + video toggle side ---------- */
.hero-v2 {
  min-height: 100vh;
  min-height: calc(100svh - var(--hdr-h, 72px) - 36px);
}

.hero-v2__toggle {
  left: auto;
  right: 22px;
}

@media (max-width: 600px) {
  .hero-v2__toggle {
    left: auto;
    right: 14px;
  }
}

/* keep decorative glows from widening the page on phones */
.about-v2,
.expertise-v2,
.featured-v2,
.offer,
.wcu {
  overflow: hidden;
}

/* the promo widget's final position must win over earlier rules */
@media (max-width: 600px) {
  .sliding-message.active {
    right: 12px;
  }
}

/* longer company name: keep the hero brand line inside the viewport at every width */
.hero-v2__inner {
  max-width: 1040px;
}

.hero-v2__brand {
  font-size: clamp(1.75rem, 6.6vw, 4.4rem);
}

/* promo popup: compact on phones so it never hides the page */
@media (max-width: 600px) {
  .sliding-message {
    padding: 14px 16px;
    bottom: 84px;
  }
  .sliding-message h3 {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.3;
  }
  .sliding-message p {
    display: none;
  }
  .sliding-message .cta-button {
    padding: 10px 0;
    font-size: 13px;
  }
}

/* featured work: new browser-window cards fill their grid cell */
.featured-v2__grid > div {
  display: block;
}
.featured-v2__grid .pf-card {
  width: 100%;
}
