/* =========================================================
   KAM CONSTRUCTION — Global Design System
   ========================================================= */

:root {
  --green: #5CB338;
  --green-dark: #3C7A20;
  --green-light: #EAF7E0;
  --black: #121212;
  --charcoal: #1B1D1C;
  --white: #FFFFFF;
  --gray-50: #F7F8F6;
  --gray-100: #EFF1ED;
  --gray-400: #9AA098;
  --gray-600: #5B615A;
  --gray-800: #2E312D;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
  --shadow-md: 0 10px 30px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.16);
  --ease: cubic-bezier(.22,.9,.32,1);
  --container: 1180px;
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--black); }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark);
  background: var(--green-light); padding: 7px 16px; border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.dark { background: rgba(255,255,255,.12); color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: 16px 30px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: var(--black); box-shadow: 0 8px 24px rgba(92,179,56,.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(92,179,56,.45); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { transform: translateY(-3px); background: var(--green-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-outline-dark { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: var(--white); }
.btn-lg { padding: 19px 38px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Top utility bar ---------- */
.utility-bar {
  background: var(--black); color: var(--gray-400); font-size: .82rem;
  padding: 8px 0;
}
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.utility-bar a { color: var(--green); font-weight: 600; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; }
.logo .mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; transform: skewX(-6deg);
}
.logo .sub { display:block; font-size: .55rem; font-weight: 600; letter-spacing: .28em; color: var(--gray-600); margin-top: -2px;}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 600; font-size: .93rem; position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--green); transition: width .25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display:flex; align-items:center; gap:8px; font-weight:700; font-family: var(--font-head); }
.nav-phone svg { width:18px; height:18px; color: var(--green-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display:block; width:26px; height:3px; background:var(--black); margin:5px 0; border-radius:3px; transition: all .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  overflow: hidden; color: var(--white);
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate(-1%, -1%); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,12,10,.92) 0%, rgba(10,12,10,.72) 38%, rgba(10,12,10,.35) 70%, rgba(10,12,10,.15) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-content h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--white); }
.hero-content .accent { color: var(--green); }
.hero-content p.lead { font-size: 1.2rem; color: rgba(255,255,255,.85); max-width: 560px; }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 22px; margin-top: 46px; flex-wrap: wrap; }
.hero-badges div { display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.85); }
.hero-badges svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.7); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
}
.scroll-cue .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: bounce 1.6s infinite; }
@keyframes bounce { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(10px);} }

/* ---------- Marquee (service area ticker) ---------- */
.marquee-strip { background: var(--black); overflow: hidden; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.marquee-track { display: flex; width: max-content; animation: scroll-left 32s linear infinite; }
.marquee-track span { display: flex; align-items: center; gap: 12px; color: var(--gray-400); font-family: var(--font-head); font-weight: 600; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; padding: 0 28px; white-space: nowrap; }
.marquee-track span .sep { color: var(--green); }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(.92); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-scale.in { opacity: 1; transform: scale(1); }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Sections generic ---------- */
.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-gray { background: var(--gray-50); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin: 0 0 48px; text-align: left; }
.section-head p { color: var(--gray-600); font-size: 1.08rem; }
.section-dark .section-head p { color: rgba(255,255,255,.7); }

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

.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.05);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.icon-badge {
  width: 58px; height: 58px; border-radius: 16px; background: var(--green-light); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge.solid { background: var(--green); color: var(--black); }
.service-card h3 { font-size: 1.2rem; }
.service-card p { color: var(--gray-600); font-size: .95rem; margin-bottom: 0; }
.service-card .learn { margin-top: 16px; font-weight: 700; font-size: .88rem; color: var(--green-dark); display:inline-flex; align-items:center; gap:6px; }
.service-card .learn svg { width:14px; height:14px; transition: transform .25s; }
.service-card:hover .learn svg { transform: translateX(4px); }

.checklist-card {
  background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.05);
}
.checklist-card ul li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--gray-800); padding: 7px 0; }
.checklist-card ul li svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* ---------- Stats ---------- */
.stat-row { display: flex; justify-content: space-around; text-align: center; flex-wrap: wrap; gap: 30px; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--green); }
.stat-label { font-size: .85rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.section:not(.section-dark) .stat-label { color: var(--gray-600); }
.section:not(.section-dark) .stat-num { color: var(--green-dark); }

/* ---------- Before / After slider ---------- */
.ba-slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; cursor: ew-resize; user-select: none; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-slider .ba-after { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 50% 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: var(--white); transform: translateX(-50%); box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.ba-handle::after {
  content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 44px; height: 44px; background: var(--green); color: var(--black); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: var(--shadow-md);
}
.ba-tag { position: absolute; top: 16px; z-index: 3; font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .08em; padding: 6px 14px; border-radius: 999px; text-transform: uppercase; }
.ba-tag.before { left: 16px; background: rgba(0,0,0,.7); color: var(--white); }
.ba-tag.after { right: 16px; background: var(--green); color: var(--black); }

/* ---------- Testimonials ---------- */
.testimonial-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.05); }
.stars { color: var(--green); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card p.quote { font-size: 1rem; color: var(--gray-800); font-style: italic; }
.testimonial-who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green-light); color: var(--green-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-head); }
.testimonial-who .name { font-weight: 700; font-size: .92rem; }
.testimonial-who .role { font-size: .8rem; color: var(--gray-600); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 10px; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--green);
  display: block; margin-bottom: 10px;
}
.step h4 { font-size: 1.02rem; }
.step p { color: var(--gray-600); font-size: .9rem; }

/* ---------- Photo showcase ---------- */
.showcase-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: 14px; }
.showcase-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; transition: transform .5s var(--ease), filter .5s; }
.showcase-grid a { overflow: hidden; border-radius: 14px; display:block; position:relative; }
.showcase-grid a:hover img { transform: scale(1.08); }
.showcase-grid a.big { grid-row: span 2; grid-column: span 2; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  border-radius: var(--radius-lg); padding: 60px; color: var(--black);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: rgba(255,255,255,.12); top: -160px; right: -100px;
}
.cta-banner h2 { color: var(--black); margin-bottom: 6px; }
.cta-banner p { color: rgba(0,0,0,.65); margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-lg); border: 1px solid rgba(0,0,0,.05); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 7px; color: var(--gray-800); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px; border: 1.5px solid var(--gray-100);
  background: var(--gray-50); font-family: var(--font-body); font-size: .95rem; transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: var(--white); }
.field textarea { resize: vertical; min-height: 100px; }
.field.check { display: flex; align-items: center; gap: 10px; }
.field.check input { width: 18px; height: 18px; }
.form-note { font-size: .78rem; color: var(--gray-600); text-align: center; margin-top: 14px; }
.form-success, .form-error { display: none; padding: 16px; border-radius: 10px; font-weight: 600; font-size: .92rem; margin-bottom: 16px; }
.form-success { background: var(--green-light); color: var(--green-dark); }
.form-error { background: #FDECEC; color: #B3261E; }

/* ---------- Sticky mobile call bar ---------- */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 600; background: var(--black); display: none; }
.sticky-cta .row { display: flex; }
.sticky-cta a { flex: 1; text-align: center; padding: 15px 0; font-family: var(--font-head); font-weight: 700; font-size: .92rem; }
.sticky-cta a.call { background: var(--green); color: var(--black); }
.sticky-cta a.quote { color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,.72); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid h4 { color: var(--white); font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid ul li { margin-bottom: 10px; font-size: .92rem; }
.footer-grid ul li a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; padding: 24px 0; font-size: .82rem; flex-wrap: wrap; gap: 10px; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .25s; }
.social-row a:hover { background: var(--green); color: var(--black); }

/* ---------- Badges / pills row ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--gray-100); padding: 9px 16px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--gray-800); }
.pill svg { width: 15px; height: 15px; color: var(--green-dark); }

/* ---------- Breadcrumb / page hero (inner pages) ---------- */
.page-hero { background: var(--black); color: var(--white); padding: 150px 0 70px; position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: rgba(255,255,255,.72); max-width: 600px; font-size: 1.05rem; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(92,179,56,.18), transparent 60%); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-10 { gap: 10px; }
.w-100 { width: 100%; }

/* ---------- Landing page specific ---------- */
.lp-header { position: sticky; top: 0; z-index: 500; background: var(--black); padding: 14px 0; }
.lp-header .container { display: flex; align-items: center; justify-content: space-between; }
.lp-header .logo { color: var(--white); }
.lp-banner-top { background: var(--green); color: var(--black); text-align: center; font-weight: 700; font-size: .85rem; padding: 9px 0; letter-spacing: .03em; }
.lp-hero { background: var(--black); color: var(--white); padding: 60px 0 90px; position: relative; overflow: hidden; }
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.lp-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4vw, 3.1rem); }
.lp-trust { display:flex; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.lp-trust div { font-size: .82rem; color: rgba(255,255,255,.75); display:flex; align-items:center; gap:8px; font-weight:600; }
.lp-trust svg { width:18px; height:18px; color: var(--green); }
.floating-badge {
  position: absolute; background: var(--white); color: var(--black); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-lg); font-family: var(--font-head); font-weight: 700;
  display: flex; align-items: center; gap: 12px; animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .lp-hero-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-links, .nav-phone-desktop { display: none; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 26px; }
  .sticky-cta { display: block; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  body { padding-bottom: 54px; }
  .showcase-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed; top: 0; right: -100%; width: min(340px, 86vw); height: 100vh; background: var(--white);
  z-index: 900; box-shadow: var(--shadow-lg); transition: right .35s var(--ease); padding: 28px 26px; overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav a { display: block; padding: 14px 0; font-weight: 700; font-size: 1.05rem; border-bottom: 1px solid var(--gray-100); }
.mobile-nav-close { float: right; font-size: 1.6rem; background: none; border: none; cursor: pointer; }
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 850; display: none; }
.mobile-overlay.open { display: block; }
