/* ==========================================================================
   VersaWorks (Pvt) Ltd — versaworks.co.zw
   Design system + site styles
   Built by ClaudeBuilt
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand — sampled from the VersaWorks logo */
  --navy:        #013E6B;
  --navy-900:    #01243F;
  --navy-800:    #012F53;
  --navy-700:    #013E6B;
  --navy-600:    #0A5488;
  --navy-100:    #E7EEF4;
  --navy-050:    #F4F7FA;

  --lime:        #9DC83B;
  --lime-600:    #86AE2C;
  --lime-700:    #6E9022;
  --lime-100:    #F0F7DF;

  --grey:        #818286;
  --grey-900:    #22262B;
  --grey-700:    #4A5058;
  --grey-500:    #818286;
  --grey-300:    #C8CCD1;
  --grey-200:    #E2E5E9;
  --grey-100:    #F1F3F5;
  --white:       #FFFFFF;

  /* Semantic */
  --ink:         var(--grey-900);
  --ink-soft:    var(--grey-700);
  --ink-mute:    var(--grey-500);
  --surface:     var(--white);
  --surface-alt: var(--navy-050);
  --line:        var(--grey-200);
  --accent:      var(--lime);
  --brand:       var(--navy);

  /* Type */
  --font-display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.18vw, 1.09rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.36vw, 1.44rem);
  --step-2:  clamp(1.44rem, 1.3rem + 0.68vw, 1.9rem);
  --step-3:  clamp(1.73rem, 1.5rem + 1.14vw, 2.5rem);
  --step-4:  clamp(2.07rem, 1.7rem + 1.85vw, 3.3rem);
  --step-5:  clamp(2.49rem, 1.9rem + 2.94vw, 4.4rem);

  /* Space */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;    --sp-10: 8rem;

  --radius:    4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(1, 36, 63, .06), 0 1px 3px rgba(1, 36, 63, .08);
  --shadow-md: 0 4px 10px rgba(1, 36, 63, .07), 0 12px 28px rgba(1, 36, 63, .09);
  --shadow-lg: 0 10px 24px rgba(1, 36, 63, .10), 0 28px 60px rgba(1, 36, 63, .14);

  --wrap:   1200px;
  --wrap-n: 900px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur:  .35s;

  --header-h: 84px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* Component display rules (.btn, .card) out-specify the browser default
   [hidden]{display:none}, so state it explicitly and win. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}

h1 { font-size: var(--step-5); font-weight: 800; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p  { margin: 0 0 var(--sp-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--lime-700); }

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

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.15rem; }
li { margin-bottom: .35rem; }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-7) 0; }

::selection { background: var(--lime); color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--lime-600);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem;
  font-weight: 600; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
@media (min-width: 48rem) { .wrap { width: min(100% - 4rem, var(--wrap)); } }

.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-n)); margin-inline: auto; }

.section     { padding-block: clamp(3.5rem, 2rem + 7vw, 7rem); }
.section--sm { padding-block: clamp(2.5rem, 1.5rem + 5vw, 4.5rem); }
.section--alt   { background: var(--surface-alt); }
.section--navy  { background: var(--navy-900); color: #D7E2EC; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.grid { display: grid; gap: var(--sp-5); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); }

.stack > * + * { margin-top: var(--sp-4); }

/* --------------------------------------------------------------------------
   4. Section headers / eyebrow
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display);
  font-size: var(--step--1); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime-700); margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: ""; width: 28px; height: 3px;
  background: var(--lime); flex: none;
}
.section--navy .eyebrow { color: var(--lime); }

.sec-head { max-width: 46rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.sec-head p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.55; }
.section--navy .sec-head p { color: #B9C9D8; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }

.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-0);
  line-height: 1; text-decoration: none; cursor: pointer;
  padding: 1rem 1.6rem; border: 2px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--btn-fg);
}
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--accent  { --btn-bg: var(--lime); --btn-fg: var(--navy-900); --btn-bd: var(--lime); }
.btn--accent:hover { --btn-bg: var(--lime-600); --btn-bd: var(--lime-600); }

.btn--ghost   { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--navy); }
.btn--ghost:hover { --btn-bg: var(--navy); --btn-fg: #fff; }

.btn--light   { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-bd: #fff; }

.btn--wa { --btn-bg: #25D366; --btn-fg: #04301A; --btn-bd: #25D366; }
.btn--wa:hover { --btn-bg: #1FBB58; --btn-bd: #1FBB58; }

.btn--block { width: 100%; }
.btn--lg { padding: 1.15rem 2rem; font-size: var(--step-1); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 600;
  text-decoration: none; color: var(--navy);
}
.link-arrow svg { width: 1em; height: 1em; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--lime-700); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-900); color: #A9BED0;
  font-size: var(--step--1);
}
.topbar__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .5rem 1.5rem;
  min-height: 40px; padding-block: .4rem;
}
.topbar a { color: #D7E2EC; text-decoration: none; }
.topbar a:hover { color: var(--lime); }
.topbar__list { display: flex; flex-wrap: wrap; gap: .35rem 1.35rem; list-style: none; margin: 0; padding: 0; }
.topbar__list li { display: flex; align-items: center; gap: .4rem; margin: 0; }
.topbar__list a { display: inline-flex; align-items: center; min-height: 36px; padding-block: .3rem; }
.topbar__list svg { width: 14px; height: 14px; color: var(--lime); flex: none; }
.topbar__tag { display: none; font-weight: 500; letter-spacing: .04em; }
@media (min-width: 62rem) { .topbar__tag { display: block; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5); min-height: var(--header-h);
}
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 40px; width: auto; }
@media (min-width: 48rem) { .brand img { height: 46px; } }

.nav__links {
  display: none; align-items: center; gap: .25rem;
  list-style: none; margin: 0; padding: 0;
}
@media (min-width: 62rem) { .nav__links { display: flex; } }

.nav__links a {
  display: block; padding: .6rem .85rem;
  font-family: var(--font-display); font-weight: 500; font-size: .97rem;
  color: var(--navy-800); text-decoration: none; border-radius: var(--radius);
  position: relative; transition: color var(--dur) var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .35rem;
  height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--navy); font-weight: 700; }

.nav__cta { display: none; }
@media (min-width: 62rem) { .nav__cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  background: var(--navy); color: #fff; border: 0; border-radius: var(--radius);
  cursor: pointer;
}
@media (min-width: 62rem) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--navy-900); color: #fff;
  padding: calc(var(--header-h) + 2rem) 1.5rem 2rem;
  overflow-y: auto;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .4s var(--ease), visibility .4s;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav ul { list-style: none; margin: 0 0 2rem; padding: 0; }
.mobile-nav li { border-bottom: 1px solid rgba(255,255,255,.12); margin: 0; }
.mobile-nav nav a {
  display: block; padding: 1.05rem .25rem;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  color: #fff; text-decoration: none;
}
.mobile-nav nav a[aria-current="page"] { color: var(--lime); }
.mobile-nav .btn-row { flex-direction: column; }
body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: clamp(30rem, 78vh, 46rem);
  padding-block: clamp(4rem, 3rem + 8vw, 8rem);
  background: var(--navy-900);
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgba(1,36,63,.94) 0%, rgba(1,36,63,.80) 42%, rgba(1,36,63,.42) 100%),
    linear-gradient(to top, rgba(1,36,63,.85) 0%, rgba(1,36,63,0) 55%);
}
.hero__inner { max-width: 46rem; color: #fff; }
.hero h1 { color: #fff; margin-bottom: var(--sp-5); }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero__lead {
  font-size: var(--step-1); line-height: 1.55; color: #CFDCE7;
  max-width: 40rem; margin-bottom: var(--sp-6);
}
.hero .eyebrow { color: var(--lime); }

.hero--page { min-height: clamp(20rem, 42vh, 27rem); align-items: center; }
.hero--page h1 { margin-bottom: var(--sp-3); }
.hero--page .hero__lead { margin-bottom: 0; }

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .4rem; list-style: none;
  margin: 0 0 var(--sp-4); padding: 0;
  font-size: var(--step--1); color: #9FB6C9;
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: #5F7C94; }
.breadcrumb a { color: #CFDCE7; text-decoration: none; display: inline-block; min-height: 36px; padding-block: .45rem; }
.breadcrumb a:hover { color: var(--lime); }

/* Lime service band, echoing the VersaWorks flyer */
.band {
  background: var(--lime); color: var(--navy-900);
  font-family: var(--font-display); font-weight: 600;
  padding-block: 1rem;
}
.band__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .35rem 1.1rem; font-size: var(--step--1);
  letter-spacing: .02em;
}
.band__inner span { display: inline-flex; align-items: center; gap: 1.1rem; }
.band__inner span::after { content: "•"; color: rgba(1,36,63,.45); }
.band__inner span:last-child::after { content: none; }

/* --------------------------------------------------------------------------
   8. Stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat { background: var(--white); padding: var(--sp-6) var(--sp-5); text-align: center; }
.stat__n {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--step-4); line-height: 1; color: var(--navy);
  letter-spacing: -.03em;
}
.stat__n span { color: var(--lime-600); }
.stat__l {
  display: block; margin-top: .5rem;
  font-size: var(--step--1); font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-mute);
}
.stats--onnavy { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.14); }
.stats--onnavy .stat { background: var(--navy-900); }
.stats--onnavy .stat__n { color: #fff; }
.stats--onnavy .stat__l { color: #93AABE; }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--navy-100); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .6rem; font-size: var(--step-1); }
.card__body p  { color: var(--ink-soft); font-size: .96rem; }
.card__body .link-arrow { margin-top: auto; padding-top: var(--sp-4); }

.card__num {
  position: absolute; left: 0; top: 0; z-index: 2;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: var(--lime); color: var(--navy-900);
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
}

/* Feature card (icon, no image) */
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--lime);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-5);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: var(--sp-4);
  background: var(--navy-050); color: var(--navy);
  border-radius: var(--radius);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.feature p  { color: var(--ink-soft); font-size: .96rem; }

.section--navy .feature {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
  border-top-color: var(--lime);
}
.section--navy .feature p { color: #B9C9D8; }
.section--navy .feature__icon { background: rgba(157,200,59,.16); color: var(--lime); }

/* --------------------------------------------------------------------------
   10. Split / media + text
   -------------------------------------------------------------------------- */
.split {
  display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr 1fr; }
  .split--reverse .split__media { order: 2; }
}
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

.split__media--stacked { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.split__media--stacked img:first-child { margin-top: var(--sp-7); }

.media-badge {
  position: absolute; right: -.75rem; bottom: -1.25rem; z-index: 2;
  background: var(--lime); color: var(--navy-900);
  padding: 1.1rem 1.35rem; border-radius: var(--radius);
  box-shadow: var(--shadow-md); max-width: 14rem;
}
.media-badge strong {
  display: block; font-family: var(--font-display);
  font-size: var(--step-2); font-weight: 800; line-height: 1;
}
.media-badge span { font-size: var(--step--1); font-weight: 600; }

/* --------------------------------------------------------------------------
   11. Checklist
   -------------------------------------------------------------------------- */
.checklist { list-style: none; padding: 0; margin: 0 0 var(--sp-5); }
.checklist li {
  position: relative; padding-left: 2rem; margin-bottom: .8rem;
  color: var(--ink-soft);
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--lime);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/72% no-repeat,
           linear-gradient(#000,#000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/72% no-repeat,
        linear-gradient(#000,#000);
  mask-composite: exclude;
}
.checklist li strong { color: var(--navy-900); }
.section--navy .checklist li { color: #B9C9D8; }
.section--navy .checklist li strong { color: #fff; }

/* --------------------------------------------------------------------------
   12. Process
   -------------------------------------------------------------------------- */
.process { counter-reset: step; display: grid; gap: var(--sp-5); }
@media (min-width: 52rem) { .process { grid-template-columns: repeat(4, 1fr); } }

.process__item { position: relative; padding-top: var(--sp-6); }
.process__item::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--step-2); color: var(--lime); letter-spacing: -.02em;
}
.process__item::after {
  content: ""; position: absolute; top: calc(var(--sp-6) - .9rem); left: 0; right: 0;
  height: 2px; background: var(--line);
}
.process__item h3 { font-size: var(--step-1); margin: var(--sp-4) 0 .5rem; }
.process__item p  { color: var(--ink-soft); font-size: .96rem; }
.section--navy .process__item::after { background: rgba(255,255,255,.15); }
.section--navy .process__item p { color: #B9C9D8; }

/* --------------------------------------------------------------------------
   13. Gallery
   -------------------------------------------------------------------------- */
.filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: var(--sp-6);
}
.filter {
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  padding: .6rem 1.1rem; cursor: pointer;
  background: var(--white); color: var(--navy-800);
  border: 1px solid var(--line); border-radius: 100px;
  transition: all var(--dur) var(--ease);
}
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.gallery { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.tile {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: var(--radius-lg);
  background: var(--navy-100);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile__cap {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  padding: 2.5rem 1.1rem 1.1rem;
  background: linear-gradient(to top, rgba(1,36,63,.92), rgba(1,36,63,0));
  color: #fff;
}
.tile__cap strong { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.tile__cap span { font-size: .84rem; color: var(--lime); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.tile.is-hidden { display: none; }

/* --------------------------------------------------------------------------
   14. Partner / solar
   -------------------------------------------------------------------------- */
.partner {
  display: grid; gap: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--lime);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  box-shadow: var(--shadow-md);
}
@media (min-width: 56rem) { .partner { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.partner h3 { font-size: var(--step-2); }

.contact-lines { list-style: none; padding: 0; margin: 0; }
.contact-lines li {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: .85rem 0; margin: 0;
  border-bottom: 1px solid var(--line);
}
.contact-lines li:last-child { border-bottom: 0; }
.contact-lines svg { width: 20px; height: 20px; color: var(--lime-700); flex: none; margin-top: .22rem; }
.contact-lines strong {
  display: block; font-size: var(--step--1); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute);
}
.contact-lines a, .contact-lines span { color: var(--navy-900); text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.contact-lines a:not(.btn) { display: inline-block; min-height: 36px; padding-block: .35rem; }
.contact-lines a:hover { color: var(--lime-700); }
.section--navy .contact-lines li { border-color: rgba(255,255,255,.14); }
.section--navy .contact-lines a, .section--navy .contact-lines span { color: #fff; }
.section--navy .contact-lines strong { color: #93AABE; }
.section--navy .contact-lines svg { color: var(--lime); }

.notice {
  background: var(--lime-100);
  border: 1px solid #DCEAB8;
  border-left: 4px solid var(--lime);
  border-radius: var(--radius);
  padding: var(--sp-5);
  font-size: .96rem;
}
.notice strong { color: var(--navy-900); }
.notice a:not(.btn) { display: inline-block; min-height: 36px; padding-block: .35rem; }
/* Inline icons sitting in running text must never inherit the 100% image width */
.notice svg,
.eyebrow svg,
.faq svg { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.18em; flex: none; }
.eyebrow svg { margin-right: .1rem; }

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 40rem) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label {
  font-family: var(--font-display); font-weight: 600; font-size: .93rem;
  color: var(--navy-900);
}
.field .req { color: #C0392B; }
.field .hint { font-size: .84rem; color: var(--ink-mute); font-weight: 400; }

.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .85rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius);
  width: 100%;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23818286' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
  padding-right: 2.75rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(1,62,107,.14);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}
.field .error { font-size: .85rem; color: #C0392B; font-weight: 500; min-height: 0; }

.checks {
  display: grid; gap: .6rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}
.check {
  display: flex; align-items: flex-start; gap: .65rem;
  padding: .7rem .9rem; cursor: pointer;
  border: 1.5px solid var(--grey-300); border-radius: var(--radius);
  font-size: .94rem; line-height: 1.4;
  transition: all var(--dur) var(--ease);
}
.check:hover { border-color: var(--navy); background: var(--navy-050); }
.check input { width: 1.1rem; height: 1.1rem; margin: .14rem 0 0; accent-color: var(--navy); flex: none; }
.check:has(input:checked) { border-color: var(--navy); background: var(--navy-050); }

.form-note { font-size: .87rem; color: var(--ink-mute); }

.form-status { display: none; margin-top: var(--sp-4); padding: var(--sp-4); border-radius: var(--radius); font-weight: 500; }
.form-status.is-visible { display: block; }
.form-status--ok  { background: var(--lime-100); border: 1px solid #C9DE95; color: #3E5A11; }
.form-status--err { background: #FDECEA; border: 1px solid #F5C6C0; color: #A5281B; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* --------------------------------------------------------------------------
   16. CTA
   -------------------------------------------------------------------------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-900); color: #fff;
  padding-block: clamp(3.5rem, 2rem + 6vw, 6rem);
}
.cta__media { position: absolute; inset: 0; z-index: -2; opacity: .28; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, rgba(1,36,63,.96) 30%, rgba(1,36,63,.72) 100%);
}
.cta h2 { color: #fff; }
.cta p  { color: #C4D3E0; font-size: var(--step-1); max-width: 40rem; }
.cta__inner { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 56rem) { .cta__inner { grid-template-columns: 1.4fr 1fr; } }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #93AABE; font-size: .95rem; }
.site-footer a { color: #C4D3E0; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer__grid {
  display: grid; gap: var(--sp-6);
  padding-block: clamp(3rem, 2rem + 4vw, 4.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.footer__brand img { height: 42px; width: auto; margin-bottom: var(--sp-4); }
.footer__grid h2 {
  font-size: .9rem; font-weight: 700; letter-spacing: .11em; line-height: 1.3;
  text-transform: uppercase; color: #fff; margin-bottom: var(--sp-4);
}
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: .35rem; }
.footer__list a:not(.btn) { display: inline-block; min-height: 36px; padding-block: .4rem; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  justify-content: space-between; align-items: center;
  padding-block: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .87rem;
}
.socials { display: flex; gap: .6rem; }
.socials a {
  display: grid; place-items: center; width: 38px; height: 38px;
  background: rgba(255,255,255,.08); border-radius: var(--radius);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.socials a:hover { background: var(--lime); color: var(--navy-900); }
.socials svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   18. Floating WhatsApp
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 95;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.15rem;
  background: #25D366; color: #04301A;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  text-decoration: none; border-radius: 100px;
  box-shadow: 0 6px 20px rgba(4,48,26,.32);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.wa-float:hover { transform: translateY(-3px); color: #04301A; box-shadow: 0 10px 26px rgba(4,48,26,.4); }
.wa-float svg { width: 24px; height: 24px; flex: none; }
.wa-float span { display: none; }
@media (min-width: 30rem) { .wa-float span { display: inline; } }
@media (min-width: 48rem) { .wa-float { right: 1.75rem; bottom: 1.75rem; } }

/* --------------------------------------------------------------------------
   19. FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-1);
  color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 1.4rem; height: 1.4rem; margin-top: .2rem;
  background: var(--navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: 1.4rem; color: var(--ink-soft); max-width: 52rem; }

/* --------------------------------------------------------------------------
   20. Motion
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   21. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .topbar, .wa-float, .mobile-nav, .cta, .filters { display: none !important; }
  body { color: #000; }
  .hero { min-height: auto; background: none; color: #000; }
  .hero::after, .hero__media { display: none; }
  .hero h1, .hero__lead { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}

/* --------------------------------------------------------------------------
   22. Works gallery (client-updatable)
   -------------------------------------------------------------------------- */
.works { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }

.work {
  position: relative; display: block; width: 100%; padding: 0; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer; font: inherit; color: inherit;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--navy-100); }

.work__media { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-100); }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work:hover .work__media img { transform: scale(1.05); }

.work__badge {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .7rem; border-radius: 100px;
  font-family: var(--font-display); font-size: .74rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  white-space: nowrap; line-height: 1.35;
}
.work__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.work__badge--completed { background: var(--lime); color: var(--navy-900); }
.work__badge--progress  { background: var(--navy-900); color: var(--lime); }

.work__zoom {
  position: absolute; right: .7rem; bottom: .7rem; z-index: 2;
  display: grid; place-items: center; width: 34px; height: 34px;
  background: rgba(1,36,63,.78); color: #fff; border-radius: 50%;
  opacity: 0; transform: scale(.85);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.work__zoom svg { width: 16px; height: 16px; }
.work:hover .work__zoom, .work:focus-visible .work__zoom { opacity: 1; transform: scale(1); }

.work__body { display: block; padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.work__body h3 { display: block; font-size: var(--step-1); margin: 0 0 .3rem; }
.work__meta {
  display: flex; flex-wrap: wrap; gap: .3rem .8rem;
  font-size: .84rem; line-height: 1.45; color: var(--ink-mute); font-weight: 500;
}
.work__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.work__meta svg { width: 13px; height: 13px; flex: none; }
.work.is-hidden { display: none; }

.works-empty {
  grid-column: 1 / -1; padding: var(--sp-8) var(--sp-5);
  text-align: center; color: var(--ink-mute);
  border: 2px dashed var(--grey-300); border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   23. Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  padding: clamp(1rem, 3vw, 3rem);
  background: rgba(1, 24, 42, .93);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.lightbox.is-open { display: grid; }
body.lightbox-open { overflow: hidden; }

.lightbox__inner { max-width: min(1100px, 100%); max-height: 100%; width: 100%; }
.lightbox__frame {
  background: #01182A; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.lightbox__frame img {
  width: 100%; max-height: min(70vh, 780px); object-fit: contain;
  background: #01182A; display: block;
}
.lightbox__cap { padding: var(--sp-5); color: #CFDCE7; }
.lightbox__cap h3 { color: #fff; font-size: var(--step-2); margin-bottom: .4rem; }
.lightbox__cap p  { font-size: .95rem; margin-bottom: .6rem; }
.lightbox__cap .work__meta { color: #8FA8BD; }

.lightbox__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  display: grid; place-items: center; width: 48px; height: 48px;
  background: rgba(255,255,255,.12); color: #fff;
  border: 0; border-radius: 50%; cursor: pointer;
  transition: background-color var(--dur) var(--ease);
}
.lightbox__btn:hover { background: var(--lime); color: var(--navy-900); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn--prev { left: clamp(.5rem, 2vw, 2rem); }
.lightbox__btn--next { right: clamp(.5rem, 2vw, 2rem); }

.lightbox__close {
  position: absolute; top: clamp(.75rem, 2vw, 1.5rem); right: clamp(.75rem, 2vw, 1.5rem);
  z-index: 3; display: grid; place-items: center; width: 44px; height: 44px;
  background: rgba(255,255,255,.12); color: #fff;
  border: 0; border-radius: 50%; cursor: pointer;
}
.lightbox__close:hover { background: #fff; color: var(--navy-900); }
.lightbox__close svg { width: 20px; height: 20px; }

.lightbox__count {
  position: absolute; bottom: clamp(.75rem, 2vw, 1.5rem); left: 50%; transform: translateX(-50%);
  color: #8FA8BD; font-size: .85rem; font-weight: 500; letter-spacing: .05em;
}
@media (max-width: 40rem) {
  .lightbox__btn { width: 40px; height: 40px; }
  .lightbox__frame img { max-height: 52vh; }
}

/* --------------------------------------------------------------------------
   24. Reviews
   -------------------------------------------------------------------------- */
.reviews { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }

.review {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--sp-6) var(--sp-5);
  position: relative;
}
.review::before {
  content: "\201C"; position: absolute; top: .35rem; right: 1.1rem;
  font-family: Georgia, "Times New Roman", serif; font-size: 5rem; line-height: 1;
  color: var(--lime); opacity: .28;
}
.review__stars { display: flex; gap: .15rem; margin-bottom: var(--sp-3); }
.review__stars svg { width: 18px; height: 18px; color: #F5A623; }
.review__stars svg.is-empty { color: var(--grey-300); }
.review__text { font-size: 1rem; line-height: 1.62; color: var(--ink-soft); margin-bottom: var(--sp-4); }
.review__foot { margin-top: auto; display: flex; align-items: center; gap: .75rem; }
.review__avatar {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
}
.review__who strong { display: block; font-family: var(--font-display); color: var(--navy-900); font-size: 1rem; }
.review__who span   { font-size: .85rem; color: var(--ink-mute); }
.review__src {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .3rem; font-size: .78rem; font-weight: 600; color: var(--ink-mute);
}
.review__src svg { width: 13px; height: 13px; }

.reviews-empty {
  grid-column: 1 / -1;
  display: grid; gap: var(--sp-5); align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  background: var(--white); border: 1px solid var(--line);
  border-left: 5px solid var(--lime); border-radius: var(--radius-lg);
}
@media (min-width: 52rem) { .reviews-empty { grid-template-columns: 1.3fr 1fr; } }
.reviews-empty h3 { font-size: var(--step-2); }
.reviews-empty p  { color: var(--ink-soft); }

.google-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  color: var(--ink-soft);
}
.google-badge svg { width: 18px; height: 18px; flex: none; }

/* Star rating input */
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; }
.rating-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.rating-input label {
  cursor: pointer; color: var(--grey-300); line-height: 1;
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.rating-input label svg { width: 30px; height: 30px; }
.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label { color: #F5A623; }
.rating-input label:hover { transform: scale(1.12); }
.rating-input input:focus-visible + label { outline: 3px solid var(--lime-600); outline-offset: 2px; border-radius: 3px; }
