/*
Theme Name: AM2PM Replica Theme
Theme URI: https://example.com/
Author: OpenAI
Description: WordPress theme converted from the provided AM2PM static landing page.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: am2pm-replica
*/

:root {
  --orange: #F26940;
  --blue: #156bd7;
  --blue-mid: #1268d5;
  --white: #FFFFFF;
  --navy: #0A011C;
  --light-blue: #C1DCFF;
  --amber: #FF9015;
  --soft: #F8F8F8;
 --page: #ffffff;
  --text: #121212;
  --muted: #3a3a3a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: 'Inter', Arial, sans-serif;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }

.container {
  width: min(100%, 1380px);
  margin: 0 auto;
  padding: 0 24px;
}

.topbar {
  background: var(--orange);
  height: 98px;
}

.topbar-inner {
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 70px;
  height: auto;
  object-fit: contain;
}

.top-link {
  color: #fff;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: 0.01em;
}

.top-link span {
  font-size: 1.25em;
  vertical-align: -0.02em;
}

.hero {
  position: relative;
  overflow: hidden;
  background: url('assets/hero-background.png') center/cover no-repeat;
}

.hero-grid {
  min-height: 604px;
  padding-top: 16px;
  padding-bottom: 16px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.eyebrow,
.content-block h2,
.training-copy h2,
.quality-inner h2,
.register-card h2,
.info-label,
.info-value,
.info-bottom {
  font-family: 'Barlow Condensed', Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.eyebrow {
  font-size: 30px;
  line-height: 1;
  margin: 0 0 20px;
  letter-spacing: 0;
  font-weight: 800;
}

.hero h1 {
  font-family: 'Barlow Condensed', Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  color: var(--orange);
  font-size: clamp(58px, 5.4vw, 86px);
  line-height: .92;
  margin: 0 0 28px;
  max-width: 640px;
  letter-spacing: .01em;
}

.hero-text {
  font-size: 19px;
  line-height: 1.45;
  max-width: 690px;
  margin: 0 0 28px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f47a49, var(--orange));
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  box-shadow: 0 2px 0 rgba(0,0,0,.06);
}

.cta span {
  font-size: 22px;
  line-height: 1;
}

.hero-copy {
  max-width: 690px;
}


.section {
  padding: 66px 0 26px;
}

.white-section {
  background: #ffffff;
}

.two-col {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 46px;
  align-items: start;
}

.photo-card {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

.content-block h2,
.training-copy h2,
.register-card h2 {
  margin: -6px 0 18px;
  font-size: clamp(44px, 4vw, 67px);
  line-height: .95;
  letter-spacing: 0;
}

.lead {
  font-size: 17px;
  line-height: 1.42;
  max-width: 720px;
  color: #222;
  margin: 0 0 28px;
}

.bullet-list,
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.bullet-item,
.feature-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  align-items: start;
}

.icon-circle,
.mini-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ef7442;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  margin-top: 4px;
}

.mini-icon {
  font-size: 14px;
}

.bullet-item h3,
.feature-item h3 {
  margin: 0 0 2px;
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: 24px;
  line-height: 1;
}

.bullet-item p,
.feature-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.32;
}

/* BLUE INFO PANEL */
.info-panel {
  margin-top: 52px;
  min-height: 392px;
  border-radius: 26px;
  padding: 88px 72px 74px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 30px;
  row-gap: 56px;
  align-items: start;
  background: linear-gradient(90deg, #156bd7 0%, #1268d5 55%, #156bd7 100%);
}

.info-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/blue-texture.png') center/cover no-repeat;
  mix-blend-mode: screen;
  opacity: .34;
  pointer-events: none;
}

.info-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 34%, rgba(196,220,255,.42) 0%, rgba(196,220,255,.20) 15%, rgba(196,220,255,0) 28%),
    radial-gradient(circle at 70% 78%, rgba(196,220,255,.24) 0%, rgba(196,220,255,.11) 13%, rgba(196,220,255,0) 24%),
    radial-gradient(circle at 84% 74%, rgba(255,255,255,.09) 0%, rgba(255,255,255,.05) 8%, rgba(255,255,255,0) 18%);
}

.info-panel > * {
  position: relative;
  z-index: 2;
}

.info-label {
  text-align: center;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 26px;
  font-weight: 700;
  letter-spacing: .01em;
}

.info-value {
  text-align: center;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 700;
}

.info-sub {
  text-align: center;
  font-size: 16px;
  line-height: 1.35;
  margin-top: 10px;
}

.info-bottom {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 28px;
  line-height: 1.2;
  margin-top: 4px;
  font-weight: 700;
}

.info-bottom em {
  font-style: italic;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: .95em;
}

.bottom-gap {
  padding-bottom: 54px;
}

.train-grid {
  grid-template-columns: 1fr 390px;
  align-items: center;
}

.training-copy h2 {
  max-width: 560px;
}

.lead.small {
  max-width: 610px;
}

.warehouse-photo {
  border-radius: 8px;
}

/* BLUE QUALITY BAND */
.quality-band {
  position: relative;
  overflow: visible;
  background: linear-gradient(90deg, #156bd7 0%, #1268d5 50%, #156bd7 100%);
  color: white;
}

.quality-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/blue-texture.png') center/cover no-repeat;
  opacity: .30;
  mix-blend-mode: screen;
  pointer-events: none;
}

.quality-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 50%, rgba(196,220,255,.13) 0%, rgba(196,220,255,.06) 18%, rgba(196,220,255,0) 34%),
    radial-gradient(circle at 90% 18%, rgba(196,220,255,.14) 0%, rgba(196,220,255,.06) 14%, rgba(196,220,255,0) 28%),
    radial-gradient(circle at 88% 76%, rgba(196,220,255,.11) 0%, rgba(196,220,255,.04) 14%, rgba(196,220,255,0) 28%);
}

.quality-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 76px;
  padding-bottom: 200px;
  max-width: 1180px;
  margin: 0 auto;
}

.quality-inner h2 {
  color: white;
  font-size: clamp(54px, 4.7vw, 72px);
  line-height: .95;
  margin: 0 0 18px;
}

.quality-inner p {
  max-width: 980px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.45;
}

/* REGISTER CARD OVERLAP */
.register-wrap {
  margin-top: -118px;
  padding: 0 0 72px;
  position: relative;
  z-index: 3;
}

.register-card {
  background: #f1f1f1;
  border-radius: 18px;
  padding: 54px 72px 58px;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}

.register-card h2 {
  text-align: center;
  margin-bottom: 8px;
  font-size: clamp(54px, 4.5vw, 68px);
}

.register-sub {
  text-align: center;
  font-size: 16px;
  font-style: italic;
  margin: 0 0 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}

.form-grid label {
  display: block;
}

.form-grid span {
  display: block;
  font-weight: 700;
  font-size: 12px;
  margin: 0 0 6px 4px;
}

.form-grid input {
  width: 100%;
  height: 50px;
  border: 1px solid #d3d3d3;
  background: #f7f7f7;
  border-radius: 2px;
  padding: 10px 12px;
  font-size: 14px;
}

.full-width {
  grid-column: 1 / -1;
}

.form-action {
  text-align: center;
  padding-top: 14px;
}

.register-btn {
  border: 0;
  cursor: pointer;
  min-width: 390px;
}

.form-note {
  text-align: center;
  margin: 14px 0 0;
  min-height: 20px;
  font-size: 14px;
  color: var(--blue);
}

.footer {
  background: #020202;
  color: white;
  text-align: center;
  padding: 18px 20px;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .container {
    padding: 0 18px;
  }

  .two-col,
  .train-grid {
    grid-template-columns: 1fr;
  }

  .info-panel {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 54px 28px 46px;
    row-gap: 28px;
  }

  .quality-inner {
    padding-top: 64px;
    padding-bottom: 160px;
  }

  .register-wrap {
    margin-top: -90px;
  }

  .register-card {
    padding: 36px 26px 42px;
  }
}

@media (max-width: 700px) {
  .container {
    padding: 0 14px;
  }

  .topbar,
  .topbar-inner {
    height: 82px;
  }

  .logo {
    width: 54px;
  }

  .top-link {
    font-size: 18px;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .eyebrow {
    font-size: 22px;
  }

  .hero-text,
  .lead,
  .quality-inner p {
    font-size: 15px;
  }

  .content-block h2,
  .training-copy h2,
  .register-card h2,
  .quality-inner h2 {
    font-size: 42px;
  }

  .hero {
    background-position: 65% center;
  }

  .cta,
  .register-btn {
    width: 100%;
    min-width: 0;
  }

  .info-panel {
    border-radius: 20px;
    padding: 40px 20px 34px;
  }

  .info-label {
    font-size: 26px;
    margin-bottom: 14px;
  }

  .info-value {
    font-size: 24px;
  }

  .info-sub {
    font-size: 14px;
  }

  .info-bottom {
    font-size: 22px;
  }

  .quality-inner {
    padding-top: 52px;
    padding-bottom: 110px;
  }

  .register-wrap {
    margin-top: -60px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* TRAINING SECTION SIZE FIX */

.train-grid{
  grid-template-columns: 1.3fr 0.9fr !important;
  gap: 70px !important;
  align-items: center !important;
}

.training-copy h2{
  max-width: 720px !important;
  font-size: clamp(56px,4.5vw,72px) !important;
}

.lead.small{
  max-width: 720px !important;
  font-size: 18px !important;
}

.warehouse-photo{
  width: 100% !important;
  max-width: 540px !important;
  border-radius: 10px !important;
}

.feature-item{
  grid-template-columns: 40px 1fr !important;
  gap: 20px !important;
}

.mini-icon{
  width: 36px !important;
  height: 36px !important;
  font-size: 16px !important;
}