/* Trusty Trash & Junk Co. — Conversion-First v3 Visual System
   STRICT 3-COLOR PALETTE:
   - Hot Pink: #F23E8A
   - Dark Navy: #121A2A
   - Crisp White: #FFFFFF
   (Darker pink oval shadow ONLY under Rusty's feet)
*/

:root {
  --pink: #F23E8A;
  --navy: #121A2A;
  --white: #FFFFFF;
  --rusty-shadow: rgba(128, 14, 66, 0.38);
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--pink);
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.45;
  color: var(--white);
  background: var(--pink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 84px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

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

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

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.band-navy :focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.card-white :focus-visible,
.band-white :focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 900px) {
  .container {
    padding: 0 36px;
  }
}

/* Header (pink, sticky) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--pink);
  border-bottom: 2px solid rgba(18, 26, 42, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-lockup img {
  height: 44px;
  width: auto;
}

.brand-wordmark {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 26px;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}

.nav-links a:hover {
  color: var(--navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-call {
  display: none;
  font-weight: 800;
  font-size: 16px;
  color: var(--navy);
  white-space: nowrap;
}

.header-call:hover {
  color: var(--white);
}

@media (min-width: 980px) {
  .nav-links {
    display: flex;
  }
  .header-call {
    display: inline-block;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 180ms ease-out;
  white-space: nowrap;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 44px;
  padding: 9px 20px;
  font-size: 15px;
}

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

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

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

.btn-block {
  width: 100%;
}

/* Bands (tightened ~1/3 for compact conversion flow) */
.band {
  width: 100%;
  padding: 52px 0;
}

@media (min-width: 900px) {
  .band {
    padding: 68px 0;
  }
}

.band-pink {
  background: var(--pink);
  color: var(--white);
}

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

.band-navy + .band-navy {
  border-top: 2px solid rgba(255, 255, 255, 0.12);
}

.band-pink + .band-pink {
  border-top: 2px solid rgba(18, 26, 42, 0.14);
}

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

/* Typography */
.eyebrow {
  display: inline-block;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}

.headline {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.045em;
  line-height: 0.94;
  font-size: clamp(46px, 7.6vw, 112px);
  hyphens: none;
  word-break: keep-all;
}

.headline-hero {
  font-size: clamp(46px, 6.2vw, 92px);
}

.headline span {
  display: block;
}

.band-pink .headline .line-1 { color: var(--white); }
.band-pink .headline .line-2 { color: var(--navy); }

.band-navy .headline .line-1 { color: var(--white); }
.band-navy .headline .line-2 { color: var(--pink); }

.band-white .headline .line-1 { color: var(--navy); }
.band-white .headline .line-2 { color: var(--pink); }

.lead {
  margin: 16px 0 0;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  max-width: 640px;
}

.band-white .lead {
  color: var(--navy);
}

/* Hero — fits cleanly above the fold on 1440x900 desktop */
.hero-band {
  padding: 24px 0 36px;
}

@media (min-width: 900px) {
  .hero-band {
    padding: 28px 0 40px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 24px;
  }
}

.hero-copy {
  order: 2;
}

.hero-rusty-wrap {
  order: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 14px;
}

@media (min-width: 920px) {
  .hero-copy {
    order: 1;
  }
  .hero-rusty-wrap {
    order: 2;
  }
}

.hero-rusty {
  width: min(260px, 68vw);
  height: auto;
  transform: rotate(5deg);
  position: relative;
  z-index: 2;
  animation: slideInRight 550ms var(--ease) both;
}

@media (min-width: 920px) {
  .hero-rusty {
    width: min(320px, 26vw);
  }
}

.rusty-shadow {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 68%;
  height: 24px;
  background: var(--rusty-shadow);
  border-radius: 50%;
  z-index: 1;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.hero-cta-row .btn {
  min-height: 58px;
  padding: 14px 28px;
  font-size: 18px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.hero-fact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-fact-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
  display: inline-block;
}

/* Dual Form Card */
.card-white {
  background: var(--white);
  color: var(--navy);
  border-radius: 20px;
  padding: 24px;
}

@media (min-width: 768px) {
  .card-white {
    padding: 32px;
  }
}

.form-section-wrap {
  margin-top: 26px;
}

.form-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
  background: var(--navy);
  padding: 6px;
  border-radius: 999px;
}

.form-tab {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-family: var(--font);
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: background 160ms ease-out, color 160ms ease-out;
}

.form-tab.active {
  background: var(--pink);
  color: var(--white);
}

.form-panel {
  display: none;
}

.form-panel.active {
  display: block;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .form-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-weight: 800;
  font-size: 14px;
  color: var(--navy);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="password"],
.field input[type="url"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 2px solid var(--navy);
  border-radius: 12px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  color: var(--navy);
  background: var(--white);
}

.field input[type="file"] {
  padding: 8px 10px;
  border: 2px dashed var(--navy);
  border-radius: 12px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--navy);
}

.consent-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--pink);
  flex-shrink: 0;
}

.form-error {
  margin-top: 10px;
  font-weight: 800;
  font-size: 15px;
  color: var(--pink);
  min-height: 20px;
}

.form-success {
  padding: 24px 16px;
  text-align: center;
}

.form-success h3 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
}

.form-success p {
  margin: 0;
  font-size: 18px;
  color: var(--navy);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}

@media (min-width: 720px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--white);
  color: var(--navy);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.service-num {
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
  color: var(--pink);
  letter-spacing: -0.04em;
}

.service-card h3 {
  margin: 8px 0 6px;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--navy);
}

.service-from {
  margin-top: 10px;
  font-weight: 900;
  font-size: 16px;
  color: var(--pink);
}

.dont-take {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

/* SMS Bubbles (Your Hauler Didn't Show) */
.sms-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
  max-width: 760px;
}

.sms-bubble {
  background: var(--white);
  color: var(--navy);
  border-radius: 20px;
  padding: 18px 22px;
  max-width: 540px;
}

.sms-bubble.offset-1 {
  margin-left: 0;
}

.sms-bubble.offset-2 {
  margin-left: auto;
}

.sms-bubble.offset-3 {
  margin-left: 8%;
}

.sms-text {
  margin: 0;
  font-weight: 800;
  font-size: 21px;
  line-height: 1.25;
  color: var(--navy);
}

.sms-meta {
  margin: 6px 0 0;
  font-weight: 700;
  font-size: 13px;
  color: var(--pink);
}

/* Numbered Rows (Promises, Standard, PM) */
.numbered-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
}

.numbered-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(18, 26, 42, 0.14);
}

.band-white .numbered-row {
  border-bottom: 2px solid rgba(18, 26, 42, 0.12);
}

.numbered-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.row-num {
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.band-white .row-num {
  color: var(--pink);
}

.band-pink .row-num {
  color: var(--navy);
}

.row-text {
  margin: 0;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
}

/* Compact 2-col grid for 9-item Trusty Standard on desktop */
.standard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 32px;
  margin-top: 24px;
}

@media (min-width: 820px) {
  .standard-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.standard-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 2px solid rgba(18, 26, 42, 0.14);
}

.standard-item .row-num {
  font-size: 22px;
}

.standard-item .row-text {
  font-size: 18px;
}

/* Who Shows Up */
.owner-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
}

@media (min-width: 720px) {
  .owner-card {
    grid-template-columns: 180px 1fr;
  }
}

.owner-photo {
  width: 180px;
  height: 180px;
  border-radius: 18px;
  object-fit: cover;
  border: 4px solid var(--navy);
  background: var(--pink);
}

.owner-name {
  margin: 0 0 12px;
  font-weight: 900;
  font-size: 32px;
  color: var(--navy);
  letter-spacing: -0.03em;
}

/* Real Men Wear Pink */
.split-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 880px) {
  .split-band {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

.split-rusty {
  width: min(260px, 65vw);
  margin: 0 auto;
  transform: rotate(-4deg);
}

/* Walkthrough Calendar */
.cal-days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.cal-day-btn {
  padding: 12px 10px;
  border: 2px solid var(--navy);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}

.cal-day-btn.active {
  background: var(--navy);
  color: var(--white);
}

.cal-period-label {
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pink);
  margin: 14px 0 8px;
}

.cal-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cal-slot-btn {
  padding: 10px 14px;
  border: 2px solid var(--navy);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.cal-slot-btn.active {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--white);
}

.cal-slot-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Recent Jobs */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.job-card {
  border: 2px solid var(--navy);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}

.job-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--navy);
}

.job-photos img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.job-caption {
  padding: 12px 14px;
  font-weight: 800;
  font-size: 15px;
  color: var(--navy);
}

/* Footer */
.site-footer {
  padding: 56px 0 40px;
  background: var(--pink);
  color: var(--white);
  border-top: 2px solid rgba(18, 26, 42, 0.14);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 820px) {
  .footer-top {
    grid-template-columns: 220px 1fr;
  }
}

.footer-rusty {
  width: 220px;
  margin: 0 auto;
}

.footer-wordmark {
  margin: 0;
  font-weight: 900;
  font-size: clamp(54px, 8vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--white);
}

.footer-tagline {
  margin: 8px 0 18px;
  font-weight: 900;
  font-size: 22px;
  color: var(--navy);
}

.footer-towns {
  margin: 22px 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
  font-size: 15px;
  color: var(--navy);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-legal {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

/* Mobile Fixed Bar */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--navy);
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}

.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
}

.mobile-bar .mb-text {
  background: var(--pink);
  color: var(--white);
}

.mobile-bar .mb-call {
  background: var(--white);
  color: var(--navy);
}

@media (min-width: 768px) {
  .mobile-bar {
    display: none;
  }
}

/* Animations (ease-out only, no bouncing) */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(28px) rotate(5deg); }
  to { opacity: 1; transform: translateX(0) rotate(5deg); }
}

.hero-copy .headline {
  animation: slideUp 480ms var(--ease) both;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none !important;
}
