/* ===========================================================
   Southern Heart Transport LLC — Shared Styles
   Palette: navy #0B1426, gold #D4A24C, sienna #B8451F, cream #F5EFE3, slate #8B9BB4
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --navy: #0B1426;
  --navy-deep: #060A14;
  --navy-soft: #131F36;
  --gold: #D4A24C;
  --gold-bright: #F0C674;
  --sienna: #B8451F;
  --sienna-bright: #D45A2A;
  --cream: #F5EFE3;
  --slate: #8B9BB4;
  --slate-dim: #5C6B85;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1140px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Moon-phase divider (signature element) ---------- */
.moon-phases {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  opacity: 0.85;
}
.moon-phases span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.moon-phases .ph-crescent-l { background: transparent; border-right: 9px solid var(--gold); border-radius: 50%; width: 10px; }
.moon-phases .ph-half { background: linear-gradient(90deg, var(--gold) 50%, transparent 50%); }
.moon-phases .ph-full { background: var(--gold); box-shadow: 0 0 10px rgba(212,162,76,0.6); }
.moon-phases .ph-half-r { background: linear-gradient(270deg, var(--gold) 50%, transparent 50%); }
.moon-phases .ph-crescent-r { background: transparent; border-left: 9px solid var(--gold); border-radius: 50%; width: 10px; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 20, 38, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212, 162, 76, 0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { width: 42px; height: 42px; }
.brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand .brand-text .top {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.brand .brand-text .bottom {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 500;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
nav.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}
nav.main-nav a:hover { color: var(--cream); }
nav.main-nav a.active { color: var(--gold-bright); }
nav.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--sienna);
  color: var(--cream);
  box-shadow: 0 4px 18px rgba(184, 69, 31, 0.35);
}
.btn-primary:hover { background: var(--sienna-bright); }
.btn-secondary {
  background: var(--cream);
  color: var(--navy-deep);
}
.btn-secondary:hover { background: #fff; }
.btn-ghost {
  background: transparent;
  border-color: rgba(245, 239, 227, 0.3);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.mobile-cta { display: none; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 26px;
  cursor: pointer;
  padding: 4px;
}

/* ---------- Hero (skyline scene) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0A1020 0%, #1C2A1F 38%, #6B4A1E 68%, #C97B33 92%, #E8A857 100%);
  padding-top: 64px;
}
.hero-sky-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 18% 28%, rgba(240,198,116,0.22), transparent 70%);
  pointer-events: none;
}
.skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 34%;
  opacity: 0.55;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 64px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
}
.hero-mark img {
  width: 100%;
  filter: drop-shadow(0 8px 30px rgba(212,162,76,0.35));
  animation: floatMark 6s ease-in-out infinite;
}
@keyframes floatMark {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero h1 {
  font-size: 52px;
  line-height: 1.04;
  color: var(--cream);
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.hero h1 .accent { color: var(--gold-bright); }
.hero .tagline {
  margin-top: 18px;
  font-size: 18px;
  color: rgba(245,239,227,0.92);
  max-width: 480px;
  font-weight: 500;
}
.hero .btn-row { margin-top: 30px; }

.hero-truck-scene {
  position: relative;
  z-index: 1;
  margin-top: 96px;
  height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-truck-scene svg { width: 100%; max-width: 640px; }

.page-hero {
  padding: 70px 0 56px;
  text-align: center;
  position: relative;
}
.page-hero .eyebrow {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
}
.page-hero h1 {
  font-size: 40px;
  margin-top: 12px;
  color: var(--cream);
}
.page-hero .sub {
  margin-top: 14px;
  color: var(--slate);
  font-size: 16.5px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--navy-soft); }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head .eyebrow {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: 32px;
  margin-top: 10px;
  color: var(--cream);
}
.section-head p {
  margin-top: 14px;
  color: var(--slate);
  font-size: 16px;
}

.divider-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 56px 0;
}

/* About text block */
.about-block {
  max-width: 680px;
  margin: 0 auto;
}
.about-block p {
  color: rgba(245,239,227,0.85);
  font-size: 17px;
  margin-bottom: 18px;
}
.about-block p:last-child { margin-bottom: 0; }

/* ---------- Cards / Grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.card {
  background: var(--navy-soft);
  border: 1px solid rgba(212,162,76,0.14);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(212,162,76,0.4);
}
.card .icon {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
}
.card h3 {
  font-size: 19px;
  color: var(--cream);
  margin-bottom: 10px;
}
.card p {
  color: var(--slate);
  font-size: 15px;
}

/* Value props strip */
.value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.value-strip .num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold-bright);
  font-weight: 700;
}
.value-strip .label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--slate);
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, #1A2A45, #0B1426 60%);
  border-radius: 16px;
  padding: 56px 48px;
  text-align: center;
  border: 1px solid rgba(212,162,76,0.2);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--cream); font-size: 28px; }
.cta-band p { color: var(--slate); margin-top: 12px; font-size: 16px; }
.cta-band .btn-row { justify-content: center; margin-top: 26px; }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.02em;
}
.form-field input, .form-field select, .form-field textarea {
  background: var(--navy-deep);
  border: 1.5px solid rgba(212,162,76,0.2);
  border-radius: 7px;
  padding: 12px 14px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--gold);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 110px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--navy-soft);
  border: 1px solid rgba(212,162,76,0.16);
  border-radius: 12px;
  padding: 32px;
}

/* Requirements / qualifications list */
.req-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.req-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  color: var(--slate);
}
.req-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212,162,76,0.14);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}
.req-list strong { color: var(--cream); }

.file-field input[type="file"] {
  background: var(--navy-deep);
  border: 1.5px dashed rgba(212,162,76,0.3);
  border-radius: 7px;
  padding: 12px 14px;
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
}
.file-field input[type="file"]::file-selector-button {
  background: var(--gold);
  border: none;
  color: var(--navy-deep);
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 5px;
  margin-right: 12px;
  cursor: pointer;
}
.contact-info-card .row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(245,239,227,0.08);
}
.contact-info-card .row:last-child { border-bottom: none; }
.contact-info-card .row .ic { color: var(--gold); font-size: 18px; width: 22px; }
.contact-info-card .row .lbl { font-size: 12.5px; color: var(--slate); letter-spacing: 0.06em; text-transform: uppercase; }
.contact-info-card .row .val { font-size: 15.5px; color: var(--cream); margin-top: 2px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(212,162,76,0.12);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p {
  color: var(--slate-dim);
  font-size: 14px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13.5px;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  color: var(--slate);
  font-size: 14.5px;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(245,239,227,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: var(--slate-dim); font-size: 13px; }

/* ---------- Services page specifics ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail .visual {
  background: var(--navy-soft);
  border-radius: 14px;
  border: 1px solid rgba(212,162,76,0.16);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-detail .visual svg { width: 100%; max-width: 280px; }
.service-detail h3 {
  font-size: 26px;
  color: var(--cream);
}
.service-detail .tag {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
.service-detail p {
  color: var(--slate);
  font-size: 16px;
  margin-top: 14px;
}
.service-detail ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.service-detail li {
  color: rgba(245,239,227,0.85);
  font-size: 15px;
  padding: 8px 0 8px 26px;
  position: relative;
}
.service-detail li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.service-stack { display: flex; flex-direction: column; gap: 72px; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }

  .nav-inner.menu-open nav.main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px 28px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(212,162,76,0.15);
  }
  .nav-inner.menu-open nav.main-nav a {
    padding: 6px 0;
  }
  .nav-cta { display: none; }
  .mobile-cta {
    display: none;
  }
  .nav-inner.menu-open .mobile-cta {
    display: flex;
    margin-top: 4px;
  }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-mark { width: 140px; margin: 0 auto; }
  .hero h1 { font-size: 36px; }
  .hero .tagline { margin-left: auto; margin-right: auto; }
  .hero .btn-row { justify-content: center; }

  .grid-3, .grid-2, .value-strip { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail.reverse { direction: ltr; }
  .service-detail .visual { padding: 32px; }
  .cta-band { padding: 40px 24px; }
  .section-head h2 { font-size: 26px; }
  .page-hero h1 { font-size: 30px; }
}
