/* ============================================================
   ApplianceNow — Steel-Slate Dark Theme
   Appliance Now Inc. · Computer Systems Design Services
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #12151A;
  color: #E4E9EE;
  font-size: 16px;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: #5F7484;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul,
ol {
  list-style-position: inside;
}

/* ============ Utility ============ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ CRUMB-TRAIL NAVIGATION ============ */

.crumb-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: #12151A;
  border-bottom: 1px solid #5F7484;
}

.crumb-nav.scrolled {
  box-shadow: 0 10px 26px #0B0E11;
}

.crumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.crumb-brand {
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #D8DEE4;
  font-size: 18px;
  white-space: nowrap;
}

.crumb-brand:hover {
  color: #E4E9EE;
  text-decoration: none;
}

.crumb-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.crumb-link {
  color: #D8DEE4;
  font-size: 14px;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.crumb-link:hover {
  color: #E4E9EE;
  text-decoration: none;
  border-bottom-color: #5F7484;
}

.crumb-link.active {
  color: #E4E9EE;
  border-bottom: 2px solid #5F7484;
}

.crumb-slash {
  color: #5F7484;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  background-color: transparent;
  border: 1px solid #5F7484;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #D8DEE4;
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}

.btn-primary {
  background-color: #5F7484;
  color: #E4E9EE;
  border: 1px solid #5F7484;
}

.btn-primary:hover {
  background-color: #6E8596;
  border-color: #6E8596;
  text-decoration: none;
}

.btn-outline {
  border: 1px solid #D8DEE4;
  color: #D8DEE4;
}

.btn-outline:hover {
  background-color: #D8DEE4;
  color: #12151A;
  text-decoration: none;
}

.btn-cta-ice {
  background-color: #5F7484;
  color: #E4E9EE;
  border: 1px solid #5F7484;
}

.btn-cta-ice:hover {
  background-color: #12151A;
  border-color: #12151A;
  color: #E4E9EE;
  text-decoration: none;
}

/* ============ HERO — GIANT BACKGROUND WORD ============ */

.word-hero {
  position: relative;
  background-color: #12151A;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.giant-word {
  position: absolute;
  bottom: -0.16em;
  left: -0.02em;
  z-index: 0;
  font-size: clamp(140px, 23vw, 330px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: #5F7484;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.word-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px 160px;
}

.hero-chip {
  display: inline-block;
  background-color: #5F7484;
  color: #E4E9EE;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 18px;
}

.hero-title {
  color: #E4E9EE;
  font-size: clamp(48px, 6vw, 66px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 15ch;
  margin: 24px 0 20px;
}

.hero-copy {
  color: #D8DEE4;
  font-size: 18px;
  max-width: 680px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============ SECTION EYEBROW / TITLE / LEAD ============ */

.section-eyebrow {
  color: #D8DEE4;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  color: #E4E9EE;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  margin: 14px 0 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-lead {
  color: #D8DEE4;
  max-width: 780px;
  font-size: 17px;
}

/* ============ MAGAZINE COLLAGE ============ */

.magazine-collage {
  background-color: #12151A;
  padding: 96px 0 104px;
}

.collage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
  align-items: stretch;
}

.collage-tile {
  background-color: #1B2026;
  border-top: 3px solid #5F7484;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.collage-tile.tile-wide {
  grid-column: span 2;
  min-height: 320px;
}

.collage-tile.tile-small {
  grid-column: span 1;
}

.tile-icon {
  width: 46px;
  height: 46px;
  background-color: #5F7484;
  color: #E4E9EE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}

.tile-title {
  color: #E4E9EE;
  font-size: 22px;
  font-weight: 700;
  margin: 20px 0 12px;
}

.tile-text {
  color: #D8DEE4;
  font-size: 16px;
}

/* ============ METRIC BAND ============ */

.metric-band {
  background-color: #5F7484;
  padding: 68px 0;
}

.metric-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.metric-head {
  text-align: center;
  color: #E4E9EE;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.metric-sub {
  text-align: center;
  color: #E4E9EE;
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto 40px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric-item {
  text-align: center;
  padding: 10px 18px;
}

.metric-item + .metric-item {
  border-left: 1px solid #2A3037;
}

.metric-numeral {
  display: block;
  color: #D8DEE4;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.metric-label {
  display: block;
  color: #12151A;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ============ CTA BAND (ICE GREY) ============ */

.cta-band {
  background-color: #D8DEE4;
  color: #101318;
  padding: 92px 0;
  text-align: center;
}

.cta-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-title {
  color: #101318;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
}

.cta-copy {
  color: #101318;
  font-size: 17px;
  max-width: 640px;
  margin: 20px auto 32px;
}

/* ============ TWO-TONE BAND FOOTER ============ */

.duo-band-footer {
  background-color: #12151A;
}

.footer-top {
  background-color: #5F7484;
  padding: 60px 24px;
  text-align: center;
}

.footer-wordmark {
  display: block;
  color: #D8DEE4;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.footer-links-row {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-link {
  color: #E4E9EE;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-slash {
  color: #101318;
  font-size: 15px;
}

.footer-bottom {
  background-color: #1B2026;
  padding: 22px 24px;
  text-align: center;
  color: #D8DEE4;
  font-size: 14px;
}

.footer-bottom a {
  color: #E4E9EE;
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: #FFFFFF;
}

/* ============ SECONDARY PAGE HERO ============ */

.page-hero {
  background-color: #12151A;
  border-bottom: 1px solid #2A3037;
  padding: 88px 0 72px;
}

.page-eyebrow {
  color: #D8DEE4;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-title {
  color: #E4E9EE;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 16px 0 18px;
  max-width: 20ch;
}

.page-intro {
  color: #D8DEE4;
  font-size: 17px;
  max-width: 780px;
}

/* ============ SERVICES PAGE ============ */

.service-block {
  background-color: #12151A;
  padding: 84px 0;
}

.service-block.alt {
  background-color: #1B2026;
}

.service-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 44px;
  align-items: start;
}

.service-num {
  font-size: 60px;
  font-weight: 800;
  color: #5F7484;
  line-height: 1;
  letter-spacing: -0.02em;
}

.service-block h2 {
  color: #E4E9EE;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
}

.service-block p {
  color: #D8DEE4;
  font-size: 16px;
  margin-top: 16px;
  max-width: 820px;
}

.service-block ul {
  color: #D8DEE4;
  margin-top: 14px;
  max-width: 820px;
}

.service-block ul li {
  margin: 8px 0;
}

/* ============ PROCESS STRIP ============ */

.process-strip {
  background-color: #5F7484;
  padding: 84px 0;
}

.process-head {
  color: #E4E9EE;
}

.process-head .process-eyebrow {
  color: #E4E9EE;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.process-head h2 {
  color: #E4E9EE;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  margin: 14px 0 10px;
}

.process-head p {
  color: #E4E9EE;
  font-size: 16px;
  max-width: 720px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 44px;
}

.process-step {
  border-top: 3px solid #101318;
  padding-top: 20px;
}

.process-step .step-num {
  display: block;
  color: #101318;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}

.process-step h3 {
  color: #E4E9EE;
  font-size: 19px;
  font-weight: 700;
  margin: 14px 0 10px;
}

.process-step p {
  color: #E4E9EE;
  font-size: 15px;
}

/* ============ CONTACT PAGE ============ */

.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px 96px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  background-color: #1B2026;
  border-top: 3px solid #5F7484;
  padding: 40px;
}

.contact-card h2 {
  color: #E4E9EE;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card .contact-note {
  color: #D8DEE4;
  font-size: 15px;
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  color: #E4E9EE;
  font-size: 15px;
  font-weight: 600;
  margin: 16px 0 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background-color: #12151A;
  border: 1px solid #3A424B;
  color: #E4E9EE;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #5F7484;
}

.form-submit {
  background-color: #5F7484;
  color: #E4E9EE;
  border: 1px solid #5F7484;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-top: 22px;
}

.form-submit:hover {
  background-color: #6E8596;
  border-color: #6E8596;
}

.form-status {
  color: #D8DEE4;
  font-size: 15px;
  margin-top: 16px;
  min-height: 22px;
}

.info-card {
  background-color: #1B2026;
  border-top: 3px solid #5F7484;
  padding: 34px 34px;
  margin-bottom: 26px;
}

.info-card h2 {
  color: #E4E9EE;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.info-list {
  list-style: none;
}

.info-list li {
  color: #D8DEE4;
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #2A3037;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list strong {
  color: #E4E9EE;
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.info-list a {
  color: #E4E9EE;
}

/* ============ FAQ ============ */

.faq-list {
  list-style: none;
}

.faq-item {
  background-color: #1B2026;
  border-top: 3px solid #5F7484;
  margin-bottom: 16px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  color: #E4E9EE;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  padding: 20px 24px;
  cursor: pointer;
  font-family: inherit;
}

.faq-icon {
  color: #5F7484;
  font-size: 20px;
  font-weight: 700;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  color: #D8DEE4;
  font-size: 15px;
  padding: 0 24px 22px;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============ SCROLL REVEAL (transform only, safe without JS) ============ */

.fade-up {
  transform: translateY(24px);
  transition: transform 0.7s ease-out;
}

.fade-up.visible {
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 900px) {
  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
  }

  .metric-item + .metric-item {
    border-left: none;
  }

  .metric-item:nth-child(odd) {
    border-left: none;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-num {
    font-size: 44px;
  }

  .collage-tile,
  .collage-tile.tile-wide,
  .collage-tile.tile-small {
    grid-column: 1 / -1;
    min-height: 220px;
  }
}

@media (max-width: 860px) {
  .crumb-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }

  .crumb-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background-color: #1B2026;
    border-top: 1px solid #2A3037;
    padding: 18px 4px 14px;
  }

  .crumb-nav.open .crumb-links {
    display: flex;
  }

  .crumb-slash {
    display: none;
  }

  .crumb-link {
    padding: 4px 0;
  }
}

@media (max-width: 560px) {
  .metric-grid {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .word-hero {
    min-height: 480px;
  }

  .word-hero-content {
    padding: 72px 20px 140px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .contact-card {
    padding: 26px;
  }
}
