/************************************************************
 PHOENIX — HOME PAGE (POLISHED)
 Executive consulting-grade finish
************************************************************/

/* ===============================
   GLOBAL
================================ */
.phoenix-home {
  background: #ffffff;
  color: #0f172a;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.phoenix-home * {
  box-sizing: border-box;
}

.phoenix-home h1,
.phoenix-home h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.02em;
}

/* ===============================
   HERO
================================ */
.home-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(15,23,42,0.86), rgba(15,23,42,0.86)),
    url("https://staging.pheonixresearch.com/wp-content/uploads/2026/01/second-hero-edited-1.jpg");
  background-size: cover;
  background-position: center;
  padding: 120px 24px;
}

.hero-inner {
  max-width: 900px;
  text-align: center;
  color: #ffffff;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 26px;
}

.hero-inner h1 {
  font-size: 62px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-inner h1 span {
  color: #93c5fd;
}

.hero-lead {
  font-size: 19px;
  line-height: 1.65;
  max-width: 760px;
  margin: 0 auto 40px;
  color: rgba(255,255,255,0.9);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
}

/* ===============================
   BUTTONS
================================ */
.btn-primary,
.btn-secondary {
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.35);
  color: #ffffff;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

/* ===============================
   SERVICES SECTION (FIXED GAP)
================================ */
.services-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 24px 80px; /* ?? reduced bottom padding */
}

.service-row {
  display: flex;
  align-items: center;
  gap: 72px;
  margin-bottom: 96px; /* ?? was 140px */
}

.service-row:last-child {
  margin-bottom: 40px; /* ?? critical fix */
}

.service-row.reverse {
  flex-direction: row-reverse;
}

.service-text {
  flex: 1;
}

.service-text h2 {
  font-size: 38px;
  margin-bottom: 18px;
}

.service-text p {
  font-size: 18px;
  line-height: 1.65;
  color: #1f2937;
  margin-bottom: 20px;
}

.service-text ul {
  padding-left: 20px;
  margin-bottom: 22px;
}

.service-text li {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 6px;
}

.text-link {
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* ===============================
   SERVICE IMAGES (POLISHED)
================================ */
.service-image {
  flex: 1;
}

.service-image img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.16);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image img:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px rgba(0,0,0,0.22);
}

/* ===============================
   WHY SECTION (TIGHTER)
================================ */
.home-why {
  background: linear-gradient(#f8fafc, #ffffff);
  padding: 90px 24px; /* ?? reduced */
  text-align: center;
  border-top: 1px solid rgba(15,23,42,0.08);
}

.home-why h2 {
  font-size: 40px;
  margin-bottom: 30px;
}

.home-why ul {
  max-width: 760px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.home-why li {
  font-size: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(15,23,42,0.12);
}

.home-why li:last-child {
  border-bottom: none;
}

/* ===============================
   CTA (STRONG CLOSE)
================================ */
.home-cta {
  padding: 110px 24px;
  text-align: center;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
}

.home-cta h2 {
  font-size: 44px;
  margin-bottom: 24px;
}

.home-cta p {
  font-size: 19px;
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 38px;
  color: rgba(255,255,255,0.85);
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 900px) {

  .hero-inner h1 {
    font-size: 42px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .service-row,
  .service-row.reverse {
    flex-direction: column;
    gap: 36px;
    margin-bottom: 72px;
  }

  .service-text h2 {
    font-size: 30px;
  }

  .home-why h2,
  .home-cta h2 {
    font-size: 32px;
  }
}


/* ===============================
   CTA — PREMIUM POLISH
================================ */

.home-cta {
  position: relative;
  overflow: hidden;
}

/* Soft ambient glow blobs */
.home-cta::before,
.home-cta::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.25;
  z-index: 0;
}

.home-cta::before {
  background: #2563eb;
  top: -120px;
  left: -120px;
}

.home-cta::after {
  background: #22d3ee;
  bottom: -120px;
  right: -120px;
}

/* Keep content above effects */
.home-cta > * {
  position: relative;
  z-index: 2;
}

/* CTA button — elevated */
.home-cta .btn-primary {
  font-size: 17px;
  padding: 18px 34px;
  border-radius: 999px;
  box-shadow:
    0 10px 30px rgba(37,99,235,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.12);
  transition: all 0.25s ease;
}

.home-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 46px rgba(37,99,235,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.18);
}

/* ===============================
   TEXT-ONLY SECTION EMPHASIS
================================ */

.home-why {
  position: relative;
}

/* Subtle vertical accent line */
.home-why::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    #2563eb,
    transparent
  );
  opacity: 0.6;
}

/* Card-like list refinement */
.home-why ul {
  margin-top: 48px;
}

.home-why li {
  background: #ffffff;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 14px;
  box-shadow:
    0 6px 18px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-why li:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 26px rgba(0,0,0,0.08);
}


/* ===============================
   GLOBAL HOME POLISH
================================ */

.phoenix-home {
  --section-gap: clamp(72px, 8vw, 110px);
}

.phoenix-home section {
  scroll-margin-top: 90px;
}

.phoenix-home h1,
.phoenix-home h2 {
  letter-spacing: -0.02em;
}

.phoenix-home p {
  line-height: 1.7;
  color: #334155;
}


/* ===============================
   SERVICE BLOCK POLISH
================================ */

.service-row {
  position: relative;
  padding: 60px 0;
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 20%,
    rgba(37,99,235,0.04),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-row:hover::before {
  opacity: 1;
}

/* Text refinement */
.service-text h2 {
  margin-bottom: 16px;
}

.service-text ul li {
  position: relative;
  padding-left: 20px;
}

.service-text ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: bold;
}

/* ===============================
   IMAGE PRESENTATION
================================ */

.service-image img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-row:hover .service-image img {
  transform: scale(1.015);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.18);
}

/* ===============================
   TEXT LINK UPGRADE
================================ */

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.text-link::after {
  content: "?";
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* ===============================
   TEXT LINK UPGRADE
================================ */

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.text-link::after {
  content: "?";
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* ===============================
   SCROLL POLISH
================================ */

html {
  scroll-behavior: smooth;
}





/* ==================================
   VERTICAL COMPRESSION
================================== */

.services-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.service-row {
  padding: 48px 0;
}

.home-why {
  padding-top: 72px;
  padding-bottom: 72px;
}

.home-cta {
  padding-top: 80px;
  padding-bottom: 80px;
}


/* ==================================
   SECTION SEPARATORS
================================== */

.services-section::before,
.home-why::before,
.home-cta::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(15,23,42,0.08),
      transparent
    );
  margin-bottom: 64px;
}

/* ==================================
   MICRO TEXTURE (VERY SUBTLE)
================================== */

.phoenix-home {
  background-image:
    radial-gradient(
      rgba(15,23,42,0.03) 1px,
      transparent 1px
    );
  background-size: 40px 40px;
}

/* ==================================
   IMAGE ANCHORING
================================== */

.service-image {
  background:
    linear-gradient(
      135deg,
      rgba(37,99,235,0.04),
      transparent 60%
    );
  padding: 16px;
  border-radius: 18px;
}


/* ==================================
   CTA SEPARATION
================================== */

.home-cta {
  position: relative;
  background:
    linear-gradient(
      135deg,
      #0f172a,
      #020617
    );
}

.home-cta h2,
.home-cta p {
  color: #f8fafc;
}




/* ==================================
   MOBILE HERO — STRUCTURAL FIX
================================== */

@media (max-width: 768px) {

  .home-hero {
    min-height: auto;
    padding: 88px 20px 72px;
    background-position: center top;
  }

  .hero-inner {
    max-width: 100%;
    padding: 0;
  }
}

@media (max-width: 768px) {

  .hero-inner h1 {
    font-size: 36px;
    line-height: 1.12;
    margin-bottom: 18px;
  }

  .hero-inner h1 span {
    display: inline-block;
    margin-top: 6px;
    font-size: 38px;
  }
}



@media (max-width: 768px) {

  .hero-badge {
    font-size: 13px;
    padding: 6px 14px;
    margin-bottom: 18px;
    opacity: 0.95;
  }
}
@media (max-width: 768px) {

  .hero-badge {
    font-size: 13px;
    padding: 6px 14px;
    margin-bottom: 18px;
    opacity: 0.95;
  }
}


@media (max-width: 768px) {

  .hero-lead {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 28px;
    color: rgba(255,255,255,0.92);
  }
}

@media (max-width: 768px) {

  .home-hero {
    background:
      linear-gradient(
        rgba(15,23,42,0.9),
        rgba(15,23,42,0.9)
      ),
      url("https://staging.pheonixresearch.com/wp-content/uploads/2026/01/second-hero-edited-1.jpg");
  }
}







