/* ══════════════════════════════════════════════════════════════
   Capital Septic Supply — DESKTOP Layout
   Source: desktop.css  |  Version: 1.0.2  |  2026-05-18
   ──────────────────────────────────────────────────────────────
   Loaded via: <link media="(min-width: 769px)">
   Contains: Desktop-specific layout, header grid, nav capsule,
   hero grid, footer 3-column grid, tablet breakpoint.
   ──────────────────────────────────────────────────────────────
   SCALE NOTE: All sizes calibrated for 100% browser zoom on
   1080p monitors (viewport ~1428×774). The hero section MUST
   be fully visible without scrolling at 100% zoom.
   ══════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════
   PAGE WRAPPER — Desktop centered container
   ═══════════════════════════════════════════════════════════ */
.page-wrapper {
  width: calc(100% - 48px);
  max-width: 1920px;
  margin: 14px auto 24px;
}

/* Hide mobile-only layout elements on desktop */
.mobile-categories-mockup {
  display: none !important;
}


/* ═══════════════════════════════════════════════════════════
   HEADER — Compact premium bar, 3-column grid
   ═══════════════════════════════════════════════════════════ */
.site-header {
  height: 68px;
  background: var(--header-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-header);
  box-shadow: 0 20px 52px rgba(16, 32, 55, 0.16),
              0 3px 10px rgba(16, 32, 55, 0.05);
  padding: 0 22px;
  display: grid;
  grid-template-columns: 175px 1fr auto;
  align-items: center;
  gap: 18px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  width: 102px;
  max-width: 100%;
  height: auto;
  display: block;
}


/* ═══════════════════════════════════════════════════════════
   NAV MENU — White pill capsule, centered
   ═══════════════════════════════════════════════════════════ */
.nav-menu {
  justify-self: center;
  height: 48px;
  max-width: 920px;
  width: auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1.5px solid rgba(200, 205, 215, 0.50);
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 24px rgba(16, 32, 55, 0.14),
              0 2px 6px rgba(16, 32, 55, 0.05);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-menu a:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nav-menu a.active {
  background: var(--brand-red);
  color: var(--text-white);
  font-weight: 800;
}

.nav-menu a.active:hover {
  background: var(--brand-red-hover);
}


/* ═══════════════════════════════════════════════════════════
   HEADER ACTIONS — Call button + Language switcher
   ═══════════════════════════════════════════════════════════ */
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Call for pricing button */
.call-button {
  height: 40px;
  padding: 0 20px;
  border: 2px solid var(--brand-red);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--brand-red);
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.call-button:hover {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 16px rgba(196, 18, 62, 0.12);
}

.call-button svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

/* Cart icon in header */
.cart-header-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  text-decoration: none;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.cart-header-icon:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 16px rgba(36, 49, 70, 0.15);
}

.cart-header-icon svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cart-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--brand-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(160, 21, 48, 0.35);
}

/* Language switcher */
.language-switcher {
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--transition-fast);
}

.language-switcher:hover {
  background: var(--brand-blue-dark);
}

.language-switcher .flag {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
}


/* ═══════════════════════════════════════════════════════════
   HERO SECTION — Outer frame + inner card
   Calibrated so entire hero fits in viewport at 100% zoom
   ═══════════════════════════════════════════════════════════ */
.hero-outer {
  margin-top: 14px;
  background: var(--hero-outer-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--glass-border-subtle);
  border-radius: var(--radius-outer);
  box-shadow: var(--glass-shadow);
  padding: 18px 22px;
}

.hero-inner {
  position: relative;
  min-height: calc(100vh - 160px);
  background: var(--hero-inner-bg);
  backdrop-filter: blur(var(--glass-blur-heavy));
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-hero);
  box-shadow: 0 32px 80px rgba(16, 32, 55, 0.18),
              0 6px 20px rgba(16, 32, 55, 0.06);
  padding: 38px 44px 34px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 44px;
  overflow: hidden;
}

/* Decorative red radial glow — top right */
.hero-inner::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -180px;
  top: -180px;
  background: radial-gradient(circle, rgba(196, 18, 62, 0.14), transparent 58%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* Bottom gradient line — red to blue */
.hero-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 0 0 var(--radius-hero) var(--radius-hero);
  background: linear-gradient(
    to right,
    var(--brand-red) 0%,
    var(--brand-red) 45%,
    var(--brand-blue-btn) 45%,
    var(--brand-blue-btn) 100%
  );
  z-index: 1;
}


/* ─── Hero Copy (Left column) ─── */
.hero-copy {
  align-self: center;
  position: relative;
  z-index: 1;
}

/* Label */
.hero-label {
  height: 32px;
  padding: 0 14px;
  font-size: 12px;
}

/* Title */
.hero-title {
  margin: 24px 0 14px;
  max-width: 850px;
  color: var(--brand-red);
  font-size: clamp(38px, 3.2vw, 54px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -1.5px;
}

/* Description */
.hero-description {
  max-width: 680px;
  margin: 0 0 24px;
  color: var(--text-primary);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
}

/* Buttons row */
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Override shared button size for desktop compact */
.hero-button {
  height: 50px;
  padding: 0 24px;
  font-size: 15px;
}


/* ─── Product Card (Right column) ─── */
.product-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #d6d6d6 0%, #e2e2e2 40%, #f0f0f0 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.90);
  border-radius: var(--radius-card);
  box-shadow: 0 28px 68px rgba(16, 32, 55, 0.18),
              0 4px 14px rgba(16, 32, 55, 0.06);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  justify-self: center;
  overflow: hidden;
  padding: 0;
  transition: transform var(--transition-mid), box-shadow var(--transition-mid);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
}

.product-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}


/* ═══════════════════════════════════════════════════════════
   FEATURED PRODUCT BANNER — Full-width hero-style slider
   ═══════════════════════════════════════════════════════════ */
.featured-banner {
  position: relative;
  background: var(--hero-inner-bg);
  backdrop-filter: blur(var(--glass-blur-heavy));
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-hero);
  box-shadow: 0 32px 80px rgba(16, 32, 55, 0.18),
              0 6px 20px rgba(16, 32, 55, 0.06);
  margin-top: 14px;
  padding: 38px 44px 34px;
  overflow: hidden;
  min-height: 380px;
}

/* Decorative glow — bottom left (opposite of hero) */
.featured-banner::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  left: -160px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(196, 18, 62, 0.10), transparent 58%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* Bottom gradient line */
.featured-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 0 0 var(--radius-hero) var(--radius-hero);
  background: linear-gradient(
    to right,
    var(--brand-blue-btn) 0%,
    var(--brand-blue-btn) 55%,
    var(--brand-red) 55%,
    var(--brand-red) 100%
  );
  z-index: 1;
}

/* Title Tab for Slider */
.banner-section-title {
  position: absolute;
  top: 0;
  left: 44px;
  z-index: 10;
  background: linear-gradient(135deg, var(--brand-red) 0%, #8c0c2a 100%);
  padding: 6px 18px 8px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(196, 18, 62, 0.3);
}

.banner-section-title h2 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin: 0;
}

/* Slide container */
.banner-slides {
  position: relative;
  z-index: 1;
}

.banner-slide {
  display: none;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 44px;
  animation: bannerFadeIn 0.6s ease;
}

.banner-slide.active {
  display: grid;
}

@keyframes bannerFadeIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Product image (left side) */
.banner-product-image {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #eef0f3 0%, #f5f6f8 50%, #fafafa 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.90);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 50px rgba(16, 32, 55, 0.14),
              0 4px 12px rgba(16, 32, 55, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  justify-self: center;
}

.banner-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.banner-slide:hover .banner-product-image img {
  transform: scale(1.05);
}

.banner-product-placeholder {
  color: #c0c8d4;
}

/* Product copy (right side) */
.banner-product-copy {
  position: relative;
  z-index: 1;
}

.banner-product-copy .banner-cat {
  display: inline-block;
  height: 28px;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 28px;
  background: rgba(196, 18, 62, 0.08);
  border: 1.5px solid rgba(196, 18, 62, 0.15);
  border-radius: 100px;
  margin-bottom: 16px;
}

.banner-product-copy h2 {
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 900;
  color: var(--brand-blue);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin: 0 0 14px;
}

.banner-product-copy .banner-desc {
  font-size: 16px;
  color: #5a6780;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 0 20px;
}

.banner-product-copy .banner-price {
  font-size: 28px;
  font-weight: 900;
  color: var(--brand-red);
  margin-bottom: 24px;
  display: block;
}

.banner-product-copy .banner-price.call {
  font-size: 16px;
  font-weight: 700;
}

.banner-product-copy .banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  background: var(--brand-blue-btn);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-button);
  text-decoration: none;
  transition: background 0.25s ease, transform 0.15s ease;
}

.banner-product-copy .banner-cta:hover {
  background: var(--brand-blue-btn-h);
  transform: translateY(-2px);
}

/* Controls bar */
.banner-controls {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

.banner-dots {
  display: flex;
  gap: 8px;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(200, 205, 215, 0.50);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.banner-dot.active {
  background: var(--brand-red);
  border-color: var(--brand-red);
  width: 28px;
  border-radius: 6px;
}

.banner-arrows {
  display: flex;
  gap: 10px;
}

.banner-arrow {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 2px solid rgba(200, 205, 215, 0.35);
  background: #ffffff;
  color: var(--brand-blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.banner-arrow:hover {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .featured-banner {
    padding: 28px 24px 28px;
    min-height: auto;
  }
  .banner-slide {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .banner-product-image {
    max-width: 320px;
    order: -1;
  }
  .banner-product-copy h2 {
    font-size: 24px;
  }
}


/* ═══════════════════════════════════════════════════════════
   INNER PAGES — Desktop Layouts (Liquid Glass 2.0)
   ═══════════════════════════════════════════════════════════ */

/* ─── Services Grid ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* ─── OSSF Info Grid ─── */
.ossf-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

/* ─── Contact Grid ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ─── Referrals Grid ─── */
.referrals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.referral-card {
  text-align: center;
}

.referral-card .ref-icon {
  margin: 0 auto;
}

.referral-card h3 {
  margin: 16px 0 10px;
}


/* ═══════════════════════════════════════════════════════════
   FOOTER — Dark blue card with red decorative shapes
   ═══════════════════════════════════════════════════════════ */
.site-footer {
  position: relative;
  margin-top: 18px;
  min-height: 480px;
  background: var(--footer-bg);
  border-radius: var(--radius-footer);
  overflow: hidden;
  color: var(--text-white);
  padding: 58px 64px 60px;
}

/* SVG Background Graphic */
.footer-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.footer-bg-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Footer grid */
.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 32% 38% 30%;
  align-items: center;
  gap: 36px;
}

/* Footer brand column */
.footer-brand {
  position: relative;
  z-index: 2;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-left: 60px;
}

.footer-logo {
  width: 190px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 28px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Footer titles */
.footer-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  color: var(--text-white);
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  font-style: italic;
}

.footer-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-pill);
}

/* Footer contact list */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 14px;
  color: var(--text-white);
}

.footer-contact-item p {
  margin: 0;
  color: var(--text-white);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
}

.footer-contact-item strong {
  display: block;
  margin-top: 4px;
  color: var(--text-white);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
}

/* Footer links column */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Footer links — compact for desktop */
.footer-links a {
  font-size: 16px;
}

/* Footer social — compact */
.footer-social {
  width: 46px;
  height: 46px;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* Footer bottom */
.footer-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  min-height: 54px;
  background: transparent;
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.footer-bottom p {
  font-size: 13px;
}


/* ═══════════════════════════════════════════════════════════
   LARGE DESKTOP — Scales up for 1600px+ screens
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1600px) {
  .site-header {
    height: 78px;
    grid-template-columns: 200px 1fr auto;
    padding: 0 28px;
  }

  .logo img {
    width: 170px;
  }

  .nav-menu {
    height: 54px;
    max-width: 860px;
    gap: 6px;
  }

  .nav-menu a {
    font-size: 16px;
    padding: 0 20px;
    height: 42px;
  }

  .call-button {
    height: 44px;
    font-size: 15px;
  }

  .hero-outer {
    padding: 24px 30px;
  }

  .hero-inner {
    padding: 52px 54px 44px;
    gap: 56px;
  }

  .hero-title {
    font-size: clamp(48px, 3.8vw, 68px);
  }

  .hero-description {
    font-size: 21px;
  }

  .hero-button {
    height: 56px;
    font-size: 16px;
  }

  .product-card {
    max-width: 720px;
    height: 400px;
  }

  .site-footer {
    min-height: 520px;
    padding: 68px 76px 66px;
  }

  .footer-title {
    font-size: 28px;
  }
}


/* ═══════════════════════════════════════════════════════════
   DESKTOP VARIANT — Tablet (≤1180px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .site-header {
    height: auto;
    min-height: 72px;
    grid-template-columns: 160px 1fr;
    grid-template-areas:
      "logo actions"
      "nav nav";
    row-gap: 12px;
    padding: 14px 18px;
  }

  .logo {
    grid-area: logo;
  }

  .header-actions {
    grid-area: actions;
  }

  .nav-menu {
    grid-area: nav;
    justify-self: center;
    max-width: 100%;
    flex-wrap: wrap;
    height: auto;
    min-height: 44px;
    padding: 6px 10px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .product-card {
    max-width: 600px;
    height: 340px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    min-height: 180px;
  }
}

/* ═══ Hide Mobile-Only Components on Desktop ═══ */
.mobile-bottom-nav { display: none; }
.cart-link { display: none; }

