/**
 * DigiPestControl — About Us Design System
 * Theme aligned with Phase 6 Homepage / Cybernetic Night & Modern Bento
 */

body.pco-page--about-us {
  overflow-x: hidden;
}

body.pco-page--about-us .dpc-page-content {
  overflow: clip;
}

.about-page {
  color: #001f28;
  background: #f7f9fb;
  font-family: Inter, sans-serif;
  overflow-x: hidden;
}

.about-page :is(h1, h2, h3, h4) {
  font-family: Manrope, sans-serif;
  color: #001f28;
}

/* =========================================================================
   1. HERO SECTION (Cybernetic Night / Operations Center)
   ========================================================================= */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 10vw, 130px) 0 clamp(72px, 8vw, 112px);
  background: #001115;
  color: #fff;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(93, 213, 245, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 213, 245, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.about-hero__glow {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 104, 124, 0.38) 0%, rgba(93, 213, 245, 0.08) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.about-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-hero__copy-column {
  min-width: 0;
}

.about-hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(93, 213, 245, 0.12);
  border: 1px solid rgba(93, 213, 245, 0.28);
  color: #5dd5f5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.about-hero h1,
.about-hero .about-hero__title {
  margin: 0 0 20px;
  color: #ffffff !important;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.about-hero__title-accent {
  background: linear-gradient(135deg, #8ae9ff 0%, #38bdf8 50%, #2ab1d0 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #5dd5f5 !important;
  display: inline;
  font-weight: 800;
}

.about-hero p.about-hero__subtitle,
.about-hero .about-hero__subtitle {
  margin: 0 0 28px;
  color: rgba(225, 240, 245, 0.9) !important;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.72;
  max-width: 640px;
}

.about-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.about-hero__cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.about-hero__cta .btn--fullblack {
  background: #5dd5f5;
  color: #001f28;
  box-shadow: 0 8px 24px rgba(93, 213, 245, 0.28);
}

.about-hero__cta .btn--fullblack:hover {
  background: #8ae9ff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(93, 213, 245, 0.38);
}

.about-hero__cta .btn--fullwhite {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.about-hero__cta .btn--fullwhite:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff;
  transform: translateY(-2px);
}

.about-hero__capabilities {
  margin: 0;
  color: rgba(170, 204, 213, 0.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Operations Panel (Right Side of Hero) */
.about-hero__visual {
  position: relative;
  min-width: 0;
}

.about-ops-panel {
  position: relative;
  border-radius: 24px;
  background: rgba(0, 31, 40, 0.75);
  border: 1px solid rgba(93, 213, 245, 0.24);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 32px 28px;
  z-index: 2;
}

.about-ops-panel__topline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.about-ops-panel__mark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5dd5f5;
  box-shadow: 0 0 12px #5dd5f5;
  animation: pcoOpsPulse 2s infinite ease-in-out;
}

@keyframes pcoOpsPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.about-ops-panel__status {
  color: #5dd5f5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-ops-panel__intro h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.about-ops-panel__intro p {
  margin: 0 0 22px;
  color: rgba(220, 235, 240, 0.74);
  font-size: 13.5px;
  line-height: 1.6;
}

.about-ops-panel__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-ops-panel__stat {
  padding: 16px 14px;
  border-radius: 14px;
  background: rgba(0, 17, 21, 0.65);
  border: 1px solid rgba(93, 213, 245, 0.15);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-ops-panel__stat strong {
  color: #8ae9ff;
  font-size: 20px;
  font-weight: 800;
  font-family: Manrope, sans-serif;
  letter-spacing: -0.02em;
}

.about-ops-panel__stat span {
  color: rgba(220, 235, 240, 0.7);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 500;
}

.about-hero__floating-node {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(93, 213, 245, 0.1);
  border: 1px solid rgba(93, 213, 245, 0.28);
  backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 1;
}

.about-hero__floating-node--one {
  top: -16px;
  right: -16px;
}

.about-hero__floating-node--two {
  bottom: -18px;
  left: -18px;
}


/* =========================================================================
   2. SECTION COMMON STYLES
   ========================================================================= */
.about-section {
  padding: clamp(64px, 7vw, 100px) 0;
  position: relative;
}

.about-kicker {
  display: inline-block;
  color: #00687c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.about-heading {
  max-width: 780px;
  margin: 0 auto 52px;
  text-align: center;
}

.about-heading--left {
  max-width: none;
  margin-inline: 0;
  text-align: left;
}

.about-heading h2 {
  margin: 8px 0 16px;
  color: #001f28;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.about-heading__accent {
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #00687c, #5dd5f5);
  margin: 0 auto;
}

.about-heading__accent--left {
  margin: 0;
}


/* =========================================================================
   3. PILLARS SECTION (3 Core Features Cards)
   ========================================================================= */
.about-section--pillars {
  background: #f7f9fb;
}

.about-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}

.about-feature-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 104, 124, 0.14);
  box-shadow: 0 16px 40px rgba(0, 31, 40, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 104, 124, 0.12);
  border-color: rgba(0, 104, 124, 0.32);
}

.about-feature-card__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #edf3f6;
}

.about-feature-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-feature-card:hover .about-feature-card__img-wrap img {
  transform: scale(1.04);
}

.about-feature-card__body {
  padding: clamp(24px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.about-card-index {
  display: inline-block;
  color: #00687c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.about-feature-card h3 {
  margin: 0 0 12px;
  color: #001f28;
  font-size: clamp(19px, 1.4vw, 22px);
  font-weight: 750;
  line-height: 1.28;
}

.about-feature-card p {
  margin: 0;
  color: #40555e;
  font-size: 14.5px;
  line-height: 1.68;
}


/* =========================================================================
   4. STORY & DNA BENTO GRID
   ========================================================================= */
.about-section--dna {
  background: #edf3f6;
}

.about-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.about-bento-card {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 104, 124, 0.14);
  box-shadow: 0 12px 36px rgba(0, 31, 40, 0.04);
  padding: clamp(24px, 2.5vw, 36px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 104, 124, 0.1);
}

/* Wide Featured Card */
.about-bento-card--wide {
  grid-column: span 8;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.about-bento-card__content {
  min-width: 0;
}

.about-bento-card__title {
  margin: 8px 0 12px;
  color: #001f28;
  font-size: clamp(20px, 1.6vw, 25px);
  font-weight: 750;
  line-height: 1.25;
}

.about-bento-card__desc {
  margin: 0;
  color: #40555e;
  font-size: 14.5px;
  line-height: 1.68;
}

.about-bento-card__media {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: #f7f9fb;
}

.about-bento-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tall Feature Card (Who We Are & What We Do) */
.about-bento-card--tall {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
}

.about-bento-card__icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 104, 124, 0.1);
  color: #00687c;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* Pure Image Bento Card */
.about-bento-card--image {
  grid-column: span 4;
  padding: 0;
  overflow: hidden;
  min-height: 240px;
}

.about-bento-card--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =========================================================================
   5. DIGITAL TRANSFORMATION SECTION
   ========================================================================= */
.about-section--transformation {
  background: #f7f9fb;
}

.about-transformation__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.about-transformation__visual {
  min-width: 0;
}

.about-transformation__frame {
  position: relative;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(0, 104, 124, 0.14);
  box-shadow: 0 20px 50px rgba(0, 31, 40, 0.06);
  text-align: center;
}

.about-transformation__glow {
  position: absolute;
  top: 20%;
  left: 20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(93, 213, 245, 0.16) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.about-transformation__frame img {
  position: relative;
  max-width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  z-index: 2;
}

.about-transformation__content {
  min-width: 0;
}

.about-transformation__title {
  margin: 8px 0 16px;
  color: #001f28;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.about-transformation__lead {
  color: #40555e;
  font-size: 15.5px;
  line-height: 1.72;
  margin-bottom: 28px;
}

/* Callout Bento Card */
.about-digital-callout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(22px, 2.5vw, 30px);
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 104, 124, 0.18);
  border-left: 5px solid #00687c;
  box-shadow: 0 14px 35px rgba(0, 104, 124, 0.07);
}

.about-digital-callout__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(0, 104, 124, 0.1);
  color: #00687c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-digital-callout__body {
  min-width: 0;
}

.about-digital-callout__title {
  margin: 0 0 8px;
  color: #001f28;
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 750;
  line-height: 1.3;
}

.about-digital-callout__desc {
  margin: 0;
  color: #40555e;
  font-size: 14px;
  line-height: 1.65;
}


/* =========================================================================
   6. RESPONSIVE BREAKPOINTS (Zero Shift, Zero Overflow)
   ========================================================================= */
@media (max-width: 991px) {
  .about-hero {
    padding-top: calc(70px + 36px) !important;
    padding-bottom: 56px !important;
  }

  .about-hero__layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-card-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }

  .about-bento-card--wide {
    grid-column: span 12;
    grid-template-columns: 1fr;
  }

  .about-bento-card--tall,
  .about-bento-card--image {
    grid-column: span 6;
  }

  .about-transformation__layout {
    grid-template-columns: 1fr;
  }

  .about-transformation__visual {
    max-width: 580px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .about-hero {
    padding: calc(70px + 28px) 0 52px !important;
  }

  .about-hero__badge {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .about-hero__title {
    font-size: clamp(24px, 6.8vw, 36px) !important;
    line-height: 1.2 !important;
    margin-bottom: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .about-ops-panel {
    padding: 24px 18px;
  }

  .about-ops-panel__stats {
    grid-template-columns: 1fr;
  }

  .about-heading {
    text-align: left;
    margin-bottom: 36px;
  }

  .about-heading__accent {
    margin: 0;
  }

  .about-bento-card--tall,
  .about-bento-card--image {
    grid-column: span 12;
  }

  .about-digital-callout {
    flex-direction: column;
    gap: 14px;
  }
}
