/**
 * Life Safety Pro - Core Theme Stylesheet
 * Responsive, Lightweight, Production-Ready
 */

/* ==========================================================================
   1. CSS Variables & Design System Tokens
   ========================================================================== */
:root {
  --ls-red: #e52421;
  --ls-red-dark: #c01815;
  --ls-red-light: #fff1f0;
  --ls-navy-deep: #001526;
  --ls-navy-dark: #011d33;
  --ls-navy-surface: #0a2540;
  --ls-cyan-accent: #38bdf8;
  
  --ls-text-dark: #0f172a;
  --ls-text-body: #475569;
  --ls-text-muted: #64748b;
  --ls-text-light: #94a3b8;
  --ls-text-white: #ffffff;

  --ls-bg-white: #ffffff;
  --ls-bg-slate: #f8fafc;
  --ls-bg-muted: #f1f5f9;
  --ls-border-color: #e2e8f0;
  --ls-border-light: #f1f5f9;

  --ls-radius-sm: 6px;
  --ls-radius-md: 10px;
  --ls-radius-lg: 14px;
  --ls-radius-full: 9999px;

  --ls-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --ls-shadow-md: 0 4px 16px rgba(11, 26, 48, 0.06);
  --ls-shadow-lg: 0 10px 30px rgba(11, 26, 48, 0.10);

  --ls-transition: all 0.25s ease-in-out;
  --ls-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ls-container-max: 1240px;
}

/* ==========================================================================
   2. Reset & Base Typography
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--ls-font-sans);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--ls-bg-white);
  color: var(--ls-text-body);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Container */
.ls-container {
  width: 100%;
  max-width: var(--ls-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Buttons */
.ls-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--ls-radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--ls-transition);
  text-decoration: none;
}

.ls-btn-primary {
  background-color: var(--ls-red);
  color: var(--ls-text-white);
  border-color: var(--ls-red);
}

.ls-btn-primary:hover {
  background-color: var(--ls-red-dark);
  border-color: var(--ls-red-dark);
  color: var(--ls-text-white);
  transform: translateY(-1px);
}

.ls-btn-outline {
  background-color: transparent;
  color: var(--ls-text-dark);
  border-color: var(--ls-border-color);
}

.ls-btn-outline:hover {
  background-color: var(--ls-bg-muted);
  border-color: var(--ls-text-dark);
}

.ls-btn-outline-white {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--ls-text-white);
  border-color: rgba(255, 255, 255, 0.35);
}

.ls-btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--ls-text-white);
  color: var(--ls-text-white);
}

.ls-btn-lg {
  padding: 12px 28px;
  font-size: 15px;
}

.ls-btn-block {
  width: 100%;
}

.ls-btn-wa {
  color: #128c7e;
  border-color: rgba(18, 140, 126, 0.3);
}

.ls-btn-wa:hover {
  background-color: #e8f8f5;
  border-color: #128c7e;
}

.ls-btn-arrow {
  transition: transform 0.2s ease;
}

.ls-btn:hover .ls-btn-arrow {
  transform: translateX(3px);
}

/* Common Section Headers */
.ls-section {
  padding: 70px 0;
}

.ls-section-header {
  margin-bottom: 36px;
}

.ls-section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--ls-text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.ls-accent-bar {
  width: 38px;
  height: 3px;
  background-color: var(--ls-red);
  border-radius: 2px;
}

/* ==========================================================================
   3. Header & Navigation Component
   ========================================================================== */
.ls-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: var(--ls-bg-white);
  border-bottom: 1px solid var(--ls-border-color);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
}

.ls-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Brand Logo - matches approved reference compact size */
.ls-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.ls-brand-logo-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ls-brand-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.ls-brand-text {
  display: flex;
  flex-direction: column;
}

.ls-brand-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--ls-navy-dark);
  line-height: 1.1;
}

.ls-brand-name .ls-brand-red {
  color: var(--ls-red);
}

.ls-brand-name-white {
  color: #ffffff;
}

.ls-brand-name-white .ls-brand-red {
  color: var(--ls-red);
}

.ls-brand-tagline {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ls-text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.ls-brand-tagline-white {
  color: rgba(255, 255, 255, 0.55);
}

/* Desktop Navigation - matches reference spacing */
.ls-header-nav {
  display: flex;
  align-items: center;
}

.ls-nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ls-nav-menu > li > a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  padding: 6px 0;
  transition: var(--ls-transition);
}

.ls-nav-menu > li > a:hover {
  color: var(--ls-red);
}

/* Active Menu Item with Red Underline */
.ls-nav-menu > li.current-menu-item > a,
.ls-nav-menu > li.current-menu-ancestor > a {
  color: #0f172a;
  font-weight: 600;
}

.ls-nav-menu > li.current-menu-item > a::after,
.ls-nav-menu > li.current-menu-ancestor > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--ls-red);
  border-radius: 2px;
}

/* Header Action Area */
.ls-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ls-header-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--ls-radius-sm);
  color: var(--ls-navy-dark);
  transition: var(--ls-transition);
}

.ls-header-cart-btn:hover {
  background-color: var(--ls-bg-slate);
  color: var(--ls-red);
}

.ls-cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: var(--ls-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ls-header-cta-btn {
  padding: 10px 20px;
}

/* Mobile Toggle Hamburger */
.ls-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--ls-border-color);
  border-radius: var(--ls-radius-sm);
  padding: 8px;
  cursor: pointer;
}

.ls-hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--ls-navy-dark);
  border-radius: 2px;
  transition: var(--ls-transition);
}

/* Mobile Off-canvas Drawer */
.ls-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ls-mobile-drawer.is-open {
  visibility: visible;
  opacity: 1;
}

.ls-mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(11, 26, 48, 0.6);
  backdrop-filter: blur(3px);
}

.ls-mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background-color: var(--ls-bg-white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
}

.ls-mobile-drawer.is-open .ls-mobile-drawer-panel {
  transform: translateX(0);
}

.ls-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ls-border-color);
  margin-bottom: 20px;
}

.ls-drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--ls-text-muted);
  cursor: pointer;
}

.ls-drawer-menu li {
  margin-bottom: 14px;
}

.ls-drawer-menu a {
  font-size: 16px;
  font-weight: 600;
  color: var(--ls-text-dark);
  display: block;
}

.ls-drawer-menu a:hover {
  color: var(--ls-red);
}

.ls-drawer-cta {
  margin: 24px 0;
}

.ls-drawer-contact-info {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--ls-border-color);
}

.ls-drawer-contact-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ls-text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.ls-drawer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ls-text-body);
  margin-bottom: 10px;
}

.ls-drawer-contact-item span.material-symbols-outlined {
  color: var(--ls-red);
  font-size: 18px;
}

/* ==========================================================================
   4. Homepage Hero Section & Strip
   ========================================================================== */
.ls-hero-section {
  padding-top: 0;
  padding-bottom: 0;
  background-color: #011d33;
  position: relative;
  overflow: hidden;
}

/* Full-width dark navy hero grid matching approved reference */
.ls-hero-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  background-color: #011d33;
  min-height: 480px;
}

.ls-hero-content {
  padding: 56px 48px 56px max(24px, calc((100vw - 1240px) / 2 + 24px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

/* Kicker: cyan accent above headline */
.ls-hero-kicker {
  font-size: 11px;
  font-weight: 600;
  color: #38bdf8;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.ls-hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.ls-title-white {
  color: #ffffff;
}

.ls-title-red {
  color: var(--ls-red);
}

.ls-hero-subtitle {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 440px;
}

.ls-hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ls-btn-hero {
  padding: 12px 24px;
  font-size: 14.5px;
  border-radius: 6px;
}

/* Right photo fills column flush top/right/bottom */
.ls-hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  background-color: #011d33;
}

.ls-hero-visual::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 60px;
  background: linear-gradient(to right, #011d33 0%, rgba(1, 29, 51, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.ls-hero-img-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ls-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

/* Strip sits directly below hero, full width with container */
.ls-hero-strip {
  background-color: #ffffff;
  border-top: 1px solid var(--ls-border-color);
  border-bottom: 1px solid var(--ls-border-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.ls-hero-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0;
}

.ls-strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 12px;
  border-right: 1px solid var(--ls-border-color);
  transition: var(--ls-transition);
  text-decoration: none;
}

.ls-strip-item:last-child {
  border-right: none;
}

.ls-strip-item:hover {
  background-color: var(--ls-bg-slate);
}

.ls-strip-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(229, 36, 33, 0.08);
  color: var(--ls-red);
  flex-shrink: 0;
}

.ls-strip-icon {
  font-size: 18px;
}

.ls-strip-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ls-navy-dark);
}

/* ==========================================================================
   5. Section Headers, Accent Bar & Cards
   ========================================================================== */
.ls-section {
  padding: 64px 0;
}

.ls-section-header {
  margin-bottom: 30px;
}

.ls-section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--ls-navy-dark);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.ls-accent-bar {
  width: 40px;
  height: 3.5px;
  background-color: var(--ls-red);
  border-radius: 2px;
}

.ls-card-grid {
  display: grid;
  gap: 22px;
}

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

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

.ls-card {
  background-color: var(--ls-bg-white);
  border-radius: 8px;
  border: 1px solid var(--ls-border-color);
  overflow: hidden;
  transition: var(--ls-transition);
  display: flex;
  flex-direction: column;
}

.ls-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.ls-card-media {
  position: relative;
  height: 150px;
  background-color: var(--ls-bg-muted);
  overflow: hidden;
}

.ls-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ls-card:hover .ls-card-img {
  transform: scale(1.04);
}

/* Card icon badge: White circle with red icon */
.ls-card-icon-badge {
  position: absolute;
  bottom: 10px;
  left: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--ls-red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ls-card-icon-badge .material-symbols-outlined {
  font-size: 18px;
}

.ls-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ls-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ls-navy-dark);
  line-height: 1.3;
  margin-bottom: 8px;
}

.ls-card-text {
  font-size: 13px;
  color: var(--ls-text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.ls-card-arrow-link {
  align-self: flex-start;
  color: var(--ls-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--ls-transition);
}

.ls-card:hover .ls-card-arrow-link {
  color: var(--ls-red);
  transform: translateX(4px);
}

/* ==========================================================================
   6. Section: Why Life Safety
   ========================================================================== */
.ls-section-why {
  background-color: var(--ls-bg-slate);
  border-top: 1px solid var(--ls-border-light);
  border-bottom: 1px solid var(--ls-border-light);
}

.ls-why-grid {
  display: grid;
  gap: 24px;
}

.ls-why-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ls-why-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--ls-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(229, 36, 33, 0.25);
}

.ls-why-icon-circle .material-symbols-outlined {
  font-size: 24px;
}

.ls-why-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ls-text-dark);
  margin-bottom: 6px;
}

.ls-why-text {
  font-size: 13.5px;
  color: var(--ls-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   7. Section: Professional Safety Services (Dark Navy)
   ========================================================================== */
.ls-section-services-dark {
  background-color: var(--ls-navy-dark);
}

.ls-section-header-white .ls-section-title {
  color: var(--ls-text-white);
}

.ls-service-card {
  background-color: var(--ls-bg-white);
  border: none;
}

.ls-service-card .ls-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.ls-service-card .ls-card-title {
  font-size: 15px;
  margin-bottom: 0;
  max-width: 80%;
}

/* ==========================================================================
   8. Section: Safety Equipment
   ========================================================================== */
.ls-section-equipment {
  background-color: var(--ls-bg-white);
}

.ls-equipment-card {
  border: 1px solid var(--ls-border-color);
  background-color: var(--ls-bg-white);
}

.ls-equipment-media {
  height: 190px;
  background-color: #fafbfc;
}

.ls-equipment-body {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ls-equipment-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(229, 36, 33, 0.08);
  color: var(--ls-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ls-equipment-icon .material-symbols-outlined {
  font-size: 18px;
}

.ls-equipment-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ls-text-dark);
  flex-grow: 1;
}

/* ==========================================================================
   9. CTA Banner Section
   ========================================================================== */
.ls-cta-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 50px 0;
}

.ls-cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ls-cta-content {
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.ls-cta-accent-bar {
  width: 4px;
  background-color: var(--ls-red);
  border-radius: 2px;
  flex-shrink: 0;
}

.ls-cta-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--ls-text-white);
  line-height: 1.25;
  margin-bottom: 6px;
}

.ls-cta-subtitle {
  font-size: 14.5px;
  color: var(--ls-text-light);
  line-height: 1.5;
}

.ls-cta-action {
  flex-shrink: 0;
}

/* ==========================================================================
   10. Footer Component
   ========================================================================== */
.ls-site-footer {
  background-color: var(--ls-navy-deep);
  color: var(--ls-text-light);
}

.ls-footer-main {
  padding: 60px 0 45px;
}

.ls-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}

.ls-brand-link-white .ls-brand-name-white {
  color: var(--ls-text-white);
}

.ls-brand-link-white .ls-brand-tagline-white {
  color: var(--ls-text-light);
}

.ls-footer-bio {
  font-size: 13.5px;
  color: var(--ls-text-light);
  line-height: 1.6;
  margin: 16px 0 20px;
  max-width: 320px;
}

.ls-footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ls-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--ls-text-white);
  transition: var(--ls-transition);
}

.ls-social-icon:hover {
  background-color: var(--ls-red);
  color: #fff;
  transform: translateY(-2px);
}

.ls-footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--ls-text-white);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.ls-footer-links li {
  margin-bottom: 10px;
}

.ls-footer-links a {
  font-size: 13.5px;
  color: var(--ls-text-light);
  transition: var(--ls-transition);
}

.ls-footer-links a:hover {
  color: var(--ls-text-white);
  padding-left: 3px;
}

.ls-footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13.5px;
}

.ls-contact-icon {
  font-size: 18px;
  color: var(--ls-text-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.ls-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 13px;
  color: var(--ls-text-light);
}

.ls-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.ls-legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ls-legal-links a:hover {
  color: var(--ls-text-white);
}

.ls-legal-divider {
  color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   11. Standard Pages & Blog
   ========================================================================== */
.ls-page-header {
  background-color: var(--ls-navy-dark);
  color: #fff;
  padding: 44px 0;
}

.ls-page-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.ls-breadcrumbs {
  font-size: 13px;
  color: var(--ls-text-light);
}

.ls-breadcrumbs a {
  color: var(--ls-text-light);
}

.ls-breadcrumbs a:hover {
  color: #fff;
}

.ls-page-container {
  padding: 50px 0;
}

.ls-entry-content {
  line-height: 1.8;
  font-size: 15.5px;
}

.ls-entry-content h2,
.ls-entry-content h3 {
  color: var(--ls-text-dark);
  margin-top: 30px;
  margin-bottom: 14px;
}

.ls-single-thumbnail {
  margin-bottom: 24px;
  border-radius: var(--ls-radius-md);
  overflow: hidden;
}

/* 404 Page */
.ls-404-container {
  padding: 90px 0;
  text-align: center;
}

.ls-404-number {
  font-size: 90px;
  font-weight: 900;
  color: var(--ls-red);
  line-height: 1;
  display: block;
}

.ls-404-title {
  font-size: 28px;
  color: var(--ls-navy-dark);
  margin: 14px 0;
}

.ls-404-desc {
  max-width: 480px;
  margin: 0 auto 28px;
  color: var(--ls-text-muted);
}

/* ==========================================================================
   12. Quote Modal Dialog
   ========================================================================== */
.ls-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ls-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.ls-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(7, 18, 32, 0.7);
  backdrop-filter: blur(4px);
}

.ls-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  background-color: var(--ls-bg-white);
  border-radius: var(--ls-radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s ease;
}

.ls-modal.is-open .ls-modal-dialog {
  transform: translateY(0) scale(1);
}

.ls-modal-content {
  padding: 28px;
}

.ls-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ls-border-color);
}

.ls-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ls-navy-dark);
  margin-bottom: 4px;
}

.ls-modal-subtitle {
  font-size: 13px;
  color: var(--ls-text-muted);
}

.ls-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--ls-text-muted);
  cursor: pointer;
  line-height: 1;
}

.ls-form-group {
  margin-bottom: 14px;
}

.ls-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ls-form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ls-navy-dark);
  margin-bottom: 5px;
}

.ls-req {
  color: var(--ls-red);
}

.ls-form-input,
.ls-form-select,
.ls-form-textarea {
  width: 100%;
  padding: 9px 12px;
  font-size: 13.5px;
  border: 1px solid var(--ls-border-color);
  border-radius: var(--ls-radius-sm);
  background-color: #fff;
  color: var(--ls-text-dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ls-form-input:focus,
.ls-form-select:focus,
.ls-form-textarea:focus {
  border-color: var(--ls-red);
  box-shadow: 0 0 0 3px rgba(229, 36, 33, 0.12);
}

.ls-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.ls-quote-status {
  margin-top: 12px;
  padding: 10px;
  border-radius: var(--ls-radius-sm);
  font-size: 13px;
  text-align: center;
}

.ls-quote-status.success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* ==========================================================================
   13. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .ls-hero-title {
    font-size: 38px;
  }
  .ls-hero-content {
    padding: 44px 32px;
  }
  .ls-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .ls-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .ls-header-nav {
    display: none;
  }
  .ls-mobile-toggle {
    display: flex;
  }
  .ls-hero-grid {
    grid-template-columns: 1fr;
  }
  .ls-hero-visual {
    min-height: 280px;
    max-height: 350px;
  }
  .ls-hero-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .ls-strip-item {
    border-right: none;
    border-bottom: 1px solid var(--ls-border-color);
  }
  .ls-strip-item:nth-child(3),
  .ls-strip-item:nth-child(4) {
    border-bottom: none;
  }
  .ls-cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .ls-hero-title {
    font-size: 30px;
  }
  .ls-hero-content {
    padding: 32px 20px;
  }
  .ls-hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .ls-hero-strip-grid {
    grid-template-columns: 1fr;
  }
  .ls-strip-item {
    justify-content: flex-start;
    border-right: none;
    border-bottom: 1px solid var(--ls-border-color);
  }
  .ls-strip-item:last-child {
    border-bottom: none;
  }
  .ls-grid-4,
  .ls-grid-3 {
    grid-template-columns: 1fr;
  }
  .ls-footer-grid {
    grid-template-columns: 1fr;
  }
  .ls-form-row {
    grid-template-columns: 1fr;
  }
  .ls-header-cta-btn {
    display: none;
  }
  .ls-brand-name {
    font-size: 17px;
  }
  .ls-brand-tagline {
    font-size: 7.5px;
  }
}
