/* Above-the-fold: header + hero (CampSecure index) – blocking CSS only */
:root {
    --campsecure-primary: #032905;
    --campsecure-dark: #0a4d3f;
    --campsecure-accent: #f97316;
    --campsecure-light: #a3e4d4;
    --campsecure-ivory: #FFFEF7;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body.overflow-x-hidden {
    overflow-x: hidden;
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: #212529;
}

/* Bootstrap subset: hero + header */
.container {
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container { max-width: 540px; }
}
@media (min-width: 768px) {
    .container { max-width: 720px; }
}
@media (min-width: 992px) {
    .container { max-width: 960px; }
}
@media (min-width: 1200px) {
    .container { max-width: 1140px; }
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}

.col-lg-5,
.col-lg-6 {
    flex: 0 0 auto;
    width: 100%;
}

@media (min-width: 992px) {
    .col-lg-5 { width: 41.66666667%; }
    .col-lg-6 { width: 50%; }
}

.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.align-items-center { align-items: center !important; }
.align-items-stretch { align-items: stretch !important; }
.align-items-end { align-items: flex-end !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-lg-start { justify-content: flex-start !important; }
.justify-content-lg-end { justify-content: flex-end !important; }
.text-center { text-align: center !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.fs-4 { font-size: calc(1.275rem + 0.3vw) !important; }
.position-relative { position: relative !important; }
.z-2 { z-index: 2 !important; }
.img-fluid {
    max-width: 100%;
    height: auto;
}

.display-6 {
    font-size: clamp(1.65rem, 2.2vw + 1rem, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.lead {
    font-size: 1.125rem;
    font-weight: 300;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.pb-xl-10 { padding-bottom: 3rem !important; }
.pt-18 { padding-top: 10.5rem !important; }
.pb-12 { padding-bottom: 5.5rem !important; }

@media (min-width: 992px) {
    .text-lg-start { text-align: left !important; }
    .px-lg-0 { padding-right: 0 !important; padding-left: 0 !important; }
    .pb-lg-14 { padding-bottom: 6.5rem !important; }
}

.px-10 {
    padding-right: 2.5rem !important;
    padding-left: 2.5rem !important;
}

.gy-5 {
    --bs-gutter-y: 3rem;
}

/* Navbar */
.header {
    position: relative;
    z-index: 100;
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.navbar.sticky {
    position: sticky;
    top: 0;
    background-color: var(--campsecure-primary);
    z-index: 1030;
}

.navbar-dark .navbar-brand {
    color: var(--campsecure-accent);
    text-decoration: none;
}

.navbar-brand {
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.small {
    font-size: 0.875em;
}

/* Hero */
.campsecure-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--campsecure-dark) 0%, var(--campsecure-primary) 100%);
}

.campsecure-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

.campsecure-hero > .container {
    position: relative;
    z-index: 2;
}

.campsecure-hero .hero-row {
    min-height: 70vh;
}

.campsecure-hero .hero-phone-col {
    min-height: 0;
}

.campsecure-hero h1,
.campsecure-hero h1.display-6 {
    color: var(--campsecure-ivory) !important;
}

.text-campsecure-accent {
    color: var(--campsecure-accent) !important;
}

.text-campsecure-light {
    color: var(--campsecure-light) !important;
}

.hero-phone-img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.bg-campsecure-accent {
    background-color: var(--campsecure-accent) !important;
}

.bg-campsecure-accent.bg-opacity-20 {
    background-color: rgba(249, 115, 22, 0.2) !important;
}

.alert {
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
}

.alert-success {
    color: #0a3622;
    background-color: #d1e7dd;
    border: 1px solid #a3cfbb;
}

.border-0 {
    border: 0 !important;
}

.btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    background-color: transparent;
}

.store-button {
    transition: transform 0.2s;
    border: 0;
    padding: 0;
    background: transparent;
}

.hamburger {
    width: 32px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    border: 0;
    padding: 0;
    background: transparent;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    width: 100%;
}

.seo-hero,
.hero-doc {
    padding-bottom: 0 !important;
}
