:root {
  --green: #145c3a;
  --green-dark: #0b2e1f;
  --green-light: #e8f1ea;
  --lime: #8bc34a;
  --accent: #f28c28;
  --accent-dark: #d9731a;
  --cream: #f7f5ef;
  --ink: #1b2620;
  --muted: #5d6b63;
  --line: #e3e7e2;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 46, 31, .08);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Plus Jakarta Sans', var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; margin: 0 0 .6em; color: var(--green-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ico { width: 22px; height: 22px; flex-shrink: 0; }
.ico.sm { width: 16px; height: 16px; vertical-align: -3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: .2s; font-family: inherit; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--green-dark); }
.btn-outline { border-color: var(--green); color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }

/* Top bar & header */
.topbar { background: var(--green-dark); color: #cfe0d4; font-size: .85rem; }
.topbar-inner { display: flex; gap: 24px; padding: 8px 20px; flex-wrap: wrap; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: var(--shadow); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--green-dark); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--display); font-size: 1.35rem; letter-spacing: .06em; }
.brand-text small { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.brand-light, .brand-light .brand-text small { color: #fff; }
.brand-light .brand-text small { opacity: .75; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) { padding: 8px 14px; color: var(--ink); font-weight: 500; border-radius: 8px; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--green); background: var(--green-light); }
.nav-links .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--green-dark); cursor: pointer; padding: 8px; }
.nav-toggle .ico { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; min-height: 86vh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--green-dark) url('/uploads/3.jpeg') center/cover; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,35,23,.9) 0%, rgba(8,35,23,.65) 50%, rgba(8,35,23,.25) 100%); }
.hero-content { position: relative; max-width: 1200px; padding-top: 60px; padding-bottom: 60px; }
.hero h1 { color: #fff; max-width: 720px; }
.hero .lead { font-size: 1.15rem; max-width: 620px; color: #e3ece6; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.eyebrow.light { color: var(--lime); }

/* Stats */
.stats-band { background: var(--green); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--display); font-size: 2.2rem; color: #fff; }
.stat span { color: #cfe0d4; font-size: .92rem; }

/* Sections */
.section { padding: 90px 0; }
.section.alt { background: var(--cream); }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-head.center p { color: var(--muted); }
.section-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.section-head.row h2 { margin: 0; }

.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; color: var(--ink); transition: .25s; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.icon-badge { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--green-light); color: var(--green); margin-bottom: 18px; }
.icon-badge .ico { width: 26px; height: 26px; }
.icon-badge.accent { background: #fdecdc; color: var(--accent-dark); }
.service-card:hover .icon-badge { background: var(--green); color: #fff; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green); font-size: .9rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.img-main { border-radius: 20px; width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.img-main.tall { aspect-ratio: 4/5; }
.img-float { position: absolute; width: 42%; aspect-ratio: 3/4; object-fit: cover; right: -20px; bottom: -40px; border-radius: 16px; border: 6px solid #fff; box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checklist li { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.checklist .ico { color: #fff; background: var(--lime); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }

.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 14px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img, .gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); color: var(--ink); transition: .25s; display: flex; flex-direction: column; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-img { aspect-ratio: 16/10; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post-body time { font-size: .82rem; color: var(--accent-dark); font-weight: 600; }
.post-body h3 { margin: 6px 0 8px; }
.post-body p { color: var(--muted); font-size: .93rem; flex: 1; }

.cta { background: linear-gradient(120deg, var(--green-dark), var(--green)); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { color: #cfe0d4; margin: 0; max-width: 620px; }

/* Page hero */
.page-hero { position: relative; padding: 110px 0 80px; color: #fff; background: linear-gradient(rgba(8,35,23,.78), rgba(8,35,23,.78)), var(--bg) center/cover; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero p { color: #dce8e0; max-width: 680px; font-size: 1.08rem; margin: 0; }
.crumbs { font-size: .88rem; color: #b7cdbf; margin-bottom: 10px; }
.crumbs a { color: var(--lime); }
.crumbs span { margin: 0 6px; }

/* About */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.mv-card p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { text-align: center; padding: 20px; }
.value .icon-badge { margin-left: auto; margin-right: auto; }
.value p { color: var(--muted); font-size: .93rem; }

/* Services list */
.service-list { display: grid; gap: 60px; }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.service-row.rev .service-row-img { order: 2; }
.service-row-img img { border-radius: 18px; aspect-ratio: 16/11; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.lead-sm { color: var(--muted); font-size: 1.05rem; }

.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
.prose { font-size: 1.05rem; }
.prose p { color: #34423a; }
.detail-img { border-radius: 18px; margin-bottom: 30px; width: 100%; max-height: 480px; object-fit: cover; }
.sidebar { display: grid; gap: 22px; position: sticky; top: 100px; }
.side-box { background: var(--cream); border-radius: var(--radius); padding: 24px; }
.side-box.dark { background: var(--green-dark); color: #dce8e0; }
.side-box.dark h4 { color: #fff; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-weight: 500; flex-wrap: wrap; }
.side-links a small { width: 100%; color: var(--muted); font-weight: 400; font-size: .8rem; }
.side-links a:hover, .side-links a.active { background: #fff; color: var(--green); }

/* Gallery */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; justify-content: center; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; cursor: pointer; font: inherit; font-weight: 500; color: var(--ink); }
.chip.active, .chip:hover { background: var(--green); color: #fff; border-color: var(--green); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-grid figure[hidden] { display: none; }
.lightbox-trigger { display: block; width: 100%; aspect-ratio: 4/3; border: 0; padding: 0; cursor: zoom-in; overflow: hidden; background: var(--cream); }
.lightbox-trigger:hover img { transform: scale(1.05); }
.gallery-grid figcaption { padding: 14px 16px; font-size: .93rem; }
.tag { display: inline-block; background: var(--green-light); color: var(--green); font-size: .72rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; margin-right: 8px; text-transform: uppercase; letter-spacing: .05em; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 8px; }
.lightbox p { color: #fff; margin-top: 14px; text-align: center; }
.lightbox-close { position: absolute; top: 18px; right: 18px; background: none; border: 0; color: #fff; cursor: pointer; }
.lightbox-close .ico { width: 32px; height: 32px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; }
.contact-info > p { color: var(--muted); }
.info-item { display: flex; gap: 16px; margin-top: 22px; }
.info-item .icon-badge { margin: 0; width: 48px; height: 48px; }
.info-item p { margin: 0; color: var(--muted); }
.form-card { background: #fff; border-radius: 18px; padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 500; font-size: .92rem; }
input, select, textarea { font: inherit; padding: 12px 14px; border: 1px solid #d3dbd5; border-radius: 10px; background: #fbfcfb; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--lime); border-color: var(--green); background: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.alert.success { background: #e6f4ea; color: #145c3a; border: 1px solid #b9dfc5; }
.alert.error { background: #fdecea; color: #9b2c2c; border: 1px solid #f5c2bd; }
.empty, .center-text { text-align: center; color: var(--muted); }
.big-404 { font-size: 7rem; color: var(--green); margin: 0; }

/* Footer */
.site-footer { background: #0a2419; color: #b7cdbf; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #b7cdbf; }
.site-footer a:hover { color: var(--lime); }
.muted-light { color: #8fa898; margin-top: 16px; }
.contact-list li { display: flex; gap: 8px; align-items: flex-start; }
.contact-list .ico { margin-top: 4px; color: var(--lime); }
.socials { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; font-size: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom .muted-light { margin: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .cards-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 14px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav-links.open { display: flex; }
  .nav-links .btn { margin: 8px 0 0; justify-content: center; }
  .split, .service-row, .contact-grid, .mv-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-row.rev .service-row-img { order: 0; }
  .img-float { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .posts-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .topbar-inner { gap: 14px; padding: 8px 16px; font-size: .78rem; }
  
  .cards-grid, .values, .posts-grid, .gallery-grid, .footer-grid, .form-row, .checklist { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic figure:first-child { grid-row: auto; }
  .hero { min-height: 78vh; }
  .form-card { padding: 22px; }
}

/* Brand: official logo + full company name */
.topbar a { color: inherit; }
.topbar a:hover { color: #fff; }
.nav { height: 84px; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand-text strong { font-size: 1.45rem; letter-spacing: .08em; color: #1d4fa0; }
.brand-text small { font-size: .7rem; font-weight: 700; letter-spacing: .04em; color: var(--green); }
.footer-logo { background: #fff; border-radius: 50%; padding: 3px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: var(--lime); opacity: 1; }
.nav-links { gap: 2px; }
@media (max-width: 1080px) { .nav-links a:not(.btn) { padding: 8px 10px; } }
@media (max-width: 860px) { .nav-links { top: 84px; } }
@media (max-width: 560px) {
  .nav { height: 72px; }
  .nav-links { top: 72px; }
  .brand img { width: 48px; height: 48px; }
  .brand-text strong { font-size: 1.15rem; }
  .brand-text small { display: block; font-size: .56rem; letter-spacing: .02em; }
}

/* Company-profile content */
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 22px; }
.ticks li { position: relative; padding-left: 26px; color: #34423a; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.prose h3 { margin-top: 1.6em; font-size: 1.25rem; }
.callout { background: var(--green-light); border-left: 4px solid var(--green); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 0 0 1.6em; color: var(--green-dark); }
.callout strong { color: var(--green); }
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 22px; }
.facts div { background: var(--cream); border-radius: 12px; padding: 10px 16px; display: flex; flex-direction: column; line-height: 1.3; }
.facts small { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
.facts strong { color: var(--green-dark); }
.numbered-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.numbered { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.numbered .num { font-family: var(--display); font-weight: 800; font-size: 2rem; color: var(--accent); display: block; line-height: 1; margin-bottom: 10px; }
.numbered p { color: var(--muted); margin: 0; font-size: .95rem; }
.model-section { background: var(--green-dark); color: #cfe0d4; }
.model-section h2 { color: #fff; }
.model-section .section-head p { color: #b7cdbf; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 22px 18px; position: relative; }
.steps h3 { color: #fff; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; margin: 12px 0 6px; }
.steps p { font-size: .88rem; margin: 0; color: #b7cdbf; }
.step-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px 28px; }
.why { display: flex; gap: 14px; align-items: flex-start; }
.why > .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--green); color: #fff; margin-top: 2px; }
.why h3 { margin-bottom: 4px; }
.why p { color: var(--muted); font-size: .95rem; margin: 0; }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.list-card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.list-card .ticks { grid-template-columns: 1fr; }
.muted { color: var(--muted); }
.value-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.value-chips span { background: var(--green); color: #fff; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-family: var(--display); }
.value-chips span:nth-child(even) { background: var(--accent); }
.commit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.commit { background: #fff; border-radius: var(--radius); padding: 24px; border-top: 4px solid var(--accent); box-shadow: var(--shadow); }
.commit p { color: var(--muted); margin: 0; }
.footer-pillars { text-align: center; font-size: .74rem; letter-spacing: .12em; color: var(--lime); padding: 0 20px 18px; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .numbered-grid, .commit-grid { grid-template-columns: 1fr 1fr; } .two-lists { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .numbered-grid, .commit-grid, .steps { grid-template-columns: 1fr; } .why-grid { grid-template-columns: 1fr; } .list-card { padding: 22px; } }
.side-links a > span { flex: 1; min-width: 0; }
.side-links a > .ico { margin-top: 3px; align-self: flex-start; }
