
:root {
  --primary: #d61f26;
  --primary-dark: #a31319;
  --charcoal: #131313;
  --slate: #2b2f36;
  --muted: #667085;
  --bg: #f5f6f8;
  --card: #ffffff;
  --line: #d9dde3;
  --success: #0f766e;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(0,0,0,0.08);
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--slate);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeSpeed;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; height: auto; }
img[width][height] { aspect-ratio: attr(width) / attr(height); }
.container { width: min(var(--container), calc(100% - 2rem)); margin: 0 auto; }
.topbar {
  background: var(--charcoal);
  color: #fff;
  font-size: 0.85rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
}
.topbar-inner a[href^="tel"] {
  white-space: nowrap;
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 165px;
  height: auto;
  aspect-ratio: 1 / 1;
}
.brand-copy {
  display: flex;
  flex-direction: column;
}
.brand-copy strong {
  color: var(--charcoal);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.brand-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}
.nav-toggle {
  display: none;
  border: 2px solid var(--charcoal);
  background: var(--charcoal);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.96rem;
}
.button,
button,
input[type='submit'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(214, 31, 38, 0.22);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.button:hover,
button:hover,
input[type='submit']:hover {
  background: var(--primary-dark);
  text-decoration: none;
  color: #fff;
}
.button.secondary {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--line);
  box-shadow: none;
}
.button.secondary:hover {
  background: var(--bg);
  border-color: var(--muted);
  text-decoration: none;
}
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(90deg, rgba(9,10,13,0.88), rgba(9,10,13,0.54)), center/cover no-repeat;
}
.hero-inner {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 0;
}
.hero h1,
.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 1.05;
}
.hero p,
.page-hero p {
  font-size: 1.08rem;
  max-width: 60ch;
  color: rgba(255,255,255,0.92);
}
.hero-card,
.contact-card,
.card {
  background: rgba(255,255,255,0.97);
  color: var(--slate);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.hero-card p {
  color: var(--slate);
}
.hero .button.secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.hero .button.secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.hero-card h2,
.section h2,
.page-content h2 {
  margin-top: 0;
  color: var(--charcoal);
  font-size: clamp(1.6rem, 2.7vw, 2.4rem);
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.badge {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-size: 0.94rem;
}
.section {
  padding: 4.5rem 0;
}
.section.alt {
  background: var(--bg);
}
/* Fix secondary button in alt sections (dark text on light bg) */
.section.alt .button.secondary {
  color: var(--charcoal);
  border-color: var(--line);
}
.section-header {
  margin-bottom: 2rem;
  max-width: 70ch;
}
.kicker {
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 800;
}
.grid {
  display: grid;
  gap: 1.4rem;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card,
.service-card,
.project-card,
.area-card,
.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 10px 25px rgba(16,24,40,0.05);
}
.service-card img,
.project-card img {
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 1rem;
  content-visibility: auto;
}
.feature-card h3,
.service-card h3,
.project-card h3,
.area-card h3,
.info-card h3 {
  margin: 0 0 0.7rem;
  color: var(--charcoal);
}
/* Area cards - styled city links (not h3 to reduce heading count) */
.area-card p {
  margin: 0;
}
.area-card a {
  font-weight: 700;
  color: var(--charcoal);
}
.area-card a:hover {
  color: var(--primary);
  text-decoration: none;
}
.area-city {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.area-city a {
  color: var(--charcoal);
  font-weight: 700;
}
.area-city a:hover {
  color: var(--primary);
}
.list,
.page-content ul {
  padding-left: 1.2rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: #fff;
}
.stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--charcoal);
}
.page-hero {
  color: #fff;
  background: linear-gradient(90deg, rgba(9,10,13,0.84), rgba(9,10,13,0.58)), center/cover no-repeat;
}
.page-hero-inner {
  padding: 4rem 0 3.2rem;
}
.breadcrumbs {
  color: rgba(255,255,255,0.76);
  font-size: 0.96rem;
  margin-bottom: 1rem;
}
.breadcrumbs a { color: rgba(255,255,255,0.88); }
.page-content {
  padding: 4rem 0;
}
.split {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 1.7rem;
  align-items: start;
}
.cta-band {
  background: linear-gradient(135deg, var(--charcoal), #262b33);
  color: #fff;
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
label {
  display: block;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.45rem;
}
input, textarea, select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  font: inherit;
  color: var(--slate);
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(214,31,38,0.1);
}
textarea { min-height: 150px; resize: vertical; }
.full { grid-column: 1 / -1; }
.notice {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Contact page sections */
.contact-expect,
.contact-service-area,
.contact-faq {
  max-width: 740px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}
.contact-expect + .contact-service-area,
.contact-service-area + .contact-faq {
  border-top: 1px solid var(--line);
}
.contact-faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.contact-faq details[open] {
  border-color: var(--primary);
}
.contact-faq summary {
  cursor: pointer;
  padding: 0.9rem 1.1rem;
  list-style: none;
}
.contact-faq summary::-webkit-details-marker { display: none; }
.contact-faq summary h3 { margin: 0; font-size: 1rem; }
.contact-faq details p {
  padding: 0 1.1rem 0.9rem;
  margin: 0;
  color: var(--muted);
}

/* Project categories */
.project-categories {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}
.project-category {
  margin-bottom: 1.5rem;
}
.project-category h3 {
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}

.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.82);
  padding: 3rem 0 2rem;
  margin-top: 3rem;
}
.footer h3, .footer h4 { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 1.5rem;
}
.footer a { color: rgba(255,255,255,0.88); }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}
.small { font-size: 0.92rem; }

/* ── MOBILE ── */
@media (max-width: 980px) {
  .hero-inner,
  .split,
  .footer-grid,
  .grid-3,
  .grid-4,
  .grid-2,
  .stats {
    grid-template-columns: 1fr;
  }
  .hero-inner { min-height: auto; padding: 2.5rem 0; }
  .hero h1, .page-hero h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  .section { padding: 3rem 0; }
  /* Topbar stacks on tablet too */
  .topbar { font-size: 0.78rem; }
  .topbar-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.15rem;
    padding: 0.4rem 0;
  }
  /* Menu button - dark bg, white text, clearly visible */
  .nav-toggle {
    display: inline-flex;
    background: var(--charcoal);
    color: #fff;
    border: 2px solid var(--charcoal);
    font-size: 0.9rem;
    font-weight: 700;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    top: calc(100% + 0.5rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 0.75rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    z-index: 100;
  }
  .nav-links a {
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    display: block;
    text-align: left;
  }
  .nav-links a:hover {
    background: var(--bg);
    text-decoration: none;
  }
  .nav-links a.button {
    text-align: center;
    margin-top: 0.25rem;
  }
  .nav-links.open { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .brand img { width: 48px; }
  .brand-copy strong { font-size: 0.95rem; }
  .brand-copy span { font-size: 0.78rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { gap: 1.5rem; }
}

@media (max-width: 600px) {
  .topbar { font-size: 0.72rem; }
  .topbar-inner { gap: 0.1rem; }
  .navbar { padding: 0.6rem 0; }
  .brand img { width: 40px; }
  .brand-copy strong { font-size: 0.88rem; }
  .brand-copy span { font-size: 0.72rem; }
  .badges { gap: 0.4rem; }
  .badge { font-size: 0.78rem; padding: 0.4rem 0.7rem; }
  .hero p, .page-hero p { font-size: 0.95rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .stat { padding: 0.65rem; }
  .stat strong { font-size: 1.3rem; }
  .button, button, input[type='submit'] {
    padding: 0.8rem 1.1rem;
    font-size: 0.85rem;
  }
  .section { padding: 2.5rem 0; }
}

/* Print */
@media print {
  .topbar, .nav-toggle, .nav-links .button { display: none; }
  body { font-size: 12pt; }
}
