:root {
  --primary: #0A2540;
  --secondary: #0066CC;
  --accent: #FF6B00;
  --bg-color: #F8F9FA;
  --surface: #FFFFFF;
  --text-main: #333333;
  --text-muted: #666666;
  --border: #E2E8F0;
  --radius: 4px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --font-family: 'Inter', system-ui, sans-serif;
  --container-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background-color: var(--primary);
  color: #fff;
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: #fff;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--secondary);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background-color: var(--secondary);
  color: #fff !important;
}

.btn-primary:hover {
  background-color: var(--primary);
}

.btn-accent {
  background-color: var(--accent);
  color: #fff !important;
}

.btn-accent:hover {
  background-color: #E65C00;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary) !important;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff !important;
}

/* Hero Section */
.hero {
  background-color: var(--primary);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero p.lead {
  font-size: 1.2rem;
  color: #E2E8F0;
  margin-bottom: 30px;
}

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

.hero-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-bg {
  background-color: var(--surface);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Services Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: #fff;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: #CBD5E1;
}

.footer ul a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #94A3B8;
  font-size: 0.9rem;
}

/* Mobile Nav */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* ── Smooth scroll globally ── */
html { scroll-behavior: smooth; }

/* ── Hover lift on mini service cards ── */
[style*="background:rgba(255,255,255,0.05)"] {
  transition: background 0.2s ease, transform 0.2s ease;
}
[style*="background:rgba(255,255,255,0.05)"]:hover {
  background: rgba(255,255,255,0.09) !important;
  transform: translateY(-3px);
}

/* ── Mobile: < 768px ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .section {
    padding: 40px 0;
  }
  /* Dispatch grid stacks */
  #dispatch .container[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .dispatch-form {
    padding: 24px;
  }
}

/* ── Tablet & Mobile: < 900px ── */
@media (max-width: 900px) {
  /* Hero section stacks */
  .hero .container {
    grid-template-columns: 1fr !important;
  }
  .hero-brand-panel {
    padding: 30px 24px;
  }

  /* Featured services — 2 big cards stack */
  #services div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Bathroom banner stacks */
  #services div[style*="grid-template-columns:1fr auto"] {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  #services div[style*="grid-template-columns:1fr auto"] div:last-child {
    text-align: center !important;
  }

  /* Big hero service cards — reduce padding */
  #services div[style*="padding:44px 40px"] {
    padding: 30px 24px !important;
  }

  /* Section heading */
  #services h2[style] {
    font-size: 2rem !important;
  }
  #services h3[style*="font-size:1.9rem"] {
    font-size: 1.5rem !important;
  }
}

/* ── Locations list responsive ── */
.location-list {
  column-count: 4;
  column-gap: 30px;
  list-style: none;
}
.location-list li { margin-bottom: 10px; }

@media (max-width: 900px) { .location-list { column-count: 3; } }
@media (max-width: 600px) { .location-list { column-count: 2; } }
@media (max-width: 400px) { .location-list { column-count: 1; } }

/* ── Dispatch form inline grid stacks on mobile ── */
@media (max-width: 560px) {
  .dispatch-form div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

/* Dispatch Form */
.dispatch-form {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Locality specific */
.location-page-header {
  background-color: var(--bg-color);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.location-page-header h1 {
  color: var(--primary);
  font-size: 2.5rem;
}

.location-content {
  padding: 60px 0;
}

.location-list {
  column-count: 4;
  column-gap: 30px;
  list-style: none;
}

.location-list li {
  margin-bottom: 10px;
}

@media (max-width: 900px) { .location-list { column-count: 3; } }
@media (max-width: 600px) { .location-list { column-count: 2; } }
@media (max-width: 400px) { .location-list { column-count: 1; } }
