/* ==========================================================================
   How to Order Page Styles
   ========================================================================== */

/* Variables & Base Reset
   ========================================================================== */

:root {
  --page-bg: #f9fbfe;
  --white: #ffffff;
  --heading: #0d1a2b;
  --muted: #5f6f7f;
  --dark: #0a1d2d;
  --dark-2: #0d2138;
  --primary: #1aa8e8;
  --primary-soft: #edf7ff;
  --line: rgba(26, 98, 144, 0.18);
  --shadow: 0 22px 48px rgba(8, 20, 32, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--page-bg);
  color: var(--heading);
}

a {
  color: inherit;
  text-decoration: none;
}

a.button {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.page-wrap {
  min-height: 100vh;
}

/* Hero Section (nav sits on top of the background image)
   ========================================================================== */

.hero-section {
  width: 100%;
  background:
    linear-gradient(
      90deg,
      rgba(7, 14, 30, 0.9) 0%,
      rgba(7, 14, 30, 0.7) 28%,
      rgba(7, 14, 30, 0) 55%
    ),
    url("../asset/order/hero.png") center / cover no-repeat,
    #0b1828;
  padding-top: 10px;
}

.hero-banner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 60px 75px 80px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3.7vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 18px;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.hero-dots span:nth-child(2),
.hero-dots span:nth-child(6) {
  background: #e1217e;
}

.hero-dots span:nth-child(3) {
  background: #ffc20e;
}

.hero-dots span:nth-child(4) {
  background: #156aae;
}

.subheading {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 14px;
}

.support-text {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.6;
}

/* Shared Section Layout & Headings
   ========================================================================== */

.steps-section,
.contact-strip,
.requirements-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 35px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 2.3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Steps Section (Our Easy 6 Step Process)
   ========================================================================== */

.steps-section {
  max-width: none;
  padding-bottom: 60px;
  background: var(--white);
}

.steps-section .section-heading {
  margin-bottom: 40px;
}

.steps-grid {
  max-width: 1210px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 18px;
  align-items: start;
}

.step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* dotted connector to the next step */
.step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 31px;
  left: calc(50% + 42px);
  width: calc(100% - 66px);
  border-top: 2px dotted #1a6fe0;
}

.step-number-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 30px;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef5fd;
  color: #1a6fe0;
  font-size: 1.9rem;
}

.step-number {
  position: absolute;
  left: 50%;
  bottom: -11px;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1a6fe0;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.step-item h3 {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.step-item p {
  max-width: 170px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

/* Contact Strip (Need help with your order?)
   ========================================================================== */

.contact-strip {
  width: calc(100% - 70px);
  max-width: 1210px;
  margin: 44px auto 0;
  padding: 18px 50px 18px 30px;
  background: #eef6fe;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 24px 50px;
}

.need-help {
  flex: 0 0 auto;
  max-width: 280px;
}

.need-help h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  color: #1a6fe0;
  margin-bottom: 6px;
}

.need-help p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.contact-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  font-weight: 500;
  font-size: 0.85rem;
}

.contact-item i {
  color: #1a6fe0;
  font-size: 1.5rem;
}

/* Requirements Section (What We Need From You)
   ========================================================================== */

.requirements-section {
  padding-top: 50px;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 24px 0;
}

.requirement-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 22px;
}

.requirement-box:not(:first-child) {
  border-left: 1px solid rgba(20, 41, 62, 0.12);
}

.box-icon {
  flex: 0 0 auto;
  color: #1a6fe0;
  font-size: 2.5rem;
  line-height: 1;
}

.requirement-box h3 {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.requirement-box p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

/* Design Banner (Need a design?)
   ========================================================================== */

.design-cta {
  width: calc(100% - 70px);
  max-width: 1210px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: stretch;
  background: #eef6fe;
  border-radius: 8px;
  overflow: hidden;
}

.design-image {
  min-height: 210px;
  background-size: cover;
  background-position: center;
}

.design-image-left {
  background-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1200&q=80");
}

.design-image-right {
  background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=900&q=80");
}

.design-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 26px 30px;
}

.design-copy h3 {
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #1a6fe0;
  margin-bottom: 10px;
}

.design-copy p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.design-copy a.button {
  border: none;
  border-radius: 4px;
  background: #1a6fe0;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 11px 16px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* CTA Block (Ready to Get Started?)
   ========================================================================== */

.cta-block {
  margin-top: 60px;
  background: #161a28;
  color: var(--white);
  text-align: center;
  padding: 120px 75px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cta-block h2 {
  background: linear-gradient(
    96.03deg,
    #ffffff 2.18%,
    #e1217e 35.63%,
    #4f6cff 64.29%,
    #42b9e5 97.74%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.cta-block p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 30px;
}

.cta-block a {
  border: none;
  border-radius: 10px;
  background: #ff9247;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 13px 40px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* Button Hover States
   ========================================================================== */

.cta-block button:hover,
.design-copy button:hover {
  transform: translateY(-1px);
}

/* Tablet Responsive Styles
   ========================================================================== */

@media (max-width: 980px) {
  .hero-section {
    background:
      linear-gradient(rgba(7, 14, 30, 0.75), rgba(7, 14, 30, 0.75)),
      url("../asset/order/hero.png") center / cover no-repeat,
      #0b1828;
  }

  .hero-banner {
    min-height: 420px;
    padding: 50px 25px 60px;
  }

  .design-cta {
    grid-template-columns: 1fr;
  }

  .contact-strip {
    flex-direction: column;
    align-items: flex-start;
    padding-right: 30px;
  }

  .cta-block {
    padding: 100px 25px;
  }

  .cta-block h2 {
    font-size: 30px;
  }

  .cta-block p {
    font-size: 16px;
  }

  .need-help {
    max-width: none;
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    row-gap: 36px;
  }

  .step-item:nth-child(3n)::after {
    display: none;
  }

  .requirements-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .requirement-box:nth-child(odd) {
    border-left: none;
  }
}

/* Mobile Responsive Styles
   ========================================================================== */

@media (max-width: 640px) {
  .steps-section,
  .contact-strip,
  .requirements-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .design-cta {
    width: calc(100% - 36px);
  }

  .hero-banner {
    min-height: 360px;
  }

  .hero-copy h1 {
    font-size: 2.2rem;
  }

  .step-item::after {
    display: none;
  }

  .requirement-box,
  .requirement-box:not(:first-child) {
    border-left: none;
    padding: 0;
  }

  .steps-grid,
  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .contact-strip {
    width: calc(100% - 36px);
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .design-copy {
    padding-left: 18px;
    padding-right: 18px;
  }
}
