/* First Source Inc. Theme
   Palette: Safety Alert Red (#C41E3A), Gold (#F4A261), Charcoal Dark (#1C1C1C), Warm Soft Cream (#FFF8F0), Espresso Text (#3D2314)
   Typography: Oswald (headings) + Nunito (body) */

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

:root {
  --primary: #C41E3A;
  --primary-hover: #a3142d;
  --primary-light: #fbeee0;
  --accent: #F4A261;
  --accent-dark: #e76f51;
  --charcoal: #1C1C1C;
  --charcoal-light: #2D2D2D;
  --bg-cream: #FFFDFB;
  --bg-soft: #FFF8F0;
  --bg-card: #FFFFFF;
  --text-dark: #3D2314;
  --text-muted: #6E5C53;
  --border: #EFE6DE;
  --border-hover: #E3D3C5;
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --font-sans: 'Nunito', sans-serif;
  --font-title: 'Oswald', sans-serif;
  --shadow: 0 10px 30px rgba(61, 35, 20, 0.05);
  --shadow-lg: 0 20px 50px rgba(61, 35, 20, 0.09);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-cream);
}

body {
  font-family: var(--font-sans);
  color: var(--text-muted);
  background: var(--bg-cream);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
}

.section--soft {
  background: var(--bg-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-head p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.lead {
  font-size: 1.15rem;
  color: var(--text-dark);
  font-weight: 600;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 30, 58, 0.08);
  border: 1px solid rgba(196, 30, 58, 0.15);
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  font-family: var(--font-title);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge strong {
  color: var(--accent-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 12px 28px;
  border-radius: 99px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn--red {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(196, 30, 58, 0.25);
}

.btn--red:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(196, 30, 58, 0.35);
}

.btn--gold {
  background: var(--accent);
  color: var(--charcoal);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(244, 162, 97, 0.25);
}

.btn--gold:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(230, 111, 81, 0.35);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.btn--outline {
  background: #fff;
  color: var(--charcoal);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 251, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid var(--border);
  height: 72px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 52px;
  width: auto;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 4px;
  border: 1px solid var(--border);
}

.brand .brand-txt {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--charcoal);
  line-height: 1.1;
  text-transform: uppercase;
}

.brand .brand-txt small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
  text-transform: none;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
}

.nav-links a {
  padding: 6px 10px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--charcoal);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--bg-soft);
}

.nav-mobile-phone,
.nav-mobile-cta {
  display: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta .btn {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.nav-phone {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--charcoal);
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-phone:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 24px;
  background: var(--charcoal);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  color: #fff;
  padding: clamp(100px, 14vw, 170px) 0 clamp(120px, 16vw, 190px);
  background: linear-gradient(135deg, rgba(28, 28, 28, 0.95), rgba(45, 45, 45, 0.85)), none no-repeat center center/cover;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.hero-inner {
  max-width: 780px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
}

.hero-stats > div {
  flex: 1;
}

.hero-stats .num {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stats .lbl {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Trust Band */
.trust {
  background: var(--charcoal);
  color: #fff;
  border-bottom: 1.5px solid var(--border);
  padding: 20px 0;
}

.trust ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Split Columns */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 700;
  color: var(--text-dark);
}

.checklist svg {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

/* Stats Band */
.stats-band {
  background: var(--bg-soft);
  border-top: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat .num {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat .lbl {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-top: 8px;
  text-transform: uppercase;
}

/* Grid & Card Systems */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  border-left: 6px solid var(--border);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  border-left-color: var(--primary);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(196, 30, 58, 0.15);
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, transparent 50%, var(--primary) 50%);
  opacity: 0;
  transition: var(--transition);
}

.card:hover::after {
  opacity: 1;
}

.card .ic {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(196, 30, 58, 0.06);
  display: grid;
  place-items: center;
  color: var(--primary);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.card h3 {
  color: var(--text-dark);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 0;
}

/* Service Card (Image) */
.svc-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border-left: 5px solid var(--border);
}

.svc-card:hover {
  transform: translateY(-5px);
  border-left-color: var(--primary);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.svc-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
}

.svc-card .body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.svc-card h3 {
  margin-bottom: 8px;
}

.svc-card p {
  margin-bottom: 0;
}

.svc-card .tag {
  align-self: flex-start;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(196, 30, 58, 0.06);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
  font-family: var(--font-title);
}

/* Code Cards (Codes Page) */
.code-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.code-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.code-card .abbr {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

.code-card h3 {
  margin-bottom: 10px;
}

.code-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Feature/How We Do It Panel (Dark) */
.panel {
  background: linear-gradient(135deg, var(--charcoal), var(--charcoal-light));
  color: #fff;
  border-radius: 24px;
  padding: clamp(34px, 5vw, 60px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.panel::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 30, 58, 0.25), transparent 70%);
}

.panel .eyebrow {
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.panel h2 {
  color: #fff;
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.panel > p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 34px;
  position: relative;
  z-index: 1;
}

.panel-grid h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 5px;
}

.panel-grid p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  margin: 0;
}

.panel-grid .dot {
  color: var(--accent);
  font-size: 1.2rem;
}

/* Steps Section */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step {
  position: relative;
  padding-top: 18px;
}

.step .n {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(196, 30, 58, 0.3);
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  margin: 0;
}

/* Testimonials / Reviews */
.review {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.review .stars {
  color: var(--accent);
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review p {
  font-size: 1rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 18px;
}

.review .who {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--charcoal);
  margin-top: auto;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.review .where {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Team / Bio Section */
.region-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 40px 0 30px;
}

.region-head::before,
.region-head::after {
  content: "";
  height: 1.5px;
  background: var(--border);
  flex: 1;
}

.region-head h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.team-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.team-card .photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.team-card .role {
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.team-card h3.name {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.team-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.team-card p:last-child {
  margin-bottom: 0;
}

/* Codes Page Accordion */
.accordion {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.accordion details {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.accordion details[open] {
  border-color: var(--border-hover);
}

.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  transition: var(--transition);
}

.accordion details[open] summary::after {
  content: "\2013";
}

.accordion .acc-body {
  padding: 0 24px 22px;
  font-size: 0.95rem;
}

.accordion .acc-body p {
  margin: 0 0 12px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 8px;
}

.accordion .acc-body p:last-child {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.accordion .acc-body strong {
  color: var(--text-dark);
  display: block;
  font-size: 1rem;
}

.accordion .acc-body .ref {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* CTA Band Section */
.cta-band {
  background: linear-gradient(135deg, var(--charcoal), var(--primary-hover));
  color: #fff;
  text-align: center;
  padding: clamp(60px, 8vw, 100px) 0;
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact Page Form Wrapper */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.form-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 7px;
  font-size: 0.92rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: #FFFDFB;
  color: var(--text-dark);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.1);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.consent {
  display: flex;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.contact-line {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-line:last-of-type {
  border-bottom: 0;
}

.contact-line .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--primary);
  flex: none;
}

.contact-line h4 {
  margin-bottom: 2px;
}

.contact-line a,
.contact-line p {
  color: var(--text-dark);
  margin: 0;
}

.contact-line a:hover {
  color: var(--primary);
}

/* Interior Page Hero */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--charcoal), var(--charcoal-light));
  color: #fff;
  padding: clamp(54px, 8vw, 96px) 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(120deg, transparent, rgba(196, 30, 58, 0.25));
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 660px;
  font-size: 1.12rem;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}

.crumb {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.crumb a:hover {
  color: #fff;
}

/* Footer Section */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 42px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-grid a:hover {
  color: var(--accent);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-brand img {
  height: 52px;
  width: auto;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.86rem;
}

.footer-credit {
  width: 100%;
  text-align: center;
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit a {
  color: var(--accent);
  font-weight: 600;
}

.footer-credit a:hover {
  text-decoration: underline;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Lightbox view */
body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-inner {
  max-width: min(92vw, 1200px);
  width: 100%;
}

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 85vh;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  margin: 14px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.lightbox-caption[hidden] {
  display: none;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s;
  display: grid;
  place-items: center;
  padding: 0;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-close {
  top: 18px;
  right: 18px;
  font-size: 2.4rem;
}

.lightbox-prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

/* Responsiveness Media Queries */
@media (min-width: 1201px) and (max-width: 1320px) {
  .brand .brand-txt small {
    display: none;
  }
  .nav-links a {
    padding: 6px;
    font-size: 0.82rem;
  }
  .nav-cta {
    gap: 8px;
  }
  .nav-phone {
    font-size: 0.88rem;
  }
}

@media (max-width: 1200px) {
  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }
  .brand .brand-txt {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand .brand-txt small {
    display: none;
  }
  .nav-links, .nav-phone {
    display: none;
  }
  .nav-cta > .btn {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-cream);
    border-bottom: 1.5px solid var(--border);
    padding: 14px 24px;
    gap: 4px;
    box-shadow: var(--shadow);
    z-index: 60;
  }
  .nav-links.open a {
    padding: 12px;
    font-size: 0.96rem;
    display: block;
  }
  .nav-links.open .nav-mobile-phone,
  .nav-links.open .nav-mobile-cta {
    display: block;
    width: 100%;
    list-style: none;
  }
  .nav-links.open .nav-mobile-phone {
    border-top: 1px solid var(--border);
    margin-top: 8px;
    padding-top: 10px;
  }
  .nav-links.open .nav-mobile-phone a {
    display: block;
    padding: 12px;
    font-weight: 800;
    color: var(--charcoal);
  }
  .nav-links.open .nav-mobile-cta {
    padding: 6px 0 4px;
  }
  .nav-links.open .nav-mobile-cta .btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 1080px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split, .form-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 0 16px;
  }
  body {
    font-size: 16px;
  }
}


/* Page height fix so short pages don't have a white gap at bottom */
html, body { min-height: 100vh; background-color: #0b0f19 !important; }

/* Fix Hero Images with correct relative path */
.hero, .page-hero { 
    background: linear-gradient(135deg, rgba(11, 15, 25, 0.9), rgba(0, 0, 0, 0.6)), url('../img/header-bg.jpg') no-repeat center center/cover !important; 
}

/* Dark Header */
.site-header {
    background: #0b0f19 !important;
    border-bottom: 1px solid #1f2937;
}
/* Logo natively has no background, ensure no interference */
.site-header .brand img, .footer-brand img { background: transparent !important; border-radius: 0 !important; filter: none !important; mix-blend-mode: normal !important; padding: 0 !important; }
.site-header .brand .brand-txt { color: #ffffff !important; text-transform: uppercase; font-weight: 800; font-family: 'Outfit', sans-serif; font-size: 1.25rem; letter-spacing: 0.5px; }
.site-header .brand .brand-txt small { color: #00d2ff !important; font-weight: 500; text-transform: none; font-size: 0.8rem; display: block; letter-spacing: normal; }
.site-header .nav-links a, .site-header .nav-phone { color: #ffffff !important; font-weight: 600; }
.site-header .nav-links a:hover, .site-header .nav-links a.active {
    background: rgba(0, 210, 255, 0.1) !important;
    color: #00d2ff !important;
    border-radius: 8px;
}

/* Fix awful contrast - force dark backgrounds and light text everywhere */
body, .section { background: #0b0f19 !important; color: #f3f4f6 !important; }
.section--soft { background: #111827 !important; }

h1,h2,h3 { font-family: 'Outfit', var(--font); font-weight: 700; color: #ffffff !important; }
p, .lead, .body { color: #d1d5db !important; }
.eyebrow { color: #00d2ff !important; font-weight: bold; letter-spacing: 1px; }

.card, .svc-card, .review, .form-card {
    background: #1f2937 !important;
    border: 1px solid #374151 !important;
    border-radius: 16px;
    color: #f3f4f6 !important;
}
.card h3, .svc-card h3, .review p, .review .who { color: #f3f4f6 !important; }

/* Modern Gradient Buttons */
.btn--red {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 30px;
}
.btn--gold {
    background: transparent !important;
    border: 2px solid #00d2ff !important;
    color: #00d2ff !important;
    border-radius: 30px;
}

/* Badges */
.badge {
    background: rgba(0, 210, 255, 0.15) !important;
    color: #00d2ff !important;
    border: 1px solid #00d2ff !important;
}
