/* ── MyCleanPotty Shared Styles ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:        #3DAABB;
  --teal-dark:   #2E8F9E;
  --teal-light:  #EAF6F8;
  --coral:       #D4674A;
  --coral-hover: #BC5A3E;
  --coral-light: #FDF1EE;
  --dark:        #0f1e2e;           /* richer, deeper navy */
  --dark-mid:    #152638;           /* slightly lighter layer */
  --dark-card:   rgba(255,255,255,0.045);
  --text:        #374151;
  --gray:        #6B7280;
  --gray-light:  #9CA3AF;
  --border:      #E5E7EB;
  --border-dark: rgba(255,255,255,0.09);
  --bg:          #F4F7FA;
  --white:       #FFFFFF;
  --font:        'Inter', sans-serif;
}

/* ── DOT-GRID TEXTURE (dark sections) ─────────────────────────── */
/* Applied to .industries, .testimonials, .ind-hero, .challenges  */
.dot-texture {
  background-color: var(--dark);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.045) 1px, transparent 0);
  background-size: 28px 28px;
  position: relative;
}
/* Teal→coral accent stripe at top */
.dot-texture::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--coral) 100%);
  z-index: 1;
}
/* Subtle radial glow at top-right */
.dot-texture::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,170,187,0.08) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.dot-texture > * { position: relative; z-index: 1; }

/* ── UTILITIES ─────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); overflow-x: hidden; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--coral); color: #fff; font-weight: 700;
  font-size: 0.88rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 14px 28px; border-radius: 6px; border: none; cursor: pointer;
  text-decoration: none; transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap; box-shadow: 0 4px 14px rgba(212,103,74,0.3);
}
.btn-primary:hover { background: var(--coral-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,103,74,0.4); }

.btn-teal {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: #fff; font-weight: 700;
  font-size: 0.88rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 14px 28px; border-radius: 6px; border: none; cursor: pointer;
  text-decoration: none; transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap; box-shadow: 0 4px 14px rgba(61,170,187,0.3);
}
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(61,170,187,0.4); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text); font-weight: 700;
  font-size: 0.88rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 13px 27px; border-radius: 6px; border: 2px solid var(--border);
  cursor: pointer; text-decoration: none; transition: border-color 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }

.section-label {
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 12px; display: block;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800;
  line-height: 1.14; color: var(--text); letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: 1.02rem; color: var(--gray); line-height: 1.72; margin-top: 14px;
}
.divider { width: 44px; height: 3px; background: var(--coral); border-radius: 2px; margin-bottom: 20px; }
.tag {
  display: inline-block; font-size: 0.71rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 100px;
  background: var(--teal-light); color: var(--teal-dark); border: 1px solid rgba(61,170,187,0.3);
}

/* ── LIGHT SECTION TEXTURE ─────────────────────────────────────── */
/* Apply to white / light-bg sections to break up flatness          */
.light-dot {
  background-color: #fff;
  background-image: radial-gradient(circle at 1px 1px, rgba(61,170,187,0.055) 1px, transparent 0);
  background-size: 28px 28px;
}
.bg-dot {
  background-color: var(--bg);
  background-image: radial-gradient(circle at 1px 1px, rgba(61,170,187,0.07) 1px, transparent 0);
  background-size: 28px 28px;
}
/* Diagonal accent stripe — top-left corner teal glow on light sections */
.accent-glow {
  position: relative; overflow: hidden;
}
.accent-glow::before {
  content: '';
  position: absolute; top: -60px; left: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,170,187,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ── LOGO SVG  ─────────────────────────────────────────────────── */
/* Accurate inline SVG of the MyCleanPotty logo mark */
.logo-svg { display: block; height: 52px; width: auto; flex-shrink: 0; }

/* ── TOPBAR ─────────────────────────────────────────────────────── */
.topbar {
  background: linear-gradient(90deg, var(--teal-dark) 0%, var(--teal) 100%);
  text-align: center; padding: 9px 24px; font-size: 0.82rem; font-weight: 600;
}
.topbar, .topbar a { color: #fff; text-decoration: none; }

/* ── NAV ────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 72px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 54px; width: auto; display: block; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--gray); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s; padding: 4px 0; white-space: nowrap;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a.active { color: var(--teal); border-bottom: 2px solid var(--teal); padding-bottom: 2px; }
.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-phone { color: var(--text); font-size: 0.88rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-phone:hover { color: var(--teal); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
@media(max-width:900px){
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn-primary { display: none; }
}
.nav-links.open {
  display: flex; flex-direction: column; position: fixed;
  top: 72px; left: 0; right: 0;
  background: #fff; padding: 20px 24px;
  border-bottom: 1px solid var(--border); z-index: 99; gap: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* ── TICKER ─────────────────────────────────────────────────────── */
.ticker-wrap {
  overflow: hidden; padding: 13px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.ticker { display: flex; width: max-content; animation: ticker 35s linear infinite; }
.ticker:hover { animation-play-state: paused; }
.ticker-inner { display: flex; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: flex; align-items: center; gap: 10px; padding: 0 28px; white-space: nowrap;
  font-size: 0.79rem; font-weight: 600; color: var(--gray); letter-spacing: 0.06em; text-transform: uppercase;
}
.ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); flex-shrink: 0; }

/* ── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: #0a1624;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 32px 32px;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--teal), var(--coral)) 1;
  color: #fff; padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { display: block; margin-bottom: 14px; }
.footer-logo img { height: 48px; width: auto; }
.footer-desc { font-size: 0.86rem; color: #7a8fa8; line-height: 1.7; max-width: 280px; margin-bottom: 16px; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.74rem; font-weight: 600; color: #7a8fa8;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 100px; padding: 5px 12px;
}
.footer-col h4 {
  font-size: 0.77rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #7a8fa8; margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.86rem; color: #c4cfdb; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--teal); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.78rem; color: #7a8fa8; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: #7a8fa8; text-decoration: none; }
.footer-bottom a:hover { color: var(--teal); }
@media(max-width:900px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px){ .footer-grid { grid-template-columns: 1fr; } }

/* ── STICKY MOBILE CTA ─────────────────────────────────────────── */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: #fff; border-top: 1px solid var(--border);
  padding: 10px 16px; gap: 10px; box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
}
.sticky-cta a { flex: 1; justify-content: center; font-size: 0.82rem; padding: 12px; }
@media(max-width:900px){ .sticky-cta { display: flex; } body { padding-bottom: 76px; } }
