/* =========================
   Construcfy-like system
   Accent + neutrals inspired by Construcfy style guide
   Fonts: Mona Sans
   ========================= */

@font-face {
  font-family: 'Mona Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/mona-sans:vf@latest/latin-wght-normal.woff2)
    format('woff2-variations');
}

:root {
  --accent: #ffd43e;

  --n-800: #0e0e0e;
  --n-700: #2f2f2f;
  --n-600: #646464;
  --n-500: #939393;
  --n-400: #c5c5c5;
  --n-300: #e7e7e7;
  --n-200: #f4f4f4;
  --n-100: #ffffff;

  --container: 1180px;
  --radius: 18px;

  --shadow-sm: 0 8px 30px rgba(0, 0, 0, 0.10);
  --shadow-md: 0 16px 60px rgba(0, 0, 0, 0.14);

  --ease: cubic-bezier(.22,.9,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Mona Sans Variable', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--n-800);
  background: var(--n-100);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { color: var(--n-600); margin: 0; }
h1,h2,h3,h4 { margin: 0; letter-spacing: -0.02em; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 650;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--n-800);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: transparent;
  color: var(--n-800);
  border-color: var(--n-300);
}
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--n-400); }

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--n-300);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--n-700);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(10px);
}

.section { padding: 86px 0; }
.section-sm { padding: 56px 0; }

.kicker {
  font-weight: 650;
  color: var(--n-700);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.h1 {
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.05;
  font-weight: 800;
}
.h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 800;
}
.h3 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 750;
}

.lead {
  font-size: 18px;
  color: var(--n-600);
  max-width: 70ch;
}

.hr {
  height: 1px;
  background: var(--n-300);
  border: 0;
  margin: 0;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231,231,231,.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--accent);
  box-shadow: var(--shadow-sm);
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 18px;
}
.navlinks a {
  font-weight: 650;
  color: var(--n-700);
  padding: 10px 10px;
  border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.navlinks a:hover { background: var(--n-200); color: var(--n-800); }
.navlinks a.active { background: var(--n-200); color: var(--n-800); }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.burger {
  display: none;
  border: 1px solid var(--n-300);
  background: white;
  border-radius: 12px;
  padding: 10px 12px;
}

/* ===== Hero ===== */
.hero { padding: 70px 0 34px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
}
.hero-card {
  border: 1px solid var(--n-300);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: white;
}
.hero-media {
  height: 420px;
  background: #ddd;
  background-size: cover;
  background-position: center;
}
.hero-inner {
  padding: 22px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--n-300);
}
.hero-inner small { color: var(--n-600); }

/* ===== Blocks ===== */
.card {
  border: 1px solid var(--n-300);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 26px; }

.media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--n-300);
  box-shadow: var(--shadow-sm);
  background: #eee;
  min-height: 360px;
  background-size: cover;
  background-position: center;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.stat {
  border: 1px solid var(--n-300);
  border-radius: 16px;
  padding: 18px;
  background: white;
}
.stat strong {
  display: block;
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -0.02em;
}
.stat span { color: var(--n-600); font-weight: 600; }

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

/* ===== Services ===== */
.service {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--n-300);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service .icon {
  width: 46px; height: 46px;
  border-radius: 16px;
  background: var(--n-200);
  display: grid; place-items: center;
  font-weight: 900;
}

/* ===== Projects ===== */
.project {
  border: 1px solid var(--n-300);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.project .thumb {
  height: 260px;
  background-size: cover;
  background-position: center;
}
.project .info { padding: 18px; }
.project .meta { color: var(--n-500); font-weight: 650; font-size: 14px; }

/* ===== CTA band ===== */
.cta {
  background: var(--n-800);
  color: white;
  border-radius: 26px;
  padding: 34px;
  overflow: hidden;
  position: relative;
}
.cta:before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 20%, rgba(255,212,62,.35), transparent 55%),
              radial-gradient(circle at 80% 70%, rgba(255,212,62,.22), transparent 55%);
  transform: rotate(8deg);
}
.cta > * { position: relative; }
.cta p { color: rgba(255,255,255,.75); }
.cta .row {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ===== Page title ===== */
.page-title { padding: 46px 0 18px; }
.page-title .crumbs { color: var(--n-500); font-weight: 650; }

/* ===== Lists ===== */
.ul {
  margin: 12px 0 0 18px;
  color: var(--n-600);
  font-weight: 600;
  line-height: 1.9;
}

/* ===== Forms ===== */
.form { display: grid; gap: 12px; }
.input {
  width: 100%;
  border: 1px solid var(--n-300);
  border-radius: 14px;
  padding: 14px 14px;
  font: inherit;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input:focus {
  border-color: rgba(255,212,62,.9);
  box-shadow: 0 0 0 4px rgba(255,212,62,.22);
}
textarea.input { min-height: 120px; resize: vertical; }

/* ===== Footer ===== */
.footer {
  padding: 46px 0;
  border-top: 1px solid var(--n-300);
  background: var(--n-100);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 18px;
}
.footer small { color: var(--n-600); }
.footer a { color: var(--n-700); font-weight: 650; }
.footer a:hover { text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-media, .media { min-height: 300px; height: 320px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .navlinks { display: none; }
  .burger { display: inline-flex; }
  .nav.open .navlinks {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    background: white;
    border: 1px solid var(--n-300);
    border-radius: 18px;
    padding: 14px;
    box-shadow: var(--shadow-md);
  }
}

/* HERO button equal sizing */
.hero-actions .btn{
  min-width: 220px;
  justify-content: center;
}

/* KPI section spacing (appears quickly after hero) */
.section-kpis{
  padding: 36px 0 60px;
}

/* Premium KPI grid */
.kpi-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 10px;
}

.kpi{
  border:1px solid var(--n-300);
  border-radius: 18px;
  padding: 26px 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-align:center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.kpi:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.kpi .num{
  font-size: 44px;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1;
}

.kpi .num .suffix{
  font-size: 28px;
  font-weight: 850;
  vertical-align: top;
  margin-left: 2px;
}

.kpi .label{
  margin-top: 12px;
  font-size: 14px;
  color: var(--n-600);
  font-weight: 650;
}

@media (max-width: 980px){
  .kpi-grid{ grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn{ min-width: 200px; }
}

@media (max-width: 560px){
  .kpi-grid{ grid-template-columns: 1fr; }
  .hero-actions .btn{ width: 100%; min-width: unset; }
}
#highlights .kpi{
  text-align: center;
}

#highlights .kpi .label{
  white-space: nowrap;
  font-size: 14px;
  margin-top: 12px;
  color: var(--n-600);
  font-weight: 600;
}
