/* Quick Time Construction Company: corporate theme matched to the QTC seal logo */
:root {
  --navy-950: #081A2E;
  --navy-900: #0F2A47;
  --navy-800: #16365A;
  --navy-700: #1E4470;
  --blue: #0A84C6;
  --blue-700: #0872AB;
  --blue-50: #EAF4FB;
  --red: #D7262E;
  --green: #1E8E4F;
  --amber: #E8A21A;
  --wa: #25D366;

  --ink: #10202F;
  --text: #2E3D4C;
  --muted: #5F6F80;
  --line: #E1E7EE;
  --soft: #F4F7FA;
  --white: #FFFFFF;

  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 47, .06), 0 2px 8px rgba(16, 32, 47, .05);
  --shadow-md: 0 8px 28px rgba(16, 32, 47, .10);
  --container: 1200px;

  --font-head: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); color: var(--ink); line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 .75rem;
}
.eyebrow-light { color: #7CC4EC; }
.note { font-size: .92rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  padding: .85rem 1.4rem;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
  line-height: 1.1;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; }
.btn:focus-visible { outline: 3px solid rgba(10, 132, 198, .45); outline-offset: 2px; }
.btn-sm { padding: .6rem 1.05rem; font-size: .9rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-700); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-white { background: #fff; color: var(--navy-900); }
.btn-white:hover { background: var(--blue-50); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--navy-900); }
.btn-whatsapp { background: var(--wa); color: #06361A; }
.btn-whatsapp:hover { background: #1EBE5A; }

/* Status pills */
.status {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  padding: .3rem .7rem; border-radius: 999px;
  white-space: nowrap;
}
.status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-live { background: #FFF4DE; color: #8A5A00; }
.status-live i { background: var(--amber); box-shadow: 0 0 0 3px rgba(232, 162, 26, .25); }
.status-done { background: #E5F5EC; color: #146C3B; }
.status-done i { background: var(--green); }

/* Top bar */
.topbar { background: var(--navy-950); color: #B6C4D3; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar-links { display: flex; gap: 1.5rem; }
.topbar-links a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.topbar-links a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; fill: #7CC4EC; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 4px 18px rgba(16, 32, 47, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-seal { width: 56px; height: 56px; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; line-height: 1.05; color: var(--navy-900); letter-spacing: .01em; margin: 0; }
.brand-name span { color: var(--blue); }
.brand-sub { font-family: var(--font-head); font-weight: 700; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin: .3rem 0 0; }
.brand-name.light { color: #fff; }
.brand-name.light span { color: #7CC4EC; }
.brand-sub.light { color: #9FB0C2; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding: .4rem 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--blue); transform: scaleX(0); transition: transform .2s; transform-origin: left;
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; background: var(--navy-950); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 26, 46, .94) 0%, rgba(8, 26, 46, .82) 42%, rgba(8, 26, 46, .35) 100%);
}
.hero-inner { position: relative; padding-top: 7rem; padding-bottom: 8.5rem; max-width: var(--container); }
.hero-kicker {
  display: inline-block;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: #9ED4F2;
  border-left: 3px solid var(--red);
  padding-left: .75rem;
  margin-bottom: 1.4rem;
}
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 1.3rem; }
.hero-lead { font-size: 1.12rem; color: #C9D6E3; max-width: 38rem; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Key figures */
.figures { position: relative; z-index: 2; margin-top: -3.6rem; }
.figures-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-md);
  padding: 0;
}
.figure { padding: 1.6rem 1.8rem; border-right: 1px solid var(--line); }
.figure:last-child { border-right: 0; }
.figure-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--navy-900); line-height: 1.1; }
.figure-label { display: block; font-size: .9rem; color: var(--muted); margin-top: .25rem; }

/* Sections */
.section { padding: 6rem 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 44rem; margin-bottom: 2.8rem; }
.section-head h2 { margin-bottom: .7rem; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.section-head-row > div { max-width: 44rem; }

/* About */
.about { display: grid; grid-template-columns: 1.35fr 1fr; gap: 4rem; align-items: start; }
.about-copy h2 { margin-bottom: 1.3rem; }
.about-copy > p { color: var(--text); }
.sub-heading { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 2.2rem 0 1rem; }
.leaders { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.leaders li { display: flex; align-items: center; gap: .75rem; padding: .85rem; border: 1px solid var(--line); border-radius: var(--radius); }
.leader-initials {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-900); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
}
.leaders strong { display: block; font-family: var(--font-head); font-size: .9rem; color: var(--ink); line-height: 1.3; }
.leaders small { display: block; color: var(--muted); font-size: .8rem; }

.reg-card {
  background: var(--navy-900);
  color: #C9D6E3;
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.reg-seal { width: 92px; height: 92px; margin-bottom: 1.2rem; }
.reg-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 1rem; }
.reg-card dl { margin: 0 0 1.4rem; }
.reg-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.reg-card dt { color: #9FB0C2; font-size: .9rem; }
.reg-card dd { margin: 0; color: #fff; font-weight: 600; text-align: right; font-size: .95rem; }
.reg-scope { font-size: .88rem; line-height: 1.6; margin: 0; }
.reg-scope strong { color: #fff; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.7rem 1.5rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service:hover { border-color: #C9DCEB; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-icon {
  width: 46px; height: 46px; padding: 10px; border-radius: 10px;
  background: var(--blue-50);
  fill: none; stroke: var(--blue-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 1.1rem;
}
.service h3 { margin-bottom: .5rem; }
.service p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Running projects */
.running { display: grid; gap: 2rem; }
.run-card {
  display: grid; grid-template-columns: 1.35fr 1fr;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.run-card:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.run-card:nth-child(even) .run-gallery { order: 2; }
.run-gallery { display: grid; grid-template-rows: auto auto; gap: 6px; padding: 6px; background: var(--soft); }
.run-gallery button, .done-photo { border: 0; padding: 0; margin: 0; background: none; cursor: zoom-in; display: block; width: 100%; overflow: hidden; border-radius: 8px; position: relative; }
.run-gallery img, .done-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.run-gallery button:hover img, .done-photo:hover img { transform: scale(1.04); }
.run-main { aspect-ratio: 16 / 9.5; }
.run-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.run-thumbs button { aspect-ratio: 16 / 9; }
.run-thumbs-one { grid-template-columns: 1fr; }
.run-thumbs-one button { aspect-ratio: 16 / 6; }
.run-card.no-photo, .run-card.no-photo:nth-child(even) { grid-template-columns: 1fr; }
.more-photos {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(8, 26, 46, .55); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem;
}
.run-body { padding: 2.2rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.run-body h3 { font-size: 1.5rem; margin: 1rem 0 .8rem; }
.run-body p { color: var(--text); }
.run-meta { list-style: none; margin: .6rem 0 0; padding: 0; width: 100%; border-top: 1px solid var(--line); }
.run-meta li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: .93rem; }
.run-meta span { color: var(--muted); font-weight: 400; }

/* Completed projects */
.done-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.done-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.done-photo { border-radius: 0; aspect-ratio: 4 / 3; }
.done-photo img { object-position: center 70%; }
.photo-count {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(8, 26, 46, .78); color: #fff; font-size: .75rem; font-weight: 600;
  padding: .25rem .55rem; border-radius: 6px;
}
.done-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.done-body h3 { font-size: 1rem; margin-bottom: .5rem; }
.done-body p { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.done-meta { margin-top: auto; font-size: .82rem; font-weight: 600; color: var(--blue-700); }

/* Project record */
.record { margin-top: 4rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 2rem; }
.record-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.record-head h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.record-head p { color: var(--muted); margin: 0; font-size: .95rem; }
.record-tools { display: flex; gap: .6rem; flex-wrap: wrap; }
.record-tools input, .record-tools select {
  font: inherit; font-size: .92rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  padding: .6rem .8rem; min-height: 42px;
}
.record-tools input { width: 280px; }
.record-tools input:focus, .record-tools select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 132, 198, .15); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.chip {
  font-size: .85rem; font-weight: 600; color: var(--text);
  background: var(--soft); border: 1px solid var(--line); border-radius: 999px;
  padding: .4rem .9rem; cursor: pointer;
}
.chip:hover { border-color: #C9DCEB; }
.chip[aria-pressed="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.chip span { opacity: .7; font-weight: 500; margin-left: .25rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.record-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.record-table th {
  text-align: left; font-family: var(--font-head); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: var(--soft); padding: .8rem 1rem; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.record-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.record-table tr:last-child td { border-bottom: 0; }
.record-table tbody tr:hover td { background: #FAFCFE; }
.record-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.record-table .yr { font-weight: 700; color: var(--navy-900); white-space: nowrap; }
.record-table .proj { color: var(--ink); font-weight: 500; min-width: 260px; }
.record-table .ref { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; margin-top: .15rem; }
.record-table .client { color: var(--text); min-width: 180px; }
.record-table .period { white-space: nowrap; color: var(--muted); }
.record-table .ongoing { color: #8A5A00; font-weight: 600; }
.record-empty td { text-align: center; color: var(--muted); padding: 2rem; }
.record-foot { display: flex; justify-content: center; margin-top: 1.4rem; }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.client-group { border-top: 3px solid var(--blue); padding-top: 1rem; }
.client-group:nth-child(2) { border-top-color: var(--navy-700); }
.client-group:nth-child(3) { border-top-color: var(--red); }
.client-group:nth-child(4) { border-top-color: var(--green); }
.client-group:nth-child(5) { border-top-color: var(--amber); }
.client-group h3 { font-size: .95rem; margin-bottom: .8rem; }
.client-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.client-group li { font-size: .88rem; color: var(--text); line-height: 1.4; }

/* HSE */
.section-dark { background: var(--navy-900); color: #C9D6E3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.hse-head { max-width: 46rem; margin-bottom: 2.8rem; }
.hse-head h2 { margin-bottom: .8rem; }
.hse-head p { color: #9FB0C2; margin: 0; }
.policies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.policy { background: var(--navy-800); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 1.8rem; }
.policy h3 { font-size: 1.15rem; margin-bottom: 1rem; padding-bottom: .8rem; border-bottom: 2px solid var(--blue); display: inline-block; }
.policy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.policy li { position: relative; padding-left: 1.5rem; font-size: .93rem; line-height: 1.5; }
.policy li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 5px;
  border-left: 2px solid #7CC4EC; border-bottom: 2px solid #7CC4EC; transform: rotate(-45deg);
}

/* Capabilities */
.capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.cap-card { border: 1px solid var(--line); border-radius: 12px; padding: 1.8rem; }
.cap-card h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.2rem; margin-bottom: 1rem; }
.cap-card h3 span { font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: var(--blue-700); }
.cap-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2rem; }
.cap-list li { display: flex; justify-content: space-between; gap: .8rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .9rem; break-inside: avoid; }
.cap-list b { font-family: var(--font-head); color: var(--navy-900); }

/* CTA */
.cta-band { background: linear-gradient(110deg, var(--blue-700), var(--blue)); color: #fff; padding: 3.4rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .4rem; }
.cta-band p { margin: 0; color: #DCEFFA; }
.cta-actions { display: flex; gap: .9rem; flex-wrap: wrap; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: start; }
.contact-info h2 { margin-bottom: .7rem; }
.contact-info > p { color: var(--muted); margin-bottom: 2rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; line-height: 1.55; }
.contact-list a { text-decoration: none; font-weight: 600; color: var(--ink); }
.contact-list a:hover { color: var(--blue-700); }
.ci-icon { width: 44px; height: 44px; flex: none; border-radius: 10px; background: var(--blue-50); display: grid; place-items: center; }
.ci-icon svg { width: 20px; height: 20px; fill: var(--blue-700); }
.ci-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a.ci-link { display: inline-block; margin-top: .3rem; font-size: .9rem; color: var(--blue-700); }

.quote-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: 2.2rem; }
.quote-form h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.form-note { color: var(--muted); font-size: .93rem; margin-bottom: 1.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: block; margin-bottom: 1rem; }
.field span { display: block; font-weight: 600; font-size: .85rem; margin-bottom: .35rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: .7rem .85rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10, 132, 198, .15); }
.field .invalid { border-color: var(--red); background: #FFF7F7; }
.form-error { color: #B3141B; font-weight: 600; font-size: .9rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }

/* Footer */
.site-footer { background: var(--navy-950); color: #9FB0C2; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 3rem; padding-top: 4rem; padding-bottom: 2.5rem; }
.footer-brand { display: flex; gap: 1.2rem; align-items: flex-start; }
.footer-seal { width: 96px; height: 96px; flex: none; }
.footer-about { font-size: .9rem; margin-top: 1rem; max-width: 26rem; }
.footer-col h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .92rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.3rem; padding-bottom: 1.5rem; font-size: .85rem; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(5, 14, 25, .92); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: min(1200px, 88vw); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #C9D6E3; text-align: center; margin-top: .9rem; font-size: .95rem; }
.lightbox figcaption strong { color: #fff; display: block; font-family: var(--font-head); }
.lb-close, .lb-nav {
  position: fixed; background: rgba(255, 255, 255, .1); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1;
  display: grid; place-items: center;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-nav[hidden] { display: none; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Responsive */
@media (max-width: 1100px) {
  .services, .done-grid { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .site-nav { gap: 1.1rem; }
  .leaders { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(16, 32, 47, .08);
    padding: .4rem 24px 1.3rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 1rem; }

  .about, .contact, .run-card, .run-card:nth-child(even) { grid-template-columns: 1fr; }
  .run-card:nth-child(even) .run-gallery { order: 0; }
  .about, .contact { gap: 2.5rem; }
  .figures-grid { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(2) { border-right: 0; }
  .figure:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .policies { grid-template-columns: 1fr; }
  .capabilities { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 4.5rem 0; }
}

@media (max-width: 680px) {
  .container { padding: 0 16px; }
  .topbar-note { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-links { gap: 1rem; font-size: .78rem; }
  .header-inner { min-height: 68px; }
  .brand-seal { width: 46px; height: 46px; }
  .brand-name { font-size: 1.08rem; }
  .brand-sub { font-size: .56rem; letter-spacing: .2em; }
  .site-nav { padding-left: 16px; padding-right: 16px; }
  .hero-inner { padding-top: 4.5rem; padding-bottom: 6.5rem; }
  .hero-shade { background: linear-gradient(180deg, rgba(8, 26, 46, .88), rgba(8, 26, 46, .78)); }
  .hero-actions .btn, .cta-actions .btn, .form-actions .btn { flex: 1 1 100%; }
  .figure { padding: 1.2rem; }
  .figure-num { font-size: 1.6rem; }
  .services, .done-grid, .clients, .field-row, .footer-inner { grid-template-columns: 1fr; }
  .cap-list { columns: 1; }
  .run-body { padding: 1.5rem; }
  .run-body h3 { font-size: 1.3rem; }
  .record { padding: 1.2rem; }
  .record-tools, .record-tools input, .record-tools select { width: 100%; }
  .quote-form, .reg-card { padding: 1.4rem; }
  .footer-brand { flex-direction: column; }

  /* Project record as stacked cards */
  .table-wrap { border: 0; overflow: visible; }
  .record-table thead { display: none; }
  .record-table, .record-table tbody, .record-table tr, .record-table td { display: block; width: 100%; }
  .record-table tr { border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; margin-bottom: .7rem; }
  .record-table td { border: 0; padding: .15rem 0; min-width: 0 !important; }
  .record-table .num { text-align: left; }
  .record-table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: .8rem; }
  .record-table .proj { font-size: .95rem; padding: .3rem 0; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service, .run-gallery img, .done-photo img { transition: none; }
}
