:root {
  --bg: #050505;
  --bg-soft: #0d0f0d;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --primary: #00c853;
  --secondary: #1b5e20;
  --accent: #64dd17;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(0, 200, 83, 0.15), transparent 30%),
    radial-gradient(circle at bottom right, rgba(100, 221, 23, 0.1), transparent 26%),
    linear-gradient(180deg, #080808 0%, var(--bg) 100%);
  overflow-x: hidden;
}
body.light {
  --bg: #eef2ef;
  --bg-soft: #ffffff;
  --surface: rgba(0, 0, 0, 0.05);
  --surface-2: rgba(0, 0, 0, 0.08);
  --border: rgba(0, 0, 0, 0.1);
  --text: #0a120b;
  --muted: rgba(10, 18, 11, 0.72);
  background:
    radial-gradient(circle at top, rgba(0, 200, 83, 0.15), transparent 30%),
    linear-gradient(180deg, #f8fbf8 0%, #eef2ef 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
main { display: block; }
.section,
.footer,
.topbar,
.navbar {
  width: min(100%, 1440px);
  margin-inline: auto;
}
.section { padding: 100px min(5vw, 48px); position: relative; }
.section__heading { max-width: 900px; margin: 0 auto 32px; text-align: center; }
.section__heading h2, h1, h3, .navbar__brand strong, .footer__brand strong {
  font-family: 'Montserrat', sans-serif;
}
.section__heading h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 10px 0 0; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
  color: var(--accent);
}
.lead, p, span { color: var(--muted); }
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
}
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent)); z-index: 1000;
}
.topbar {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 10px min(5vw, 48px); font-size: 0.86rem; background: rgba(0,0,0,0.2);
  position: sticky; top: 4px; z-index: 900; backdrop-filter: blur(10px);
}
.topbar__meta, .footer, .footer__links, .socials, .hero__actions, .hero__stats, .panel-grid, .filter-bar {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.navbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px min(5vw, 48px); position: sticky; top: 0; z-index: 950;
  background: rgba(5,5,5,0.82); backdrop-filter: blur(22px); border-bottom: 1px solid var(--border);
}
body.light .navbar { background: rgba(238,242,239,0.82); }
.navbar__brand, .footer__brand {
  display: flex; align-items: center; gap: 12px;
}
.navbar__brand img, .footer__brand img, .loader__logo { width: 48px; height: 48px; }
.navbar__brand span, .footer__brand span { display: block; font-size: 0.78rem; }
.navbar__links {
  display: flex; align-items: center; gap: 22px;
}
.navbar__links a { position: relative; color: var(--muted); }
.navbar__links a.active, .navbar__links a:hover { color: var(--text); }
.navbar__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent)); transition: 0.3s ease;
}
.navbar__links a.active::after, .navbar__links a:hover::after { width: 100%; }
.theme-toggle, .nav-toggle, .back-to-top, .modal__close {
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  border-radius: 999px; display: inline-grid; place-items: center;
}
.theme-toggle { width: 44px; height: 44px; }
.nav-toggle { display: none; width: 48px; height: 48px; }
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--text); margin: 2px 0;
}
.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-top: 32px;
  padding-bottom: 48px;
}
.hero__content h1 {
  font-size: clamp(2.7rem, 6vw, 5.5rem); line-height: 0.96; margin: 16px 0 18px;
}
.hero__background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}
.typing-cursor {
  display: inline-block; width: 3px; height: 1em; background: var(--accent); margin-left: 8px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero__actions { margin: 28px 0; }
.btn, .filter-btn, .social-link {
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn {
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 600;
}
.btn--primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }
.btn--ghost { background: var(--surface); border-color: var(--border); }
.btn:hover, .filter-btn:hover, .social-link:hover, .back-to-top:hover { transform: translateY(-2px); }
.hero__stats {
  padding: 18px 20px; width: fit-content;
}
.hero__content {
  max-width: 760px;
}
.hero__stats div strong, .metric strong { display: block; font-size: 2rem; color: var(--text); }
.hero__visual {
  display: grid;
  gap: 18px;
  justify-self: end;
  width: min(100%, 560px);
  align-self: start;
}
.hero__portrait, .hero__panel, .timeline, .testimonial-slider, .contact-form, .contact-card, .map-placeholder { padding: 22px; }
.hero__portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  padding: 0;
}
.hero__portrait img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
}
.hero__panel {
  width: 100%;
}
.hero__badge {
  position: absolute; left: 18px; bottom: 18px; background: rgba(0,0,0,0.55);
  padding: 10px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px;
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 18px var(--primary); }
.particle, .float-icon {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.particle { background: rgba(100,221,23,0.15); filter: blur(2px); animation: drift 16s linear infinite; }
.particle--one { width: 90px; height: 90px; top: 10%; left: 6%; }
.particle--two { width: 120px; height: 120px; top: 26%; right: 10%; animation-duration: 20s; }
.particle--three { width: 70px; height: 70px; bottom: 18%; left: 26%; animation-duration: 18s; }
.float-icon { width: 58px; height: 58px; display: grid; place-items: center; background: rgba(255,255,255,0.04); border: 1px solid var(--border); animation: float 6s ease-in-out infinite; }
.float-icon--one { top: 12%; right: 8%; }
.float-icon--two { bottom: 8%; left: 8%; animation-delay: 1.1s; }
.float-icon--three { bottom: 24%; right: 16%; animation-delay: 2s; }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes drift { 50% { transform: translate3d(12px, -20px, 0); } }
.about-grid, .service-grid, .vision-grid, .contact-grid, .metrics-grid {
  display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card, .service-card, .metric { padding: 24px; }
.timeline { display: grid; gap: 18px; }
.timeline__item { padding-left: 18px; border-left: 1px solid var(--border); }
.timeline__year { color: var(--accent); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.12em; }
.skills { margin-top: 26px; padding: 24px; display: grid; gap: 18px; }
.skill span { display: block; margin-bottom: 10px; }
.bar {
  height: 12px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden;
}
.bar i {
  display: block; height: 100%; width: var(--value); border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent)); transform-origin: left; animation: grow 1.6s ease;
}
@keyframes grow { from { transform: scaleX(0.2); } to { transform: scaleX(1); } }
.filter-btn {
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text);
}
.filter-btn.active { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.gallery-grid {
  display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.gallery-item {
  border: 0; padding: 0; background: transparent; overflow: hidden; border-radius: 24px; position: relative;
}
.gallery-item img {
  width: 100%; height: 100%; aspect-ratio: 1.05; object-fit: cover; transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.testimonial-slider { position: relative; min-height: 240px; overflow: hidden; }
.testimonial {
  position: absolute; inset: 24px; opacity: 0; transform: translateX(28px); transition: all 0.6s ease;
  display: grid; align-content: center; gap: 16px;
}
.testimonial.active { opacity: 1; transform: translateX(0); }
.contact-grid { align-items: start; grid-template-columns: 1fr 0.9fr; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.03); color: var(--text);
}
.form-status { min-height: 24px; }
.contact-panel { display: grid; gap: 18px; }
.map-box {
  min-height: 260px;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 16px;
  background: linear-gradient(135deg, rgba(0,200,83,0.18), rgba(27,94,32,0.18));
  border: 1px dashed var(--border);
}
.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}
.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  width: fit-content;
}
.socials { align-items: center; }
.social-link {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); display: grid; place-items: center;
}
.footer {
  padding: 24px min(5vw, 48px) 42px; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); margin-top: 40px;
}
.back-to-top { width: 46px; height: 46px; }
.loader {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: #050505; transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader__card { padding: 28px; width: min(420px, 90vw); display: grid; place-items: center; gap: 18px; text-align: center; }
.loader__ring {
  width: 84px; height: 84px; border-radius: 50%; border: 4px solid rgba(255,255,255,0.1); border-top-color: var(--primary); animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader__status { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.cursor, .cursor--outer {
  position: fixed; top: 0; left: 0; border-radius: 50%; pointer-events: none; z-index: 3000;
}
.cursor { width: 10px; height: 10px; background: var(--accent); transform: translate(-50%, -50%); }
.cursor--outer { width: 34px; height: 34px; border: 1px solid rgba(100,221,23,0.6); transform: translate(-50%, -50%); }
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.9); display: grid; place-items: center; z-index: 2500;
  opacity: 0; visibility: hidden; transition: 0.3s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal img { width: min(92vw, 920px); max-height: 84vh; object-fit: contain; }
.modal__close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.ripple { position: relative; overflow: hidden; }
.ripple span.ripple-effect {
  position: absolute; border-radius: 50%; transform: scale(0); animation: ripple 0.6s linear; background: rgba(255,255,255,0.35);
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@media (max-width: 1100px) {
  .hero,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-grid, .service-grid, .vision-grid, .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__content {
    max-width: 100%;
  }
  .hero__visual {
    justify-self: start;
    width: min(100%, 720px);
  }
}

@media (max-width: 900px) {
  .navbar {
    position: sticky;
    top: 0;
    display: flex;
    flex-wrap: nowrap;
  }

  .navbar__links {
    width: 100%;
    border-top: 1px solid var(--border);
  }

  .hero__content h1 {
    font-size: clamp(2.4rem, 8vw, 4rem);
  }

  .hero__stats div strong,
  .metric strong {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .navbar {
    width: 100%;
    border-radius: 0;
    padding: 14px 18px;
    gap: 12px;
  }
  .nav-toggle { display: inline-grid; }
  .navbar__links {
    position: absolute; top: 100%; left: 0; right: 0; background: inherit;
    padding: 18px 20px; display: grid; gap: 12px; transform: translateY(-20px);
    opacity: 0; visibility: hidden; pointer-events: none; transition: 0.3s ease;
  }
  .navbar__links.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .navbar__links a,
  .navbar__links .theme-toggle {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
  .navbar__links a {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
  }
  .navbar__links a::after {
    display: none;
  }
  .hero {
    min-height: 100svh;
    padding-top: 20px;
    padding-bottom: 36px;
    gap: 20px;
    align-content: start;
  }
  .hero__content h1 {
    font-size: clamp(2.1rem, 11vw, 3.3rem);
  }
  .hero__content,
  .hero__visual {
    width: 100%;
    max-width: 100%;
  }
  .hero__portrait {
    aspect-ratio: 1 / 1.12;
  }
  .hero__visual {
    gap: 14px;
  }
  .section {
    padding: 72px 16px;
  }
  .about-grid, .service-grid, .vision-grid, .metrics-grid, .gallery-grid { grid-template-columns: 1fr; }
  .hero__visual { width: 100%; }
  .hero__actions,
  .hero__stats {
    width: 100%;
  }
  .hero__stats {
    justify-content: space-between;
  }
  .hero__stats div {
    flex: 1 1 120px;
  }
  .socials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
  .social-link {
    width: 100%;
    min-height: 52px;
    border-radius: 16px;
  }
  .loader__card {
    width: min(360px, 92vw);
  }
  .footer { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .section {
    padding: 64px 14px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 16px;
    padding-bottom: 28px;
    gap: 16px;
  }

  .navbar__brand strong {
    font-size: 0.98rem;
  }

  .navbar__brand span {
    font-size: 0.7rem;
  }

  .hero__portrait {
    aspect-ratio: 0.9 / 1.08;
  }

  .hero__badge {
    left: 12px;
    bottom: 12px;
    font-size: 0.8rem;
    padding: 8px 10px;
  }

  .hero__stats {
    padding: 14px 16px;
    gap: 10px;
  }

  .hero__stats div {
    min-width: 84px;
  }

  .hero__stats div strong,
  .metric strong {
    font-size: 1.4rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero__actions {
    flex-direction: column;
  }

  .filter-bar,
  .socials,
  .panel-grid {
    gap: 10px;
  }
}
