/* ===== DESIGN TOKENS ===== */
:root {
  --brand: #00A859;
  --brand-dark: #007b3d;
  --brand-light: #e6f9f0;
  --brand-teal: #b2e8d4;
  --accent: #F2994A;
  --bg: #ffffff;
  --bg-soft: #f4f7f5;
  --bg-dark: #0d1f15;
  --text: #1a1e23;
  --text-muted: #5a6872;
  --text-light: #8c9aa6;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 8px 32px rgba(0,40,20,0.08);
  --shadow-lg: 0 16px 48px rgba(0,40,20,0.12);
  --maxw: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 24px rgba(0,40,20,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 44px; height: 44px; flex-shrink: 0; }
.logo svg { width: 100%; height: 100%; }
.logo.small { width: 36px; height: 36px; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: 0.5px; color: var(--text); }
.main-nav { display: flex; gap: 8px; }
.main-nav a {
  padding: 8px 16px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 14px; color: var(--text-muted);
  transition: var(--transition);
}
.main-nav a:hover { color: var(--brand); background: var(--brand-light); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  transition: var(--transition);
}
.header-phone:hover { color: var(--brand); }
.btn-cta-sm {
  background: var(--brand); color: #fff; padding: 10px 20px;
  border-radius: var(--radius-pill); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.5px;
  transition: var(--transition);
}
.btn-cta-sm:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,168,89,0.3); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden; padding: 140px 0 80px;
  background: linear-gradient(165deg, var(--brand-light) 0%, #ddf5e9 40%, #f0faf5 100%);
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; opacity: 0.15; }
.shape-1 { width: 500px; height: 500px; top: -200px; right: -100px; background: var(--brand); animation: floatSlow 8s ease-in-out infinite; }
.shape-2 { width: 300px; height: 300px; bottom: -100px; left: -50px; background: var(--brand-dark); animation: floatSlow 10s ease-in-out infinite reverse; }
.shape-3 { width: 200px; height: 200px; top: 40%; left: 50%; background: var(--accent); animation: floatSlow 6s ease-in-out infinite; }
@keyframes floatSlow { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-text h1 {
  font-size: clamp(36px, 5vw, 56px); font-weight: 900; line-height: 1.1;
  color: var(--text); margin-bottom: 20px;
}
.hero-lead { font-size: 17px; color: var(--text-muted); margin-bottom: 32px; max-width: 520px; line-height: 1.7; }
.hero-buttons { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 16px 32px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 15px; text-transform: uppercase;
  letter-spacing: 0.5px; border: none; cursor: pointer;
  transition: var(--transition); box-shadow: 0 4px 16px rgba(242,153,74,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(242,153,74,0.4); }
.btn-link {
  font-weight: 700; font-size: 15px; color: var(--text);
  border-bottom: 2px solid var(--text); padding-bottom: 2px;
  transition: var(--transition);
}
.btn-link:hover { color: var(--brand); border-color: var(--brand); }
.center-link { display: block; text-align: center; margin-top: 32px; }
.hero-image { display: flex; justify-content: center; }
.hero-image img {
  width: 100%; max-width: 480px; border-radius: var(--radius);
  animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* ===== STATS ===== */
.stats-section { padding: 0; margin-top: -40px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  background: var(--bg-dark); color: #fff; border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stat-card.visible { opacity: 1; transform: translateY(0); }
.stat-card:nth-child(2) { transition-delay: 0.1s; }
.stat-card:nth-child(3) { transition-delay: 0.2s; }
.stat-card:nth-child(4) { transition-delay: 0.3s; }
.stat-icon { font-size: 32px; margin-bottom: 12px; }
.stat-number { font-size: 48px; font-weight: 900; color: var(--brand); margin-bottom: 8px; }
.stat-card p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* ===== AWARDS ===== */
.awards-section { padding: 80px 0; background: var(--bg); }
.awards-scroll {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.award-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius); padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow); transition: var(--transition);
  opacity: 0; transform: translateY(20px);
}
.award-card.visible { opacity: 1; transform: translateY(0); }
.award-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.award-icon { font-size: 40px; margin-bottom: 16px; }
.award-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.award-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ===== SERVICES / TIMELINE ===== */
.services-section { padding: 80px 0; background: var(--bg-soft); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-header h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 16px; }
.section-header p { font-size: 16px; color: var(--text-muted); }
.services-timeline {
  position: relative; max-width: 700px; margin: 0 auto;
  padding-left: 40px;
}
.services-timeline::before {
  content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(180deg, var(--brand), var(--brand-light));
  border-radius: 2px;
}
.timeline-item {
  position: relative; margin-bottom: 40px;
  opacity: 0; transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-item.visible { opacity: 1; transform: translateX(0); }
.timeline-item:nth-child(2) { transition-delay: 0.15s; }
.timeline-item:nth-child(3) { transition-delay: 0.3s; }
.timeline-item:nth-child(4) { transition-delay: 0.45s; }
.timeline-dot {
  position: absolute; left: -33px; top: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand); border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--brand);
}
.timeline-content {
  background: #fff; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); transition: var(--transition);
}
.timeline-content:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.timeline-phase {
  display: inline-block; background: var(--brand-light); color: var(--brand-dark);
  padding: 4px 14px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  margin-bottom: 12px;
}
.timeline-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.timeline-content p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== PILLS ===== */
.pills-section { padding: 80px 0; text-align: center; }
.pills-heading { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; margin-bottom: 40px; }
.pills-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.pill {
  display: inline-block; padding: 14px 28px; border-radius: var(--radius-pill);
  background: var(--brand); color: #fff; font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.3px;
  transition: var(--transition);
}
.pill:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,168,89,0.25); }

/* ===== PROJECTS ===== */
.projects-section { padding: 80px 0; background: var(--bg-soft); }
.projects-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.projects-left h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; margin-bottom: 16px; }
.projects-left p { color: var(--text-muted); margin-bottom: 28px; line-height: 1.7; }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.projects-grid .project-card:first-child { grid-column: span 2; }
.project-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
  opacity: 0; transform: translateY(20px);
}
.project-card.visible { opacity: 1; transform: translateY(0); }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-card img { width: 100%; height: 200px; object-fit: cover; }
.projects-grid .project-card:first-child img { height: 260px; }
.project-info { padding: 20px; }
.project-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.project-info p { font-size: 13px; color: var(--text-muted); }

/* ===== TOOLS ===== */
.tools-section { padding: 80px 0; text-align: center; }
.tools-section h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; margin-bottom: 40px; }
.tools-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.tool-item {
  background: #fff; border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-sm); padding: 18px 28px;
  font-weight: 600; font-size: 15px; color: var(--text);
  box-shadow: var(--shadow); transition: var(--transition);
  opacity: 0; transform: scale(0.9);
}
.tool-item.visible { opacity: 1; transform: scale(1); }
.tool-item:hover { transform: translateY(-3px) scale(1.02); border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow-lg); }

/* ===== CONTACT ===== */
.contact-section { padding: 80px 0; background: linear-gradient(135deg, var(--brand-light), #f0faf5); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 900; margin-bottom: 16px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { font-size: 24px; margin-top: 2px; }
.contact-item a { color: var(--brand); font-weight: 600; }
.contact-item a:hover { color: var(--brand-dark); }
.contact-form {
  background: #fff; border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 18px; border: 2px solid #e8edf2;
  border-radius: var(--radius-sm); font-family: inherit; font-size: 15px;
  transition: var(--transition); outline: none; background: #fafbfc;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 4px rgba(0,168,89,0.1);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.full-width { width: 100%; }

/* ===== FOOTER ===== */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-links a:hover { color: var(--brand); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; text-align: center; font-size: 13px;
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: var(--transition); position: relative; cursor: pointer;
}
.phone-btn { background: #e60808; color: #fff; }
.phone-btn:hover { transform: scale(1.1); }
.pulse-ring {
  position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid #e60808; animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%{transform:scale(0.8);opacity:0.8} 100%{transform:scale(1.4);opacity:0} }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .awards-scroll { grid-template-columns: repeat(2, 1fr); }
  .projects-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(16px);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 16px; opacity: 0; pointer-events: none;
    transition: var(--transition);
  }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav a { font-size: 20px; padding: 12px 24px; }
  .hamburger { display: flex; }
  .header-phone { display: none; }
  .btn-cta-sm { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 300px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .awards-scroll { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .projects-grid .project-card:first-child { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 60px; }
  .pills-grid { flex-direction: column; align-items: center; }
}
