
/* Base reset */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: #0f172a; /* slate-900 */
  background: #ffffff;
  line-height: 1.6;
}

/* Colors */
:root {
  --brand: #0ea5e9; /* sky-500 */
  --brand-dark: #0369a1; /* sky-700 */
  --accent: #e11d48; /* rose-600 */
  --ink: #0f172a; /* slate-900 */
  --muted: #475569; /* slate-600 */
  --card: #0f172a;
}

/* Layout helpers */
.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 0 1rem;
}
.section {
  padding: 4rem 0;
}
h1,h2,h3 {
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 1rem 0;
}
p { color: var(--muted); margin: 0.5rem 0 1rem; }

/* Header */
.skip-link {
  position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { position: static; width: auto; height: auto; padding: .5rem; background: #fff; border: 2px solid var(--brand); }

.header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(255,255,255,0.8);
  border-bottom: 1px solid #e2e8f0;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 0;
}
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
.menu { display: flex; gap: 1rem; align-items: center; }
.cta {
  background: var(--brand-dark);
  color: white; padding: .6rem 1rem; border-radius: .75rem; border: 0; cursor: pointer; font-weight: 700;
}
/* Mobile menu */
#menu-toggle { display: none; }
.burger { display: none; }
@media (max-width: 760px) {
  .menu { display: none; }
  .burger { display: inline-flex; gap: .5rem; align-items: center; }
  #menu-toggle:checked ~ .menu { display: flex; flex-direction: column; padding: 1rem 0; }
}

/* Hero */
.hero {
  background: url('../assets/hero-bg.jpg') center/cover no-repeat;
  padding: 6rem 0 5rem;
  color: white;
}
.hero .card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(2,6,23,0.3);
  color: #e2e8f0;
}
.hero h1 { color: white; font-size: clamp(2rem, 3.2vw + 1rem, 3rem); }
.badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem;}
.badge {
  border: 1px solid rgba(255,255,255,.2); color: #f8fafc; padding: .25rem .6rem; border-radius: 999px; font-size: .85rem;
}

/* Grid cards */
.grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(12, 1fr);
}
.card {
  background: white; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(2,6,23,0.06);
}
.span-12 { grid-column: span 12; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }
@media (max-width: 920px) {
  .span-6, .span-4 { grid-column: span 12; }
}

/* Services */
.services .item h3 { margin-bottom: .5rem; }
.services .item ul { margin: .25rem 0 0 1rem; color: var(--muted); }

/* CTA strip */
.cta-strip {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  color: white; border-radius: 1rem; padding: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.cta-strip a, .cta-strip button { color: #0f172a; }

/* Footer */
.footer {
  background: #0f172a; color: #cbd5e1;
}
.footer a { color: #93c5fd; text-decoration: none; }
.footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .cols { grid-template-columns: 1fr; } }

small, .legal { color: #94a3b8; }

/* Animations */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Forms */
form { display: grid; gap: .75rem; }
input, textarea {
  border: 1px solid #cbd5e1; border-radius: .75rem; padding: .75rem 1rem; font: inherit;
}
label { font-weight: 600; color: var(--ink); }
button[type=submit] {
  background: var(--brand-dark); color: white; border: 0; padding: .8rem 1.2rem; border-radius: .75rem; font-weight: 700; cursor: pointer;
}
button[type=submit]:hover { filter: brightness(1.08); }

/* Utilities */
.center { text-align: center; }
.muted { color: var(--muted); }
.shadow-lg { box-shadow: 0 25px 60px rgba(2,6,23,0.15); }
.rounded-2xl { border-radius: 1.25rem; }
.list-2col { columns: 2; column-gap: 2rem; }
@media (max-width: 640px) { .list-2col { columns: 1; } }

/* Ensure logo keeps aspect ratio */
.nav img {
  height: auto;
  max-height: 50px;
  width: auto;
}

.hero a[href^="tel:"],
#contact a[href^="tel:"] {
    color: white;
    font-weight: bold;
    text-decoration: none;
}
#contact a[href^="tel:"] {
    color: var(--accent);
}

.footer img {
    height: auto;
    max-height: 60px;
    width: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.hero p,
.hero p a[href^="tel:"] {
    color: white !important;
}

/* Make Free Quote, Recent projects text, and See more on Facebook white */
.hero .cta,
.cta-strip h2,
.cta-strip p,
.cta-strip a.cta {
    color: white !important;
}
