/* ============================================================
   Procraft Design Limited — site styles
   Palette drawn from brand logo:
   navy #203e7c · green #99be3d · sky #23c1f1
   ============================================================ */

:root {
  --navy: #203e7c;
  --navy-dark: #162c59;
  --navy-deep: #101f3f;
  --green: #99be3d;
  --green-dark: #7fa32b;
  --sky: #23c1f1;
  --ink: #1c2333;
  --body: #46506b;
  --line: #e3e7f0;
  --paper: #ffffff;
  --mist: #f5f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 44, 89, 0.10);
  --shadow-lg: 0 18px 50px rgba(22, 44, 89, 0.16);
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--body);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.22rem; }

p + p { margin-top: 1em; }

a { color: var(--navy); text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.lede { font-size: 1.13rem; color: var(--body); max-width: 46em; }

section { padding: 84px 0; }
section.tight { padding: 56px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.98rem;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--green); color: var(--navy-deep); }
.btn-primary:hover { background: #a8cd4c; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(153, 190, 61, 0.35); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 96px;
}
.logo img { height: 64px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--green); }
.main-nav .nav-cta {
  background: var(--navy);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  border-bottom: none;
}
.main-nav .nav-cta:hover { background: var(--navy-dark); color: #fff; }

/* dropdown */
.has-drop { position: relative; }
.has-drop > a::after { content: " ▾"; font-size: 0.7em; }
.drop {
  position: absolute;
  top: calc(100% + 10px);
  left: -14px;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { display: flex; }
.drop a { padding: 10px 14px; border-radius: 8px; border-bottom: none; font-weight: 700; }
.drop a:hover { background: var(--mist); border-bottom: none; }
.drop a span { display: block; font-weight: 500; font-size: 0.82rem; color: var(--body); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; height: 3px; width: 26px; margin: 0 auto; background: var(--navy); border-radius: 2px; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 120px 0;
  background: var(--navy-deep);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(16, 31, 63, 0.92) 0%, rgba(24, 45, 92, 0.72) 45%, rgba(24, 45, 92, 0.25) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 15em; }
.hero .lede { color: rgba(255,255,255,0.88); margin: 22px 0 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* page hero (inner pages) */
.page-hero { min-height: 420px; padding: 90px 0; }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--navy);
  color: #fff;
  padding: 22px 0;
}
.trust .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 30px;
}
.trust .item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.95rem; }
.trust .item svg { flex: none; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-img img { transform: scale(1.045); }
.card .card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card .card-body p { flex: 1; font-size: 0.97rem; }
.card .card-link { margin-top: 18px; font-weight: 800; color: var(--navy); }
.card .card-link::after { content: " →"; transition: 0.15s; }
.card:hover .card-link::after { padding-left: 4px; }
.card h3 { margin-bottom: 10px; }

/* ---------- Capabilities ---------- */
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.cap {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cap svg { flex: none; }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.rev { grid-template-columns: 1fr 1.05fr; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-img.tall { aspect-ratio: 4/4.4; }

.checklist { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.checklist.two-col { grid-template-columns: 1fr 1fr; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.checklist li svg { flex: none; margin-top: 3px; }

/* ---------- Sustainability band ---------- */
.sustain {
  background: linear-gradient(115deg, #17335f 0%, var(--navy) 55%, #2a4d99 100%);
  color: #fff;
}
.sustain h2, .sustain h3 { color: #fff; }
.sustain .lede, .sustain p, .sustain li { color: rgba(255,255,255,0.88); }
.sustain .checklist li { color: #fff; }
.cert-chips { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.cert-chip {
  border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.08);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.cert-chip strong { color: var(--green); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 8px; }
.filter-btn {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.15s;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.gallery figure {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--mist);
  border: 1px solid var(--line);
}
.gallery figure.hidden { display: none; }
.gallery img { width: 100%; aspect-ratio: 4/3.1; object-fit: cover; transition: transform 0.4s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
}
.gallery figcaption span { display: block; font-weight: 500; color: var(--body); font-size: 0.83rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 16px; }
.stat .num { font-size: 2.2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.stat .lbl { font-weight: 700; font-size: 0.9rem; color: var(--body); margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
  padding: 90px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 42em; margin: 18px auto 32px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-card { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.contact-card h3 { margin-bottom: 6px; }
.contact-rows { display: grid; gap: 22px; margin-top: 22px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row .ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.contact-row strong { display: block; color: var(--ink); }
.contact-row a { font-weight: 700; }

form.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { font-weight: 700; color: var(--ink); font-size: 0.92rem; display: block; margin-bottom: 6px; }
input, textarea, select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--navy); }
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 0.85rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.78); padding: 70px 0 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-logo { background: #fff; display: inline-block; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; }
.footer-logo img { height: 58px; }
.footer-certs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.footer-certs span {
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 0.78rem;
  font-weight: 700;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Sector chips on home ---------- */
.sector-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.sector {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/3.6;
  display: flex; align-items: flex-end; color: #fff;
}
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,31,63,0) 30%, rgba(16,31,63,0.85) 100%); }
.sector:hover img { transform: scale(1.06); }
.sector span { position: relative; z-index: 2; padding: 18px; font-weight: 800; font-size: 1.02rem; line-height: 1.3; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-3, .stats { grid-template-columns: repeat(2, 1fr); }
  .caps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .sector-strip { grid-template-columns: repeat(3, 1fr); }
  .split, .split.rev { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  section { padding: 60px 0; }
  .grid-3, .grid-2, .stats, .gallery { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr; }
  .sector-strip { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .checklist.two-col { grid-template-columns: 1fr; }
  .hero { min-height: 540px; padding: 90px 0; }

  .nav-toggle { display: flex; }
  .header-inner { height: 76px; }
  .logo img { height: 44px; }
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 26px;
    gap: 4px;
    display: none;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 76px);
    overflow: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { text-align: center; margin-top: 14px; border-radius: 999px; }
  .has-drop .drop { position: static; display: flex; border: none; box-shadow: none; padding: 0 0 0 16px; }
  .has-drop > a { pointer-events: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
