@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --navy: #002d48;
  --navy-dark: #001f33;
  --lime: #c9d400;
  --lime-dark: #b0bc00;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --text: #1a2e3b;
  --muted: #5a6b76;
  --border: #e2e8ec;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(0, 45, 72, 0.08);
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --font-display: "Libre Baskerville", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

a { color: var(--navy); }

.topbar {
  background: var(--navy-dark);
  color: #fff;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  text-align: center;
}

.topbar a { color: var(--lime); text-decoration: none; }

.site-header {
  background: var(--surface);
  border-bottom: 3px solid var(--lime);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
}

.logo-link img { height: 56px; width: auto; }

.logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 700;
}

.logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.main-nav a {
  display: block;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--lime);
  color: var(--navy-dark);
}

.hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 45, 72, 0.72), rgba(0, 31, 51, 0.42));
}

.hero-content {
  position: relative;
  max-width: 780px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin: 0 auto 1.5rem;
  max-width: 620px;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  background: var(--lime);
  color: var(--navy-dark);
  font-weight: 700;
  text-decoration: none;
  padding: 0.8rem 1.35rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s, background 0.15s;
}

.btn:hover {
  background: var(--lime-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.section-head p {
  color: var(--muted);
  max-width: 720px;
  margin: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover { transform: translateY(-3px); }

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  color: var(--navy);
  min-height: 2.5em;
  align-self: stretch;
}

.card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
  align-self: stretch;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  height: 100%;
}

.pill {
  display: inline-block;
  background: rgba(201, 212, 0, 0.2);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.reviews {
  background: var(--navy);
  color: #fff;
  padding: 3rem 0;
}

.reviews .section-head h2,
.reviews .section-head p { color: #fff; }
.reviews .section-head p { opacity: 0.85; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.review-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.review-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.stars { color: var(--lime); letter-spacing: 0.1em; margin-bottom: 0.5rem; }

.review-meta {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.review-submit {
  margin-top: 1.5rem;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.review-submit h2,
.review-submit h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.review-submit > p {
  color: var(--muted);
  margin-top: 0;
}

.review-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.contact-review {
  margin-top: 1.25rem;
}

.cta-band {
  background: linear-gradient(90deg, var(--lime), #dde85a);
  padding: 2.5rem 1.25rem;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.cta-band p { margin: 0 0 1.25rem; color: var(--navy); }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.panel h2, .panel h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin-top: 0;
}

.checklist {
  padding-left: 1.2rem;
}

.checklist li { margin-bottom: 0.4rem; }

form { display: grid; gap: 0.85rem; }

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

input, select, textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

textarea { min-height: 140px; resize: vertical; }

.form-note { font-size: 0.85rem; color: var(--muted); }

.company-logo {
  margin: 0 0 1rem;
}

.company-credential {
  margin: 1.25rem 0 0;
}

.company-credential img {
  display: block;
  width: auto;
  max-width: 100%;
  border-radius: 8px;
}

.company-credential figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.form-status {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  display: none;
}

.form-status.ok { display: block; background: #e8f5e9; color: #1b5e20; }
.form-status.err { display: block; background: #ffebee; color: #b71c1c; }

.grecaptcha-badge {
  visibility: hidden;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.4rem;
}

.gallery-section {
  margin-bottom: 2.5rem;
}

.gallery-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.85rem;
}

.gallery-section-head h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.35rem;
}

.gallery-section-link {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 2px solid var(--lime);
}

.gallery-section-link:hover {
  color: var(--navy-dark);
}

.gallery-albums {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem 1rem;
  align-items: start;
}

.project-album {
  margin: 0;
  min-width: 0;
}

.project-album--wide {
  grid-column: 1 / -1;
}

.project-album-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 18, 32, 0.92);
  padding: 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-inner {
  position: relative;
  max-width: min(1100px, 100%);
  max-height: 100%;
}

.lightbox-inner img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 2rem);
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-close {
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 0.75rem;
}

.lightbox-next {
  right: 0.75rem;
}

@media (max-width: 640px) {
  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 1rem;
    transform: none;
  }
}

.site-footer {
  background: var(--navy-dark);
  color: #fff;
  padding: 2.5rem 1.25rem 1.5rem;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.site-footer a { color: var(--lime); }

.footer-credit {
  text-align: right;
}

.footer-bottom {
  max-width: 1180px;
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.88rem;
  opacity: 0.85;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal h2 { font-family: var(--font-display); color: var(--navy); }
.legal h3 { color: var(--navy); margin-top: 1.5rem; }

/* Maintenance (live) page */
.maint-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: #fff;
  text-align: center;
}

.maint-card {
  max-width: 520px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(8px);
}

.maint-card img { margin: 0 auto 1.5rem; height: 80px; width: auto; }

.maint-card h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 1rem;
}

.wip-badge {
  display: inline-block;
  background: var(--lime);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 2.5rem 1rem;
  }
  .hero p {
    font-size: 1rem;
    line-height: 1.5;
  }
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .header-inner { flex-wrap: wrap; }
  .grid-2,
  .grid-3,
  .review-grid,
  .review-form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-credit {
    text-align: left;
  }
}
