/* Alvis Construction Group — Roof Coating site */
:root {
  --navy: #0c1f33;
  --navy-2: #14324d;
  --ink: #1a2733;
  --mute: #5a6b7a;
  --line: #d7e0e8;
  --paper: #f7f5f1;
  --white: #ffffff;
  --blue: #1a6faf;
  --blue-d: #145a8f;
  --sky: #2b8fd0;
  --sand: #e8e0d2;
  --gold: #c4a35a;
  --ok: #1f7a4d;
  --r: 16px;
  --shadow: 0 18px 44px rgba(12, 31, 51, 0.10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Top bar */
.topbar {
  background: var(--navy);
  color: #c5d4e0;
  font-size: 13.5px;
  letter-spacing: 0.01em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 24px;
}
.topbar a:hover { color: #fff; }
.lic-inline { opacity: 0.9; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.15;
  flex-shrink: 0;
}
.brand img { height: 62px; width: auto; }
footer .brand img { height: 56px; background: #fff; padding: 6px 8px; border-radius: 8px; }
@media (max-width: 600px) { .brand img { height: 50px; } }
.brand small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 2px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy-2);
}
nav a:hover { color: var(--blue); }
nav a.active { color: var(--blue); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn.dark { background: var(--navy); }
.btn.dark:hover { background: var(--navy-2); }
.btn.ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.75);
  color: #fff;
}
.btn.ghost:hover { background: #fff; color: var(--navy); }
.btn.full { width: 100%; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(12,31,51,0.94) 28%, rgba(12,31,51,0.55) 70%, rgba(12,31,51,0.4)),
    url("assets/project-aerial.jpg") center / cover no-repeat;
  padding: 108px 0 92px;
  overflow: hidden;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}
.hero .eyebrow { color: #e3c77a; }
.hero h1 {
  font-family: Outfit, sans-serif;
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-bottom: 20px;
}
.hero .lede {
  max-width: 600px;
  font-size: 19px;
  color: #d5e2ee;
  margin-bottom: 32px;
}
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-pills span,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e8f0f7;
}
.trust-pills .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

/* Sections */
section { padding: 96px 0; }
h2 {
  font-family: Outfit, sans-serif;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 8px 0 16px;
}
.lead { color: var(--mute); max-width: 680px; font-size: 18px; }
.section-head { margin-bottom: 48px; }

.alt { background: var(--paper); }
.navy-sec { background: var(--navy); color: #fff; }
.navy-sec h2 { color: #fff; }
.navy-sec .lead { color: #b7c6d4; }
.navy-sec .eyebrow { color: #e3c77a; }

/* Cards / grids */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: 1fr 1fr; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 26px;
  transition: 0.25s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 {
  font-family: Outfit, sans-serif;
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.card p { color: var(--mute); font-size: 15.5px; }
.icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e8f2fa;
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-weight: 800;
  font-family: Outfit, sans-serif;
  font-size: 18px;
}

/* Compare table */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: 15.5px;
}
.compare th, .compare td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare th {
  font-family: Outfit, sans-serif;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}
.compare th:first-child { width: 22%; background: var(--navy-2); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 700; color: var(--navy); }
.compare .hl { background: #f3f8fc; }
.compare th.hl { background: #dcecf7; color: var(--navy); }

/* Process */
.process { counter-reset: step; }
.process-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.process-item:last-child { border-bottom: 0; }
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: Outfit, sans-serif;
  font-weight: 700;
  font-size: 20px;
  display: grid;
  place-items: center;
}
.process-item h3 {
  font-family: Outfit, sans-serif;
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 4px;
}
.process-item p { color: var(--mute); }

/* Certifications */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 16px;
  text-align: center;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.cert .mark {
  font-family: Outfit, sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.cert .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid #c5dced;
  background: #eef6fb;
  padding: 4px 10px;
  border-radius: 999px;
}
.cert p { font-size: 13px; color: var(--mute); margin-top: 4px; }

/* Team */
.person {
  background: #fff;
  border-radius: var(--r);
  padding: 28px;
  border-left: 4px solid var(--blue);
  box-shadow: 0 8px 24px rgba(12,31,51,0.05);
}
.person h3 {
  font-family: Outfit, sans-serif;
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 2px;
}
.person .role { color: var(--blue); font-weight: 700; font-size: 14px; }
.person p { color: var(--mute); margin-top: 10px; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 210px;
  gap: 14px;
}
.gallery .big { grid-row: span 2; }
.gallery > * { border-radius: var(--r); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.ph {
  background: repeating-linear-gradient(45deg, #e7ede8, #e7ede8 12px, #eef3f0 12px, #eef3f0 24px);
  display: grid;
  place-items: center;
  color: var(--mute);
  font-weight: 600;
  border: 2px dashed #c5d0c8;
  font-size: 14px;
  text-align: center;
  padding: 12px;
}

/* Systems chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chips span {
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
}

/* FAQ */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
}
.faq summary {
  font-family: Outfit, sans-serif;
  font-weight: 650;
  color: var(--navy);
  cursor: pointer;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; font-size: 22px; color: var(--blue); font-weight: 400; }
.faq details[open] summary:after { content: "–"; }
.faq details p { color: var(--mute); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.2fr; gap: 56px; align-items: start; }
.info-block { margin: 20px 0; }
.info-block b { display: block; color: var(--navy); font-family: Outfit, sans-serif; font-size: 14px; margin-bottom: 2px; }
.info-block a { color: var(--blue); font-weight: 600; }
form.estimate {
  background: #fff;
  border-radius: var(--r);
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border: 1px solid var(--line);
}
form.estimate .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd9e3;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid #b9d6ee;
  border-color: var(--blue);
}
textarea { min-height: 120px; resize: vertical; }

/* Footer */
footer {
  background: #071422;
  color: #9fb0c0;
  padding: 56px 0 24px;
  font-size: 14.5px;
}
footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 36px;
}
footer h5 {
  color: #fff;
  font-family: Outfit, sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
footer a:hover { color: #fff; }
footer .brand { color: #fff; }
footer .legal {
  border-top: 1px solid #1a3046;
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 72px 0 56px;
}
.page-hero h1 {
  font-family: Outfit, sans-serif;
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -0.02em;
  max-width: 800px;
}
.page-hero p { color: #b7c6d4; max-width: 620px; margin-top: 12px; font-size: 18px; }

@media (max-width: 980px) {
  nav, header .btn { display: none; }
  header.menu-open nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
    align-items: flex-start;
  }
  header.menu-open .btn { display: inline-flex; }
  .nav-toggle { display: flex; }
  .g2, .g3, .g4, .cert-grid, .contact-grid, footer .cols, form.estimate {
    grid-template-columns: 1fr;
  }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .big { grid-column: span 2; }
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 12px; }
}
@media (max-width: 640px) {
  .hero { padding: 72px 0 64px; }
  section { padding: 72px 0; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery .big { grid-column: auto; }
}

/* Featured project + photo tiles (Hollis photos are ~480px; never stretch full-width) */
.feature-block {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 480px);
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.feature-photo { max-width: 480px; width: 100%; margin: 0; }
.feature-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r);
  background: #e8eef2;
}
.feature-photo figcaption {
  font-size: 13px;
  color: var(--mute);
  margin-top: 10px;
}
.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.project-gallery figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.project-gallery img {
  width: 100%;
  height: auto;
  display: block;
  background: #e8eef2;
}
.project-gallery figcaption {
  font-size: 12.5px;
  color: var(--mute);
  padding: 8px 12px 12px;
}
.cert .mark { font-size: 20px; }

/* Careers */
.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; margin-bottom: 28px; }
.job { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.job h3 { font-family: Outfit, sans-serif; color: var(--navy); font-size: 20px; margin-bottom: 8px; }
.job p { color: var(--mute); font-size: 15.5px; margin-bottom: 18px; }
.job .btn { padding: 10px 18px; font-size: 14px; }
.apply-note { color: var(--mute); font-size: 16px; max-width: 680px; }

@media (max-width: 980px) {
  .feature-block { grid-template-columns: 1fr; }
  .feature-photo { margin: 0 auto; }
  .project-gallery { grid-template-columns: 1fr 1fr; }
  .jobs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .project-gallery { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
