/* Andco Construction — site styles */
:root {
  --burgundy: #7A1F2B;
  --burgundy-dark: #5C1520;
  --burgundy-light: #9A3A45;
  --charcoal: #1A1A1A;
  --slate: #3D4451;
  --muted: #6B7280;
  --border: #E5E7EB;
  --bg: #FAFAF9;
  --white: #FFFFFF;
  --sand: #F5F0EB;
  --accent: #C4A574;
  --max: 1120px;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(26,26,26,.08);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--burgundy); color: #fff; padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 0; gap: 1rem;
}
.logo-link { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--charcoal); }
.logo-link img { height: 48px; width: auto; }
.logo-text { font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; line-height: 1.2; }
.logo-text span { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: 6px;
  padding: .4rem .6rem; cursor: pointer; font-size: 1.25rem;
}
.nav-primary { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.nav-primary a {
  color: var(--slate); font-size: .9rem; font-weight: 500; text-decoration: none;
}
.nav-primary a:hover, .nav-primary a.active { color: var(--burgundy); }
.nav-primary .btn { margin-left: .25rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .7rem 1.25rem; border-radius: 6px; font-weight: 600; font-size: .9rem;
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--burgundy); color: #fff; }
.btn-primary:hover { background: var(--burgundy-dark); color: #fff; text-decoration: none; }
.btn-outline { background: transparent; border-color: var(--burgundy); color: var(--burgundy); }
.btn-outline:hover { background: var(--burgundy); color: #fff; text-decoration: none; }
.btn-light { background: #fff; color: var(--burgundy); }
.btn-light:hover { background: var(--sand); text-decoration: none; }
.btn-sm { padding: .45rem .9rem; font-size: .82rem; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2C323C 55%, var(--burgundy-dark) 100%);
  color: #fff; padding: 4.5rem 0 4rem; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(196,165,116,.15), transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.15;
  max-width: 18ch; margin-bottom: 1.25rem;
}
.hero-lead {
  font-size: 1.1rem; color: rgba(255,255,255,.88); max-width: 42ch; margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.5rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.75rem;
}
.hero-stats dt { font-size: 1.65rem; font-weight: 700; color: var(--accent); }
.hero-stats dd { font-size: .8rem; color: rgba(255,255,255,.7); margin-top: .15rem; }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg); }
.section-sand { background: var(--sand); }
.section-header { margin-bottom: 2.25rem; max-width: 40rem; }
.section-header .eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--burgundy); margin-bottom: .5rem;
}
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; margin-bottom: .75rem; }
.section-header p { color: var(--muted); font-size: 1.05rem; }

/* Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.1rem; margin-bottom: .5rem; color: var(--charcoal); }
.card p { color: var(--muted); font-size: .95rem; }
.card-icon {
  width: 40px; height: 40px; border-radius: 8px; background: var(--sand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  color: var(--burgundy); font-weight: 700; font-size: .9rem;
}
.service-card a.more { display: inline-block; margin-top: 1rem; font-weight: 600; font-size: .9rem; }

/* Project cards */
.project-card { overflow: hidden; padding: 0; }
.project-card .thumb {
  height: 160px; background: linear-gradient(135deg, #3D4451, var(--burgundy-dark));
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5);
  font-size: .85rem; text-align: center; padding: 1rem;
}
.project-card .body { padding: 1.25rem; }
.project-card .brand { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--burgundy); }
.project-card h3 { margin: .25rem 0 .5rem; font-size: 1.05rem; }
.project-meta { font-size: .82rem; color: var(--muted); list-style: none; }
.project-meta li { margin: .2rem 0; }
.placeholder-note {
  font-size: .75rem; color: var(--muted); font-style: italic; margin-top: .5rem;
  padding: .4rem .6rem; background: #FEF9C3; border-radius: 4px; border: 1px dashed #CA8A04;
}

/* Differentiator / Why */
.diff-list { list-style: none; }
.diff-list li {
  display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border);
}
.diff-list li:last-child { border-bottom: none; }
.diff-metric {
  flex-shrink: 0; min-width: 5.5rem; font-weight: 700; font-size: 1.15rem; color: var(--burgundy);
}
.diff-list h3 { font-size: 1rem; margin-bottom: .25rem; }
.diff-list p { color: var(--muted); font-size: .92rem; }

/* Testimonials */
.quote-card blockquote {
  font-size: 1.05rem; font-style: italic; color: var(--slate); margin-bottom: 1.25rem;
  line-height: 1.55;
}
.quote-card .attribution { font-size: .9rem; }
.quote-card .attribution strong { display: block; color: var(--charcoal); }
.quote-card .attribution span { color: var(--muted); font-size: .85rem; }

/* Team */
.team-card { text-align: left; }
.avatar {
  width: 72px; height: 72px; border-radius: 50%; background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--burgundy); font-size: 1.25rem; margin-bottom: 1rem;
  border: 2px solid var(--border);
}
.team-card .role { color: var(--burgundy); font-weight: 600; font-size: .85rem; margin-bottom: .5rem; }

/* Forms */
.form-grid { display: grid; gap: 1rem; max-width: 36rem; }
.form-row { display: grid; gap: .35rem; }
.form-row label { font-weight: 600; font-size: .85rem; }
.form-row input, .form-row select, .form-row textarea {
  padding: .7rem .85rem; border: 1px solid var(--border); border-radius: 6px;
  font: inherit; background: #fff;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--burgundy); outline-offset: 1px;
}
.form-note { font-size: .8rem; color: var(--muted); margin-top: .5rem; }

/* CTA band */
.cta-band {
  background: var(--burgundy); color: #fff; padding: 3rem 0; text-align: center;
}
.cta-band h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin-bottom: .75rem; }
.cta-band p { opacity: .9; margin-bottom: 1.5rem; max-width: 36rem; margin-inline: auto; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* Contact strip */
.contact-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.contact-strip .item h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .35rem; }
.contact-strip .item p, .contact-strip .item a { font-size: 1.1rem; font-weight: 600; color: var(--charcoal); text-decoration: none; }

/* Footer */
.site-footer {
  background: var(--charcoal); color: rgba(255,255,255,.75); padding: 3rem 0 1.5rem; font-size: .9rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem;
}
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { margin-top: .75rem; max-width: 28ch; line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .8rem;
}

/* Page hero (inner) */
.page-hero {
  background: var(--sand); padding: 2.75rem 0 2.25rem; border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.65rem, 3.5vw, 2.25rem); margin-bottom: .5rem; }
.page-hero p { color: var(--muted); max-width: 42rem; font-size: 1.05rem; }
.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: .75rem; }
.breadcrumb a { color: var(--muted); }

/* Tables */
.simple-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.simple-table th, .simple-table td { text-align: left; padding: .75rem; border-bottom: 1px solid var(--border); }
.simple-table th { background: var(--bg); font-weight: 600; }

/* Checklist */
.check-list { list-style: none; }
.check-list li {
  position: relative; padding-left: 1.75rem; margin-bottom: .75rem; color: var(--slate);
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--burgundy); font-weight: 700;
}

/* Privacy / legal */
.prose { max-width: 42rem; }
.prose h2 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.prose p { margin-bottom: 1rem; color: var(--slate); }
.prose ul { margin: 0 0 1rem 1.25rem; color: var(--slate); }

/* Responsive */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-strip { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-primary {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 1rem;
    gap: .75rem; box-shadow: var(--shadow);
  }
  .nav-primary.open { display: flex; }
  .nav-primary .btn { width: 100%; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2.5rem; }
}

/* keep header CTA readable */
header a.btn.btn-primary, nav a.btn.btn-primary, .site-header a.btn-primary { color:#fff !important; }

/* Project gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
