:root {
  --green: #015450;
  --green-dark: #013f3c;
  --yellow: #d4a82a;
  --yellow-dark: #b88d1c;
  --ink: #1f2328;
  --muted: #5c6670;
  --card: rgba(40, 38, 38, 0.74);
  --button: #373b4d;
  --paper: #ffffff;
  --paper-soft: #f4f5f3;
  --font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Roboto", "Segoe UI", Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  --gutter: 16px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.15; margin: 0 0 0.5em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: #000; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.01em; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: #fff; text-decoration: none; font-weight: 500; padding: 8px 10px; border-radius: 6px; font-size: 0.95rem; }
.site-nav a:hover { background: rgba(255, 255, 255, 0.12); }
.site-nav .btn { padding: 8px 14px; }
@media (max-width: 640px) {
  .site-nav a:not(.btn) { display: none; }
  .brand span { font-size: 0.95rem; }
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--yellow); color: #111;
  font-family: var(--font-head); font-weight: 800;
  text-decoration: none; border: 0; cursor: pointer;
  padding: 12px 22px; border-radius: 999px; font-size: 1rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: #e4b93a; transform: translateY(-1px); }
.btn-dark { background: var(--button); color: #fff; border-radius: 6px; }
.btn-dark:hover { background: #2a2d3c; }
.btn-light { background: #fff; color: #000; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); }
.btn-light:hover { background: #f3f3f3; }

/* Hero */
.hero {
  position: relative; color: #fff; text-align: center;
  background: var(--green-dark) url("../images/hero-mobile.jpg") center 45% / cover no-repeat;
  min-height: 520px;
  display: flex; align-items: center;
  isolation: isolate;
}
@media (min-width: 900px) { .hero { background-image: url("../images/hero.jpg"); min-height: 560px; } }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.55) 100%); z-index: -1; }
.hero .container { padding-top: 48px; padding-bottom: 48px; }
.hero-top { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.hero-logo { width: 150px; height: 150px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)); }
.hero h1 { font-family: var(--font-body); font-weight: 700; font-size: clamp(2.4rem, 6vw, 4.5rem); text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6); margin: 0; }
.hero-intro {
  max-width: 760px; margin: 28px auto 0;
  background: rgba(10, 10, 10, 0.72); border-radius: var(--radius);
  padding: 16px 22px; font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.5;
}
.hero-actions { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) { .hero-logo { width: 110px; height: 110px; } }

/* Trust strip */
.trust { background: #fff; border-bottom: 1px solid #e3e6e3; }
.trust-list { list-style: none; margin: 0; padding: 14px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; }
@media (min-width: 700px) { .trust-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1020px) { .trust-list { grid-template-columns: repeat(5, 1fr); gap: 8px 22px; } }
.trust-list li { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; line-height: 1.3; color: var(--muted); }
.trust-list strong { color: var(--green); font-size: 0.95rem; }
.trust-list svg { flex: 0 0 34px; width: 34px; height: 34px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-list svg .tick { stroke: var(--yellow-dark); stroke-width: 2.2; }

/* Section headings on white */
.section-title-dark { color: var(--green); font-size: clamp(1.6rem, 3.2vw, 2.3rem); text-align: center; margin: 0 0 10px; }
.section-lead { text-align: center; color: var(--muted); max-width: 720px; margin: 0 auto 26px; }
.gallery-lead { margin-bottom: 18px; }

/* Builders logo row */
.builders { background: var(--paper-soft); padding: 44px 0 48px; }
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .logo-grid { grid-template-columns: repeat(6, 1fr); } }
.logo-grid li { background: #fff; border-radius: 8px; min-height: 96px; display: flex; align-items: center; justify-content: center; padding: 16px 18px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
.logo-grid img { display: block; width: 100%; height: 56px; object-fit: contain; }
.logo-tile { border: 2px dashed #cfd5d2; box-shadow: none !important; color: #a0a8a4; font-size: 0.85rem; font-weight: 500; }

/* Services in detail */
.details { padding: 52px 0 56px; }
.detail-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .detail-grid { grid-template-columns: 1fr 1fr; } }
.detail { background: #fff; border: 1px solid #e3e6e3; border-left: 6px solid var(--yellow); border-radius: var(--radius); padding: 22px 24px; scroll-margin-top: 80px; }
.detail h3 { color: var(--green); font-size: 1.3rem; margin-bottom: 8px; }
.detail p { margin: 0 0 10px; }
.detail ul { margin: 0 0 12px; padding-left: 20px; }
.detail li { margin-bottom: 4px; }
.detail-link { font-weight: 700; text-decoration: none; }
.detail-link:hover { text-decoration: underline; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }

/* FAQ */
.faq { background: #fff; padding: 48px 0 56px; border-top: 1px solid #e3e6e3; }
.faq-wrap { max-width: 820px; }
.faq details { border: 1px solid #e3e6e3; border-radius: 8px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 44px 14px 18px; position: relative; list-style: none; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 1.5rem; color: var(--green); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { color: var(--green); }
.faq details p { margin: 0; padding: 0 18px 16px; color: #333; }
.foot-area { margin: 8px 0 0; font-size: 0.9rem; color: var(--muted); }
section { scroll-margin-top: 64px; }

/* Services */
.services {
  position: relative; color: #fff;
  background: #c9a22a url("../images/services-bg.jpg") center / cover no-repeat;
  padding: 56px 0 64px;
}
.services::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.08); }
.services .container { position: relative; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.section-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; text-shadow: 0 3px 10px rgba(0, 0, 0, 0.45); margin: 0; }
.services .section-head { justify-content: center; position: relative; }
.services .blog-link { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; padding: 9px 16px; }
@media (max-width: 900px) { .services .section-head { flex-direction: column; } .services .blog-link { position: static; transform: none; } }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.cards-2 { max-width: 880px; margin: 0 auto; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-2 { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--card); border-radius: var(--radius); padding: 22px 20px 26px;
  box-shadow: var(--shadow); backdrop-filter: blur(2px);
}
.card h3 { font-size: 1.55rem; text-align: center; margin-bottom: 14px; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); }
.card ul { margin: 0; padding-left: 20px; font-weight: 700; font-size: 0.98rem; line-height: 1.45; }
.card li + li { margin-top: 12px; }

/* Projects */
.band { background: var(--green); color: #fff; text-align: center; padding: 18px 0; }
.band h2 { margin: 0; }
.gallery { padding: 28px 0 48px; }
.grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(5, 1fr); } }
.grid a { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; background: #e8e8e8; }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.grid a:hover img { transform: scale(1.04); }
.grid a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.92); z-index: 200; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(96vw, 1600px); max-height: 88vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); }
.lightbox button {
  position: absolute; background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #ccc; font-size: 0.9rem; }

/* Contact */
.contact { background: var(--paper-soft); padding: 56px 0 64px; }
.contact-wrap { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-wrap { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }
.contact h2 { color: var(--green); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.contact p.lead { margin-top: 0; color: var(--muted); }
.form { background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.95rem; }
.field label .req { color: #b4232a; }
.field input, .field textarea {
  width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #c7ccd1; border-radius: 6px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.field textarea { min-height: 130px; resize: vertical; }
.row-2 { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }
.form-note { font-size: 0.92rem; color: var(--muted); margin: 0 0 18px; }
.form-status { margin-top: 14px; font-weight: 500; min-height: 1.4em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #b4232a; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.contact-card { text-align: center; }
.contact-email-label { margin: 0 0 4px; color: var(--muted); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-email { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1rem, 2.4vw, 1.35rem); color: var(--green); text-decoration: none; overflow-wrap: anywhere; margin-bottom: 18px; }
.contact-email:hover { text-decoration: underline; }
.contact-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact-actions .btn { font-size: 0.95rem; padding: 11px 20px; }
.contact-card .form-note { margin: 16px 0 0; }
.contact-aside h3 { color: var(--green); font-size: 1.25rem; margin-top: 0; }
.contact-aside p { margin: 0 0 12px; }
.contact-aside a { word-break: break-all; }
.map { margin-top: 18px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08); background: #e6e9e6; }
.map iframe { display: block; width: 100%; height: 300px; border: 0; }

/* Footer */
.site-footer { text-align: center; padding: 36px var(--gutter) 28px; color: var(--green); }
.site-footer .foot-brand { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.site-footer a { color: var(--green); }
.site-footer small { display: block; margin-top: 18px; color: var(--muted); font-size: 0.82rem; }
.site-footer nav { margin-top: 10px; font-size: 0.95rem; }
.site-footer nav a { margin: 0 8px; }

/* Blog */
.page-hero { background: var(--green-dark) url("../images/hero-mobile.jpg") center 45% / cover no-repeat; color: #fff; text-align: center; position: relative; isolation: isolate; padding: 48px 0; }
@media (min-width: 900px) { .page-hero { background-image: url("../images/hero.jpg"); } }
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 20, 18, 0.62); z-index: -1; }
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.8rem); text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5); max-width: 900px; margin: 0 auto; }
.page-hero .meta { margin-top: 10px; color: #e7e7e7; font-size: 0.95rem; }
.article-wrap { max-width: 780px; margin: 0 auto; padding: 40px var(--gutter) 56px; }
.article h2 { color: var(--green); font-size: 1.5rem; margin-top: 1.8em; }
.article h3 { color: var(--green); font-size: 1.2rem; margin-top: 1.5em; }
.article p { margin: 0 0 1.1em; }
.article ol { padding-left: 1.3em; }
.article ol > li { margin-bottom: 1.1em; }
.article ol > li > strong { display: block; margin-bottom: 0.3em; }
.article ul { margin: 0.4em 0 0; padding-left: 1.2em; }
.article ul li { margin-bottom: 0.5em; }
.article .cta { background: var(--paper-soft); border-left: 5px solid var(--yellow); padding: 16px 18px; border-radius: 6px; margin-top: 2em; }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.post-card { background: #fff; border: 1px solid #e3e6e3; border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05); }
.post-card h2 { font-size: 1.35rem; margin: 0 0 6px; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card .meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 10px; }
.post-card p { margin: 0 0 12px; }
.back-link { display: inline-block; margin-top: 8px; }
