/* =====================================================================
   ESTA money-page — landing pixel-close copy of esta.cbp.dhs.gov
   Loaded on top of style.css on the home page only.
   ===================================================================== */

/* ---- Hero band with photo background ---- */

.hero-band {
  position: relative;
  background: #00416a url('/assets/images/VisitTheUSA.png') center right / cover no-repeat;
  color: #fff;
  min-height: 340px;
  padding: 70px 0 90px;
  overflow: hidden;
}
.hero-band::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,32,58,0.92) 0%, rgba(0,50,84,0.78) 45%, rgba(0,65,106,0.28) 75%, rgba(0,65,106,0.10) 100%);
}
.hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-heading {
  font-size: 60px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin: 0 0 18px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.hero-heading strong {
  display: block;
  font-weight: 500;
}
.hero-sub {
  font-size: 20px;
  color: #dfeaf5;
  max-width: 560px;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ---- NEED HELP? — sticky vertical orange tab ---- */

.need-help-tab {
  position: fixed;
  right: 0;
  top: 45%;
  transform: translateY(-50%);
  background: #f09511;
  color: #fff;
  padding: 24px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg) translateY(50%);
  border-radius: 4px 0 0 4px;
  box-shadow: -2px 2px 8px rgba(0,0,0,0.18);
  cursor: pointer;
  z-index: 900;
  text-decoration: none !important;
  transition: background 0.15s ease;
}
.need-help-tab:hover { background: #d88410; text-decoration: none; }

@media (max-width: 900px) {
  .need-help-tab { display: none; }
}

/* ---- HOW DO I APPLY? — 7-step timeline ---- */

.how-apply {
  padding: 46px 16px 30px;
  border-bottom: 1px solid var(--line);
  background: #f5f5f5;
}
.how-apply-inner { max-width: 1180px; margin: 0 auto; }
.how-apply h2 {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 0 0 30px;
  text-align: left;
  padding-left: 6px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  padding: 0 6px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(100%/14 + 6px);
  right: calc(100%/14 + 6px);
  height: 2px;
  background: #b8bcc2;
  z-index: 1;
}
.timeline-step {
  position: relative;
  text-align: center;
  z-index: 2;
}
.timeline-dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #4c9f38;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px #4c9f38;
  line-height: 1;
}
.timeline-lbl {
  font-size: 12px;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.35;
  padding: 0 8px;
  max-width: 140px;
  margin: 0 auto;
}

/* ---- WHO SHOULD APPLY? + WHAT DO I NEED ---- */

.info-band {
  padding: 40px 16px 20px;
  background: #fff;
}
.info-band-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.info-band h2 {
  color: var(--cbp-navy);
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 18px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--line);
}

.arrow-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.65;
}
.arrow-list li {
  padding: 5px 0 5px 22px;
  position: relative;
}
.arrow-list li::before {
  content: '';
  position: absolute;
  left: 4px; top: 12px;
  width: 8px; height: 8px;
  background: url('/assets/images/yellowCarat.png') no-repeat center;
  background-size: contain;
}
.arrow-list a { color: var(--cbp-blue); text-decoration: underline; }
.arrow-list a:hover { color: var(--cbp-blue-hover); }

.need-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  margin-bottom: 22px;
}
.need-cols-heading {
  grid-column: 1 / -1;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 4px;
  padding-bottom: 4px;
}
.payment-line {
  margin-top: 10px;
  padding: 10px 0 0;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  color: var(--ink);
}
.payment-line strong { color: var(--cbp-navy); font-weight: 500; display: block; margin-bottom: 4px; }
.payment-line .fee-amount {
  color: var(--dhs-red);
  font-weight: 700;
  font-size: 15px;
}

/* ---- Big CTA button ---- */

.big-cta-wrap {
  text-align: center;
  padding: 30px 16px 40px;
  background: #fff;
}
.big-cta {
  display: inline-block;
  padding: 16px 60px;
  background: var(--cbp-navy);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2px;
  text-decoration: none !important;
  border: 1px solid var(--cbp-navy);
  transition: background 0.12s ease, border-color 0.12s ease;
}
.big-cta:hover {
  background: #002d4a;
  border-color: #002d4a;
  text-decoration: none;
}

/* ---- NEED HELP? section (yellow tag + RELATED TOPICS + video) ---- */

.help-band {
  background: #f7f4ee;
  padding: 40px 16px 46px;
  border-top: 3px solid #f09511;
}
.help-band-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 40px;
  align-items: start;
}
.help-tag {
  display: inline-block;
  background: #f09511;
  color: #fff;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 20px;
}
.help-topics h3 {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 16px;
}
.help-topics h4 {
  color: var(--cbp-blue);
  font-size: 14px;
  font-weight: 500;
  margin: 18px 0 6px;
}
.help-topics ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.7;
}
.help-topics li { padding-left: 22px; position: relative; }
.help-topics li::before {
  content: '';
  position: absolute;
  left: 6px; top: 10px;
  width: 6px; height: 6px;
  background: url('/assets/images/yellowCarat.png') no-repeat center;
  background-size: contain;
}
.help-topics a { color: var(--cbp-blue); text-decoration: underline; }
.help-topics a:hover { color: var(--cbp-blue-hover); }

.help-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-panel);
}
.help-video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.view-all-wrap {
  text-align: right;
  max-width: 1180px;
  margin: 26px auto 0;
  padding: 0 16px;
}
.view-all {
  display: inline-block;
  background: #f09511;
  color: #fff;
  padding: 10px 22px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 2px;
  text-decoration: none !important;
}
.view-all:hover { background: #d88410; text-decoration: none; }

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .hero-heading { font-size: 40px; }
  .hero-sub { font-size: 17px; }
  .hero-band { padding: 44px 0 56px; min-height: 250px; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .timeline::before { display: none; }
  .need-cols { grid-template-columns: 1fr; }
  .help-band-inner { grid-template-columns: 1fr; }
  .help-video { max-width: 100%; }
  .big-cta { padding: 14px 30px; font-size: 14px; display: block; }
}
