/* ============================================================
   Nilys Entreprenad, tema i grått med amber accent
   ============================================================ */

:root {
  --charcoal: #1d242b;      /* mörkast: header, footer, knappar */
  --steel: #2e3842;         /* mörkgrå sektioner */
  --concrete: #f2f3f4;      /* ljusgrå sektionsbakgrund */
  --concrete-dark: #e2e5e7;
  --line: #d5d9dd;
  --text: #333a41;
  --muted: #6b7580;
  --accent: #f0a028;        /* varningsgul/amber, byggkänsla */
  --accent-dark: #d18a15;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(29, 36, 43, .12);
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Lexend", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.1;
  color: var(--charcoal);
}

.section { padding: 96px 0; }
.section--gray { background: var(--concrete); }

/* Ankarlänkar ska inte hamna bakom den fasta headern */
section[id] { scroll-margin-top: 80px; }

::selection { background: var(--accent); color: var(--charcoal); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Hazard-detaljer (varningsränder) ---------- */
.hazard-divider {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent) 0 16px,
    var(--charcoal) 16px 32px
  );
}

.hazard-line {
  width: 72px;
  height: 6px;
  margin: 14px 0 18px;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent) 0 8px,
    var(--charcoal) 8px 16px
  );
  border-radius: 3px;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-kicker {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent-dark);
  font-size: 1rem;
}
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.section-sub { color: var(--muted); }

/* ---------- Knappar ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 1.05rem;
  padding: 14px 34px;
  border-radius: 6px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(29,36,43,.25); }
.btn-accent { background: var(--accent); color: var(--charcoal); }
.btn-accent:hover { background: #ffb23a; }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: var(--steel); }
.btn-light { background: var(--white); color: var(--charcoal); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.65);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.btn-sm { padding: 10px 24px; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(29, 36, 43, .97);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--accent);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.35rem;
  letter-spacing: .04em;
  color: var(--white);
}
.logo-text em { font-style: normal; color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 1.02rem;
  color: #cfd5da;
  text-decoration: none;
  transition: color .15s ease;
  position: relative;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .2s ease;
}
.site-nav a:not(.nav-cta):hover::after,
.site-nav a.active:not(.nav-cta)::after { width: 100%; }
.site-nav a.active:not(.nav-cta) { color: var(--accent); }
.site-nav .nav-cta {
  background: var(--accent);
  color: var(--charcoal);
  padding: 9px 20px;
  border-radius: 6px;
}
.site-nav .nav-cta:hover { background: #ffb23a; color: var(--charcoal); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/hero-bygge.png") center 30% / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,25,31,.92) 0%, rgba(20,25,31,.72) 45%, rgba(20,25,31,.35) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 120px 0; }
.hero-kicker {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  max-width: 520px;
  color: #d8dde1;
  margin-bottom: 34px;
  font-size: 1.06rem;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .hazard-divider { position: absolute; bottom: 0; left: 0; right: 0; }

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  z-index: 1;
  color: rgba(255, 255, 255, .8);
  animation: hero-bob 2.2s ease-in-out infinite;
}
.hero-scroll:hover { color: var(--accent); }
.hero-scroll svg { width: 30px; height: 30px; }
@keyframes hero-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 9px); }
}

/* ---------- Intro / om oss ---------- */
.intro { padding: 84px 0; background: var(--white); }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.intro-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.intro-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 18px;
}
.intro-copy p:last-child { margin-bottom: 0; }
.intro-copy strong { color: var(--text); font-weight: 500; }

/* Datorer: luftigare intro med större text i balanserade kolumner */
@media (min-width: 961px) {
  .intro { padding: 110px 0; }
  .intro-grid {
    grid-template-columns: 5fr 6fr;
    gap: 84px;
    align-items: center;
  }
  .intro-text h2 { font-size: 3rem; }
  .intro-copy p {
    font-size: 1.15rem;
    line-height: 1.85;
    margin-bottom: 26px;
    max-width: 58ch;
  }
}

/* ---------- Tjänster ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(29,36,43,.18); }

.service-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--concrete-dark);
  touch-action: pan-y; /* vertikal skroll funkar, horisontella svep byter bild */
}
.service-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(29, 36, 43, .55);
  color: var(--white);
  opacity: 0;
  transition: opacity .2s ease, background .15s ease, color .15s ease;
}
.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }
.carousel-arrow svg { width: 20px; height: 20px; }
.service-media:hover .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { background: var(--accent); color: var(--charcoal); }
/* På pekskärmar utan mus syns pilarna alltid */
@media (hover: none) {
  .carousel-arrow { opacity: .85; }
}
.service-media img.is-active { opacity: 1; }

.service-media .carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.carousel-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  transition: background .2s ease, transform .2s ease;
  cursor: pointer;
}
.carousel-dots i:hover { transform: scale(1.3); }
.carousel-dots i.on { background: var(--accent); }

.service-body { padding: 24px 24px 28px; flex: 1; }
.service-body h3 { font-size: 1.5rem; margin-bottom: 8px; }
.service-body p { color: var(--muted); font-size: .98rem; }
.service-body .btn { margin-top: 16px; }

.service-card--more {
  background: var(--charcoal);
  border: 0;
  justify-content: center;
}
.service-card--more h3 { color: var(--white); }
.service-card--more p { color: #aeb6bd; }
.service-card--more .btn-dark { background: var(--accent); color: var(--charcoal); }
.service-card--more .btn-dark:hover { background: #ffb23a; }

/* ---------- Certifikat & behörigheter ---------- */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.cert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(29,36,43,.18);
  border-color: var(--accent);
}
.cert-logo {
  display: grid;
  place-items: center;
  height: 72px;
  width: 100%;
}
.cert-logo img {
  width: 100%;
  height: 100%;
  max-width: 160px;
  max-height: 72px;
  object-fit: contain;
}
.cert-text { color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* På större skärmar: staplade bubblor som på mobil, med loggan till vänster */
@media (min-width: 681px) {
  .certs-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 820px;
    margin-inline: auto;
  }
  .cert-card {
    flex-direction: row;
    text-align: left;
    gap: 28px;
    padding: 24px 34px;
    border-radius: 999px;
  }
  .cert-logo { flex: 0 0 150px; width: 150px; }
  .cert-text { font-size: 1rem; }
}

/* ---------- Projekt / Innan & Efter ---------- */
/* Kategoriknappar: en kategori visas i taget */
.project-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.project-tab {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .98rem;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.project-tab:hover {
  border-color: var(--accent);
  color: var(--charcoal);
  transform: translateY(-1px);
}
.project-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--charcoal);
}

.project[hidden] { display: none; }
@keyframes project-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
html.js .project { animation: project-in .35s ease; }

.project {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 32px;
}
.project:last-child { margin-bottom: 0; }
.project-head { margin-bottom: 20px; }
.project-head h3 { font-size: 1.6rem; }
.project-head p { color: var(--muted); font-size: .97rem; }

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.shot {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.shot:hover img { transform: scale(1.05); }

.shot figcaption {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  padding: 4px 12px;
  border-radius: 4px;
  color: var(--white);
  background: var(--steel);
}
.shot--after figcaption { background: var(--accent); color: var(--charcoal); }

/* ---------- Teamet ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.team-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border-bottom: 8px solid var(--accent);
}
.team-photo img { width: 100%; height: auto; filter: grayscale(1) contrast(1.05); }
.team-text h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.team-text p { color: var(--muted); margin-bottom: 18px; }

/* ---------- Kontakt ---------- */
.contact .section-head { margin-inline: auto; text-align: center; }
.contact .hazard-line { margin-inline: auto; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 34px 20px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(29,36,43,.18);
  border-color: var(--accent);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin-bottom: 10px;
  color: var(--white);
  background: var(--charcoal);
}
.contact-icon svg { width: 28px; height: 28px; }
.contact-icon--phone { background: var(--accent); color: var(--charcoal); }
.contact-icon--mail  { background: var(--steel); }
.contact-icon--insta { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

.contact-label {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 1.15rem;
  color: var(--charcoal);
}
.contact-value { color: var(--muted); font-size: .95rem; word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: #aeb6bd;
  border-top: 6px solid var(--accent);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 48px 0 32px;
  flex-wrap: wrap;
}
.footer-brand p { font-size: .95rem; margin-top: 6px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #cfd5da;
  text-decoration: none;
  font-size: .95rem;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-nav a:hover { color: var(--accent); }
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.footer-links a {
  color: #cfd5da;
  text-decoration: none;
  font-size: .95rem;
}
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 14px; margin-top: 6px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--steel);
  color: var(--white);
  transition: background .15s ease, color .15s ease;
}
.footer-social a:hover { background: var(--accent); color: var(--charcoal); }
.footer-social svg { width: 20px; height: 20px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  font-size: .88rem;
}
.footer-credit {
  margin-top: 4px;
  font-size: .82rem;
  color: #7d868e;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 25, 31, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  touch-action: pan-y; /* horisontella svep bläddrar mellan bilderna */
}
.lightbox img { user-select: none; -webkit-user-drag: none; }
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 26px;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { color: var(--accent); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.lightbox-nav:hover { background: var(--accent); color: var(--charcoal); }
.lightbox-nav svg { width: 26px; height: 26px; }
#lightboxPrev { left: 18px; }
#lightboxNext { right: 18px; }

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  padding: 8px 20px;
  border-radius: 6px;
  background: rgba(20, 25, 31, .75);
  color: #d8dde1;
  font-size: .92rem;
  text-align: center;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--charcoal);
  color: var(--white);
  padding: 13px 24px;
  border-radius: 8px;
  border-left: 5px solid var(--accent);
  font-size: .95rem;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  z-index: 300;
  max-width: 90vw;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Tillbaka till toppen ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: var(--charcoal);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, background .15s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: #ffb23a; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Scroll-reveal ---------- */
/* Döljs bara när JS är igång, så innehållet alltid syns utan JS */
/* html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
html.js .reveal.visible { opacity: 1; transform: none; }
*/ 
/* Korten i rutnäten trillar in ett i taget */
/*
.services-grid .reveal:nth-child(2),
.contact-grid .reveal:nth-child(2),
.intro-grid .reveal:nth-child(2) { transition-delay: .08s; }
.services-grid .reveal:nth-child(3),
.contact-grid .reveal:nth-child(3) { transition-delay: .16s; }
.services-grid .reveal:nth-child(4),
.contact-grid .reveal:nth-child(4) { transition-delay: .24s; }
.services-grid .reveal:nth-child(5) { transition-delay: .32s; }
.services-grid .reveal:nth-child(6) { transition-delay: .4s; }
*/
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll { animation: none; }
}

/* ---------- Responsivt ---------- */
/* Större text på datorer; mobil och surfplatta behåller sin storlek */
@media (min-width: 961px) {
  html { font-size: 18px; }
}

@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; gap: 36px; }
  .intro-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .hero { min-height: 76vh; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--charcoal);
    border-bottom: 3px solid var(--accent);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 16px 6%;
    border-top: 1px solid rgba(255,255,255,.07);
  }
  .site-nav .nav-cta {
    text-align: center;
    margin: 12px 6% 18px;
    border-radius: 6px;
  }

  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .project { padding: 20px; }
  .project-gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-links { align-items: flex-start; }
}
