/*
 * Sections - Callouts, stats sections, split layouts, video sections
 */

/* ============================================
   TIER 2/3 PAGE COMPONENTS
   ============================================ */

/* Light Hero - For Tier 2/3 pages */
.hero-light {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 0;
  margin-bottom: 0;
}

.hero-light-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-light-content {
  max-width: 560px;
}

.eyebrow-dark {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-red);
  margin: 0 0 12px;
}

.hero-light h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 0 0 16px;
  line-height: 1.1;
}

.hero-light-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--slate-600);
  margin: 0 0 24px;
}

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

.hero-light-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tier2-illustration {
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* Section Inner - Contained content */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Alt - Light gray background (full-width) */
.section-alt {
  background: var(--slate-50);
  /* Break out of container to span full viewport width */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  /* Reset box model for consistent padding */
  box-sizing: border-box;
  padding-left: 24px;
  padding-right: 24px;
}

/* Ensure section-inner centers properly in full-width sections */
.section-alt .section-inner {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Product Grid - Card layout for Tier 2 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-grid-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.product-grid-3 .product-card {
  flex: 0 1 calc(33.333% - 22px);
  max-width: calc(33.333% - 22px);
}

.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--slate-200);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.product-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: linear-gradient(135deg, var(--slate-50) 0%, var(--slate-100) 100%);
  border-bottom: 1px solid var(--slate-200);
  text-decoration: none;
}

.product-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(219, 30, 54, 0.1) 0%, rgba(40, 73, 104, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  transition: transform 0.2s ease;
}

.product-card:hover .product-card-icon {
  transform: scale(1.05);
}

.product-card-content {
  padding: 28px;
}

.product-card-content h3 {
  margin: 0 0 12px;
  font-size: 1.375rem;
  font-weight: 700;
}

.product-card-content h3 a {
  color: var(--slate-800);
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-card-content h3 a:hover {
  color: var(--brand-red);
}

.product-card-content > p {
  margin: 0 0 16px;
  color: var(--slate-600);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.product-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.product-card-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.875rem;
  color: var(--slate-700);
}

.product-card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-red);
  font-weight: 700;
}

/* Value Props Grid */
.value-props-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 32px;
}

/* Tighter spacing when section header precedes value props */
.section-header + .value-props-grid {
  margin-top: 28px;
}

.section-alt .section-header h2 {
  margin-bottom: 0;
}

.value-prop {
  text-align: center;
}

.value-prop-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
}

.value-prop h3 {
  margin: 0 0 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--slate-800);
}

.value-prop p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--slate-600);
}

/* CTA Band */
.cta-band {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px;
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band-content h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.cta-band-content p {
  margin: 0;
  color: var(--slate-300);
  font-size: 1rem;
}

.cta-band-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-band-phone {
  color: var(--slate-400);
  font-size: 0.9375rem;
}

.cta-band-phone a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.cta-band-phone a:hover {
  text-decoration: underline;
}

/* Responsive - Tier 2 Components */
@media (max-width: 1100px) {
  .product-grid-3 .product-card {
    flex: 0 1 calc(50% - 16px);
    max-width: calc(50% - 16px);
  }
}

@media (max-width: 960px) {
  .hero-light-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-light-content {
    max-width: 100%;
  }

  .hero-light .hero-actions {
    justify-content: center;
  }

  .hero-light-visual {
    order: -1;
  }

  .tier2-illustration {
    max-width: 240px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .product-grid-3 .product-card {
    flex: 0 1 100%;
    max-width: 480px;
  }

  .value-props-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band {
    flex-direction: column;
    text-align: center;
    padding: 40px 32px;
  }

  .cta-band-actions {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero-light h1 {
    font-size: 2rem;
  }

  .value-props-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-band {
    padding: 32px 24px;
  }

  .cta-band-content h2 {
    font-size: 1.25rem;
  }
}

/* ============================================
   END TIER 2/3 PAGE COMPONENTS
   ============================================ */

/* Address Check Band */
.address-check-band {
  background: var(--white);
  padding: 48px 0;
  text-align: center;
}

.address-check-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
}

.address-check-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 24px;
}

.address-check-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.address-input-wrapper {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
}

.address-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 2px solid var(--slate-300);
  border-radius: 6px;
  transition: border-color 0.2s;
}

.address-input:focus {
  outline: none;
  border-color: var(--brand-red);
}

/* Address Check Results */
.address-check-results {
  margin-top: 24px;
}

.address-result {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 8px;
  text-align: left;
  flex-wrap: wrap;
}

.address-result.success {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
}

.address-result.not-available {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
}

.result-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.address-result.success .result-icon {
  color: var(--success-text);
}

.address-result.not-available .result-icon {
  color: var(--warning-text);
}

.result-content {
  flex: 1;
  min-width: 200px;
}

.result-content strong {
  display: block;
  margin-bottom: 4px;
}

.result-content p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.875rem;
}

.result-content .network-info {
  margin-top: 4px;
  font-weight: 500;
}

/* Address Check Error */
.address-check-error {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  border-radius: 6px;
  color: var(--error-text);
  font-size: 0.875rem;
}

/* Address Check Fallback */
.address-check-fallback {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.address-check-fallback .phone-link {
  color: var(--brand-red);
  font-weight: 600;
}

/* Address Check Responsive */
@media (max-width: 600px) {
  .address-check-form {
    flex-direction: column;
    align-items: stretch;
  }

  .address-input-wrapper {
    max-width: none;
  }

  .address-result {
    flex-direction: column;
    text-align: center;
  }

  .result-content {
    text-align: center;
  }
}

/* Statistics Section */
.stats-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.stats-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stats-content .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.stats-content h2 {
  margin: 0;
  font-size: 2.25rem;
  color: #ffffff;
  line-height: 1.2;
}

.stats-content p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Callout */
.callout {
  background: var(--nav-bg);
  border-radius: 18px;
  padding: 22px 24px;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.callout-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.callout p {
  margin: 0;
  font-weight: 600;
  color: var(--light);
}

.callout-box {
  max-width: 800px;
  margin: 0 auto;
}

.callout-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(26, 32, 44, 0.08);
}

.callout-content.center {
  text-align: center;
}

.callout-content h3 {
  margin: 0 0 12px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate-800);
}

.callout-content p {
  margin: 0;
  color: var(--slate-600);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Callout Banner */
.callout-banner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.callout-banner h2 {
  margin: 0 0 16px;
  font-size: 2rem;
  color: #ffffff;
}

.callout-banner p {
  margin: 0 0 32px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.callout-banner.light h2 {
  color: var(--deep-slate);
}

.callout-banner.light p {
  color: var(--slate-600);
}

/* Split Section (Image/Text) */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-content h2 {
  margin: 0 0 16px;
  font-size: 2rem;
  color: var(--slate-800);
}

.split-content p {
  margin: 0 0 24px;
  color: var(--slate-600);
  line-height: 1.7;
}

.split-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.split-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--slate-600);
}

.split-content ul li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.split-image {
  background: linear-gradient(135deg, var(--deep-slate) 0%, var(--deep-slate-dark) 100%);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.split-image svg {
  opacity: 0.3;
}

/* Two-Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

.column-text {
  max-width: 520px;
}

.column-text .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 12px;
}

.column-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slate-800);
  margin: 0 0 16px;
  line-height: 1.2;
}

.column-text > p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--slate-600);
  margin: 0 0 24px;
}

.column-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  background: linear-gradient(135deg, var(--slate-50) 0%, var(--slate-100) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  aspect-ratio: 4/3;
  width: 100%;
  max-width: 400px;
}

.image-placeholder.large {
  aspect-ratio: 1/1;
  max-width: 320px;
}

/* Check List */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background: rgba(219, 30, 54, 0.1);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DB1E36' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Video Section */
.video-section {
  margin: 56px 0;
}

.video-container {
  max-width: 900px;
  margin: 32px auto 0;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

/* Video section on dark background */
.section.alt-bg .video-wrapper {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  background: #000;
}

/* Product List */
.product-list {
  max-width: 900px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.product-list-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(26, 32, 44, 0.1);
}

.product-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.product-image {
  width: 100%;
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #1a2332 0%, #0d1421 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.product-image::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
  pointer-events: none;
}

.product-image svg {
  position: relative;
  z-index: 1;
}

.product-content h3 {
  margin: 0 0 16px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate-800);
}

.product-title {
  display: block;
  margin: 0 0 16px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate-800);
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-title:hover {
  color: var(--brand-red);
}

.product-content p {
  margin: 0 0 20px;
  line-height: 1.7;
  color: var(--slate-700);
  font-size: 1.05rem;
}

.product-content .button {
  display: inline-flex;
}

/* Dark background variants */
.section.alt-bg .split-content h2 {
  color: #ffffff;
}

.section.alt-bg .split-content p {
  color: rgba(255, 255, 255, 0.85);
}

.section.alt-bg .split-content ul li {
  color: rgba(255, 255, 255, 0.85);
}

.section.alt-bg .split-content ul li svg {
  color: #ffffff;
}

.section.alt-bg .split-image {
  background: rgba(255, 255, 255, 0.1);
}

.section.alt-bg .split-image svg {
  stroke: #ffffff;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 960px) {
  .callout-inner {
    align-items: flex-start;
  }

  .product-list-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-image {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .stats-section {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-section.reverse {
    direction: ltr;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-column.reverse {
    direction: ltr;
  }

  .column-text {
    max-width: 100%;
  }

  .column-image {
    order: -1;
  }

  .image-placeholder {
    max-width: 280px;
  }
}
