/* Red Junk Removal - Coming Soon Page Styles */

/* Base Styles */
body {
  margin: 0;
  font-family: 'Archivo', system-ui, sans-serif;
  color: #15120E;
  background: #F7F1E3;
}

a {
  color: inherit;
}

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

/* Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #CC2018;
  outline-offset: 3px;
}

summary:focus-visible {
  outline-offset: -3px;
}

/* Utility Classes */
.num {
  font-family: 'Archivo Black', sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #CC2018;
}

/* Header */
.header {
  background: #15120E;
  color: #F7F1E3;
  padding: 14px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  background: #CC2018;
  color: #F7F1E3;
  font-family: 'Archivo Black', sans-serif;
  font-size: 24px;
  padding: 7px 10px;
  line-height: 1;
}

.brand-text {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tagline {
  font-size: 14px;
  color: #C9C2B4;
}

/* Hero Section */
.hero {
  background: #CC2018;
  color: #F7F1E3;
  padding: 72px 32px 110px;
}

.hero-container {
  max-width: 1120px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #F7F1E3;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #F7F1E3;
  display: inline-block;
}

.hero-title {
  margin: 26px 0 0;
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(44px, 7.4vw, 104px);
  line-height: 0.92;
  text-transform: uppercase;
  max-width: 1000px;
}

.hero-subtitle {
  margin: 26px 0 0;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.45;
  max-width: 720px;
  font-weight: 500;
}

/* Form Section */
.form-wrapper {
  padding: 0 32px;
}

.form-card {
  max-width: 1120px;
  margin: -70px auto 0;
  background: #FFFCF4;
  border: 3px solid #15120E;
  box-shadow: 14px 14px 0 #15120E;
  padding: clamp(24px, 3vw, 38px);
}

.form-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

.form-info {
  flex: 1 1 340px;
  min-width: 0;
}

.form-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  text-transform: uppercase;
}

.form-text {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: #3B3E43;
}

.form-fields {
  flex: 1 1 340px;
  min-width: 0;
}

.fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.legend {
  padding: 0;
  font-weight: 700;
  font-size: 16px;
}

.checkbox-group {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 0;
  font-size: 17px;
  line-height: 1.4;
  min-height: 44px;
  cursor: pointer;
}

.checkbox-input {
  margin: 2px 0 0;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  accent-color: #CC2018;
}

.form-label {
  display: block;
  margin-top: 18px;
  font-weight: 700;
  font-size: 16px;
}

.form-label-first {
  margin-top: 0;
}

.form-label-secondary {
  font-weight: 500;
  color: #5A5349;
}

.form-label-required {
  font-weight: 500;
  color: #CC2018;
}

.form-hint {
  font-size: 14px;
  line-height: 1.5;
  color: #5A5349;
  margin-top: 3px;
}

.form-input {
  margin-top: 8px;
  width: 100%;
  border: 2px solid #15120E;
  padding: 16px;
  font-size: 18px;
  font-family: 'Archivo', sans-serif;
  min-height: 52px;
  background: #F7F1E3;
  color: #15120E;
}

.form-textarea {
  margin-top: 8px;
  width: 100%;
  border: 2px solid #15120E;
  padding: 15px;
  font-size: 17px;
  font-family: 'Archivo', sans-serif;
  line-height: 1.5;
  background: #F7F1E3;
  color: #15120E;
  resize: vertical;
}

.btn-primary {
  margin-top: 18px;
  width: 100%;
  background: #CC2018;
  color: #F7F1E3;
  border: 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 19px;
  padding: 17px;
  min-height: 54px;
  cursor: pointer;
}

.btn-primary:hover {
  background: #B01C15;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-note {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #5A5349;
}

.form-message {
  margin-top: 12px;
  padding: 12px 16px;
  border: 2px solid;
  font-size: 16px;
  line-height: 1.5;
}

.form-message-success {
  background: #E8F5E9;
  border-color: #2E7D32;
  color: #1B5E20;
}

.form-message-error {
  background: #FFEBEE;
  border-color: #C62828;
  color: #B71C1C;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Content Sections */
.section {
  padding: 76px 32px 0;
}

.section-container {
  max-width: 1120px;
  margin: 0 auto;
}

.heading-lg {
  margin: 0;
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 62px);
  line-height: 0.98;
  text-transform: uppercase;
  max-width: 860px;
}

.heading-md {
  margin: 0;
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.02;
  text-transform: uppercase;
}

.heading-sm {
  margin: 0;
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1;
  text-transform: uppercase;
}

/* Collapsible Feature Cards */
.features-grid {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.card {
  flex: 1 1 300px;
  min-width: 0;
  background: #FFFCF4;
  border: 2px solid #15120E;
}

.card summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 26px;
  display: block;
}

.card summary::-webkit-details-marker {
  display: none;
}

.bignum {
  display: block;
  font-family: 'Archivo Black', sans-serif;
  font-size: 84px;
  line-height: 0.72;
  color: #CC2018;
  letter-spacing: -0.03em;
}

.cardicon {
  display: block;
  margin-top: 2px;
  color: #15120E;
}

.cardtitle {
  display: block;
  margin-top: 16px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 25px;
  line-height: 1.08;
}

.learn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 16px;
  color: #CC2018;
}

.learn span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.chev {
  transition: transform 160ms ease;
}

.card[open] .chev {
  transform: rotate(180deg);
}

.cardbody {
  margin: 0;
  padding: 0 26px 26px;
  font-size: 17px;
  line-height: 1.6;
  color: #3B3E43;
}

/* Dark Card */
.dark-card {
  background: #15120E;
  color: #F7F1E3;
  padding: clamp(28px, 3.4vw, 48px);
}

.dark-card-content {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
}

.dark-card-text {
  flex: 1 1 360px;
  min-width: 0;
}

.dark-card-subtitle {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: #E4DED0;
}

.dark-card-visual {
  flex: 1 1 320px;
  min-width: 0;
}

.vehicle-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Vehicle Animation */
.veh {
  animation-name: drive;
  animation-duration: 9s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.3, 0, 0.25, 1);
}

.v2 {
  animation-delay: 0.22s;
}

.v3 {
  animation-delay: 0.44s;
}

@keyframes drive {
  0% {
    transform: translateX(-660px);
  }
  16%,
  70% {
    transform: translateX(0);
  }
  90%,
  100% {
    transform: translateX(720px);
  }
}

/* Zone Cards */
.zgrid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.zone-card {
  background: #FFFCF4;
  border: 2px solid #15120E;
  padding: 20px;
}

.zone-label {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #CC2018;
}

.zone-text {
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.45;
}

.section-subtitle {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.55;
  max-width: 740px;
  color: #3B3E43;
}

/* CTA Section */
.cta-card {
  background: #CC2018;
  color: #F7F1E3;
  padding: clamp(28px, 3.4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

.cta-text {
  flex: 1 1 380px;
  min-width: 0;
}

.cta-subtitle {
  margin: 14px 0 0;
  font-size: 18px;
  line-height: 1.55;
}

.cta-link {
  margin-top: 22px;
  background: #F7F1E3;
  color: #CC2018;
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  padding: 17px 28px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.cta-note {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.5;
}

.cta-note a {
  font-weight: 700;
}

.cta-visual {
  flex: 0 1 420px;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

/* Text Message Thread */
.thread {
  width: 100%;
  max-width: 420px;
  background: #FFFCF4;
  border: 3px solid #15120E;
  padding: 16px 15px;
}

.thread-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid #E2DACB;
  padding-bottom: 11px;
}

.thread-logo {
  background: #CC2018;
  color: #F7F1E3;
  font-family: 'Archivo Black', sans-serif;
  font-size: 13px;
  padding: 4px 6px;
  line-height: 1;
}

.thread-number {
  font-weight: 700;
  font-size: 15px;
  color: #15120E;
}

.thread-time {
  margin-left: auto;
  font-size: 12px;
  color: #8A8378;
}

.thread-messages {
  position: relative;
  min-height: 258px;
}

.bub {
  opacity: 0;
  animation-duration: 11s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.22, 1.3, 0.36, 1);
}

.b1 {
  animation-name: pop1;
}

.b2 {
  animation-name: pop2;
}

.b3 {
  animation-name: pop3;
}

.typing {
  animation-name: typing;
}

@keyframes pop1 {
  0%,
  4% {
    opacity: 0;
    transform: translateY(10px) scale(0.9) rotate(0);
  }
  8% {
    opacity: 1;
    transform: translateY(0) scale(1.06) rotate(-1.4deg);
  }
  11% {
    transform: scale(0.98) rotate(1deg);
  }
  14%,
  95% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
  100% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
}

@keyframes typing {
  0%,
  16% {
    opacity: 0;
    transform: translateY(8px) scale(0.92);
  }
  20%,
  30% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  34%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(0.96);
  }
}

@keyframes pop2 {
  0%,
  34% {
    opacity: 0;
    transform: translateY(10px) scale(0.9) rotate(0);
  }
  38% {
    opacity: 1;
    transform: translateY(0) scale(1.06) rotate(1.4deg);
  }
  41% {
    transform: scale(0.98) rotate(-1deg);
  }
  44%,
  95% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
  100% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
}

@keyframes pop3 {
  0%,
  56% {
    opacity: 0;
    transform: translateY(10px) scale(0.9) rotate(0);
  }
  60% {
    opacity: 1;
    transform: translateY(0) scale(1.06) rotate(1.2deg);
  }
  63% {
    transform: scale(0.98) rotate(-0.8deg);
  }
  66%,
  95% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
  100% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
}

.message-outgoing {
  margin-top: 13px;
  display: flex;
  justify-content: flex-end;
}

.message-outgoing-bubble {
  max-width: 84%;
  background: #15120E;
  color: #F7F1E3;
  font-size: 15px;
  line-height: 1.45;
  padding: 11px 14px;
  border-radius: 16px 16px 4px 16px;
  text-align: left;
}

.message-status {
  margin-top: 3px;
  text-align: right;
  font-size: 11px;
  color: #8A8378;
}

.message-typing {
  position: absolute;
  top: 94px;
  left: 0;
  display: flex;
  justify-content: flex-start;
}

.message-typing-bubble {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #EDE4D0;
  padding: 13px 15px;
  border-radius: 16px 16px 16px 4px;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.typing-dot-1 {
  background: #8A8378;
}

.typing-dot-2 {
  background: #A9A294;
}

.typing-dot-3 {
  background: #C6BFB0;
}

.message-incoming {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
}

.message-incoming-bubble {
  max-width: 88%;
  background: #EDE4D0;
  color: #15120E;
  font-size: 15px;
  line-height: 1.45;
  padding: 11px 14px;
  border-radius: 16px 16px 16px 4px;
  text-align: left;
}

.message-incoming-small {
  margin-top: 8px;
  display: flex;
  justify-content: flex-start;
}

.message-incoming-small-bubble {
  max-width: 72%;
  background: #EDE4D0;
  color: #15120E;
  font-size: 15px;
  line-height: 1.45;
  padding: 11px 14px;
  border-radius: 16px;
  text-align: left;
}

.thread-input-area {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 2px solid #E2DACB;
  padding-top: 12px;
}

.thread-input {
  flex: 1 1 auto;
  border: 2px solid #D9D2C2;
  border-radius: 18px;
  padding: 9px 14px;
  font-size: 14px;
  color: #8A8378;
}

.thread-send-button {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #CC2018;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
.footer {
  padding: 56px 32px 48px;
}

.footer-content {
  max-width: 1120px;
  margin: 0 auto;
  border-top: 2px solid #15120E;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: baseline;
  justify-content: space-between;
  font-size: 16px;
  color: #3B3E43;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  background: #CC2018;
  color: #F7F1E3;
  font-family: 'Archivo Black', sans-serif;
  font-size: 16px;
  padding: 5px 7px;
  line-height: 1;
}

.footer-link {
  font-weight: 700;
  text-decoration: none;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .veh {
    animation: none;
  }
  .chev {
    transition: none;
  }
  .bub {
    opacity: 1;
    animation: none;
  }
  .typing {
    display: none;
  }
}

/* Tablet and Mobile Responsive */
@media (max-width: 760px) {
  .zgrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 14px 20px;
  }

  .hero {
    padding: 48px 20px 80px;
  }

  .form-wrapper {
    padding: 0 20px;
  }

  .form-card {
    box-shadow: 10px 10px 0 #15120E;
  }

  .section {
    padding: 56px 20px 0;
  }

  .footer {
    padding: 48px 20px 40px;
  }
}

@media (max-width: 375px) {
  .header {
    padding: 12px 16px;
  }

  .hero {
    padding: 40px 16px 70px;
  }

  .form-wrapper {
    padding: 0 16px;
  }

  .form-card {
    box-shadow: 8px 8px 0 #15120E;
  }

  .section {
    padding: 48px 16px 0;
  }

  .footer {
    padding: 40px 16px 32px;
  }
}
