:root {
  --brand: #c8102e;
  --brand-dark: #9b0c24;
  --brand-soft: #fff1f2;
  --ink: #111111;
  --muted: #5c5c5c;
  --line: #ececec;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(200, 16, 46, 0.16);
}

html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}
@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

.brand-gradient {
  background: linear-gradient(135deg, #c8102e 0%, #9b0c24 100%);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 28px;
  transition: transform .2s ease, background .2s ease;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid var(--brand);
  color: var(--brand);
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 26px;
  background: #fff;
}
.btn-ghost:hover { background: var(--brand-soft); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.float-stack {
  position: fixed;
  right: 14px;
  bottom: calc(100px + env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 768px) {
  .float-stack { bottom: 24px; right: 20px; }
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  color: #fff;
}
.float-btn.search { background: var(--ink); }
.float-btn.wa { background: #25D366; }

.mobile-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
}
@media (min-width: 768px) {
  .mobile-tabbar { display: none; }
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 700;
  color: #6b6b6b;
  text-decoration: none;
}
.tab-item.active { color: var(--brand); }
.tab-call {
  width: 58px;
  height: 58px;
  margin-top: -22px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff !important;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0,0,0,.5);
  display: none;
  padding: 16px;
}
.search-modal.open { display: grid; place-items: start center; padding-top: 10vh; }
.search-box {
  width: min(680px, 100%);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.prose-seo h2 { font-size: 1.5rem; font-weight: 800; margin: 1.6rem 0 .7rem; }
.prose-seo h3 { font-size: 1.2rem; font-weight: 800; margin: 1.3rem 0 .5rem; }
.prose-seo p { color: #333; line-height: 1.8; margin-bottom: 1rem; }
.prose-seo ul { margin: 0 0 1rem 1.1rem; color: #333; line-height: 1.8; }
.prose-seo li { margin-bottom: .35rem; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.hero-pattern {
  background-image:
    radial-gradient(circle at 12% 18%, rgba(200,16,46,.08) 0, transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(200,16,46,.12) 0, transparent 32%),
    linear-gradient(#fff, #fff7f8);
}
