@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Brand Colors */
  --brand-blue: #2393e4;
  --brand-blue-hover: #1b80c9;
  --brand-navy: #133a52;
  --brand-navy-hover: #0e2b3d;
  --brand-orange: #fa8502;
  --brand-orange-hover: #d97300;
  --brand-light: #f2faff;
  --brand-dark: #000c1b;
  --white: #ffffff;
  --gray-light: #f7f9fa;
  --gray-border: #e2e8f0;
  --gray-text: #64748b;
  
  /* Font Family */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 12, 27, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 12, 27, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 12, 27, 0.12);
  --shadow-primary: 0 8px 20px rgba(35, 147, 228, 0.25);
  --shadow-orange: 0 8px 20px rgba(250, 133, 2, 0.25);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* ----------- Reset & Base Styles ----------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--brand-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-blue-hover);
}

h1, h2, h3, h4 {
  color: var(--brand-navy);
  font-weight: 700;
  line-height: 1.25;
}

/* ----------- Layout ----------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }
}

.text-center { text-align: center; }

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 12px;
}

.section-title {
  font-size: 28px;
  margin-bottom: 16px;
  font-weight: 800;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 36px;
  }
}

.section-desc {
  font-size: 16px;
  color: var(--gray-text);
  max-width: 680px;
  margin: 0 auto 48px;
}

/* ----------- Buttons ----------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  gap: 10px;
  width: 100%;
  text-align: center;
}

@media (min-width: 480px) {
  .btn {
    width: auto;
  }
}

.btn-orange {
  background-color: var(--brand-orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-orange:hover {
  background-color: var(--brand-orange-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(250, 133, 2, 0.35);
}

.btn-navy {
  background-color: var(--brand-navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-navy:hover {
  background-color: var(--brand-navy-hover);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-navy);
  border: 2px solid var(--brand-navy);
}

.btn-outline:hover {
  background-color: var(--brand-navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ----------- Sticky Header ----------- */
.topbar {
  background-color: var(--brand-navy);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-item a {
  color: var(--white);
}

.topbar-item a:hover {
  color: var(--brand-blue);
}

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

.topbar-badge {
  font-size: 11px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

header {
  background-color: var(--white);
  padding: 16px 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: padding var(--transition-fast);
}

header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 44px;
  width: auto;
}

@media (min-width: 768px) {
  .logo img {
    height: 52px;
  }
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  
  .header-phone {
    display: flex;
    flex-direction: column;
    text-align: right;
  }
  
  .header-phone span {
    font-size: 12px;
    color: var(--gray-text);
    font-weight: 500;
  }
  
  .header-phone a {
    font-size: 20px;
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.1;
  }
}

/* ----------- Hero Section ----------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(19, 58, 82, 0.92) 0%, rgba(0, 12, 27, 0.85) 100%), url('assets/hero-bg.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 48px 0 64px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .hero {
    padding: 80px 0 96px;
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-inner {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 992px) {
  .hero-content {
    text-align: left;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-orange);
  background-color: rgba(250, 133, 2, 0.12);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  border: 1px solid rgba(250, 133, 2, 0.25);
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--brand-orange);
  border-radius: 50%;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(30px, 6vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 span {
  color: var(--brand-blue);
}

.hero p.lead {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .hero p.lead {
    margin-left: 0;
    margin-right: 0;
    font-size: 18px;
  }
}

.hero-usps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 500px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .hero-usps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .hero-usps {
    margin: 0;
  }
}

.hero-usp {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
}

.hero-usp svg {
  width: 18px;
  height: 18px;
  color: var(--brand-orange);
  flex-shrink: 0;
}

/* ----------- Lead Capture Card ----------- */
.lead-card {
  background-color: var(--white);
  color: var(--brand-dark);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--brand-orange);
  position: relative;
  z-index: 10;
}

.lead-card h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
  color: var(--brand-navy);
}

.lead-card .subhead {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 24px;
  text-align: center;
  font-weight: 500;
}

.form-group {
  margin-bottom: 16px;
  position: relative;
}

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

@media (min-width: 480px) {
  .form-row-split {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-border);
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--brand-dark);
  background-color: var(--white);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(35, 147, 228, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  text-align: left;
}

.form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--brand-blue);
}

.form-consent p {
  font-size: 11px;
  line-height: 1.4;
  color: var(--gray-text);
}

/* ----------- Trust Strip ----------- */
.trust-strip {
  background-color: var(--brand-light);
  border-bottom: 1px solid var(--gray-border);
  padding: 20px 0;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .trust-inner {
    justify-content: space-between;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-navy);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand-blue);
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-logos img {
  height: 24px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.trust-logos img:hover {
  opacity: 1;
}

/* ----------- Services Section ----------- */
.services {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 576px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}

.service-img {
  height: 200px;
  position: relative;
  background-color: var(--brand-light);
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}

.service-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--brand-navy);
}

.service-info p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.service-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link::after {
  transform: translateX(4px);
}

/* ----------- Why Us Section ----------- */
.why-us {
  background-color: var(--brand-light);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .why-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.why-img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.why-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--brand-orange);
  margin: 16px;
  border-radius: 12px;
  pointer-events: none;
}

.why-content h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .why-content h2 {
    font-size: 36px;
  }
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
  font-style: italic;
  font-family: inherit;
}

.feature-text h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--brand-navy);
}

.feature-text p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.5;
}

/* ----------- Reviews Section ----------- */
.reviews {
  background-color: var(--white);
}

.reviews-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--brand-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 20px;
  border: 1px solid var(--gray-border);
}

.reviews-summary span.stars {
  color: #ffc107;
  font-size: 16px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background-color: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast);
}

.review-card:hover {
  transform: translateY(-2px);
}

.review-stars {
  color: #ffc107;
  font-size: 18px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 14px;
  font-style: italic;
  color: var(--brand-dark);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.review-author {
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-navy);
}

.review-meta {
  font-size: 11px;
  color: var(--gray-text);
  margin-top: 2px;
  font-weight: 500;
}

/* ----------- Final CTA Section ----------- */
.final-cta {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
  position: relative;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.3;
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.final-cta h2 {
  color: var(--white);
  font-size: 28px;
  margin-bottom: 16px;
  font-weight: 800;
}

@media (min-width: 768px) {
  .final-cta h2 {
    font-size: 40px;
  }
}

.final-cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  line-height: 1.6;
}

.final-cta-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

@media (min-width: 480px) {
  .final-cta-btns {
    flex-direction: row;
  }
}

/* ----------- Footer ----------- */
footer {
  background-color: var(--brand-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 24px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p {
  margin-bottom: 8px;
  line-height: 1.5;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-logo img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-license {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copy {
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--white);
}

/* ----------- Mobile Sticky CTA Bar ----------- */
.mobile-sticky-cta {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--brand-navy);
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  border-top: 2px solid var(--brand-orange);
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.mobile-sticky-cta.visible {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .mobile-sticky-cta {
    display: none !important;
  }
}

.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
}

.mobile-cta-btn.cta-call {
  background-color: var(--brand-blue);
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-cta-btn.cta-call:hover {
  background-color: var(--brand-blue-hover);
}

.mobile-cta-btn.cta-quote {
  background-color: var(--brand-orange);
  color: var(--white);
}

.mobile-cta-btn.cta-quote:hover {
  background-color: var(--brand-orange-hover);
}

/* ----------- Success Modal / Toast ----------- */
.toast-success {
  position: fixed;
  bottom: 80px;
  right: 24px;
  background-color: #10b981;
  color: var(--white);
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(150px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-success.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success svg {
  width: 24px;
  height: 24px;
}
