/* ============================================================
   Texas Portable Porta Potty — Shared Stylesheet
   Theme: Blue & White | Professional | Call-Focused
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Merriweather:wght@700;900&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-900: #0a2540;
  --blue-800: #0d3260;
  --blue-600: #1a56a0;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --white:    #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --orange:   #f97316;
  --orange-dark: #c2410c;

  --font-display: 'Merriweather', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w: 1140px;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(10,37,64,0.10);
  --shadow-lg: 0 8px 40px rgba(10,37,64,0.16);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-500); text-decoration: underline; }

/* ── Utility ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.sr-only { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* ── Sticky Top Bar ── */
.top-bar {
  background: var(--blue-900);
  color: var(--white);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar .brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.top-bar .brand span { color: var(--blue-400); }
.cta-call-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 9px 22px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.cta-call-top:hover { background: var(--orange-dark); transform: scale(1.03); }
.cta-call-top svg { flex-shrink: 0; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 60%, var(--blue-600) 100%);
  color: var(--white);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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.03'%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");
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--blue-100);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  max-width: 700px;
}
.hero h1 .city-accent { color: var(--blue-400); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--blue-100);
  max-width: 580px;
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-call-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white) !important;
  font-weight: 800;
  font-size: 1.2rem;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 24px rgba(249,115,22,0.4);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}
.btn-call-hero:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(249,115,22,0.5);
}
.hero-note {
  color: var(--blue-100);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.badge {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

/* ── Services Section ── */
.section { padding: 64px 0; }
.section-alt { background: var(--gray-50); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--blue-900);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.section-sub {
  color: var(--gray-500);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 560px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
  opacity: 0;
  transition: opacity 0.2s;
}
.service-card:hover { border-color: var(--blue-400); box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 48px; height: 48px;
  background: var(--blue-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.service-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 8px;
}
.service-card p { color: var(--gray-500); font-size: 0.92rem; line-height: 1.6; }

/* ── Why Us ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.why-item {
  text-align: center;
  padding: 24px 16px;
}
.why-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--blue-500);
  line-height: 1;
  margin-bottom: 6px;
}
.why-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── GBP / Map ── */
.map-section { background: var(--blue-900); padding: 64px 0; }
.map-section .section-title { color: var(--white); }
.map-section .section-sub { color: var(--blue-100); }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255,255,255,0.1);
}
.map-wrap iframe { display: block; width: 100%; height: 420px; border: none; }

/* ── NAP Block ── */
.nap-block {
  background: var(--blue-50);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.nap-item { display: flex; align-items: flex-start; gap: 12px; min-width: 200px; }
.nap-icon { font-size: 1.3rem; margin-top: 2px; }
.nap-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-500); margin-bottom: 2px; }
.nap-value { font-size: 1rem; font-weight: 600; color: var(--blue-900); }
.nap-value a { color: var(--blue-600); font-weight: 700; text-decoration: none; }
.nap-value a:hover { text-decoration: underline; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  padding: 52px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20.5V18H0v5h5v5H0v5h20v-9.5zm-2 4.5h-1v-1h1v1zm-3 0h-1v-1h1v1zm-3 0h-1v-1h1v1z'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.cta-banner p { color: rgba(255,255,255,0.88); font-size: 1.05rem; margin-bottom: 28px; }
.btn-call-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--orange-dark) !important;
  font-weight: 800;
  font-size: 1.25rem;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-call-white:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(0,0,0,0.22); }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1.5px solid var(--gray-200);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.faq-q::before {
  content: 'Q';
  background: var(--blue-500);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 3px;
}
.faq-a { color: var(--gray-700); font-size: 0.97rem; line-height: 1.7; padding-left: 32px; }

/* ── Internal Links / Locations ── */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.loc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-800) !important;
  text-decoration: none !important;
  transition: border-color 0.2s, background 0.2s;
}
.loc-link:hover { border-color: var(--blue-400); background: var(--blue-50); text-decoration: none !important; }
.loc-link::before { content: '📍'; font-size: 1rem; }

/* ── Blog Article ── */
.article-hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
  color: var(--white);
  padding: 64px 0 52px;
}
.article-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 14px;
}
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.18;
  max-width: 740px;
  margin-bottom: 18px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: var(--blue-100);
  font-size: 0.88rem;
}
.article-meta span { display: flex; align-items: center; gap: 5px; }

/* ── Article Body ── */
.article-body { max-width: 780px; margin: 0 auto; padding: 52px 20px; }
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--blue-900);
  margin: 40px 0 14px;
  letter-spacing: -0.015em;
}
.article-body h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--blue-800);
  margin: 28px 0 10px;
}
.article-body p { color: var(--gray-700); margin-bottom: 18px; line-height: 1.8; font-size: 1.02rem; }
.article-body ul, .article-body ol {
  color: var(--gray-700);
  margin: 0 0 18px 24px;
  line-height: 1.8;
}
.article-body li { margin-bottom: 6px; }
.article-body a { color: var(--blue-600); font-weight: 500; }
.article-body a:hover { color: var(--blue-500); }
.article-callout {
  background: var(--blue-50);
  border-left: 4px solid var(--blue-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 1.02rem;
  color: var(--blue-900);
  font-weight: 500;
}
.article-cta-inline {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
  margin: 36px 0;
}
.article-cta-inline p { color: var(--blue-100); margin-bottom: 14px; }
.article-cta-inline h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 10px; }

/* ── Schema / Hidden SEO ── */
.schema-hidden { display: none; }

/* ── Footer ── */
.footer {
  background: var(--gray-900);
  color: var(--gray-500);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-brand span { color: var(--blue-400); }
.footer p, .footer li { font-size: 0.88rem; line-height: 1.7; }
.footer h4 { color: var(--white); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 6px; }
.footer ul li a { color: var(--gray-500); font-size: 0.88rem; transition: color 0.2s; }
.footer ul li a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .section { padding: 44px 0; }
  .nap-block { padding: 20px; }
  .cta-banner { padding: 40px 0; }
  .article-body { padding: 36px 16px; }
  .top-bar .brand { font-size: 0.88rem; }
  .cta-call-top { font-size: 0.92rem; padding: 8px 16px; }
}

/* ── Pulse animation on call buttons ── */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(249,115,22,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(249,115,22,0); }
  100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}
.btn-call-hero { animation: pulse-ring 2.4s ease-out infinite; }
