:root{
  --bg: #f6fbf9;
  --surface: #ffffff;
  --primary: #07a28a;
  --primary-700:#059173;
  --muted:#6b7280;
  --text:#0f1724;
  --accent:#ff6b35;
  --radius:14px;
  --container:1200px;
  --glass: rgba(255,255,255,0.7);
}

/* Basic reset */
*{box-sizing:border-box}
html,body{height:100%}
body{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
  margin:0;
  color:var(--text);
  background:linear-gradient(180deg,#f0fdfa 0%, #f6fbf9 100%);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
  -webkit-text-size-adjust:100%;
}

/* Utility */
.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:28px;
}

/* Skip link */
.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:12px;top:12px;width:auto;height:auto;padding:8px 12px;background:#000;color:#fff;border-radius:6px;z-index:9999;
}

/* Header */
.site-header{
  position:sticky;top:0;z-index:80;
  background:rgba(255,255,255,0.8);
  backdrop-filter: blur(8px);
  border-bottom:1px solid rgba(15,23,36,0.06);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text)}
.brand-logo{
  width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,var(--primary),#3ad37a);display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:700;
}
.brand-title{font-weight:700;font-size:18px}

/* Nav */
.primary-nav{display:flex;align-items:center;gap:20px}
.primary-nav ul{list-style:none;display:flex;gap:18px;margin:0;padding:0}
.primary-nav a{color:var(--text);text-decoration:none;font-weight:600}
.primary-nav .cta{padding:10px 18px;border-radius:999px;background:linear-gradient(135deg,var(--primary),#3ad37a);color:#fff;text-decoration:none;font-weight:700;box-shadow:0 8px 24px rgba(7,162,138,0.12)}

/* Hamburger */
.nav-toggle{display:none;background:transparent;border:0;padding:8px;cursor:pointer}
.hamburger{display:block;width:22px;height:2px;background:var(--text);position:relative;border-radius:2px}
.hamburger::before,.hamburger::after{content:"";position:absolute;left:0;height:2px;width:22px;background:var(--text);border-radius:2px}
.hamburger::before{top:-7px}
.hamburger::after{top:7px}

/* HERO */
.hero{padding:72px 0;display:grid;align-items:center}
.hero-grid{display:grid;grid-template-columns:1fr 420px;gap:28px;align-items:center}
.hero-left h1{font-size:clamp(30px,4.6vw,48px);line-height:1.02;margin-bottom:14px;color:var(--text)}
.lead{color:rgba(15,23,36,0.85);margin-bottom:20px;font-size:18px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;gap:10px;padding:12px 18px;border-radius:10px;text-decoration:none;font-weight:700}
.btn-primary{background:linear-gradient(135deg,var(--primary),#3ad37a);color:#fff;box-shadow:0 12px 30px rgba(7,162,138,0.12)}
.btn-outline{background:transparent;border:2px solid rgba(15,23,36,0.06);color:var(--text)}

/* Floating cards */
.hero-right{display:flex;align-items:center;justify-content:center}
.hero-cards{display:grid;grid-template-columns:repeat(1,1fr);gap:14px;position:relative}
.card{background:var(--surface);border-radius:14px;padding:16px 18px;box-shadow:0 18px 40px rgba(2,6,23,0.06);width:220px}
.card-value{font-size:22px;font-weight:800;color:var(--primary)}
.card-label{font-size:13px;color:var(--muted);margin-top:6px}
.floating{transform:translateY(0);animation:float 6s ease-in-out infinite;opacity:0;animation-fill-mode:forwards;animation-delay:var(--delay)}
@keyframes float{0%{transform:translateY(0)}50%{transform:translateY(-10px)}100%{transform:translateY(0)}}

/* SECTIONS */
.section{padding:56px 0}
.section-header{text-align:center;margin-bottom:28px}
.kicker{display:inline-block;padding:6px 14px;border-radius:999px;background:rgba(7,162,138,0.08);color:var(--primary);font-weight:700;font-size:13px;letter-spacing:.6px}
.section-title{font-size:28px;margin:14px 0;font-weight:800}
.section-sub{color:var(--muted);max-width:760px;margin:0 auto}

/* SERVICES GRID */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
.service{background:var(--surface);padding:20px;border-radius:14px;box-shadow:0 12px 30px rgba(2,6,23,0.04)}
.service-icon{width:56px;height:56px;border-radius:10px;background:linear-gradient(135deg,var(--primary),#3ad37a);display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:12px}
.service-list{list-style:none;padding-left:0;margin-top:10px;color:var(--muted)}

/* VIDEO GRID */
.section-video {
  padding: 80px 28px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Video container and player */
.video-container {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
  background: #000;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: none;
  border-radius: var(--radius);
  background: #000;
}

/* Caption */
.video-caption {
  text-align: center;
  font-weight: 600;
  padding: 18px 16px;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.4;
}

/* Tablet optimization */
@media (max-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
  }
}

/* Mobile optimization */
@media (max-width: 768px) {
  .section-video {
    padding: 60px 20px;
  }
  .video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .video-container:hover {
    transform: none;
  }
}

@media (max-width: 480px) {
  .section-video {
    padding: 48px 16px;
  }
  .video-grid {
    gap: 20px;
  }
  .video-container {
    border-radius: 12px;
  }
  .video-caption {
    font-size: 0.95rem;
    padding: 14px 12px;
  }
}

/* CAROUSEL */
.carousel{display:flex;align-items:center;gap:10px;margin-top:18px}
.carousel-arrow{border:0;background:transparent;font-size:28px;cursor:pointer;padding:8px}
.carousel-track{display:flex;gap:12px;overflow:auto;padding:6px;scroll-snap-type:x proximity}
.project-card{flex:0 0 320px;background:var(--surface);padding:18px;border-radius:12px;box-shadow:0 10px 30px rgba(2,6,23,0.04);scroll-snap-align:start}
.project-media{height:160px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:48px;background:linear-gradient(135deg,var(--primary),#3ad37a);color:#fff;margin-bottom:12px}

/* STATS GRID */
.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}
.stat-card{background:linear-gradient(180deg,#ffffff, #f9fffb);padding:18px;border-radius:12px;text-align:center;box-shadow:0 10px 30px rgba(2,6,23,0.04)}
.stat-number{font-size:36px;font-weight:900;color:var(--primary);}

/* CONTACT */
.contact-panel{display:grid;grid-template-columns:1fr 340px;gap:20px;align-items:start}
.contact-form label{display:block;margin-bottom:12px;font-weight:600;color:var(--muted)}
.contact-form input,.contact-form textarea{width:100%;padding:12px;border-radius:10px;border:1px solid #e7eef0;font-size:14px}
.form-actions{display:flex;gap:12px;align-items:center;margin-top:8px}
.form-feedback{font-size:14px;color:var(--muted)}

.contact-info{background:linear-gradient(180deg,#fbfcfd,#f7f9fa);padding:18px;border-radius:12px}

/* FOOTER */
.site-footer{padding:28px 0;text-align:center;color:rgba(15,23,36,0.6);border-top:1px solid rgba(15,23,36,0.04);margin-top:28px}

/* Animations helpers (hidden until activated) */
.anim-block{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease}
.anim-block.is-visible{opacity:1;transform:none}
[data-anim="fade-in"]{transform:none}
[data-anim="fade-up"]{transform:translateY(18px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.9,.2,1);}
[data-anim="slide-left"]{transform:translateX(24px)}
[data-anim="slide-up"]{transform:translateY(18px)}
[data-anim="pop"]{transform:scale(.98);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.9,.2,1);}

/* RESPONSIVE */
@media (max-width:1000px){
  .hero-grid{grid-template-columns:1fr 300px}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .primary-nav ul{display:none}
  .nav-toggle{display:block}
  .primary-nav{position:fixed;inset:auto 0 0 0;background:linear-gradient(180deg,#fff,#f8fff8);padding:22px;border-top:1px solid rgba(0,0,0,0.06);transform:translateY(110%);transition:transform .28s cubic-bezier(.2,.9,.2,1);flex-direction:column;gap:18px}
  .primary-nav.open{transform:none}
  .primary-nav .cta{align-self:flex-start}
  .carousel-track{scrollbar-width:thin}
}

@media (max-width:700px){
  .container{padding:18px}
  .hero-grid{grid-template-columns:1fr}
  .hero-right{order:2}
  .services-grid{grid-template-columns:1fr}
  .contact-panel{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:1fr}
  .section-title{font-size:22px}
}