/************************************************************
 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
================================ */
/* ===============================
   HERO — FULL WIDTH BREAKOUT
================================ */

.home-hero {

  /* Break out of centered container */
  width: 100vw;
  margin-left: calc(-50vw + 50%);

  min-height: 55vh;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  overflow: hidden;

  background:
  linear-gradient(
    rgba(15,23,42,0.50),
    rgba(15,23,42,0.70)
  ),
  radial-gradient(
    circle at center,
    rgba(15,23,42,0.65),
    rgba(15,23,42,0.95)
  ),
  url("https://staging.pheonixresearch.com/wp-content/uploads/2026/01/second-hero-edited-1.jpg");

  background-size: cover;
  background-position: center;

  padding: 40px 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;

  color: #ffffff;

  text-shadow:
    0 4px 20px rgba(0,0,0,0.45),
    0 2px 6px rgba(0,0,0,0.35);
}

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

.hero-lead {
  font-size: 20px;
  line-height: 1.65;
  max-width: 760px;
  margin: 0 auto 40px;

  color: rgba(255,255,255,0.95);

  text-shadow:
    0 3px 14px rgba(0,0,0,0.4);
}
/* ===============================
   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;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 36px;
}

.service-row:last-child {
  margin-bottom: 20px; /* ?? 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: 1200;
  color: #2563eb;
  text-decoration: none;
}

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

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

.service-image img {
  width: 100%;
  height: 80%;
  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: 40px 24px; 
  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;
  }

  /* =========================================
   MOBILE HERO BUTTON FIX
========================================= */

.hero-actions {
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  width: 100%;
  max-width: 320px;      /* keeps it elegant */
  text-align: center;
  padding: 14px 20px;
  font-size: 15px;
  border-radius: 8px;
}



}


/* ===============================
   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: 40px;
  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;
}

.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);
}

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

html {
  scroll-behavior: smooth;
}





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

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

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

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

.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");
  }
}




/* =========================================================
   RECENT PUBLICATIONS — EXECUTIVE STRIP
   Structured. Curated. Authoritative.
========================================================= */

.home-recent-publications {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 40px 60px;
  position: relative;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fafc 100%
    );

  border-top: 1px solid rgba(15,23,42,0.06);
  border-bottom: 1px solid rgba(15,23,42,0.06);
  overflow: hidden;
}

/* Ambient authority glow */
.home-recent-publications::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(37,99,235,0.06),
    transparent 70%
  );
  top: -200px;
  right: -200px;
  pointer-events: none;
}

/* ===============================
   HEADER
================================ */

.home-recent-publications .recent-header {
  text-align: center;
  margin-bottom: 60px;
}

.home-recent-publications h2 {
  font-size: 42px;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin-bottom: 16px;
  position: relative;
}

/* Subtle divider line */
.home-recent-publications h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin: 18px auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    #2563eb,
    transparent
  );
  opacity: 0.7;
}

/* ===============================
   SWIPER WRAPPER
================================ */

.recent-swiper {
  padding: 20px 50px 50px;
}

/* ===============================
   CARD
================================ */

.recent-card {
  display: block;
  text-decoration: none;
  height: 100%;
}

.recent-card-inner {
  position: relative;
  border-radius: 18px;
  padding: 32px;
  height: 260px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f1f5f9
    );

  border: 1px solid rgba(15,23,42,0.06);
  box-shadow:
    0 10px 30px rgba(15,23,42,0.06);

  transition: all 0.3s ease;
  overflow: hidden;
}

/* Top intelligence accent */
.recent-card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(
    90deg,
    #2563eb,
    #22d3ee
  );
  opacity: 0.9;
}

/* Soft internal glow */
.recent-card-inner::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(37,99,235,0.07),
    transparent 70%
  );
  top: -100px;
  right: -100px;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Hover refinement */
.recent-card-inner:hover {
  transform: translateY(-8px);
  box-shadow:
    0 24px 60px rgba(15,23,42,0.15);
  border-color: rgba(37,99,235,0.2);
}

.recent-card-inner:hover::after {
  opacity: 1;
}

/* ===============================
   TITLE
================================ */

.recent-card h3 {
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  color: #0f172a;
  transition: color 0.2s ease;
}

.recent-card-inner:hover h3 {
  color: #1d4ed8;
}

/* ===============================
   META
================================ */

.recent-meta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #64748b;
}

/* ===============================
   NAVIGATION ARROWS
================================ */

.swiper-button-prev,
.swiper-button-next {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: #0f172a;

  box-shadow:
    0 8px 24px rgba(15,23,42,0.12);

  transition: all 0.25s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: #2563eb;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 16px 36px rgba(37,99,235,0.35);
}




/* =========================================
   SWIPER ARROWS — LIGHT / HOVER ACTIVATED
========================================= */

.home-recent-publications .swiper-button-prev,
.home-recent-publications .swiper-button-next {

  width: 38px;
  height: 38px;
  border-radius: 50%;

  background: rgba(255,255,255,0.25);   /* very light */
  backdrop-filter: blur(4px);

  color: rgba(15,23,42,0.5);            /* softer icon */

  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: none;

  transition: all 0.25s ease;
}

/* Smaller arrow icon */
.home-recent-publications .swiper-button-prev::after,
.home-recent-publications .swiper-button-next::after {
  font-size: 14px;
  font-weight: 600;
}

/* Hover = visible + active */
.home-recent-publications .swiper-button-prev:hover,
.home-recent-publications .swiper-button-next:hover {

  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;

  box-shadow: 0 12px 30px rgba(37,99,235,0.35);
}







/* =========================================
   MOBILE — RECENT PUBLICATIONS (FINAL)
   Swiper-controlled layout
========================================= */

@media (max-width: 900px) {

  /* Section spacing tighter */
  .home-recent-publications {
    padding: 55px 18px;
  }

  /* Heading scale */
  .home-recent-publications h2 {
    font-size: 28px;
    margin-bottom: 32px;
  }

  /* Swiper container spacing */
  .recent-swiper {
    padding: 0 8px 28px;
  }

  /* Card refinement */
  .recent-card-inner {
    height: auto;              /* remove fixed desktop height */
    min-height: 200px;
    padding: 20px;
    border-radius: 14px;
  }

  /* Typography adjustments */
  .recent-card h3 {
    font-size: 16px;
    line-height: 1.4;
  }

  .recent-meta {
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  /* Soften hover behavior on mobile */
  .recent-card-inner:hover {
    transform: none;
    box-shadow: 0 12px 28px rgba(15,23,42,0.12);
  }

  /* Smaller arrows for touch devices */
  .swiper-button-prev,
  .swiper-button-next {
    width: 34px;
    height: 34px;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 14px;
  }

}




/* =========================================
   FORCE MOBILE HERO BUTTON STACK
========================================= */


@media (max-width: 900px) {

  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;   /* center horizontally */
    gap: 14px;
    width: 100%;
    margin-top: 16px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    max-width: 320px;   /* controls button width */
    text-align: center;
  }

}








