/* ============================================================
   Alpha Construction ApS — Site Styles
   Design language: clean geometric sans, monochrome, generous
   negative space. Matches the logo wordmark.
============================================================ */

/* ---------- Reset & Tokens ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
  font-weight: 500;
  color: #2a3440;
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "ss02";
}
img { max-width: 100%; display: block; }

h1,h2,h3,h4 {
  font-family: inherit;
  color: #0f1418;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.2rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 2.5vw + 1rem, 2.6rem); font-weight: 700; letter-spacing: -.025em; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: .95rem; font-weight: 700; letter-spacing: 0; }
p  { margin: 0 0 1em; }
a  { color: #0f1418; text-decoration: none; transition: opacity .15s; }
a:hover { opacity: .65; text-decoration: none; }

:root {
  --ink: #0f1418;
  --ink-2: #2a3440;
  --muted: #6a7480;
  --line: #e8e6e1;
  --line-2: #f0eeea;
  --paper: #ffffff;
  --paper-2: #fafaf7;
  --max: 1240px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 36px;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; }
.brand-mark { width: 170px; height: auto; }
.nav nav { display: flex; gap: 32px; align-items: center; }
.nav nav a {
  color: var(--ink); font-weight: 600; font-size: .85rem;
  letter-spacing: .04em; text-transform: uppercase;
}
.btn-ghost {
  border: 1.5px solid var(--ink); padding: 10px 22px; border-radius: 0;
  font-size: .82rem; transition: background .15s, color .15s;
}
.btn-ghost:hover {
  background: var(--ink); color: #fff !important; opacity: 1;
  text-decoration: none;
}
.lang-toggle {
  background: none; border: 1px solid var(--line); border-radius: 0;
  padding: 8px 12px; font-size: .72rem; cursor: pointer;
  font-family: inherit; color: var(--muted); letter-spacing: .15em;
  font-weight: 600;
}
.lang-toggle .lang-active { color: var(--ink); }
.lang-toggle .lang-sep { margin: 0 4px; color: var(--line); }
.nav-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--ink); color: #fff !important;
  padding: 16px 32px; border-radius: 0; font-weight: 600;
  border: 0; cursor: pointer; font-family: inherit;
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  transition: background .15s;
  text-decoration: none;
}
.btn:hover { background: #2a3440; opacity: 1; text-decoration: none; }
.btn-link {
  color: var(--ink); font-weight: 600; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 1.5px solid var(--ink); padding-bottom: 4px;
  align-self: center;
}
.btn-link:hover { opacity: 1; border-bottom-color: var(--muted); }
.btn-ghost-light {
  background: transparent; color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.5); padding: 12px 24px;
  border-radius: 0; font-weight: 600; cursor: pointer;
  font-family: inherit; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.btn-ghost-light:hover { border-color: #fff; opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(95deg, rgba(15,20,24,.85) 0%, rgba(15,20,24,.55) 60%, rgba(15,20,24,.3) 100%),
    url("hero-banner.jpg") center/cover no-repeat;
  color: #fff;
  padding: 140px 36px 150px;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 80px; align-items: center;
}
.hero-text { text-align: left; }
.hero-logo {
  width: clamp(320px, 40vw, 500px);
  height: auto;
  margin: 0 0 0 auto;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,.55));
  animation: logo-in 1s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes logo-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1 { color: #fff; }
.lede {
  font-size: 1.15rem; color: #e2dfd5; max-width: 540px;
  margin: 0 0 40px; font-weight: 400; line-height: 1.6;
}
.hero-cta { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.hero-cta .btn-link { color: #fff; border-bottom-color: #fff; }
.hero-cta .btn-link:hover { border-bottom-color: rgba(255,255,255,.4); }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--ink); color: #e6e3dd;
  padding: 28px 36px;
}
.trust-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.trust-item {
  text-align: left;
  border-left: 1px solid rgba(255,255,255,.15); padding-left: 20px;
}
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-icon { display: none; }
.trust-item strong {
  display: block; color: #fff; font-size: .9rem;
  font-weight: 700; margin-bottom: 4px; letter-spacing: 0;
}
.trust-item span {
  color: #a8b0b8; font-size: .78rem; line-height: 1.45;
  display: block;
}

/* ---------- Sections ---------- */
.section { padding: 120px 36px; max-width: var(--max); margin: 0 auto; }
.section-alt { background: var(--paper-2); max-width: none; padding-left: 36px; padding-right: 36px; }
.section-alt .section-head,
.section-alt .gallery-filter,
.section-alt .gallery,
.section-alt .grid,
.section-alt .process,
.section-alt .faq,
.section-alt .about-grid {
  max-width: var(--max); margin-left: auto; margin-right: auto;
}
.section-dark { background: var(--ink); color: #c9cdd2; max-width: none; }
.section-dark .section-head, .section-dark .quote-form, .section-dark .contact-direct {
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: #a8b0b8; }

.section-head { text-align: left; max-width: 720px; margin-bottom: 70px; }
.section-head p { color: var(--muted); max-width: 620px; font-size: 1.05rem; margin: 0; }
.section-dark .section-head p { color: #a8b0b8; }
.section-alt .section-head, .section-dark .section-head { margin-left: 0; }

.eyebrow {
  display: block; font-size: .72rem; letter-spacing: .25em;
  color: var(--muted); font-weight: 600; margin-bottom: 18px;
  text-transform: uppercase;
}

/* ---------- Service grid / cards ---------- */
.grid { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--paper); padding: 48px 40px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: background .15s;
  position: relative;
}
.card:hover { background: var(--paper-2); }
.card-icon {
  font-size: .8rem; font-weight: 700; letter-spacing: .15em;
  color: var(--muted); margin-bottom: 28px;
  font-variant-numeric: tabular-nums;
}
.card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; line-height: 1.6; }

/* ---------- Process ---------- */
.process {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.process li {
  position: relative; padding: 48px 32px 40px 32px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.process li:last-child { border-right: 0; }
.process-num {
  font-size: .75rem; font-weight: 700; letter-spacing: .2em;
  color: var(--muted); margin-bottom: 28px;
  display: block;
  background: none; width: auto; height: auto; border-radius: 0;
}
.process li h3 { font-size: 1.1rem; margin-bottom: 12px; }
.process li p { color: var(--muted); font-size: .92rem; margin: 0; line-height: 1.6; }

/* ---------- Page header (projects, etc.) ---------- */
.page-header {
  background: var(--paper-2);
  padding: 100px 36px 60px;
  border-bottom: 1px solid var(--line);
}
.page-header-inner {
  max-width: var(--max); margin: 0 auto;
}
.page-header h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.4rem);
  margin-bottom: 16px;
}
.page-header p {
  color: var(--muted); font-size: 1.05rem;
  max-width: 640px; margin: 0;
}
.gallery-cta {
  text-align: center; margin-top: 50px;
}
.gallery-empty {
  text-align: center; padding: 60px 24px;
  color: var(--muted); font-size: .95rem;
  border: 1px dashed var(--line);
}

/* ---------- Gallery ---------- */
.gallery-filter {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 40px; padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.filter-btn {
  background: transparent; border: 0;
  padding: 10px 18px; border-radius: 0; cursor: pointer;
  font-family: inherit; font-size: .78rem; color: var(--muted);
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  transition: color .15s;
}
.filter-btn:hover { color: var(--ink); }
.filter-btn.is-active {
  color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 8px;
}

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery-item {
  position: relative; margin: 0; overflow: hidden;
  cursor: pointer; aspect-ratio: 4 / 3; background: #d8d3c8;
  border-radius: 0;
  transition: opacity .25s;
}
.gallery-item.is-hidden { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 24px 20px; color: #fff;
  background: linear-gradient(transparent, rgba(15,20,24,.92));
  font-size: .9rem; font-weight: 500;
  display: flex; flex-direction: column; gap: 8px;
}
.cap-tag {
  font-size: .65rem; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255,255,255,.7); font-weight: 700;
  background: none; padding: 0; border-radius: 0; margin: 0;
}
.gallery-item.placeholder img { display: none; }
.gallery-item.placeholder::before {
  content: "";
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    linear-gradient(135deg, #f0eeea 0%, #e8e6e1 100%);
}
.gallery-item.placeholder::after {
  content: "ALPHA"; position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 1.5rem; letter-spacing: .4em; font-weight: 700;
  color: rgba(15,20,24,.12);
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 100px; align-items: center; }
.about-grid p { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li {
  padding: 14px 0 14px 32px; position: relative;
  border-bottom: 1px solid var(--line); color: var(--ink-2);
  font-size: .95rem;
}
.ticks li:first-child { border-top: 1px solid var(--line); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 22px;
  width: 16px; height: 1.5px; background: var(--ink);
  border-radius: 0;
  display: block; color: transparent;
}
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.about-stats > div {
  background: var(--paper); padding: 36px 28px;
  border-radius: 0; text-align: left;
}
.about-stats strong {
  font-family: inherit; font-size: 2.6rem; color: var(--ink);
  display: block; line-height: 1; font-weight: 700;
  letter-spacing: -.04em; margin-bottom: 8px;
}
.about-stats span {
  color: var(--muted); font-size: .72rem;
  letter-spacing: .15em; text-transform: uppercase; font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0; }
.faq details {
  background: transparent; border: 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  border-radius: 0;
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 28px 0; font-weight: 600; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-size: 1.05rem; gap: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.6rem; color: var(--ink);
  transition: transform .2s; line-height: 1; font-weight: 300;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 0 28px; color: var(--muted); margin: 0;
  font-size: .95rem; line-height: 1.7; max-width: 700px;
}

/* ---------- Quote form ---------- */
.quote-form {
  background: #fff; color: var(--ink);
  border-radius: 0; padding: 0;
  display: grid; gap: 0;
  border: 1px solid var(--line);
}
.quote-form > * { padding: 24px 28px; border-bottom: 1px solid var(--line); margin: 0; }
.quote-form > *:last-child { border-bottom: 0; }
.quote-form .row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0;
  border-bottom: 1px solid var(--line);
}
.quote-form .row > label {
  border-bottom: 0; border-right: 1px solid var(--line); padding: 24px 28px;
}
.quote-form .row > label:last-child { border-right: 0; }
.quote-form label {
  display: grid; gap: 8px; font-size: .72rem; font-weight: 600;
  color: var(--muted); letter-spacing: .12em; text-transform: uppercase;
}
.quote-form label > span:first-child { display: block; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; padding: 8px 0; font-size: 1rem; font-family: inherit;
  border: 0; border-bottom: 1px solid var(--line); background: transparent;
  border-radius: 0;
  text-transform: none; letter-spacing: 0; font-weight: 500;
  color: var(--ink);
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-bottom-color: var(--ink);
}
.quote-form textarea { resize: vertical; min-height: 100px; }
.upload {
  border: 0; padding: 24px 28px; background: var(--paper-2);
  display: grid; gap: 8px;
}
.upload-label {
  font-weight: 600; color: var(--ink); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase;
}
.upload-hint {
  font-size: .8rem; color: var(--muted); font-weight: 500;
  text-transform: none; letter-spacing: 0;
}
.upload input[type="file"] {
  font-size: .9rem; padding: 6px 0; background: transparent; border: 0;
  font-family: inherit;
}
.upload-list { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.upload-list li {
  font-size: .75rem; background: #fff; border: 1px solid var(--line);
  padding: 4px 10px; color: var(--ink-2); font-weight: 500;
  text-transform: none; letter-spacing: 0;
}
.consent {
  flex-direction: row !important; align-items: flex-start; gap: 12px !important;
  font-weight: 500 !important; font-size: .82rem !important; color: var(--muted) !important;
  letter-spacing: 0 !important; text-transform: none !important;
  display: flex !important; line-height: 1.5;
}
.consent input { width: auto !important; margin-top: 4px; padding: 0 !important; }
.consent a { color: var(--ink); text-decoration: underline; }
.quote-form > button.btn { padding: 18px 32px; border-bottom: 0; }
.form-note {
  margin: 0; padding: 16px 28px; font-weight: 600; font-size: .85rem;
}
.form-note.ok { background: #f0f4ed; color: #2a4d1f; }
.form-note.err { background: #faecea; color: #6b2018; }
.contact-direct {
  text-align: left; margin-top: 60px; color: #a8b0b8;
  font-size: .92rem;
}
.contact-direct a { color: #fff; }
.contact-direct a:hover { opacity: .65; }

/* ---------- Footer ---------- */
.footer { background: #0a0e12; color: #8a929b; padding: 100px 36px 32px; }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 80px;
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.footer-brand .brand-mark { width: 220px; height: auto; }
.footer-brand p { margin: 0; font-size: .92rem; line-height: 1.6; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols h4 {
  color: #fff; margin-bottom: 16px; font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase; font-weight: 700;
}
.footer-cols p { margin: 6px 0; font-size: .9rem; }
.footer-cols a { color: #8a929b; }
.footer-cols a:hover { color: #fff; opacity: 1; }
.footer-bottom {
  max-width: var(--max); margin: 80px auto 0; padding-top: 24px;
  border-top: 1px solid #1a2229; font-size: .78rem; color: #6a7480;
  text-align: left;
  letter-spacing: .04em;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(10,14,18,.96);
  display: grid; place-items: center; z-index: 100; padding: 20px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 80vh; }
.lightbox p {
  color: #fff; margin-top: 18px; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer;
  line-height: 1; font-family: inherit; font-weight: 300;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 24px; left: 24px; right: 24px;
  max-width: 640px; margin: 0 auto;
  background: var(--ink); color: #c9cdd2;
  padding: 24px 28px; border-radius: 0;
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  z-index: 80;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .85rem; flex: 1 1 280px; line-height: 1.5; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 12px 22px; font-size: .75rem; }

/* ---------- Floating CTA (mobile) ---------- */
.float-cta {
  position: fixed; bottom: 20px; right: 20px;
  background: var(--ink); color: #fff !important;
  padding: 16px 26px; border-radius: 0; font-weight: 600;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(15,20,24,.4);
  z-index: 60;
  display: none;
}
.float-cta:hover { opacity: 1; background: #2a3440; text-decoration: none; }

/* ---------- Mobile ---------- */
@media (max-width: 980px) {
  .nav { padding: 16px 24px; }
  .nav nav { display: none; }
  .nav-toggle { display: block; }
  .nav.open nav {
    display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
    position: absolute; top: 100%; right: 0; left: 0;
    background: #fff; padding: 24px; border-bottom: 1px solid var(--line);
  }
  .grid-3 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .quote-form .row { grid-template-columns: 1fr; }
  .quote-form .row > label { border-right: 0; border-bottom: 1px solid var(--line); }
  .quote-form .row > label:last-child { border-bottom: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-inner { grid-template-columns: 1fr; gap: 50px; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .trust-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .trust-item { border-left: 0; padding-left: 0; }
  .section { padding: 80px 24px; }
  .section-alt { padding-left: 24px; padding-right: 24px; }
  .hero { padding: 90px 24px 100px; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero-text { text-align: center; }
  .hero-logo { margin: 0 auto; order: -1; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .float-cta { display: inline-block; }
}

@media (max-width: 600px) {
  .process { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
}
