/* =====================================================================
   Home page "About" section (index.php, section.about-v2)
   Light section between the dark hero and the dark services carousel.
   Uses brand tokens from header-modern.css and .section-eyebrow from
   services.css, .hero-btn from hero.css.
   ===================================================================== */
.about-v2 {
  position: relative;
  padding: 100px 0;
  background:
    radial-gradient(40% 50% at 0% 0%, rgba(255, 122, 61, 0.08), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, rgba(106, 61, 240, 0.08), transparent 70%),
    #fbfaff;
  overflow: hidden;
}
.about-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 80px;
}

/* ---------- Image collage ---------- */
.about-visual {
  position: relative;
  isolation: isolate; /* keeps the background shape/dots behind the photos but above the section */
  padding: 0 70px 50px 0;
}
.about-img-main {
  position: relative;
  height: 410px; /* fixed so the whole section fits one laptop screen */
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(18, 20, 28, 0.45);
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}
.about-img-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  border: 8px solid #ffffff;
  box-shadow: 0 30px 60px -30px rgba(18, 20, 28, 0.5);
  animation: about-float 7s ease-in-out infinite;
}
.about-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes about-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}

/* experience badge */
.about-exp {
  position: absolute;
  left: -24px;
  bottom: 90px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px 18px 20px;
  border-radius: 20px;
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 24px 44px -18px rgba(232, 49, 138, 0.65);
}
.about-exp strong {
  color: #ffffff;
  font-family: var(--title-font);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}
.about-exp span {
  font-family: var(--text-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

/* decorative dot grid behind the collage */
.about-dots {
  position: absolute;
  top: -30px;
  right: 30px;
  z-index: -1;
  width: 160px;
  height: 160px;
  background-image: radial-gradient(rgba(106, 61, 240, 0.35) 2px, transparent 2px);
  background-size: 18px 18px;
}

/* ---------- Text ---------- */
.about-v2 .about-title {
  margin: 20px 0 0;
  font-family: var(--title-font);
  font-size: clamp(32px, 3.3vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #12141c;
}
.about-title-grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-v2 .about-text {
  margin: 22px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: #5b6072;
}

/* key points: 2 x 2 mini cards */
.about-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
/* card: soft gradient edge at rest, fills with the brand gradient on hover */
.about-points li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 14px 7px 7px;
  border-radius: 14px;
  border: 1px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(100deg, rgba(255, 122, 61, 0.35), rgba(232, 49, 138, 0.25) 50%, rgba(106, 61, 240, 0.35)) border-box;
  box-shadow: 0 10px 24px -18px rgba(106, 61, 240, 0.45);
  font-family: var(--title-font);
  font-size: 15.5px;
  font-weight: 600;
  color: #12141c;
  overflow: hidden;
  isolation: isolate;
  cursor: default;
  transition: transform 400ms var(--header-ease), box-shadow 400ms var(--header-ease), color 300ms ease;
}
/* gradient fill that sweeps in from the left on hover */
.about-points li::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 450ms var(--header-ease);
}
.about-points li:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -16px rgba(232, 49, 138, 0.6);
}
.about-points li:hover::before {
  transform: scaleX(1);
}
.about-points i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 13px;
  box-shadow: 0 6px 14px -6px rgba(232, 49, 138, 0.6);
  transition: background 300ms ease, color 300ms ease, transform 400ms var(--header-ease);
}
.about-points li:hover i {
  background: #ffffff;
  color: var(--brand-pink);
  transform: rotate(-8deg);
}

/* satisfaction chip on the main photo */
.about-chip {
  position: absolute;
  top: 28px;
  right: 34px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 18px 36px -18px rgba(18, 20, 28, 0.45);
  animation: about-float 6s ease-in-out -2s infinite;
}
.about-chip-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #34d399, #10b981);
  color: #ffffff;
  font-size: 17px;
}
.about-chip b {
  display: block;
  font-family: var(--title-font);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  color: #12141c;
}
.about-chip small {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #6b7084;
}

/* soft gradient shape behind the main photo */
.about-shape {
  position: absolute;
  top: -18px;
  left: -18px;
  z-index: -1;
  width: 60%;
  height: 70%;
  border-radius: 32px;
  background: var(--brand-gradient);
  opacity: 0.16;
}

/* actions */
.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
}
.about-actions .hero-btn {
  height: 56px;
}
.about-call {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #12141c;
}
.about-call-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e6e4ef;
  color: var(--brand-purple);
  font-size: 16px;
  transition: background 300ms ease, color 300ms ease, border-color 300ms ease;
}
.about-call small {
  display: block;
  font-size: 13px;
  color: #8a8fa3;
}
.about-call b {
  display: block;
  font-family: var(--title-font);
  font-size: 16px;
  font-weight: 700;
}
.about-call:hover {
  color: var(--brand-purple);
}
.about-call:hover .about-call-icon {
  background: var(--brand-gradient);
  border-color: transparent;
  color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .about-container {
    gap: 56px;
  }
  .about-visual {
    padding: 0 50px 50px 0;
  }
}
@media (max-width: 991.98px) {
  .about-v2 {
    padding: 90px 0;
  }
  .about-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-visual {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
  .about-exp {
    left: 0;
  }
}
@media (max-width: 575.98px) {
  .about-container {
    padding: 0 20px;
  }
  .about-visual {
    padding: 0 30px 40px 0;
  }
  .about-exp {
    bottom: 60px;
    padding: 12px 16px;
  }
  .about-exp strong {
    font-size: 32px;
  }
  .about-exp span {
    font-size: 12px;
  }
  .about-img-main {
    height: 340px;
  }
  .about-points li {
    font-size: 15px;
  }
  .about-actions .hero-btn {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-img-small,
  .about-chip {
    animation: none;
  }
}

/* keep each point on one line */
.about-points li {
  white-space: nowrap;
  line-height: 1.3;
}
/* narrow phones: one point per row so labels never wrap */
@media (max-width: 479.98px) {
  .about-points {
    grid-template-columns: 1fr;
    max-width: none;
  }
}
