/* mannse.in — premium warm brand system
   Deep plum + gold on ivory. Mobile-first, fully responsive. */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --plum: #6b1f2e;
  --plum-deep: #471420;
  --plum-ink: #38101b;
  --gold: #c9962e;
  --gold-soft: #e9b95c;
  --saffron: #e8930c;
  --cream: #fdf9f2;
  --cream-dark: #f6ecda;
  --paper: #ffffff;
  --ink: #2c2320;
  --muted: #85716a;
  --line: #f0e3cb;
  --shadow-sm: 0 2px 8px rgba(107, 31, 46, .07);
  --shadow-md: 0 10px 28px rgba(107, 31, 46, .12);
  --radius: 1rem;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Main content area: breathing room before the footer; flow-root contains floats */
main { display: flow-root; padding-bottom: 1.5rem; }

h1, h2, h3, h4, h5 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--plum-ink);
}

/* ---------- Navbar ---------- */
.navbar-manse {
  background: linear-gradient(120deg, var(--plum-deep) 0%, var(--plum) 70%, #7d2740 100%);
  box-shadow: 0 4px 18px rgba(56, 16, 27, .35);
  padding-top: .55rem;
  padding-bottom: .55rem;
}
.navbar-manse .brand-logo { height: 40px; width: auto; }
.navbar-manse .nav-link {
  color: #f3e4cf;
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem .8rem !important;
  border-radius: .6rem;
}
.navbar-manse .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.navbar-manse .navbar-toggler { border-color: rgba(255, 255, 255, .25); }
.navbar-manse .navbar-toggler-icon { filter: invert(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(233, 185, 92, .28), transparent 60%),
    radial-gradient(700px 380px at 8% 110%, rgba(232, 147, 12, .16), transparent 55%),
    linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 55%, #83304a 100%);
  color: #fff;
  border-radius: 0 0 2.25rem 2.25rem;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Ccircle cx='20' cy='20' r='1.6' fill='%23ffffff' opacity='0.10'/%3E%3Ccircle cx='80' cy='60' r='1.2' fill='%23ffffff' opacity='0.08'/%3E%3Ccircle cx='100' cy='25' r='1.8' fill='%23f5b942' opacity='0.14'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero h1 { color: #fff; font-weight: 800; }
.hero .lead { color: #f6e7cf; max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: rgba(201, 150, 46, .14);
  border: 1px solid rgba(201, 150, 46, .35);
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn-maroon {
  background: var(--plum);
  border-color: var(--plum);
  color: #fff;
  font-weight: 600;
  border-radius: .7rem;
  padding: .55rem 1.4rem;
}
.btn-maroon:hover, .btn-maroon:focus { background: var(--plum-deep); border-color: var(--plum-deep); color: #fff; }
.btn-outline-maroon {
  border-color: var(--plum);
  color: var(--plum);
  font-weight: 600;
  border-radius: .7rem;
}
.btn-outline-maroon:hover { background: var(--plum); border-color: var(--plum); color: #fff; }
.btn-gold, .btn-saffron {
  background: linear-gradient(180deg, var(--gold-soft), var(--saffron));
  border: none;
  color: #3a2200;
  font-weight: 700;
  border-radius: .7rem;
  padding: .55rem 1.4rem;
  box-shadow: 0 6px 18px rgba(232, 147, 12, .35);
}
.btn-gold:hover, .btn-saffron:hover { color: #3a2200; filter: brightness(1.05); }

/* ---------- Cards ---------- */
.cat-card, .provider-card, .stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
/* Equal-height cards only inside grid/row layouts — never when stacked in a single column.
   :only-child ensures sidebar stacks (e.g. blog aside with multiple .cat-card) keep natural height. */
.row > [class*="col-"] > .cat-card:only-child,
.row > [class*="col-"] > .provider-card:only-child,
.row > [class*="col-"] > .stat-card:only-child { height: 100%; }
/* Stacked cards inside a column (e.g. sidebars) always use natural height */
.row > [class*="col-"] > .cat-card:not(:only-child),
.row > [class*="col-"] > .provider-card:not(:only-child),
.row > [class*="col-"] > .stat-card:not(:only-child) { height: auto; }
a .cat-card:hover, a .provider-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cat-card .icon { font-size: 2.1rem; }
.provider-card img.photo {
  width: 84px; height: 84px; object-fit: cover;
  border-radius: 50%; border: 3px solid var(--gold-soft);
  flex-shrink: 0;
}
.stat-card .num { font-size: 1.9rem; font-weight: 800; color: var(--plum); }

.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 2.2rem 0 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.step-num {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-soft), var(--saffron));
  color: #3a2200;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(232, 147, 12, .35);
}

.badge-stars { color: var(--gold); font-weight: 600; }

/* ---------- Info strips ---------- */
.safety-strip {
  background: linear-gradient(120deg, var(--plum-deep), var(--plum));
  color: #ffe9c4;
}
.crisis-box {
  background: #fff;
  border-left: 6px solid var(--saffron);
  border-radius: .75rem;
  box-shadow: var(--shadow-sm);
}
.policy-notice {
  background: #fff8e8;
  border: 1px dashed var(--saffron);
  border-radius: .75rem;
  font-size: .92rem;
}

/* ---------- Tables ---------- */
.table thead th {
  background: var(--cream-dark);
  color: var(--plum-ink);
  font-weight: 700;
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}
.table { --bs-table-striped-bg: #fffdf8; }

/* ---------- Footer (premium) ---------- */
.footer-manse {
  background: linear-gradient(180deg, var(--plum-deep) 0%, #260a12 60%, #1c060d 100%);
  color: #e9d6ba;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent) 1;
  position: relative;
  margin-top: 2.5rem;
  clear: both;
}
.footer-manse::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 120px;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(245,185,66,.07), transparent);
  pointer-events: none;
}
.footer-manse h6 {
  color: #fff; font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem;
  position: relative; padding-bottom: .5rem;
}
.footer-manse h6::after {
  content: ""; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.footer-manse a { color: #d9b98a; text-decoration: none; font-size: .92rem; line-height: 2; transition: color .15s, padding-left .15s; }
.footer-manse a:hover { color: #fff; text-decoration: none; padding-left: 4px; }
.footer-manse .brand-logo { height: 38px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); }
.footer-manse .social-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(245,185,66,.35); margin-right: .5rem;
  transition: background .2s, transform .2s;
}
.footer-manse .social-ico:hover { background: rgba(245,185,66,.15); transform: translateY(-3px); padding-left: 0; }
.footer-bottom {
  border-top: 1px solid rgba(245,185,66,.15);
  background: rgba(0,0,0,.25);
}

/* ---------- Forms ---------- */
.form-control, .form-select { border-radius: .65rem; border-color: #e6d5b8; }
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(201, 150, 46, .18);
}
.form-label { font-weight: 600; font-size: .9rem; }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: 70vh; display: flex; align-items: center; }
.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}
.auth-card::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--plum-deep), var(--plum) 40%, var(--gold) 75%, var(--gold-soft));
}
.auth-card .brand-logo { height: 46px; }
.auth-card .form-control {
  border-radius: .65rem;
  border: 1.5px solid var(--line);
  padding: .65rem .9rem;
}
.auth-card .form-control:focus {
  border-color: var(--plum);
  box-shadow: 0 0 0 .22rem rgba(107, 31, 46, .12);
}
.auth-card .btn-lg { border-radius: .75rem; font-weight: 700; }
.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--plum);
  background: rgba(107, 31, 46, .07);
  border: 1px solid rgba(107, 31, 46, .18);
  border-radius: 2rem;
  padding: .3rem .8rem;
}
/* De-emphasized "offer services" tab (kept functional, visually secondary) */
.auth-tabs .nav-link.tab-offer { font-size: .82rem; font-weight: 500; color: var(--muted); }
.auth-tabs .nav-link.tab-offer.active { background: var(--plum); color: #fff; }

/* ---------- Admin (dark sidebar) ---------- */
.admin-body { background: #f4efe6; }
.admin-topbar {
  background: linear-gradient(120deg, var(--plum-deep), var(--plum));
  color: #fff;
  box-shadow: 0 4px 14px rgba(56, 16, 27, .3);
}
.admin-topbar .brand-logo { height: 34px; }
.admin-topbar .hamburger {
  background: transparent; border: 1px solid rgba(255, 255, 255, .35);
  color: #fff; border-radius: .55rem; padding: .3rem .6rem; font-size: 1.15rem;
  display: none;
}
.admin-sidebar {
  background: linear-gradient(180deg, #2b0e16 0%, #3d1620 100%);
  min-height: calc(100vh - 57px);
  padding: 1rem .75rem;
}
.admin-sidebar .side-label {
  color: #a98a6d; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .9rem .8rem .35rem;
}
.admin-sidebar .nav-link {
  color: #e8d3b8;
  font-weight: 500;
  font-size: .93rem;
  border-radius: .6rem;
  padding: .62rem .8rem;
  margin-bottom: .15rem;
  display: flex; align-items: center; gap: .65rem;
  border-left: 3px solid transparent;
}
.admin-sidebar .nav-link .mi { width: 1.35rem; text-align: center; }
.admin-sidebar .nav-link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.admin-sidebar .nav-link.active {
  background: rgba(201, 150, 46, .16);
  color: #ffd98a;
  border-left-color: var(--gold);
  font-weight: 700;
}
.admin-main { padding: 1.5rem; }
.admin-main h2.page-title { font-size: 1.5rem; margin-bottom: 1.25rem; }

/* Mobile: sidebar becomes slide-over drawer */
@media (max-width: 991.98px) {
  .admin-topbar .hamburger { display: inline-block; }
  .admin-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 270px;
    z-index: 1050;
    transform: translateX(-105%);
    transition: transform .25s ease;
    min-height: 100vh;
    box-shadow: 8px 0 30px rgba(0, 0, 0, .35);
    padding-top: 4.2rem;
  }
  body.sidebar-open .admin-sidebar { transform: translateX(0); }
  .sidebar-backdrop {
    display: none;
    position: fixed; inset: 0;
    background: rgba(30, 10, 15, .55);
    z-index: 1040;
  }
  body.sidebar-open .sidebar-backdrop { display: block; }
  .admin-main { padding: 1rem; }
  .hero { border-radius: 0 0 1.5rem 1.5rem; }
}

@media (min-width: 992px) {
  .sidebar-backdrop { display: none !important; }
}

/* ---------- User/provider dashboard sidebars ---------- */
.dash-sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  min-height: calc(100vh - 57px);
  padding: 1rem .75rem;
}
.dash-sidebar .nav-link {
  color: var(--ink); border-radius: .6rem; margin-bottom: .15rem;
  font-weight: 500; padding: .6rem .8rem;
  border-left: 3px solid transparent;
}
.dash-sidebar .nav-link:hover { background: var(--cream-dark); }
.dash-sidebar .nav-link.active {
  background: #fdf3e3; color: var(--plum);
  border-left-color: var(--saffron); font-weight: 700;
}
@media (max-width: 767.98px) {
  .dash-sidebar { border-right: none; border-bottom: 1px solid var(--line); min-height: auto; }
  .dash-sidebar .nav-link { display: inline-block; margin-right: .25rem; }
}

/* ---------- Misc ---------- */
.alert { border-radius: .75rem; }
.modal-content { border-radius: 1rem; }
.breadcrumb a { color: var(--plum); text-decoration: none; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }

/* ---------- Phase 2: avatars, cards, footer, home sections ---------- */
.avatar-badge {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: #fff; font-weight: 700; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.avatar-sm { width: 40px; height: 40px; font-size: 1rem; }
.avatar-md { width: 84px; height: 84px; font-size: 2rem; }
.avatar-lg { width: 120px; height: 120px; font-size: 2.8rem; }

.svc-card { border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: #fff; height: 100%; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(78,20,32,.12); }
.svc-card img.card-img-top { height: 170px; object-fit: cover; width: 100%; }
.svc-card .card-body { display: flex; flex-direction: column; flex: 1; }

.hero-manse { position: relative; border-radius: 0 0 2rem 2rem; overflow: hidden; background: var(--plum); }
.hero-manse img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero-manse .hero-inner { position: relative; z-index: 2; }

.trust-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--plum); }
.stat-label { color: var(--muted); font-size: .9rem; }

.step-num { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--saffron), #e07b24); color: #fff; font-weight: 800; font-size: 1.4rem; display: inline-flex; align-items: center; justify-content: center; }

.feature-ico { width: 56px; height: 56px; border-radius: 1rem; background: #fdf3e3; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; line-height: 1; flex: 0 0 56px; overflow: hidden; }

.faq-item { border: 1px solid var(--line); border-radius: .8rem; margin-bottom: .6rem; background: #fff; }
.faq-item summary { padding: .9rem 1.1rem; font-weight: 600; cursor: pointer; color: var(--plum); }
.faq-item .faq-body { padding: 0 1.1rem 1rem; color: var(--muted); }

/* (footer-manse defined once above in the premium Footer section) */

.blog-card img { height: 180px; object-fit: cover; }
.article-body { font-size: 1.06rem; line-height: 1.85; color: #3d3230; }
.article-body p { margin-bottom: 1.1rem; }
.article-body strong { color: var(--plum); }

.cat-hero { border-radius: 1.2rem; overflow: hidden; position: relative; min-height: 260px; display: flex; align-items: flex-end; }
.cat-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-hero .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,5,10,.82), rgba(20,5,10,.15)); }
.cat-hero .caption { position: relative; z-index: 2; }

.cart-badge { position: relative; }
.cart-count { position: absolute; top: -6px; right: -8px; background: var(--saffron); color: #3a2410; font-size: .68rem; font-weight: 800; border-radius: 999px; padding: 0 .35rem; line-height: 1.35; }

.auth-tabs .nav-link { color: var(--plum); font-weight: 600; }
.auth-tabs .nav-link.active { background: var(--plum); color: #fff; }

/* ============ HERO 3D (gaming-style, fully responsive) ============ */
.hero-3d {
  position: relative; overflow: hidden;
  min-height: clamp(460px, 64vh, 660px);
  display: flex; align-items: center;
  background: #1c0912;
  border-radius: 0 0 2rem 2rem;
}
.hero-3d-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%;
}
.hero-3d::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(98deg, rgba(22,7,13,.82) 0%, rgba(22,7,13,.55) 42%, rgba(22,7,13,.12) 75%, rgba(22,7,13,.28) 100%);
}
#hero-embers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-orb { position: absolute; z-index: 1; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; animation: orbFloat 9s ease-in-out infinite; }
.orb-1 { width: 240px; height: 240px; top: 8%; right: 10%; background: radial-gradient(circle, #f5b942 0%, transparent 70%); }
.orb-2 { width: 300px; height: 300px; bottom: -60px; left: 30%; background: radial-gradient(circle, #7b2d4e 0%, transparent 70%); animation-delay: -3s; }
.orb-3 { width: 150px; height: 150px; top: 55%; right: 32%; background: radial-gradient(circle, #e07b24 0%, transparent 70%); animation-delay: -6s; opacity: .4; }
@keyframes orbFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-18px,-30px) scale(1.08); } }
.hero-3d-inner { position: relative; z-index: 3; }
.hero-3d-copy { max-width: 620px; }
.hero-eyebrow-glow {
  display: inline-block; color: #ffd98a; border: 1px solid rgba(245,185,66,.55);
  background: rgba(245,185,66,.1); backdrop-filter: blur(4px);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.1rem;
  box-shadow: 0 0 18px rgba(245,185,66,.25);
}
.hero-3d-title {
  color: #fff; font-weight: 800; line-height: 1.08;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  text-shadow: 0 4px 30px rgba(0,0,0,.55);
  margin-bottom: 1rem;
}
.text-glow-gold {
  background: linear-gradient(120deg, #ffe9b8, #f5b942 55%, #e07b24);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(245,185,66,.45));
}
.hero-3d-sub { color: rgba(255,244,230,.85); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 560px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero-3d-cta { margin-top: 1.6rem; }
.hero-btn { box-shadow: 0 8px 26px rgba(0,0,0,.35); transition: transform .18s, box-shadow .18s; }
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(245,185,66,.35); }
.btn-ghost-light {
  color: #fff; border: 1.5px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { color: #fff; border-color: #f5b942; background: rgba(245,185,66,.15); }
.hero-3d-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.hero-3d-chips span {
  font-size: .8rem; font-weight: 600; color: #ffe9b8;
  background: rgba(20,8,14,.5); border: 1px solid rgba(245,185,66,.3);
  padding: .35rem .8rem; border-radius: 999px; backdrop-filter: blur(4px);
}

/* ============ PRO SERVICE CARDS ============ */
.svc-card-pro { border: 1px solid rgba(123,45,78,.14); border-radius: 1.15rem; overflow: hidden; background: #fff; height: 100%; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.svc-card-pro:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(78,20,32,.16); border-color: rgba(245,185,66,.55); }
.svc-img-wrap { position: relative; height: 200px; overflow: hidden; }
.svc-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.3,1); display: block; }
.svc-card-pro:hover .svc-img-wrap img { transform: scale(1.09); }
.svc-img-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(24,7,14,.78) 0%, rgba(24,7,14,.25) 45%, transparent 70%); }
.svc-img-title {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: .01em;
  padding: .9rem 1.1rem; text-shadow: 0 2px 14px rgba(0,0,0,.6);
}
.svc-price-badge {
  position: absolute; top: .8rem; right: .8rem; z-index: 2;
  font-size: .75rem; font-weight: 700; color: #3a2200;
  background: linear-gradient(135deg, #ffe9b8, #f5b942);
  padding: .3rem .7rem; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.svc-explore { display: inline-block; margin-top: .7rem; font-size: .88rem; font-weight: 700; color: var(--plum); }
.svc-card-pro:hover .svc-explore { color: #b06a1e; }

/* ============ HERO responsive ============ */
@media (max-width: 991px) {
  .hero-3d-bg { object-position: 68% 30%; }
  .hero-3d::after { background: linear-gradient(180deg, rgba(22,7,13,.35) 0%, rgba(22,7,13,.78) 70%, rgba(22,7,13,.9) 100%); }
  .hero-3d { min-height: 560px; align-items: flex-end; }
  .hero-3d-copy { padding-bottom: 2.2rem; }
  .orb-1 { width: 160px; height: 160px; top: 4%; right: 6%; }
}
@media (max-width: 575px) {
  .hero-3d { min-height: 600px; border-radius: 0 0 1.4rem 1.4rem; }
  .hero-3d-bg { object-position: 72% 22%; }
  .hero-3d-title { font-size: 2rem; }
  .hero-3d-cta .btn { flex: 1 1 100%; }
  .svc-img-wrap { height: 170px; }
}

/* ============ HERO VIDEO-STYLE (dark navy 3D, like promo video) ============ */
.hero-vid {
  position: relative; overflow: hidden;
  min-height: clamp(480px, 68vh, 700px);
  display: flex; align-items: center;
  background: #060d1f;
  border-radius: 0 0 2rem 2rem;
}
.hero-vid-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 78% center;
  animation: heroSlowZoom 22s ease-in-out infinite alternate;
}
@keyframes heroSlowZoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero-vid::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(95deg, rgba(5,10,26,.92) 0%, rgba(5,10,26,.72) 38%, rgba(5,10,26,.25) 65%, rgba(5,10,26,.45) 100%);
}
#hero-stars { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-vid-inner { position: relative; z-index: 3; }
.hero-vid-copy { max-width: 600px; animation: heroRise .9s ease-out both; }
@keyframes heroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-eyebrow-blue {
  display: inline-block; color: #9fd0ff; border: 1px solid rgba(120,180,255,.4);
  background: rgba(80,140,255,.1); backdrop-filter: blur(4px);
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.1rem;
  box-shadow: 0 0 18px rgba(90,150,255,.25);
}
.hero-vid-title {
  color: #fff; font-weight: 800; line-height: 1.06;
  font-size: clamp(2.1rem, 5.4vw, 3.8rem);
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
  margin-bottom: 1rem;
}
.text-glow-blue {
  background: linear-gradient(120deg, #cfe6ff, #6ea8ff 55%, #4d7cff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 16px rgba(110,168,255,.5));
}
.hero-vid-sub { color: rgba(220,235,255,.82); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 540px; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero-vid-cta { margin-top: 1.6rem; }
.hero-btn-blue {
  background: linear-gradient(135deg, #4d7cff, #6ea8ff); border: none; color: #fff; font-weight: 700;
  box-shadow: 0 8px 26px rgba(77,124,255,.4); transition: transform .18s, box-shadow .18s;
}
.hero-btn-blue:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 34px rgba(77,124,255,.55); }
.btn-ghost-blue {
  color: #fff; border: 1.5px solid rgba(160,200,255,.5); background: rgba(120,170,255,.08);
  backdrop-filter: blur(6px); font-weight: 600;
}
.btn-ghost-blue:hover { color: #fff; border-color: #6ea8ff; background: rgba(110,168,255,.18); }
.hero-vid-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.hero-vid-chips span {
  font-size: .8rem; font-weight: 600; color: #cfe6ff;
  background: rgba(10,20,45,.55); border: 1px solid rgba(120,180,255,.3);
  padding: .35rem .8rem; border-radius: 999px; backdrop-filter: blur(4px);
}
@media (max-width: 991px) {
  .hero-vid-bg { object-position: 70% 25%; }
  .hero-vid::after { background: linear-gradient(180deg, rgba(5,10,26,.3) 0%, rgba(5,10,26,.8) 68%, rgba(5,10,26,.94) 100%); }
  .hero-vid { min-height: 600px; align-items: flex-end; }
  .hero-vid-copy { padding-bottom: 2.4rem; }
}
@media (max-width: 575px) {
  .hero-vid { min-height: 640px; border-radius: 0 0 1.4rem 1.4rem; }
  .hero-vid-bg { object-position: 68% 18%; }
  .hero-vid-cta .btn { flex: 1 1 100%; }
}

/* ============ HERO 2D LIVING SCENE ============ */
.hero-2d {
  position: relative; overflow: hidden;
  min-height: clamp(520px, 72vh, 720px);
  display: flex; align-items: flex-start;
  background: #fdf6ec;
  border-radius: 0 0 2rem 2rem;
}
.hero-2d-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-chars { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hchar {
  position: absolute; bottom: 2%;
  filter: drop-shadow(0 12px 22px rgba(90,40,20,.18));
  animation: charFloat 7s ease-in-out infinite;
}
.hc-wave { left: 3%; height: 64%; animation-duration: 6.4s; }
.hc-handshake { left: 19%; height: 60%; animation-duration: 7.6s; animation-delay: -2.1s; }
.hc-hug { left: 36%; height: 56%; animation-duration: 7s; animation-delay: -4.2s; }
.hc-chat { left: 52%; height: 62%; animation-duration: 8.1s; animation-delay: -1.2s; }
.hc-walk { left: 70%; height: 58%; animation-duration: 6.7s; animation-delay: -3.3s; }
.hc-tea { left: 86%; height: 54%; animation-duration: 7.4s; animation-delay: -5.1s; }
@keyframes charFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
#hero-bloom { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-2d-inner { position: relative; z-index: 3; padding-top: clamp(2.5rem, 6vh, 4.5rem); }
.hero-2d-copy { max-width: 660px; margin: 0 auto; text-align: center; }
.hero-2d-title {
  color: var(--plum); font-weight: 800; line-height: 1.08;
  font-size: clamp(2.2rem, 5.6vw, 4rem);
  text-shadow: 0 2px 20px rgba(255,255,255,.6);
  margin-bottom: .8rem;
  animation: heroRise .9s ease-out both;
}
.text-glow-warm {
  background: linear-gradient(120deg, #b06a1e, #e07b24 60%, #f5b942);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-2d-sub {
  color: #6b4a3a; font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 500;
  text-shadow: 0 1px 10px rgba(255,255,255,.7);
  animation: heroRise .9s .15s ease-out both;
}
.hero-2d-cta { margin-top: 1.4rem; justify-content: center; animation: heroRise .9s .3s ease-out both; }
@media (max-width: 991px) {
  .hero-2d { min-height: 620px; }
  .hchar { opacity: .92; }
  .hc-wave { left: 0%; height: 48%; }
  .hc-handshake { left: 16%; height: 44%; }
  .hc-hug { left: 34%; height: 42%; }
  .hc-chat { left: 52%; height: 46%; }
  .hc-walk { left: 70%; height: 43%; }
  .hc-tea { left: 86%; height: 40%; }
}
@media (max-width: 575px) {
  .hero-2d { min-height: 560px; border-radius: 0 0 1.4rem 1.4rem; }
  .hc-tea, .hc-walk { display: none; }
  .hc-wave { left: 2%; height: 40%; }
  .hc-handshake { left: 26%; height: 38%; }
  .hc-hug { left: 50%; height: 36%; }
  .hc-chat { left: 72%; height: 39%; }
  .hero-2d-cta .btn { flex: 1 1 100%; }
}

/* Hero ghost button (light outline on 2D scene) */
.hero-btn-ghost {
  border: 2px solid rgba(122, 44, 63, .45); color: var(--plum); font-weight: 700;
  background: rgba(255,255,255,.55); backdrop-filter: blur(4px);
}
.hero-btn-ghost:hover { background: var(--plum); border-color: var(--plum); color: #fff; }
/* De-emphasized "offer services" hero link — small text link, secondary */
.hero-offer-link {
  font-size: .9rem; font-weight: 600; color: var(--plum);
  text-decoration: underline; text-underline-offset: 3px;
  opacity: .75; padding: .5rem .25rem;
}
.hero-offer-link:hover { opacity: 1; color: var(--plum-deep); }
.hero-offer-wrap { text-align: center; margin-top: .9rem; animation: heroRise .9s .4s ease-out both; }
.hero-offer-wrap .hero-offer-link { font-size: .85rem; opacity: .6; text-decoration: none; border-bottom: 1px dotted var(--plum); padding-bottom: 1px; }
.hero-offer-wrap .hero-offer-link:hover { opacity: 1; }
/* Provider card star ratings */
.pcn-rating { display: flex; align-items: center; gap: 2px; font-size: .85rem; margin-bottom: .4rem; }
.pcn-star { color: #ddd; font-size: 1rem; line-height: 1; }
.pcn-star.on { color: #f5a623; }
.pcn-rating-num { font-weight: 700; color: var(--plum); margin-left: 4px; }
/* Featured provider card hover */
.provider-hover { transition: transform .2s, box-shadow .2s; }
.provider-hover:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(122,44,63,.14); }

/* ---------- Blog: topic filter chips, category badges, sidebar ---------- */
.filter-chip {
  display: inline-block;
  padding: .4rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--plum);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .18s ease;
}
.filter-chip:hover { border-color: var(--gold); color: var(--plum-deep); text-decoration: none; }
.filter-chip.active { background: var(--plum); border-color: var(--plum); color: #fff; }
.cat-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--plum);
  background: #f6e9cf;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .18rem .7rem;
}
.blog-side-list li { padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.blog-side-list li:last-child { border-bottom: none; }
.blog-side-list a:hover { color: var(--plum) !important; }
.blog-side-thumb { width: 80px; height: 62px; object-fit: cover; border-radius: .6rem; border: 1px solid var(--line); }

/* ---------- Blog redesign: sidebar cards, filters, recent posts, keep-reading ---------- */
/* Sidebar cards must never stretch — they are stacked in a single column */
aside .cat-card { height: auto; }
.col-lg-8 > .cat-card.blog-cta { height: auto; }

.blog-sidebar-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.35rem;
  margin-bottom: 1.5rem;
  height: auto;
}
.blog-sidebar-card:last-child { margin-bottom: 0; }
.blog-sidebar-card h5 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--plum-deep);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--gold-soft);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.blog-sidebar-ico { font-size: 1.05rem; }
@media (min-width: 992px) {
  .blog-sidebar-sticky { position: sticky; top: 92px; }
}

/* Topics list with pill counts */
.blog-side-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  color: #2b2320;
  text-decoration: none;
  font-weight: 500;
  transition: color .15s ease, padding-left .15s ease;
}
.blog-side-list a:hover { padding-left: 4px; }
.blog-side-list a.active { color: var(--plum); font-weight: 700; }
.blog-side-count {
  font-size: .72rem;
  font-weight: 700;
  background: #f6e9cf;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .1rem .55rem;
  color: var(--plum);
  flex-shrink: 0;
}

/* Recent posts: fixed thumbs, clamped titles */
.blog-recent-item {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.blog-recent-item:last-child { margin-bottom: 0; }
.blog-recent-body { min-width: 0; flex: 1; }
.blog-recent-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .86rem;
  font-weight: 600;
  color: #2b2320;
  text-decoration: none;
  line-height: 1.4;
}
.blog-recent-date { font-size: .76rem; margin-top: .2rem; }

/* Filter bar: clean wrap + count badges + strong active state */
.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--plum);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .18s ease;
  box-shadow: 0 1px 2px rgba(78,20,32,.05);
}
.filter-chip:hover { border-color: var(--gold); color: var(--plum-deep); text-decoration: none; transform: translateY(-1px); }
.filter-chip.active {
  background: var(--plum);
  border-color: var(--plum);
  color: #fff;
  box-shadow: 0 4px 12px rgba(78,20,32,.28);
}
.filter-count {
  font-size: .7rem;
  font-weight: 700;
  background: rgba(0,0,0,.08);
  border-radius: 999px;
  padding: .08rem .5rem;
  line-height: 1.4;
}
.filter-chip.active .filter-count { background: rgba(255,255,255,.22); }
@media (max-width: 575.98px) {
  .filter-chip { padding: .42rem .9rem; font-size: .8rem; }
}

/* Blog cards: title clamp + excerpt clamp, consistent link */
.blog-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}
.blog-card-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
  margin-top: .4rem;
}
.blog-card-link { color: var(--plum); margin-top: .6rem; }
a:hover .blog-card-link { text-decoration: underline; }

/* Article page summary + keep-reading spacing */
.blog-article-summary {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #4a3f3b;
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  margin-bottom: 1.6rem;
}
.keep-reading { margin-bottom: 2.5rem; }
.keep-reading .svc-card img.card-img-top { height: 150px; }
.keep-reading .col-md-4 { margin-bottom: 0; }

/* ---------- Contact page ---------- */
.contact-hero {
  background: linear-gradient(120deg, var(--plum-deep) 0%, var(--plum) 70%, #7d2740 100%);
  color: #f7ead2;
  border-radius: 0;
  padding: 2.6rem 0 2.2rem;
}
.contact-hero h1 { color: #fff; margin-bottom: .4rem; }
.contact-hero p { color: rgba(247, 234, 210, .82); margin-bottom: 0; }
.contact-info-row { display: flex; gap: .9rem; align-items: flex-start; padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.contact-info-row:last-child { border-bottom: none; }
.contact-info-ico {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--plum), #7d2740);
  color: var(--gold-soft);
}
.contact-info-row a { color: var(--plum); font-weight: 600; }

/* ---------- Homepage redesign: provider cards, testimonials slider, mission, FAQ art ---------- */

/* New provider cards: full-width image, category badge, clean layout */
.provider-card-new {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.provider-card-new:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(107,31,46,.14); }
.pcn-img-wrap { position: relative; height: 220px; overflow: hidden; background: #f3e9dc; flex: 0 0 220px; }
.pcn-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcn-img-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 4rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--plum), #8e2f3f);
}
.pcn-cat-badge {
  position: absolute; top: .8rem; left: .8rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 999px; color: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
}
.pcn-verify {
  position: absolute; top: .8rem; right: .8rem;
  font-size: .7rem; font-weight: 700; color: #2f6b2f;
  background: rgba(255,255,255,.94); border-radius: 999px; padding: .25rem .65rem;
}
/* Distinct category badge colors */
.catb-sister { background: linear-gradient(135deg, #e0608a, #c23a6b); }
.catb-brother { background: linear-gradient(135deg, #4a90d9, #2f6cb3); }
.catb-parents { background: linear-gradient(135deg, #e8a13c, #c97a1a); }
.catb-grandparents { background: linear-gradient(135deg, #9b6bc4, #7446a3); }
.catb-boyfriend { background: linear-gradient(135deg, #3fb8a6, #26897c); }
.catb-legal { background: linear-gradient(135deg, #5b6b7c, #3d4854); }
.catb-career { background: linear-gradient(135deg, #58a05c, #3a7a40); }
.catb-dispute { background: linear-gradient(135deg, #d97b4a, #b25a2c); }
.catb-divorce { background: linear-gradient(135deg, #8a6bc4, #6547a3); }
.catb-wedding { background: linear-gradient(135deg, #e06ba8, #b8457f); }
.catb-listener { background: linear-gradient(135deg, #5c7bd9, #3d55a8); }
.catb-crisis { background: linear-gradient(135deg, #d94a4a, #a82e2e); }
.catb-default { background: linear-gradient(135deg, var(--plum), #8e2f3f); }

.pcn-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.pcn-name { margin: 0 0 .25rem; font-size: 1.15rem; font-weight: 800; color: var(--plum); }
.pcn-rating { color: #d4a017; font-weight: 700; font-size: .92rem; margin-bottom: .6rem; }
.pcn-bio { color: var(--muted); font-size: .88rem; margin-bottom: .8rem; }
.pcn-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .8rem; color: #6f5a4d; margin-bottom: 1rem; }

/* Testimonials slider */
#testimonialCarousel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.tstm-slide { max-width: 640px; margin: 0 auto; padding: 2.5rem 4rem; text-align: center; }
.tstm-quote { font-size: 1.15rem; font-style: italic; color: #4a3540; line-height: 1.65; margin: 0; }
.tstm-indicators { bottom: .6rem; }
.tstm-indicators button { width: 9px !important; height: 9px !important; border-radius: 50% !important; background: #cbb59a !important; border: none !important; }
.tstm-indicators button.active { background: var(--plum) !important; }
.tstm-ctrl .carousel-control-prev-icon, .tstm-ctrl .carousel-control-next-icon {
  background-color: var(--plum); border-radius: 50%; width: 2.4rem; height: 2.4rem; background-size: 55%;
}
@media (max-width: 576px) { .tstm-slide { padding: 2rem 2.8rem; } }

/* Mission & vision band */
.mission-band {
  background: linear-gradient(135deg, #2a0d14 0%, #4a1420 55%, #6b1f2e 100%);
  border-radius: var(--radius); padding: 2.5rem; position: relative; overflow: hidden;
}
.mission-band::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background: radial-gradient(circle at 15% 20%, #f3d27a 0, transparent 32%), radial-gradient(circle at 85% 80%, #f3d27a 0, transparent 28%);
}
.mission-card {
  position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(243,210,122,.28);
  border-radius: calc(var(--radius) - 4px); padding: 2rem; color: #f6ead6;
}
.mission-card h3 { color: var(--gold-soft); font-weight: 800; margin: 1rem 0 .8rem; }
.mission-card p { color: #efdfc2; line-height: 1.75; margin: 0; font-size: .96rem; }
.mission-ico {
  width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-soft), var(--saffron)); color: #3a2200; overflow: hidden; line-height: 0;
}
.mission-ico svg { width: 28px; height: 28px; display: block; }

/* FAQ illustration */
.faq-art { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.faq-art svg { display: block; width: 100%; height: auto; }
.faq-bub1 { animation: faqFloat 5s ease-in-out infinite; }
.faq-bub2 { animation: faqFloat 5s ease-in-out -2.5s infinite; }
.faq-hearts { animation: faqPulse 3.2s ease-in-out infinite; transform-origin: 200px 165px; }
@keyframes faqFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes faqPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: .85; } }
@media (prefers-reduced-motion: reduce) {
  .faq-bub1, .faq-bub2, .faq-hearts { animation: none; }
}

/* ---------- Safety Policy page (safety.php) ---------- */
.safety-hero {
    background: linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 55%, #8a2b3f 100%);
    color: #fff; border-radius: 0 0 2.5rem 2.5rem;
    position: relative; overflow: hidden;
  }
  .safety-hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 90% at 50% 115%, rgba(245,185,66,.30), transparent 60%);
    pointer-events: none;
  }
  .safety-float { position: absolute; opacity: .14; pointer-events: none; animation: safetyDrift 9s ease-in-out infinite; }
  .safety-float.f2 { animation-delay: -3s; }
  .safety-float.f3 { animation-delay: -6s; }
  @keyframes safetyDrift { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(6deg); } }
  .safety-eyebrow { letter-spacing: .28em; font-size: .78rem; font-weight: 700; color: var(--gold-soft); text-transform: uppercase; }
  .safety-hero h1 { font-weight: 800; letter-spacing: -.01em; }
  .safety-hero .tagline { color: #f3d9a8; font-size: 1.12rem; max-width: 44rem; margin: 0 auto; }
  .safety-hero-shield {
    width: 92px; height: 92px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(233,185,92,.16); border: 2px solid rgba(233,185,92,.55);
    color: var(--gold-soft); margin-bottom: 1.2rem; flex-shrink: 0;
    animation: safetyBob 5.5s ease-in-out infinite;
    box-shadow: 0 8px 26px rgba(0,0,0,.28);
  }
  .safety-hero-shield svg { width: 46px; height: 46px; }
  @keyframes safetyBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
  .safety-lang .btn { border-color: rgba(255,255,255,.35); color: #fff; }
  .safety-lang .btn.btn-gold { background: var(--gold); border-color: var(--gold); color: #3a2400; font-weight: 700; }
  .safety-lang .btn:not(.btn-gold):hover { background: rgba(255,255,255,.14); color: #fff; }

  .safety-section-title { font-weight: 800; letter-spacing: -.01em; }
  .safety-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative; overflow: hidden;
  }
  .safety-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
  .safety-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--plum), var(--gold));
    opacity: 0; transition: opacity .2s ease;
  }
  .safety-card:hover::before { opacity: 1; }
  .safety-card h3 { font-weight: 700; font-size: 1.18rem; margin-bottom: .6rem; }
  .safety-card ul { margin-bottom: 0; padding-left: 0; list-style: none; }
  .safety-card ul li { position: relative; padding-left: 1.6rem; margin-bottom: .5rem; font-size: .95rem; color: #4a3a34; }
  .safety-card ul li::before {
    content: ""; position: absolute; left: 0; top: .32rem;
    width: .85rem; height: .85rem; border-radius: 50%;
    background: var(--plum); opacity: .9;
  }
  .safety-card ul li::after {
    content: ""; position: absolute; left: .3rem; top: .52rem;
    width: .25rem; height: .4rem;
    border: solid #fff; border-width: 0 2px 2px 0;
    transform: rotate(42deg);
  }
  .safety-ico {
    width: 72px; height: 72px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--plum) 0%, var(--plum-deep) 100%);
    color: var(--gold-soft); margin-bottom: 1rem; flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(107,31,46,.22);
    animation: safetyBob 6s ease-in-out infinite;
  }
  .safety-ico svg { width: 36px; height: 36px; display: block; flex-shrink: 0; }
  .safety-card:nth-child(2) .safety-ico { animation-delay: -1.5s; }
  .safety-card:nth-child(3) .safety-ico { animation-delay: -3s; }
  .safety-card:nth-child(4) .safety-ico { animation-delay: -4.5s; }
  .safety-emergency {
    background: linear-gradient(135deg, #7a1f2b 0%, #a8323f 60%, #c04a3a 100%);
    border-radius: var(--radius); color: #fff; position: relative; overflow: hidden;
    box-shadow: 0 12px 34px rgba(122,31,43,.32);
  }
  .safety-emergency::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(255,255,255,.10), transparent 60%);
    pointer-events: none;
  }
  .safety-emergency .helpline {
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35);
    border-radius: var(--radius); padding: 1rem 1.4rem;
  }
  .safety-emergency .helpline strong { font-size: 1.6rem; letter-spacing: .04em; }
  .safety-agree {
    background: var(--cream-dark); border: 1px dashed var(--gold);
    border-radius: var(--radius);
  }
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.visible { opacity: 1; transform: none; }
  .reveal-d1 { transition-delay: .12s; } .reveal-d2 { transition-delay: .24s; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .safety-float, .safety-ico, .safety-hero-shield { animation: none; }
  }
