/* ColdPro landing page styles */

:root {
  --bg: #f9fbf2;
  --white: #ffffff;
  --blue: #0241e7;
  --blue-mid: #3466e9;
  --blue-light: #4c79ec;
  --navy: #03012c;
  --heading: #03012b;
  --body-text: #33333f;
  --lime: #ccff66;

  --font-base: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;

  --container-max: 1200px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  background: var(--bg);
  color: var(--body-text);
  line-height: 1.5;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3 {
  color: var(--heading);
  margin: 0;
  line-height: 1.15;
  font-weight: 700;
}

p {
  margin: 0;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.dotted-bg {
  background-image: radial-gradient(circle, rgba(3, 1, 44, 0.14) 1px, transparent 1.5px);
  background-size: 16px 16px;
}

.dotted-bg--light {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.18) 1px, transparent 1.5px);
  background-size: 16px 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid rgba(3, 1, 44, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--blue);
}

.logo svg {
  flex-shrink: 0;
}

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

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

.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid rgba(3, 1, 44, 0.08);
  padding: var(--space-2) var(--space-3) var(--space-3);
}

.main-nav.is-open {
  display: block;
}

.main-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.main-nav a {
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--heading);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: block;
    position: static;
    border: none;
    padding: 0;
    background: none;
  }

  .main-nav ul {
    flex-direction: row;
    gap: var(--space-4);
  }
}

/* ---------- Hero ---------- */

.hero {
  padding: var(--space-6) 0 0;
}

.hero .container {
  padding-bottom: var(--space-5);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  max-width: 18ch;
}

.hero p {
  margin-top: var(--space-3);
  max-width: 50ch;
  font-size: 1.25rem;
}

.hero .btn-group {
  margin-top: var(--space-4);
}

.hero-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

@media (min-width: 900px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-5);
  }
}

/* ---------- Value band (lime) ---------- */

.value-band {
  background: var(--lime);
}

.value-band .container {
  display: grid;
  gap: var(--space-4);
  padding-top: var(--space-6);
  padding-bottom: 0;
}

.value-band h2 {
  font-size: clamp(1.75rem, 4vw, 3.125rem);
  max-width: 16ch;
}

.value-band p {
  margin-top: var(--space-3);
  max-width: 45ch;
  font-size: 1.125rem;
}

.value-band-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-top: var(--space-4);
}

@media (min-width: 900px) {
  .value-band .container {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .value-band-image {
    margin-top: 0;
    align-self: end;
  }
}

/* ---------- Products ---------- */

.products {
  padding: var(--space-7) 0;
}

.products .container {
  display: grid;
  gap: var(--space-5);
}

.products h2 {
  font-size: clamp(1.75rem, 4vw, 3.125rem);
  max-width: 14ch;
}

.world-map {
  margin-top: var(--space-4);
  width: 100%;
  max-width: 420px;
}

.product-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(3, 1, 44, 0.12);
}

.product-list li:first-child {
  padding-top: 0;
}

.product-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.product-text span {
  font-size: 1.125rem;
  color: var(--heading);
  font-weight: 500;
}

.product-text svg {
  color: var(--navy);
}

.product-icon {
  color: var(--blue);
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .products .container {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

/* ---------- Business types (blue) ---------- */

.business-band {
  background: var(--blue);
  color: var(--white);
  padding: var(--space-6) 0 0;
}

.business-band h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 3.125rem);
  text-align: center;
  max-width: 20ch;
  margin: 0 auto var(--space-6);
}

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

.business-card:nth-child(5) {
  grid-column: 1 / -1;
}

.business-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

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

.business-card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-3);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
  color: var(--white);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.business-card-caption::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}

@media (min-width: 700px) {
  .business-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .business-card:nth-child(5) {
    grid-column: auto;
  }
}

/* ---------- How it works ---------- */

.how {
  background: var(--navy);
  color: var(--white);
}

.how-heading {
  padding: var(--space-6) 0 var(--space-5);
  text-align: center;
}

.how-heading h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 3.125rem);
}

.how-steps {
  display: grid;
}

.how-step {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-mid) 100%);
  padding: var(--space-5) var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.how-step:nth-child(2) {
  background: linear-gradient(90deg, var(--blue-mid) 0%, var(--blue-light) 100%);
}

.how-step:nth-child(3) {
  background: var(--blue-light);
}

.how-step:nth-child(4) {
  background: linear-gradient(90deg, var(--blue-light) 0%, #7191f0 100%);
}

@media (min-width: 700px) {
  .how-step:nth-child(even) {
    justify-content: flex-end;
    text-align: right;
  }

  .how-step:nth-child(even) .how-step-body {
    order: -1;
  }
}

.how-step-number {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}

.how-step-body h3 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
}

.how-step-body p {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 32ch;
}

@media (min-width: 700px) {
  .how-step {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }
}

/* ---------- Why choose us ---------- */

.why {
  padding: var(--space-7) 0;
  text-align: center;
}

.why h2 {
  font-size: clamp(1.75rem, 4vw, 3.125rem);
  max-width: 18ch;
  margin: 0 auto var(--space-6);
}

.why-grid {
  display: grid;
  gap: var(--space-5);
  text-align: left;
}

.why-item svg {
  color: var(--navy);
}

.why-item-line {
  width: 100%;
  height: 2px;
  background: var(--lime);
  margin: var(--space-2) 0;
}

.why-item p {
  color: var(--heading);
  font-weight: 500;
}

@media (min-width: 700px) {
  .why-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ---------- CTA ---------- */

.cta {
  padding: var(--space-7) 0 0;
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.75rem, 4vw, 3.4rem);
  max-width: 18ch;
  margin: 0 auto;
}

.cta p {
  margin: var(--space-3) auto 0;
  max-width: 45ch;
  font-size: 1.125rem;
}

.cta .btn {
  margin-top: var(--space-4);
}

.cta-wordmark {
  margin-top: var(--space-6);
  overflow: hidden;
}

.cta-wordmark svg {
  width: 100%;
  height: auto;
  display: block;
}

.cta-tagline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2);
  text-align: left;
  padding-bottom: var(--space-5);
}

.cta-tagline h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  max-width: 20ch;
}

.cta-tagline small {
  color: rgba(3, 1, 43, 0.6);
}

.cta-truck {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 65%;
}

@media (min-width: 700px) {
  .cta-truck {
    aspect-ratio: 1440 / 755;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  padding: var(--space-6) 0;
  display: flex;
  justify-content: center;
}

.footer-mark {
  width: 96px;
  height: 96px;
}

/* ---------- Page stub (about / contact) ---------- */

.page-stub {
  padding: var(--space-7) 0;
  text-align: center;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-stub h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
}

.page-stub p {
  margin-top: var(--space-3);
  max-width: 45ch;
  margin-left: auto;
  margin-right: auto;
}
