/* RV Ambulance — public site styles */
:root {
  --red: #ff6600;      /* KTM orange (brand primary) */
  --red-dark: #d95400; /* darker orange (hover) */
  --navy: #12329a;       /* Star of Life blue (from client logo) */
  --navy-light: #2a4ec2;  /* lighter blue (hover/gradient) */
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --text: #2b2b2b;
  --muted: #6b7280;
  --radius: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--red); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar { background: var(--navy); color: #fff; font-size: 0.9rem; padding: 6px 0; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px; }
.topbar-phone { color: #fff; text-decoration: none; font-weight: 700; }

/* Header */
.site-header { background: #fff; border-bottom: 3px solid var(--red); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-logo { width: 48px; height: 48px; border-radius: 50%; }
.brand-text strong { display: block; font-size: 1.25rem; line-height: 1.1; color: var(--red); }
.brand-text small { color: var(--navy); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.7rem; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { text-decoration: none; color: var(--navy); font-weight: 600; }
.site-nav a.active, .site-nav a:hover { color: var(--red); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--navy); }

/* Buttons */
.btn { display: inline-block; padding: 10px 22px; border-radius: var(--radius); text-decoration: none; font-weight: 700; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: 0.15s; }
.btn-primary { background: var(--red); color: #fff !important; }
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary { background: var(--navy); color: #fff !important; }
.btn-secondary:hover { background: var(--navy-light); }
.btn-outline { border-color: var(--navy); color: var(--navy) !important; background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff !important; }
.btn-light { background: #fff; color: var(--red) !important; }
.btn-lg { padding: 14px 30px; font-size: 1.1rem; }
.nav-cta { padding: 8px 18px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: #fff; padding: 70px 0; }
.hero-photo { background-size: cover; background-position: center 60%; padding: 95px 0; }
.hero-photo .hero-note { color: #dbe3f5; }
.hero h1 { font-size: 2.6rem; line-height: 1.15; margin: 14px 0; }
.hero .lead { font-size: 1.2rem; color: #dde5f5; max-width: 640px; }
.hero-actions { margin: 26px 0 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-outline { border-color: #fff; color: #fff !important; }
.hero .btn-outline:hover { background: #fff; color: var(--navy) !important; }
.hero-note { color: #b9c6e8; font-size: 0.95rem; }
.badge { background: var(--red); padding: 5px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; }

/* Page hero */
.page-hero { background: var(--navy); color: #fff; padding: 44px 0; }
.page-hero h1 { font-size: 2.2rem; }
.page-hero p { color: #dde5f5; max-width: 700px; }
.page-hero a { color: #fff; }

/* Sections */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { text-align: center; font-size: 2rem; color: var(--navy); margin-bottom: 36px; }
.center { text-align: center; margin-top: 30px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid #e5e9ee; border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 8px rgba(28,43,58,0.06); }
.card-icon { font-size: 2rem; margin-bottom: 10px; }
.card h3 { color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* Why grid */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.why-grid strong { color: var(--navy); font-size: 1.05rem; }
.why-grid p { color: var(--muted); margin-top: 4px; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; padding: 44px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* About */
.about-grid, .contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.about-grid h2, .contact-grid h2 { color: var(--navy); margin-bottom: 14px; }
.about-grid p { margin-bottom: 14px; }
.checklist { list-style: none; }
.checklist li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.checklist li::before { content: '✔'; color: var(--red); position: absolute; left: 0; font-weight: 700; }
.info-box { background: var(--bg-alt); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.info-box h3 { color: var(--navy); margin-bottom: 10px; }
.info-box p { margin-bottom: 8px; font-size: 0.97rem; }

/* Forms */
.form label { display: block; margin-bottom: 16px; font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.form input, .form select, .form textarea { width: 100%; padding: 11px 12px; margin-top: 5px; border: 1px solid #cdd5dd; border-radius: 8px; font-size: 1rem; font-family: inherit; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--red); border-color: var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }

/* Alerts */
.alert { border-radius: var(--radius); padding: 18px 22px; margin-bottom: 20px; }
.alert-success { background: #e8f5e9; border: 1px solid #a5d6a7; color: #1b5e20; }
.alert-error { background: #fdecea; border: 1px solid #f5c6cb; color: #8e1b1b; }
.alert ul { margin-left: 18px; }

/* Footer */
.site-footer { background: var(--navy); color: #cfd8e0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; padding: 50px 20px; }
.site-footer h3 { color: #fff; margin-bottom: 12px; }
.site-footer a { color: #fff; }
.site-footer p { margin-bottom: 8px; font-size: 0.95rem; }
.footer-bottom { border-top: 1px solid #3d55b8; padding: 16px 0; font-size: 0.85rem; text-align: center; }

/* Mobile */
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 20px; border-bottom: 3px solid var(--red); gap: 14px; }
  .site-nav.open { display: flex; }
  .hero h1 { font-size: 1.9rem; }
  .about-grid, .contact-grid, .form-row { grid-template-columns: 1fr; }
  .cta-inner { justify-content: center; text-align: center; }
}
