/* Home page: its own clean responsive layout */
.home-page { margin:0; min-height:100vh; display:flex; flex-direction:column; color:#1f1f1f; background:
  radial-gradient(circle at 10% 30%, rgba(240,170,180,.35) 0, transparent 35%),
  radial-gradient(circle at 90% 60%, rgba(170,200,255,.4) 0, transparent 38%), #faf6f4; }
.home-wrap { width:100%; max-width:1200px; margin:0 auto; padding:0 20px; }

.home-top { position:sticky; top:0; z-index:20; background:rgba(255,255,255,.72); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom:1px solid rgba(0,0,0,.06); }
.home-top .home-wrap { display:flex; align-items:center; justify-content:space-between; height:64px; }
.home-brand { display:flex; align-items:center; gap:10px; font-weight:800; color:#741f2b; text-decoration:none; font-size:14px; letter-spacing:.04em; }
.home-brand img { width:38px; height:38px; border-radius:50%; object-fit:contain; }
.home-nav { display:flex; align-items:center; gap:18px; font-size:14px; font-weight:600; }
.home-nav a { color:#2a2a2a; text-decoration:none; }
.home-nav .home-pill { background:#741f2b; color:#fff; padding:9px 16px; border-radius:999px; }

.home-hero { color:#fff; padding:52px 0 44px; background:
  linear-gradient(120deg, rgba(60,14,22,.92), rgba(116,31,43,.8)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1800&q=80') center / cover no-repeat; }
.home-kicker { font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; opacity:.85; margin:0 0 14px; }
.home-hero h1 { font-size:clamp(30px,5vw,54px); line-height:1.12; margin:0 0 14px; max-width:760px; }
.home-lead { font-size:clamp(16px,2vw,18px); line-height:1.6; max-width:600px; opacity:.92; margin:0 0 24px; }
.home-actions { display:flex; flex-wrap:wrap; gap:12px; }
.home-btn { display:inline-block; padding:13px 22px; border-radius:999px; font-weight:700; font-size:15px; text-decoration:none; }
.home-btn-light { background:#fff; color:#741f2b; }
.home-btn-outline { border:1.5px solid rgba(255,255,255,.75); color:#fff; }
.home-btn-dark { background:#741f2b; color:#fff; }
.home-points { list-style:none; padding:0; margin:32px 0 0; display:grid; grid-template-columns:1fr; gap:12px; }
.home-points li { background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22); border-radius:16px; padding:16px 18px; display:grid; gap:4px; }
.home-points strong { font-size:15px; }
.home-points span { font-size:14px; opacity:.9; line-height:1.5; }

.home-section { padding:40px 0; }
.home-head { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:18px; }
.home-head h2 { font-size:24px; margin:0; }
.home-head a { color:#741f2b; font-weight:700; text-decoration:none; font-size:14px; }
.home-cats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.home-cat { position:relative; display:block; aspect-ratio:1 / 1; border-radius:18px; overflow:hidden; box-shadow:0 10px 28px rgba(31,38,135,.14); }
.home-cat img { width:100%; height:100%; object-fit:cover; display:block; }
.home-cat span { position:absolute; left:10px; right:10px; bottom:10px; background:rgba(255,255,255,.92); color:#1f1f1f; font-weight:800; font-size:13px; padding:8px 10px; border-radius:12px; }

.home-steps { display:grid; grid-template-columns:1fr; gap:16px; }
.home-card { border-radius:20px; padding:24px; border:1px solid rgba(255,255,255,.9); box-shadow:0 10px 30px rgba(31,38,135,.10); }
.home-card-photo { background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(255,255,255,.72)), url('https://images.unsplash.com/photo-1547592180-85f173990554?auto=format&fit=crop&w=800&q=80') center / cover no-repeat; }
.home-card-dark { color:#fff; border-color:rgba(255,255,255,.1); background: linear-gradient(160deg, rgba(20,20,28,.84), rgba(20,20,28,.94)), url('https://images.unsplash.com/photo-1542291026-7eec264c27ff?auto=format&fit=crop&w=800&q=80') center / cover no-repeat; }
.home-label { font-size:12px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:#741f2b; margin:0 0 6px; }
.home-card-dark .home-label { color:#f2c6cc; }
.home-card h2 { font-size:22px; margin:0 0 12px; }
.home-card ol { padding-left:20px; margin:0 0 20px; line-height:1.7; font-size:15px; }
.home-card-dark .home-btn-light { background:#fff; color:#1f1f1f; }

.home-cta { text-align:center; color:#fff; border-radius:24px; padding:40px 24px; background: linear-gradient(120deg, rgba(116,31,43,.92), rgba(60,14,22,.95)), url('https://images.unsplash.com/photo-1553062407-98eeb64c6a62?auto=format&fit=crop&w=800&q=80') center / cover no-repeat; }
.home-cta h2 { margin:0 0 8px; font-size:26px; }
.home-cta p { margin:0 0 22px; opacity:.92; }
.home-cta .home-actions { justify-content:center; }
.home-cta-spacer { height:40px; }

.home-foot { background:#1f1f1f; color:#d6d6d6; padding:40px 0; margin-top:auto; }
.home-foot-grid { display:grid; grid-template-columns:1fr; gap:26px; font-size:14px; }
.home-foot a { display:block; color:#d6d6d6; text-decoration:none; margin-bottom:8px; }
.home-foot-title { font-weight:800; color:#fff; margin:0 0 10px; }
.home-foot p { margin:0 0 8px; line-height:1.6; }

@media (min-width:600px) {
  .home-cats { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
  .home-points { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .home-steps { grid-template-columns:1fr 1fr; gap:20px; }
  .home-foot-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:900px) {
  .home-hero { padding:84px 0 68px; }
  .home-section { padding:60px 0; }
  .home-card { padding:32px; }
  .home-foot-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}

/* Dark theme for the home page */
html.dark-theme .home-page { background:#101015; color:#e8e8ee; }
html.dark-theme .home-top { background:rgba(20,20,26,.88); border-color:rgba(255,255,255,.08); }
html.dark-theme .home-nav a, html.dark-theme .home-brand { color:#f2f2f6; }
html.dark-theme .home-head h2, html.dark-theme .home-card h2 { color:#f4f4f8; }
html.dark-theme .home-card:not(.home-card-dark) { background:rgba(32,32,42,.86); color:#e8e8ee; border-color:rgba(255,255,255,.1); }
html.dark-theme .home-card:not(.home-card-dark) ol { color:#dcdce6; }
html.dark-theme .home-head a, html.dark-theme .home-label { color:#ffb3bd; }

/* ===== Full-width hero with a visible photo background ===== */
.home-page main { width: 100%; max-width: none; margin: 0; padding: 0; }
.home-hero {
  width: 100%;
  background-color: #5c1721;
  background-image:
    linear-gradient(115deg, rgba(40,8,14,.78) 0%, rgba(92,23,33,.6) 55%, rgba(40,8,14,.35) 100%),
    url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 72px 0 56px;
}
.home-hero .home-wrap { max-width: 1200px; }
.home-hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,.35); }

/* Header: keep labels on one line */
.home-top .home-wrap { height: auto; min-height: 64px; padding-top: 10px; padding-bottom: 10px; gap: 12px; }
.home-brand { flex: 0 1 auto; min-width: 0; }
.home-brand span { white-space: nowrap; font-size: 13px; }
.home-nav { flex: 0 0 auto; gap: 14px; }
.home-nav a { white-space: nowrap; }
.home-nav .home-pill { padding: 8px 14px; }

@media (max-width: 380px) {
  .home-brand img { width: 32px; height: 32px; }
  .home-brand span { font-size: 12px; }
  .home-nav { gap: 10px; font-size: 13px; }
}
