*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0e172a;
  background-color: #f5f7fb;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.top-bar {
  background: #0f172a;
  color: #e5f4ff;
  font-size: 0.85rem;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 1.5rem;
}

.top-bar-left span {
  opacity: 0.9;
}

.top-bar-left .divider {
  margin: 0 0.75rem;
}

.top-bar-right a {
  margin-left: 1rem;
  opacity: 0.95;
}

.nav {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #0f172a;
}

.logo span {
  color: #0f9ed6;
}

.logo img {
  height: 3rem;
  width: auto;
  display: block;
}

.logo.footer-logo img {
  height: 3.2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  color: #475569;
}

.nav-links a.active {
  color: #0f9ed6;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #38bdf8, #1e40af);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.35);
}

.btn-outline {
  background: transparent;
  color: #0f9ed6;
  border: 1px solid rgba(15, 158, 214, 0.5);
  box-shadow: none;
}

.btn-ghost {
  background: rgba(15, 158, 214, 0.08);
  color: #0f9ed6;
  box-shadow: none;
}

.btn:hover {
  opacity: 0.95;
}

.hero {
  padding: 3rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: #0f9ed6;
  font-weight: 600;
}

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

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin: 0.75rem 0 1rem;
}

.hero h1 span {
  color: #0f9ed6;
}

.subtitle {
  color: #4b5563;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight strong {
  display: block;
  font-size: 1.4rem;
}

.highlight span {
  color: #6b7280;
  font-size: 0.85rem;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: #020617;
  border-radius: 1.5rem;
  padding: 0.75rem;
  color: #e5e7eb;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.6);
  position: relative;
  overflow: hidden;
}

.hero-card img {
  border-radius: 1rem;
  object-fit: cover;
  height: 260px;
  width: 100%;
}

.hero-card-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 0.75rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
}

.hero-card-badge span {
  display: block;
  color: #d1fae5;
}

.hero-card-badge strong {
  display: block;
  color: #bbf7d0;
}

.trust {
  padding: 1.5rem 0 2.5rem;
}

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

.trust-logos {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.logo-pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #e5f4ff;
  color: #0369a1;
  font-size: 0.78rem;
}

.cols-2 {
  padding: 2.5rem 0 3.5rem;
}

.cols-2-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: start;
}

.cols-2 h2 {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin-top: 1.25rem;
}

.checklist li {
  margin-bottom: 0.5rem;
  padding-left: 1.4rem;
  position: relative;
  color: #4b5563;
  font-size: 0.95rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #22c55e;
}

.info-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.info-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.info-card h3,
.info-card h2 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.info-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
}

.steps {
  padding: 2.5rem 0 3.5rem;
}

.center {
  text-align: center;
}

.steps-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.step {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: #0f9ed6;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
}

.cta {
  padding: 3rem 0 3.5rem;
}

.cta-inner {
  background: #020617;
  border-radius: 1.75rem;
  padding: 2rem 2.25rem;
  color: #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.cta h2 {
  margin-top: 0;
}

.cta p {
  max-width: 30rem;
  color: #cbd5f5;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cta .btn {
  background: #0f9ed6;
  box-shadow: 0 20px 35px rgba(56, 189, 248, 0.45);
}

.cta-alt {
  font-size: 0.9rem;
  color: #e5e7eb;
  opacity: 0.9;
}

.footer {
  margin-top: 2.5rem;
  background: #020617;
  color: #9ca3af;
  font-size: 0.85rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding: 2.5rem 1.5rem 1.75rem;
}

.footer-logo {
  margin-bottom: 0.5rem;
}

.footer-col h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #e5e7eb;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: #9ca3af;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}

.footer-bottom-links a {
  margin-left: 1rem;
}

/* Subpages */
.subpage-header {
  background: #020617;
  color: #e5e7eb;
}

.subpage-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.subpage-nav a {
  margin-left: 1.25rem;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.subpage-nav a.active {
  color: #38bdf8;
}

.page-hero {
  padding: 3rem 0 2rem;
  background: radial-gradient(circle at top left, rgba(15, 158, 214, 0.14), transparent 55%);
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

.page-hero p {
  max-width: 36rem;
  color: #4b5563;
}

.page-content {
  padding: 2.5rem 0 3.5rem;
}

.narrow {
  max-width: 720px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* Form */
.quote-form {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.field-group {
  margin-bottom: 1rem;
}

.field-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: #4b5563;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: #0f9ed6;
  box-shadow: 0 0 0 1px rgba(15, 158, 214, 0.12);
}

/* Hamburger Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #0f172a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive */
@media (max-width: 960px) {

  .hero-inner,
  .cols-2-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .nav-inner {
    position: relative;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    font-size: 1.25rem;
    padding: 1rem;
    color: #0f172a;
    border-radius: 0.5rem;
    transition: background 0.2s ease;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(15, 158, 214, 0.1);
    color: #0f9ed6;
  }

  .btn.btn-outline {
    display: none;
  }

  .nav-links::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    background: #f5f7fb;
    z-index: -1;
  }

  .watermark-logo {
    display: none !important;
  }

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

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

@media (max-width: 640px) {
  .hero {
    padding-top: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-card img {
    height: 220px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-inner {
    padding: 1.5rem 1.4rem;
  }

  .top-bar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* HERO V4 OVERRIDE */

.hero {
  padding: 6rem 0;
  background-image: url('../assets/img/hero/hero-guildroad-truck.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

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

.hero h1,
.hero p,
.hero .subtitle,
.hero .eyebrow,
.hero .hero-highlights strong,
.hero .hero-highlights span {
  color: #ffffff !important;
}

.hero-visual {
  display: none;
}

/* SCROLL ANIMATIONS */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
}

.fade-in {
  opacity: 0;
}

.fade-in.visible {
  opacity: 1;
}

.slide-up {
  transform: translateY(30px);
}

.slide-up.visible {
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

.stagger-6 {
  transition-delay: 0.6s;
}

/* SECTION DIVIDERS */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 158, 214, 0.3), transparent);
  margin: 3rem 0;
}

.section-divider.thick {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(15, 158, 214, 0.5), rgba(34, 197, 94, 0.3), transparent);
}

/* CALLOUT BOXES */
.callout {
  background: linear-gradient(135deg, rgba(15, 158, 214, 0.08), rgba(34, 197, 94, 0.08));
  border-left: 4px solid #0f9ed6;
  border-radius: 0.75rem;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}

.callout h3 {
  margin-top: 0;
  color: #0f9ed6;
  font-size: 1.1rem;
}

.callout p {
  margin-bottom: 0;
  color: #4b5563;
}

.callout.highlight {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(15, 158, 214, 0.08));
  border-left-color: #22c55e;
}

.callout.highlight h3 {
  color: #22c55e;
}

/* ICON CONTAINERS */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.icon-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.icon-card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.icon-card h4 {
  margin: 0.5rem 0 0.35rem;
  font-size: 1rem;
  color: #0f172a;
}

.icon-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #6b7280;
}

/* NUMBERED LIST STYLING */
.numbered-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.numbered-list li {
  counter-increment: step-counter;
  margin-bottom: 1.25rem;
  padding-left: 3rem;
  position: relative;
  color: #4b5563;
}

.numbered-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f9ed6, #22c55e);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.numbered-list li strong {
  display: block;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

/* CONTENT SECTIONS */
.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  margin-bottom: 1rem;
  color: #0f172a;
}

.content-section h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.content-section p {
  color: #4b5563;
  line-height: 1.7;
}

.content-section ul {
  color: #4b5563;
}

.content-section ul li {
  margin-bottom: 0.5rem;
}

/* BLOG STYLES */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.blog-card {
  background: #ffffff;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: #0f172a;
  line-height: 1.3;
}

.blog-card-excerpt {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  flex: 1;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  color: #0f9ed6;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
}

.blog-card-link:hover {
  color: #0369a1;
}

/* Blog Post Page */
.blog-post-hero {
  padding: 3rem 0 2rem;
  background: radial-gradient(circle at top left, rgba(15, 158, 214, 0.14), transparent 55%);
}

.blog-post-hero-inner {
  max-width: 800px;
}

.blog-post-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.blog-post-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-post-header-image {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.blog-post-header-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.blog-post-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #0f172a;
  font-size: 1.75rem;
}

.blog-post-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
  font-size: 1.35rem;
}

.blog-post-content p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.blog-post-content ul,
.blog-post-content ol {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #0f9ed6;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.blog-back-link:hover {
  color: #0369a1;
}

.blog-cta {
  background: linear-gradient(135deg, rgba(15, 158, 214, 0.1), rgba(34, 197, 94, 0.08));
  border-radius: 1.25rem;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.blog-cta h3 {
  margin-top: 0;
  color: #0f172a;
}

.blog-cta p {
  color: #4b5563;
  margin-bottom: 1.5rem;
}

/* Blog Responsive */
@media (max-width: 960px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .blog-post-content {
    padding: 1.5rem 1rem 2.5rem;
  }
  
  .blog-post-content h2 {
    font-size: 1.5rem;
  }
  
  .blog-post-content h3 {
    font-size: 1.2rem;
  }
}