/* =============================================================
   CELESTIAL LUXURY — UBER-STYLE HOMEPAGE
   ============================================================= */

/* Remove line under header/logo */
#header hr,
#headerimg hr,
#header + hr,
.wp-site-blocks > header + hr,
.wp-block-template-part hr:first-of-type {
  display: none !important;
}
#header,
#headerimg {
  border-bottom: none !important;
  box-shadow: none !important;
}

/* ----- Variables ----- */
#homepage-main {
  --black:      #000000;
  --white:      #ffffff;
  --gray-50:    #f6f6f6;
  --gray-100:   #eeeeee;
  --gray-400:   #999999;
  --gray-600:   #545454;
  --gray-900:   #1a1a1a;
  --radius:     8px;
  --radius-lg:  16px;
  font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
  color: var(--black);
  background: var(--white);
}

#homepage-main * { box-sizing: border-box; }

/* ----- Container ----- */
.hp-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ----- Buttons ----- */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: .01em;
}

.hp-btn--black {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.hp-btn--black:hover {
  background: var(--gray-900);
  transform: scale(1.03);
  color: var(--white);
}

.hp-btn--outline-black {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.hp-btn--outline-black:hover {
  background: var(--black);
  color: var(--white);
  transform: scale(1.03);
}

/* ----- Eyebrow label ----- */
.hp-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 16px;
}

/* ----- Arrow link ----- */
.hp-link-arrow {
  font-size: .95rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  border-bottom: 2px solid var(--black);
  padding-bottom: 2px;
  transition: opacity .2s;
}
.hp-link-arrow:hover { opacity: .6; color: var(--black); }

/* ============================================================
   HERO
   ============================================================ */
.hp-hero {
  padding: 80px 0 60px;
  background: var(--white);
  overflow: hidden;
}

.hp-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hp-hero__title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--black);
  margin: 0 0 24px;
}

.hp-hero__sub {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 420px;
  margin: 0 0 36px;
}

.hp-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero visual */
.hp-hero__visual { position: relative; }

.hp-hero__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
}

.hp-hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hp-hero__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.hp-hero__badge-num {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--black);
}
.hp-hero__badge-label {
  font-size: .75rem;
  color: var(--gray-600);
  margin-top: 2px;
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.hp-cats {
  padding: 0 0 72px;
  background: var(--white);
}

.hp-cats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hp-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.hp-cat:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}

.hp-cat--dark  { background: var(--black); color: var(--white); }
.hp-cat--light { background: var(--gray-50); color: var(--black); border: 1px solid var(--gray-100); }

.hp-cat__body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 8px;
}
.hp-cat__body p {
  font-size: .9rem;
  opacity: .7;
  margin: 0 0 20px;
}
.hp-cat__cta {
  font-size: .9rem;
  font-weight: 700;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

.hp-cat__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 24px;
}
.hp-cat--dark  .hp-cat__icon { background: rgba(255,255,255,.1); color: var(--white); }
.hp-cat--light .hp-cat__icon { background: var(--gray-100); color: var(--black); }
.hp-cat__icon svg { width: 28px; height: 28px; }

/* ============================================================
   STATS
   ============================================================ */
.hp-stats {
  padding: 64px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.hp-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.hp-stat__num {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}
.hp-stat__label {
  font-size: .85rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.hp-how {
  padding: 96px 0;
  background: var(--white);
}

.hp-how__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 56px;
}
.hp-how__header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -.025em;
  margin: 0;
}

.hp-how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.hp-step__num {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-100);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 20px;
}
.hp-step h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  margin: 0 0 10px;
}
.hp-step p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   SPLIT SECTIONS
   ============================================================ */
.hp-split {
  padding: 96px 0;
  background: var(--white);
}
.hp-split--gray { background: var(--gray-50); }

.hp-split__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hp-split--reverse .hp-split__inner {
  direction: rtl;
}
.hp-split--reverse .hp-split__inner > * {
  direction: ltr;
}

.hp-split__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  background: var(--gray-100);
}
.hp-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.hp-split__img:hover img { transform: scale(1.03); }

.hp-split__text h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin: 0 0 28px;
  color: var(--black);
}

.hp-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
}
.hp-check-list li {
  font-size: .95rem;
  color: var(--gray-600);
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hp-check-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: var(--black);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 10l4 4 6-6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.hp-testimonials {
  padding: 96px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}

.hp-testimonials__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -.025em;
  margin: 0 0 48px;
  color: var(--black);
}

.hp-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hp-tcard {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform .2s;
}
.hp-tcard:hover { transform: translateY(-4px); }

.hp-tcard--dark {
  background: var(--black);
  color: var(--white);
}

.hp-tcard__stars {
  color: #000;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
}
.hp-tcard--dark .hp-tcard__stars { color: var(--white); }

.hp-tcard p {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin: 0 0 28px;
}
.hp-tcard--dark p { color: rgba(255,255,255,.7); }

.hp-tcard__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hp-tcard__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--black);
  font-size: .8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hp-tcard--dark .hp-tcard__avatar { background: rgba(255,255,255,.15); color: var(--white); }

.hp-tcard__author strong {
  display: block;
  font-size: .9rem;
  color: var(--black);
}
.hp-tcard--dark .hp-tcard__author strong { color: var(--white); }

.hp-tcard__author span {
  font-size: .8rem;
  color: var(--gray-400);
}

/* ============================================================
   BOTTOM CTA
   ============================================================ */
.hp-cta {
  padding: 96px 0;
  background: var(--black);
}

.hp-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.hp-cta__inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -.025em;
  color: var(--white);
  margin: 0;
  max-width: 480px;
}

.hp-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hp-cta .hp-btn--black {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.hp-cta .hp-btn--black:hover { background: var(--gray-100); }

.hp-cta .hp-btn--outline-black {
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.hp-cta .hp-btn--outline-black:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
  color: var(--white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.hp-footer {
  background: var(--black);
  color: var(--white);
  padding: 72px 0 0;
}

.hp-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.hp-footer__tagline {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  margin: 16px 0 24px;
  max-width: 240px;
}

.hp-footer__socials {
  display: flex;
  gap: 14px;
}
.hp-footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.hp-footer__socials a:hover {
  border-color: var(--white);
  color: var(--white);
}
.hp-footer__socials svg { width: 16px; height: 16px; }

.hp-footer__col h5 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin: 0 0 20px;
}
.hp-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hp-footer__col ul li a {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .2s;
}
.hp-footer__col ul li a:hover { color: var(--white); }

.hp-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 12px;
}
.hp-footer__legal {
  display: flex;
  gap: 24px;
}
.hp-footer__legal a {
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color .2s;
}
.hp-footer__legal a:hover { color: var(--white); }

/* ============================================================
   RESPONSIVE — TABLET (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  .hp-container { padding: 0 24px; }

  /* Hero */
  .hp-hero { padding: 56px 0 48px; }
  .hp-hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hp-hero__visual { order: -1; }
  .hp-hero__title  { font-size: 2.4rem; }
  .hp-hero__sub    { max-width: 100%; }

  /* Categories */
  .hp-cats { padding: 0 0 56px; }
  .hp-cats__grid { grid-template-columns: 1fr; gap: 12px; }
  .hp-cat { padding: 28px 24px; }

  /* Stats */
  .hp-stats { padding: 48px 0; }
  .hp-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* How it works */
  .hp-how { padding: 64px 0; }
  .hp-how__header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hp-how__steps  { grid-template-columns: 1fr; gap: 28px; }

  /* Split */
  .hp-split { padding: 64px 0; }
  .hp-split__inner { grid-template-columns: 1fr; gap: 36px; direction: ltr !important; }
  .hp-split--reverse .hp-split__inner { direction: ltr !important; }

  /* Testimonials */
  .hp-testimonials { padding: 64px 0; }
  .hp-testimonials__grid { grid-template-columns: 1fr; gap: 16px; }

  /* CTA */
  .hp-cta { padding: 64px 0; }
  .hp-cta__inner { flex-direction: column; align-items: flex-start; }

  /* Footer */
  .hp-footer { padding: 56px 0 0; }
  .hp-footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hp-footer__brand { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .hp-container { padding: 0 16px; }

  /* Hero */
  .hp-hero { padding: 40px 0 36px; }
  .hp-hero__title { font-size: 1.9rem; letter-spacing: -.02em; }
  .hp-hero__sub   { font-size: 1rem; }
  .hp-hero__actions { flex-direction: column; width: 100%; }
  .hp-hero__actions .hp-btn { width: 100%; }
  .hp-hero__badge { padding: 10px 14px; }
  .hp-hero__badge-num { font-size: 1.2rem; }

  /* Categories */
  .hp-cats { padding: 0 0 40px; }
  .hp-cat { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .hp-cat__icon { margin-left: 0; width: 48px; height: 48px; }
  .hp-cat__body h3 { font-size: 1.2rem; }

  /* Stats */
  .hp-stats { padding: 40px 0; }
  .hp-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hp-stat__num   { font-size: 1.8rem; }

  /* How it works */
  .hp-how { padding: 48px 0; }
  .hp-how__header h2 { font-size: 1.6rem; }
  .hp-how__steps  { gap: 24px; }
  .hp-step__num   { font-size: 2.2rem; }

  /* Split */
  .hp-split { padding: 48px 0; }
  .hp-split__text h2 { font-size: 1.5rem; }
  .hp-split__text .hp-btn { width: 100%; }
  .hp-split__img  { aspect-ratio: 4/3; }

  /* Testimonials */
  .hp-testimonials { padding: 48px 0; }
  .hp-testimonials__title { font-size: 1.6rem; }
  .hp-tcard { padding: 24px 20px; }

  /* CTA */
  .hp-cta { padding: 48px 0; }
  .hp-cta__inner h2 { font-size: 1.5rem; }
  .hp-cta__actions { flex-direction: column; width: 100%; }
  .hp-cta__actions .hp-btn { width: 100%; justify-content: center; }

  /* Global button fix */
  .hp-btn { font-size: .9rem; padding: 13px 22px; }

  /* Footer */
  .hp-footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hp-footer__brand { grid-column: 1 / -1; }
  .hp-footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hp-footer__legal { gap: 16px; }
}
