/* ==========================================================================
   Southern Nevada Cleaning & Restoration - Master Landing Stylesheet
   File: assets/css/landing.css
   ========================================================================== */

/* --- Global Reset & Typography --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* --- Dark Navy Top Bar Navigation --- */
.top-bar {
  background: #0b2545;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  width: 38px;
  height: 38px;
  background: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  flex-shrink: 0;
}

.logo-badge img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.brand-text {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.dispatch-info {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 500;
}

.dispatch-info a {
  color: #fbbf24;
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

.dispatch-info a:hover {
  text-decoration: underline;
}

.btn-header-scroll {
  display: inline-block;
  background: var(--accent, #2563eb);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.btn-header-scroll:hover {
  opacity: 0.9;
}

/* --- Hero Section & Grid --- */
.hero-section {
  background: #f0f7ff;
  border-bottom: 1px solid #e2e8f0;
  padding: 40px 20px 60px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

/* --- Trust Badges --- */
.trust-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin-bottom: 16px;
  overflow-x: auto;
}

.trust-badges .badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  text-transform: uppercase;
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.trust-badges .badge:nth-child(2) {
  background: #dcfce7;
  color: #15803d;
  border-color: #bbf7d0;
}

.trust-badges .badge:nth-child(3) {
  background: #fef3c7;
  color: #b45309;
  border-color: #fde68a;
}

.hero-copy h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0b2545;
  line-height: 1.2;
  margin: 0 0 16px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Highlight Box */
.hero-highlight-box {
  background: #ffffff;
  border-left: 4px solid var(--accent, #2563eb);
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  padding: 14px 18px;
  margin-top: 18px;
  margin-bottom: 22px;
}

.highlight-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.92rem;
  margin: 0 0 4px;
}

.highlight-desc {
  font-size: 0.86rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

.hero-media-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.hero-media-wrap img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.hero-media-caption {
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #64748b;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

/* --- Hero Lead Capture Form Card --- */
.hero-form-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.08);
  padding: 28px;
}

.hero-form-card h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  color: #0f172a;
  font-weight: 800;
}

.form-subtext {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: #64748b;
}

.form-group {
  margin-bottom: 13px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
}

.form-group label .req {
  color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.92rem;
  color: #0f172a;
  background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent, #2563eb);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cta-button {
  width: 100%;
  padding: 13px;
  color: #ffffff;
  background: var(--accent, #2563eb);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.2s;
}

.cta-button:hover {
  opacity: 0.92;
}

/* --- Shared Pricing Matrix --- */
.pricing-table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  margin-top: 24px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table th, .pricing-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.92rem;
  vertical-align: top;
}

.pricing-table th {
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.95rem;
}

.pricing-table th.highlight-col, .pricing-table td.highlight-col {
  background: #f0f7ff;
}

.tier-header {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  display: block;
  margin-bottom: 4px;
}

.tier-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent, #2563eb);
  display: inline-block;
  margin-bottom: 4px;
}

.tier-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
}

.tier-capacity {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
  display: block;
}

.btn-tier-cta {
  display: inline-block;
  width: 100%;
  text-align: center;
  color: #ffffff;
  padding: 9px 12px;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.2s ease;
}

.btn-tier-cta:hover {
  opacity: 0.9;
}

/* Distinct Tier Color Options */
.btn-tier-cta.tier-1 {
  background-color: #0891b2; /* Express Teal */
}
.btn-tier-cta.tier-1:hover {
  background-color: #0e7490;
}

.btn-tier-cta.tier-2 {
  background-color: #2563eb; /* Standard Vibrant Royal Blue */
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
.btn-tier-cta.tier-2:hover {
  background-color: #1d4ed8;
}

.btn-tier-cta.tier-3 {
  background-color: #0f172a; /* Industrial Deep Navy */
}
.btn-tier-cta.tier-3:hover {
  background-color: #1e293b;
}

.pricing-table tfoot td {
  background: #f8fafc;
  padding: 16px 20px;
  border-top: 2px solid #e2e8f0;
  border-bottom: none;
}

.pricing-table tfoot td.highlight-col {
  background: #e6f0fa;
}

.out-of-scope-card {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 20px;
  margin-top: 28px;
}

.out-of-scope-card h4 {
  color: #0f172a;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.out-of-scope-card ul {
  padding-left: 20px;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
}

/* --- Capabilities & Grid --- */
.capabilities-section {
  padding: 60px 20px;
  background: #f8fafc;
}

.capabilities-container {
  max-width: 1200px;
  margin: 0 auto;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.capability-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.capability-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #0f172a;
}

.capability-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- Footer --- */
.landing-footer {
  background: #0b2545;
  color: #94a3b8;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.88rem;
}

.landing-footer a {
  color: #38bdf8;
  text-decoration: none;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .header-actions {
    width: 100%;
    justify-content: space-between;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .trust-badges {
    flex-wrap: wrap;
  }
}