/* ===========================================================
   Rush Meds Delivery — Landing Page Styles
   =========================================================== */

:root {
  --navy: #0A2360;
  --navy-deep: #0A1B33;
  --teal: #0E8C97;
  --cyan: #3FC7D6;
  --bg: #F7FAFC;
  --slate: #435066;
  --slate-light: #7A889B;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --radius: 14px;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow: 0 10px 30px rgba(10, 35, 96, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0 0 0.5em; line-height: 1.15; }
p { margin: 0 0 1em; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--teal);
  margin-bottom: 0.6em;
}
.eyebrow.light { color: var(--cyan); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.light { color: var(--white); }
.body-lg { font-size: 1.08rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-icon { width: 18px; height: 18px; fill: currentColor; }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: #0b7680; box-shadow: 0 8px 20px rgba(14,140,151,0.35); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand-logo { height: 60px; width: auto; object-fit: contain; }
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy);
  position: relative;
}
.main-nav a:hover { color: var(--teal); }
.header-cta { display: flex; gap: 10px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #EEF7F8 0%, #F7FAFC 100%);
  padding-top: 64px;
  overflow: hidden;
}
.hero-inner {
  display: block;
  padding-bottom: 90px;
}
.hero-copy { max-width: 760px; margin: 0 auto; text-align: center; }
.hero h1 {
  font-size: 2.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero h1 .accent { color: var(--teal); }
.hero-sub {
  font-size: 1.12rem;
  color: var(--slate);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 18px; }
.hero-actions.center { justify-content: center; }
.hero-note { font-size: 0.88rem; color: var(--slate-light); max-width: 560px; margin-left: auto; margin-right: auto; }

.hero-media-full { margin-top: 44px; }
.hero-media-full img {
  display: block;
  width: 100%;
  max-width: 1160px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.swoosh-divider { line-height: 0; margin-top: -2px; }
.swoosh-divider svg { width: 100%; height: 70px; display: block; }
.swoosh-top { margin-top: 0; margin-bottom: -2px; }

/* ===================== HOW IT WORKS ===================== */
.how-it-works { padding: 20px 0 80px; }
.how-it-works h2 { font-size: 2.1rem; max-width: 640px; }
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.step { text-align: center; }
.step-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid #D5EEF0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(10,35,96,0.08);
}
.step-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--teal); stroke-width: 1.6; }
.step-icon svg path { fill: var(--teal); stroke: none; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.9rem; color: var(--slate-light); margin: 0; }

/* ===================== PROMISE (dark band) ===================== */
.promise { background: var(--navy-deep); padding-bottom: 10px; }
.promise h2 { font-size: 2.1rem; max-width: 640px; }
.promise-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding-bottom: 60px;
}
.promise-item { text-align: center; color: var(--white); }
.promise-icon {
  font-size: 1.8rem;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(63,199,214,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.promise-item h3 { color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.promise-item p { font-size: 0.87rem; color: #AFC2D6; margin: 0; }

/* ===================== SERVICE AREAS ===================== */
.areas { padding: 30px 0 80px; }
.areas h2 { font-size: 2.1rem; max-width: 700px; }
.zone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.zone {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 16px 20px;
  text-align: center;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.zone:hover { border-color: var(--teal); transform: translateY(-2px); }
.areas-note { text-align: center; margin-top: 28px; color: var(--slate-light); font-size: 0.92rem; }

/* ===================== ABOUT STRIP ===================== */
.about-strip { padding: 20px 0 90px; }
.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}
.about-inner img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-inner h2 { font-size: 1.9rem; }

/* ===================== CONTACT ===================== */
.contact { background: var(--navy-deep); padding-bottom: 80px; }
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  padding-top: 10px;
}
.contact h2 { font-size: 2rem; }
.contact-phone {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 10px 0 26px;
}
.contact-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.contact-email { color: #AFC2D6; font-size: 0.95rem; }
.contact-email a { color: var(--cyan); font-weight: 600; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: 20px; }
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--bg);
  transition: border-color 0.15s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}
.form-row textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-size: 0.9rem; text-align: center; min-height: 1.2em; }
.form-status.success { color: #0b7680; font-weight: 600; }
.form-status.error { color: #C0362C; font-weight: 600; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy); padding: 48px 0; }
.footer-inner { text-align: center; }
.footer-logo { height: 52px; width: auto; margin: 0 auto 16px; filter: brightness(0) invert(1); }
.footer-tagline { color: #AFC2D6; font-size: 0.95rem; margin-bottom: 20px; }
.footer-links { display: flex; justify-content: center; gap: 28px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--cyan); font-weight: 600; font-size: 0.9rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-copy { color: #6E82A3; font-size: 0.82rem; margin: 0; }

/* Keyboard focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero-inner { padding-bottom: 60px; }
  .hero h1 { font-size: 2.4rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .promise-grid { grid-template-columns: repeat(3, 1fr); }
  .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-inner img { order: -1; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .zone-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .contact-form { padding: 22px; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
