/* Dana Construction Inc. — multi-page site */
:root {
  --green: #016A0D;
  --green-dark: #014a09;
  --green-soft: #e8f3ea;
  --ink: #1a1f1a;
  --muted: #5a655a;
  --line: #d8e0d8;
  --bg: #f7f9f7;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(1, 106, 13, 0.08);
  --radius: 14px;
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--green); text-decoration-thickness: 1.5px; }
a:hover { color: var(--green-dark); }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section { padding: 4rem 0; }
.section-tight { padding: 2.75rem 0; }
.section-alt { background: var(--white); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 0.6rem;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 42rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: 0.15s ease;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover { background: var(--green-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }


/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { height: 42px; width: auto; }
.brand-text { font-weight: 800; font-size: 0.95rem; line-height: 1.15; }
.brand-text span { display: block; font-weight: 600; font-size: 0.72rem; color: var(--muted); }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green); }
.nav-cta { margin-left: 0.35rem; padding: 0.55rem 1rem; font-size: 0.85rem; }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(420px, 68vh, 600px);
  display: grid;
  align-items: end;
  color: var(--white);
  background: #012806 center/cover no-repeat;
  background-image: linear-gradient(180deg, rgba(1,42,6,0.35) 0%, rgba(1,42,6,0.78) 70%, rgba(1,42,6,0.92) 100%),
    url("../img/hero-frame.jpg");
}
.hero-inner { padding: 5rem 0 3.25rem; }
.hero .lead { color: rgba(255,255,255,0.88); }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}
.pill {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.page-hero {
  background: var(--green);
  color: #fff;
  padding: 2.6rem 0 2.2rem;
}
.page-hero .lead { color: rgba(255,255,255,0.9); }
.page-hero .eyebrow { color: #b7e0bc; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.service-body { padding: 1.1rem 1.15rem 1.3rem; }
.service-body p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.service-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 1.25rem;
}
.service-detail img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.service-detail-body { padding: 1.4rem 1.5rem; }
.service-detail-body p { color: var(--muted); margin: 0; }
.service-detail.reverse { grid-template-columns: 0.95fr 1.05fr; }
.service-detail.reverse img { order: 2; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.gallery-grid figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #ddd;
  border: 1px solid var(--line);
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.gallery-grid figure:hover img { transform: scale(1.03); }
.gallery-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.filter-pill {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
}
.filter-pill:hover,
.filter-pill.active {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-soft);
}

/* Experience / mission */
.exp-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.cred-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.cred-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}
.cred-list strong { display: block; color: var(--green); margin-bottom: 0.2rem; }
.mission-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  margin-top: 1.25rem;
}
.mission-card p { margin: 0.6rem 0 0; color: var(--muted); font-size: 1.05rem; }
.builders {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.builder-chip {
  background: var(--green-soft);
  border: 1px solid #cfe3d2;
  color: var(--green-dark);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 700;
  font-size: 0.88rem;
}

/* Compact home strips */
.compact-box {
  background: var(--green-soft);
  border: 1px solid #cfe3d2;
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.compact-box p { margin: 0; color: var(--muted); }
.contact-strip {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.25rem;
  margin-top: 1rem;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}
.contact-card dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
  margin-top: 0.75rem;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 0.2rem 0 0; font-size: 1rem; }
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}
.form-note {
  background: #fff8e6;
  border: 1px dashed #e0c56a;
  color: #6d5400;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  font-size: 0.85rem;
  margin: 0 0 0.9rem;
}
.field { margin-bottom: 0.75rem; }
.field label {
  display: block;
  font-weight: 650;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
}
.field textarea { min-height: 90px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.form-actions .hint { color: var(--muted); font-size: 0.85rem; }

/* Footer */
.site-footer {
  background: #012806;
  color: rgba(255,255,255,0.85);
  padding: 2.2rem 0 1.8rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}
.footer-brand img { height: 48px; width: auto; margin-bottom: 0.6rem; }
.footer-meta { font-size: 0.9rem; }
.footer-meta a { color: #fff; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 0.6rem;
}
.footer-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.footer-nav a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .exp-grid,
  .contact-strip,
  .service-detail,
  .service-detail.reverse { grid-template-columns: 1fr; }
  .service-detail.reverse img { order: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 4rem; }
}
