/* ============================================================
   AppLuxe Homepage Widgets CSS — homepage.css
   Covers: alhp-* classes for all 10 section widgets
   Font: --font-head (Syne) / --font-body (DM Sans) from :root
   ============================================================ */

/* ── BASE — inherit global font variables ────────────────── */
.alhp, .alhp-sec, .alhp-hero, .alhp-cta,
.alhp-intro, .alhp-core, .alhp-svc, .alhp-blog,
.alhp-trust, .alhp-cl, .alhp-kt, .alhp-faq {
  font-family: var(--font-body);
  line-height: 1.6;
  color: #1a1a1a;
}

.alhp *, .alhp-sec *, .alhp-hero *, .alhp-cta * { box-sizing: border-box; }

/* Container */
.alhp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.alhp-sec  { padding: 60px 0; }

/* ── Shared section head ─────────────────────────────────── */
.alhp-sec-head  { text-align: center; margin-bottom: 50px; }
.alhp-sec-lbl   { display: inline-block; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px; }
.alhp-sec-h2    { font-family: var(--font-head); font-size: clamp(25px, 3vw, 38px); font-weight: 800; color: #0d0d0d; margin: 0 0 12px; letter-spacing: -.02em; line-height: 1.2; }
.alhp-sec-sub   { font-family: var(--font-body); font-size: 17px; color: #6b7280; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ── Shared buttons ──────────────────────────────────────── */
.alhp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: .22s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}
.alhp-btn-red       { color: #fff; }
.alhp-btn-red:hover { filter: brightness(1.08); transform: translateY(-2px); color: #fff; text-decoration: none; }
.alhp-btn-outline-w { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.alhp-btn-outline-w:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-2px); color: #fff; text-decoration: none; }
.alhp-btn-white     { background: #fff; color: #0d0d0d; }
.alhp-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18); color: #0d0d0d; text-decoration: none; }
.alhp-btn-ghost-w   { background: transparent; color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.35); border-style: solid; }
.alhp-btn-ghost-w:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.8); color: #fff; transform: translateY(-2px); text-decoration: none; }

/* ══ S1: HERO ═══════════════════════════════════════════════ */
.alhp-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.alhp-hero-ov   { position: absolute; inset: 0; z-index: 1; }
.alhp-hero-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 180px; background: linear-gradient(to bottom, transparent, rgba(0,0,0,.5)); z-index: 1; }
.alhp-hero-in   { position: relative; z-index: 2; padding-top: 100px; padding-bottom: 60px; }

.alhp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid;
  padding: 7px 18px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 24px;
}

.alhp-h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 5vw, 62px);
  font-weight: 800;
  color: #fff;
  max-width: 780px;
  margin: 0 0 20px;
  text-shadow: 0 2px 32px rgba(0,0,0,.3);
  letter-spacing: -.025em;
  line-height: 1.1;
}
.alhp-hero-sub { font-family: var(--font-body); font-size: clamp(15px, 2vw, 19px); color: rgba(255,255,255,.82); max-width: 600px; margin: 0 0 36px; line-height: 1.7; }
.alhp-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.alhp-stats      { position: relative; z-index: 2; background: rgba(255,255,255,.07); backdrop-filter: blur(16px); border-top: 1px solid rgba(255,255,255,.1); }
.alhp-stats-in   { display: flex; align-items: center; flex-wrap: wrap; padding: 20px 40px; }
.alhp-stat       { display: flex; flex-direction: column; padding: 8px 40px 8px 0; }
.alhp-stat:not(:first-of-type) { padding-left: 40px; border-left: 1px solid rgba(255,255,255,.18); }
.alhp-stat-n     { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: #fff; line-height: 1; }
.alhp-stat-l     { font-family: var(--font-body); font-size: 12px; color: rgba(255,255,255,.6); margin-top: 4px; }
.alhp-stat-div   { width: 1px; height: 32px; background: rgba(255,255,255,.2); }

/* ══ S2: INTRO ══════════════════════════════════════════════ */
.alhp-intro { background: #fff; border-bottom: 1px solid #e5e7eb; }
.alhp-intro-in { display: flex; gap: 28px; align-items: flex-start; max-width: 920px; margin: 0 auto; }
.alhp-intro-bar { width: 4px; min-height: 70px; border-radius: 4px; flex-shrink: 0; align-self: stretch; }
.alhp-intro-txt { font-family: var(--font-body); font-size: 19px; color: #374151; line-height: 1.8; }
.alhp-intro-txt p { margin: 0 0 12px; }
.alhp-intro-txt p:last-child { margin: 0; }
.alhp-intro-txt strong { color: #0d0d0d; }

/* ══ S3: CORE CONTENT ═══════════════════════════════════════ */
.alhp-core { background: #f8f9fb; }
.alhp-core-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 14px; }
.alhp-core-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 34px 30px; transition: transform .22s, box-shadow .22s; }
.alhp-core-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(0,0,0,.1); }
.alhp-core-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.alhp-core-num  { font-family: var(--font-body); font-size: 10px; font-weight: 800; letter-spacing: 2px; padding: 4px 10px; border-radius: 50px; }
.alhp-core-icon { font-size: 22px; }
.alhp-core-h2   { font-family: var(--font-head); font-size: 21px; font-weight: 800; color: #0d0d0d; margin: 0 0 14px; line-height: 1.3; }
.alhp-core-body { font-family: var(--font-body); font-size: 15px; color: #4b5563; line-height: 1.75; }
.alhp-core-body p  { margin: 0 0 10px; }
.alhp-core-body ul { padding-left: 18px; list-style: disc; margin: 0 0 10px; }
.alhp-core-body li { margin-bottom: 6px; }
.alhp-core-body strong { color: #1a1a1a; font-weight: 600; }

/* ══ S4: SERVICES ═══════════════════════════════════════════ */
.alhp-svc { background: #fff; }
.alhp-svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 880px; margin: 0 auto; }
.alhp-svc-card { background: #fff; border: 2px solid #e5e7eb; border-radius: 14px; padding: 38px 34px; position: relative; transition: transform .22s, box-shadow .22s; display: flex; flex-direction: column; gap: 22px; }
.alhp-svc-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.alhp-svc-featured { box-shadow: 0 4px 28px rgba(255,59,59,.12); }
.alhp-svc-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-family: var(--font-body); font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; padding: 5px 18px; border-radius: 50px; white-space: nowrap; }
.alhp-svc-top { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.alhp-svc-title { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: #0d0d0d; margin: 0; }
.alhp-svc-amt   { font-family: var(--font-head); font-size: 40px; font-weight: 800; line-height: 1; display: block; }
.alhp-svc-per   { font-family: var(--font-body); font-size: 13px; color: #9ca3af; }
.alhp-svc-pts   { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.alhp-svc-pts li { font-family: var(--font-body); display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: #374151; line-height: 1.5; }
.alhp-svc-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 10px; font-family: var(--font-body); font-size: 15px; font-weight: 700; text-decoration: none; border: 2px solid; transition: .22s; cursor: pointer; }
.alhp-svc-btn:hover { filter: brightness(.93); transform: translateY(-1px); text-decoration: none; }

/* ══ S5: BLOG ═══════════════════════════════════════════════ */
.alhp-blog { background: #f8f9fb; }
.alhp-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.alhp-blog-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: transform .22s, box-shadow .22s; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.alhp-blog-card:hover { transform: translateY(-5px); box-shadow: 0 14px 32px rgba(0,0,0,.1); }
.alhp-blog-img-w { position: relative; height: 172px; overflow: hidden; display: block; }
.alhp-blog-img-w img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.alhp-blog-card:hover .alhp-blog-img-w img { transform: scale(1.06); }
.alhp-blog-badge { position: absolute; top: 12px; left: 12px; color: #fff; font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 4px 10px; border-radius: 50px; }
.alhp-blog-body  { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.alhp-blog-title { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: #0d0d0d; line-height: 1.4; margin: 0 0 9px; }
.alhp-blog-title a { color: inherit; text-decoration: none; transition: color .2s; }
.alhp-blog-card:hover .alhp-blog-title a { color: var(--ac, #ff3b3b); }
.alhp-blog-exc  { font-family: var(--font-body); font-size: 13px; color: #6b7280; line-height: 1.65; margin: 0 0 14px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.alhp-blog-ft   { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f0f0f0; padding-top: 12px; margin-top: auto; flex-wrap: wrap; gap: 6px; }
.alhp-blog-meta { font-family: var(--font-body); font-size: 11px; color: #9ca3af; }
.alhp-blog-rm   { font-family: var(--font-body); font-size: 12px; font-weight: 700; text-decoration: none; transition: opacity .2s; }
.alhp-blog-rm:hover { opacity: .75; text-decoration: none; }

/* ══ S6: TRUST ══════════════════════════════════════════════ */
.alhp-trust { background: #0d0d0d; }
.alhp-trust-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.alhp-trust-h2  { font-family: var(--font-head); font-size: clamp(21px, 2.8vw, 34px); font-weight: 800; color: #fff; margin: 0 0 18px; line-height: 1.2; }
.alhp-trust-body { font-family: var(--font-body); font-size: 16px; color: rgba(255,255,255,.68); line-height: 1.8; }
.alhp-trust-body p { margin: 0 0 14px; }
.alhp-trust-body strong { color: rgba(255,255,255,.95); }
.alhp-pillars { display: flex; flex-direction: column; gap: 14px; }
.alhp-pillar { display: flex; gap: 18px; align-items: flex-start; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 20px 22px; transition: background .22s; }
.alhp-pillar:hover { background: rgba(255,255,255,.07); }
.alhp-pillar-icon { font-size: 26px; flex-shrink: 0; line-height: 1; }
.alhp-pillar-info { display: flex; flex-direction: column; gap: 4px; }
.alhp-pillar-info strong { font-family: var(--font-body); color: #fff; font-size: 15px; font-weight: 700; }
.alhp-pillar-info span   { font-family: var(--font-body); color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.6; }

/* ══ S7: CHECKLIST ══════════════════════════════════════════ */
.alhp-cl { background: #fff; }
.alhp-cl-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.alhp-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.alhp-cl-item { display: flex; align-items: flex-start; gap: 16px; font-family: var(--font-body); font-size: 16px; color: #374151; line-height: 1.6; }
.alhp-cl-num  { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-family: var(--font-body); font-size: 13px; font-weight: 800; flex-shrink: 0; margin-top: 2px; }

/* ══ S8: KEY TAKEAWAYS ══════════════════════════════════════ */
.alhp-kt { background: #f8f9fb; }
.alhp-kt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.alhp-kt-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 26px 22px; display: flex; gap: 16px; align-items: flex-start; transition: transform .22s, box-shadow .22s; }
.alhp-kt-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.alhp-kt-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.alhp-kt-txt  { font-family: var(--font-body); font-size: 15px; color: #374151; line-height: 1.65; margin: 0; padding-top: 4px; }

/* ══ S9: FAQ ════════════════════════════════════════════════ */
.alhp-faq { background: #fff; }
.alhp-faq-list { max-width: 800px; margin: 0 auto; }
.alhp-faq-item { border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; margin-bottom: 10px; transition: box-shadow .22s; }
.alhp-faq-item.is-open { box-shadow: 0 4px 20px rgba(0,0,0,.08); border-color: var(--ac, #ff3b3b); }
.alhp-faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: #fff; border: none; cursor: pointer; text-align: left; font-family: var(--font-body); font-size: 16px; font-weight: 600; color: #1a1a1a; line-height: 1.5; transition: background .22s, color .22s; }
.alhp-faq-q:hover, .alhp-faq-item.is-open .alhp-faq-q { background: #fafafa; color: var(--ac, #ff3b3b); }
.alhp-faq-icon { flex-shrink: 0; display: flex; color: #9ca3af; transition: transform .3s, color .22s; }
.alhp-faq-item.is-open .alhp-faq-icon { transform: rotate(180deg); color: var(--ac, #ff3b3b); }
.alhp-faq-a  { max-height: 0; overflow: hidden; transition: max-height .38s cubic-bezier(.4,0,.2,1); }
.alhp-faq-item.is-open .alhp-faq-a { max-height: 500px; }
.alhp-faq-ai { padding: 18px 24px 22px; border-top: 1px solid #f0f0f0; font-family: var(--font-body); font-size: 15px; color: #6b7280; line-height: 1.75; }

/* ══ S10: FINAL CTA ═════════════════════════════════════════ */
.alhp-cta { position: relative; overflow: hidden; padding: 80px 0; }
.alhp-cta-glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 700px; height: 300px; pointer-events: none; }
.alhp-cta-in   { position: relative; z-index: 2; text-align: center; }
.alhp-cta-h2   { font-family: var(--font-head); font-size: clamp(26px, 4vw, 52px); color: #fff; margin: 0 0 18px; letter-spacing: -.02em; line-height: 1.15; }
.alhp-cta-sub  { font-family: var(--font-body); font-size: 18px; color: rgba(255,255,255,.75); max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }
.alhp-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — HOMEPAGE WIDGETS
══════════════════════════════════════════════════════════ */

/* Large tablet */
@media (max-width: 1024px) {
  .alhp-core-grid  { grid-template-columns: 1fr; }
  .alhp-trust-in   { grid-template-columns: 1fr; gap: 40px; }
  .alhp-cl-in      { grid-template-columns: 1fr; gap: 36px; }
  .alhp-kt-grid    { grid-template-columns: repeat(2, 1fr); }
  .alhp-svc-grid   { max-width: 100%; }
}

/* Tablet / mobile landscape */
@media (max-width: 768px) {
  .alhp-wrap       { padding: 0 20px; }
  .alhp-sec        { padding: 48px 0; }

  /* Hero */
  .alhp-hero-in    { padding-top: 68px; padding-bottom: 44px; }
  .alhp-h1         { font-size: clamp(26px, 7vw, 38px); }
  .alhp-hero-ctas  { flex-direction: column; align-items: flex-start; }
  .alhp-stats-in   { padding: 16px 20px; }
  .alhp-stat       { padding: 6px 14px 6px 0; }
  .alhp-stat:not(:first-of-type) { padding-left: 14px; }
  .alhp-stat-div   { display: none; }
  .alhp-stat-n     { font-size: 22px; }

  /* Intro bar becomes horizontal on mobile */
  .alhp-intro-in   { flex-direction: column; gap: 12px; }
  .alhp-intro-bar  { width: 48px; height: 4px; min-height: auto; align-self: auto; }
  .alhp-intro-txt  { font-size: 16px; }

  /* Grids → single column */
  .alhp-blog-grid  { grid-template-columns: 1fr; }
  .alhp-svc-grid   { grid-template-columns: 1fr; }
  .alhp-kt-grid    { grid-template-columns: 1fr; }

  /* CTA */
  .alhp-cta-btns   { flex-direction: column; align-items: center; }
  .alhp-btn        { width: 100%; max-width: 300px; justify-content: center; }

  /* Checklist: full width */
  .alhp-cl-in      { grid-template-columns: 1fr; gap: 30px; }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .alhp-h1         { font-size: 24px; }
  .alhp-sec-h2     { font-size: 22px; }
  .alhp-core-card  { padding: 22px 18px; }
  .alhp-svc-card   { padding: 28px 22px; }
  .alhp-svc-top    { flex-direction: column; gap: 4px; }
  .alhp-trust-in   { gap: 32px; }
  .alhp-faq-q      { padding: 16px 18px; font-size: 14px; }
  .alhp-faq-ai     { padding: 14px 18px 18px; }
  .alhp-cta-h2     { font-size: 24px; }
  .alhp-cta-sub    { font-size: 15px; }
  .alhp-kt-grid    { grid-template-columns: 1fr; }
}
