/* =====================================================================
   SOCIAL / PRODUCTS PAGE
   Zig-zag product blocks, each with logo, copy, feature list, socials.
   Reuses the site shell (header / connect / footer).
   ===================================================================== */

.soc-page { overflow-x: hidden; }

.soc-section { padding: clamp(40px, 5vw, 70px) clamp(20px, 4vw, 60px); }
.soc-wrap { max-width: var(--maxw); margin: 0 auto; }

/* shared eyebrow pill */
.soc-eyebrow {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2f6bd8;
  background: rgba(91, 141, 239, 0.08);
  border: 1px solid rgba(91, 141, 239, 0.3);
}
.grad-blue {
  background: linear-gradient(100deg, #5b8def 0%, #2f6bd8 55%, #6aa0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===================== HERO ===================== */
.soc-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 80vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(140px, 18vh, 210px);
  padding-bottom: clamp(60px, 8vw, 110px);
  text-align: center;
  border-bottom: 1px solid rgba(90, 120, 180, 0.14);
}
/* background image behind the heading — full image, no harsh crop */
.soc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../about/business-meeting.webp") center 22% / cover no-repeat;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  /* white-shade fade on all edges, like other sections */
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(180deg, transparent 0%, #000 22%, #000 70%, transparent 100%),
    linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-composite: intersect;
}
.soc-hero .soc-wrap { position: relative; z-index: 1; }
/* phone-specific hero background image */
@media (max-width: 700px) {
  .soc-hero::before {
    background-image: url("../about/business-meeting-phone.webp");
    background-size: cover;
  }
  /* keep the section tall, but push the heading + text up to the top */
  .soc-hero {
    justify-content: flex-start;
    padding-top: clamp(96px, 22vw, 130px);
  }
  /* no paragraph on phones */
  .soc-lead {
    display: none;
  }
}
.soc-title {
  margin-top: 22px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #16202f;
}
.soc-subtitle {
  margin-top: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  color: #16202f;
}
.soc-lead {
  margin: 22px auto 0;
  max-width: 760px;
  font-weight: 400;
  line-height: 1.7;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  color: #2b3344;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85), 0 0 10px rgba(255, 255, 255, 0.6);
}

/* ===================== PRODUCT BLOCKS ===================== */
.soc-products {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8vw, 120px);
  padding-top: clamp(50px, 7vw, 100px);
}
.soc-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 90px);
  align-items: center;
}
/* zig-zag: even blocks put the image on the right */
.soc-product:nth-child(even) .soc-media { order: 2; }

/* media */
.soc-media {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(40, 60, 110, 0.18);
}
.soc-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* text side */
.soc-ic {
  float: left;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(40, 60, 110, 0.16);
  margin: 2px 18px 0 0;
}
.soc-ic img { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; }

/* name + subtitle flow to the right of the icon; body text starts below it */
.soc-desc { clear: both; }

.soc-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #16202f;
}
.soc-tag {
  display: block;
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(0.8rem, 1.1vw, 0.92rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2f6bd8;
}
.soc-desc {
  margin-top: 20px;
  font-weight: 300;
  line-height: 1.75;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: #5a6478;
}

/* feature checklist */
.soc-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(90, 120, 180, 0.16);
}
.soc-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.4;
  color: #2a3550;
}
.soc-check svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: #2f6bd8;
  background: rgba(91, 141, 239, 0.12);
  border-radius: 50%;
  padding: 4px;
}

/* social links */
.soc-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(90, 120, 180, 0.16);
}
.soc-social {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(90, 120, 180, 0.18);
  box-shadow: 0 8px 18px rgba(40, 60, 110, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.soc-social:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(40, 60, 110, 0.16);
  border-color: rgba(91, 141, 239, 0.4);
}
.soc-social img { width: 22px; height: 22px; object-fit: contain; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .soc-product { grid-template-columns: 1fr; gap: 28px; }
  /* keep the image on top for every block on mobile */
  .soc-product:nth-child(even) .soc-media { order: -1; }
  .soc-product .soc-media { order: -1; }
}
@media (max-width: 560px) {
  .soc-checks { grid-template-columns: 1fr; }
}

/* ===================== DARK THEME ===================== */
[data-theme="dark"] .soc-eyebrow {
  color: var(--accent-deep);
  background: rgba(91, 155, 245, 0.12);
  border-color: rgba(91, 155, 245, 0.3);
}
[data-theme="dark"] .soc-hero { border-bottom-color: var(--d-line); }
[data-theme="dark"] .soc-title,
[data-theme="dark"] .soc-subtitle,
[data-theme="dark"] .soc-name { color: var(--d-t1); }
[data-theme="dark"] .soc-lead,
[data-theme="dark"] .soc-desc { color: var(--d-t2); }
/* lead sits over a photo — add a dark halo so it stays readable in dark mode */
[data-theme="dark"] .soc-lead { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
[data-theme="dark"] .soc-tag { color: var(--accent-deep); }
[data-theme="dark"] .soc-media { box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6); }
[data-theme="dark"] .soc-check { color: var(--d-t2); }
[data-theme="dark"] .soc-check svg { color: var(--accent-deep); background: rgba(91, 155, 245, 0.16); }
[data-theme="dark"] .soc-checks,
[data-theme="dark"] .soc-socials { border-top-color: var(--d-line); }
/* keep app + social icons on a light chip so colored/dark logos stay crisp */
[data-theme="dark"] .soc-ic { background: rgba(255, 255, 255, 0.95); }
[data-theme="dark"] .soc-social {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--d-line-2);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

