:root {
  --primary: #00AE69;
  --secondary: #008A59;
  --text: #231F20;
  --muted: #66736f;
  --line: #dfe9e5;
  --soft: #f3fbf7;
  --dark: #111816;
  --white: #fff;
}

* { box-sizing: border-box; }

body {
  font-family: Poppins, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--secondary); text-decoration: none; }
a:hover { color: var(--primary); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--dark);
  color: #fff;
  padding: 10px 14px;
  z-index: 10;
}

.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.navbar-brand img { width: 190px; height: auto; }
.nav-link { font-weight: 600; color: var(--text); font-size: 14px; }
.nav-link.active, .nav-link:hover { color: var(--primary); }

.btn {
  border-radius: 6px;
  font-weight: 700;
  padding: 12px 18px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.btn-brand {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0,174,105,.22);
}

.btn-brand:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0,138,89,.28);
}

.btn-outline-brand {
  border: 1px solid var(--primary);
  color: var(--secondary);
  background: #fff;
}

.btn-outline-brand:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.hero {
  padding: 96px 0 72px;
  background: linear-gradient(135deg,#fff 0%,#f2fbf7 58%,#e2f7ee 100%);
  overflow: hidden;
  position: relative;
}

.hero:before {
  content: "";
  position: absolute;
  inset: -40% auto auto 54%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle,rgba(0,174,105,.12),transparent 64%);
  animation: softPulse 7s ease-in-out infinite;
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
  margin-bottom: 14px;
}

.eyebrow:before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(0,174,105,.12);
}

.animated-eyebrow {
  animation: slideFadeUp .7s ease both;
}

.hero h1 {
  font-size: clamp(38px,5vw,68px);
  line-height: 1.05;
  font-weight: 800;
  max-width: 900px;
  letter-spacing: 0;
}

.hero-title {
  position: relative;
  animation: slideFadeUp .85s ease .08s both;
}

.hero-title:after {
  content: "";
  display: block;
  width: min(260px,58vw);
  height: 5px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg,var(--primary),rgba(0,174,105,0));
  transform-origin: left center;
  animation: growLine 1s ease .55s both;
}

.hero-lead {
  font-size: clamp(17px,2vw,21px);
  color: #40504b;
  max-width: 760px;
  margin: 22px 0 30px;
}

.animated-copy {
  animation: slideFadeUp .85s ease .18s both;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-actions .btn-brand {
  animation: ctaPulse 2.8s ease-in-out 1.2s infinite;
}

.hero-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 24px 60px rgba(0,75,49,.12);
  position: relative;
}

.hero-icon { width: 112px; border-radius: 24px; margin-bottom: 24px; animation: floatIcon 4s ease-in-out infinite; }
.hero-panel h2 { font-size: 28px; font-weight: 800; line-height: 1.2; }

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.mini-grid span {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  font-weight: 700;
  color: var(--secondary);
  font-size: 13px;
  animation: softBlink 4s ease-in-out infinite;
}

.mini-grid span:nth-child(2) { animation-delay: .35s; }
.mini-grid span:nth-child(3) { animation-delay: .7s; }
.mini-grid span:nth-child(4) { animation-delay: 1.05s; }

.animated-points span {
  transform: translateY(8px);
  opacity: 0;
  animation: pointIn .6s ease both, softBlink 4s ease-in-out 1s infinite;
}

.animated-points span:nth-child(1) { animation-delay: .55s, 1.2s; }
.animated-points span:nth-child(2) { animation-delay: .7s, 1.55s; }
.animated-points span:nth-child(3) { animation-delay: .85s, 1.9s; }
.animated-points span:nth-child(4) { animation-delay: 1s, 2.25s; }

.section { padding: 84px 0; }
.section.alt { background: var(--soft); }
.narrow { max-width: 850px; }
.section-head { max-width: 780px; margin-bottom: 38px; }

.section-head h2,
.section h2 {
  font-weight: 800;
  line-height: 1.18;
  font-size: clamp(28px,3vw,42px);
  letter-spacing: 0;
}

.section-head p,
.section p { color: var(--muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.service-card,
.feature,
.insight-card,
.portfolio-grid article,
.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 18px 46px rgba(22,61,48,.07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover,
.feature:hover,
.insight-card:hover,
.portfolio-grid article:hover,
.contact-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(0,174,105,.32);
  box-shadow: 0 24px 56px rgba(22,61,48,.12);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: linear-gradient(135deg,var(--primary),var(--secondary));
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 12px 26px rgba(0,138,89,.18);
  margin-bottom: 18px;
  transition: transform .3s ease, background .3s ease;
}

.service-icon img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.service-card:hover .service-icon {
  transform: rotate(-3deg) scale(1.05);
  background: linear-gradient(135deg,var(--secondary),var(--primary));
}

.service-card h3,
.feature h3,
.timeline h3,
.insight-card h3 {
  font-size: 20px;
  font-weight: 800;
}

.service-card a { font-weight: 800; }

.split {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 42px;
  align-items: center;
}

.check-list {
  padding-left: 0;
  list-style: none;
  margin: 24px 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
  font-weight: 600;
}

.check-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.timeline div {
  background: #fff;
  border-left: 4px solid var(--primary);
  padding: 24px;
  border-radius: 8px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.timeline div:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(22,61,48,.09);
}

.timeline strong { color: var(--primary); font-size: 28px; }
.award-section { background: #f8fffb; }
.award-card { text-align: center; }
.award-card img { width: 120px; border-radius: 26px; margin-bottom: 12px; }
.award-card strong { display: block; font-size: 56px; color: var(--primary); line-height: 1; }

.featured-section { background: #fff; }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 18px;
}

.featured-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(22,61,48,.07);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.featured-logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,174,105,.45);
  box-shadow: 0 24px 54px rgba(0,138,89,.12);
}

.featured-logo-card img {
  display: block;
  max-width: 170px;
  width: 100%;
  max-height: 54px;
  object-fit: contain;
}

.ceo-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 46px;
  align-items: center;
}

.ceo-photo-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
  box-shadow: 0 24px 60px rgba(22,61,48,.16);
  border: 1px solid var(--line);
}

.ceo-photo-card:after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(0deg,rgba(0,138,89,.32),transparent);
}

.ceo-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.ceo-section blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 24px;
  margin: 24px 0;
}

.signature { font-weight: 800; color: var(--text)!important; }
.signature span { font-weight: 500; color: var(--muted); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 22px;
}

.contact-form { display: grid; gap: 14px; }
.contact-form label { font-weight: 700; color: var(--text); }

.form-alert {
  border-radius: 6px;
  padding: 14px 16px;
  margin: 18px 0;
  font-weight: 700;
}

.form-alert.success {
  background: #e7f8ef;
  border: 1px solid rgba(0,174,105,.28);
  color: var(--secondary);
}

.form-alert.error {
  background: #fff1f1;
  border: 1px solid rgba(190,37,37,.25);
  color: #8d1f1f;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: 8px!important;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-button { font-weight: 800; }
.accordion-button:not(.collapsed) { background: var(--soft); color: var(--secondary); }

.cta-band {
  background: linear-gradient(135deg,var(--secondary),var(--primary));
  color: #fff;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.cta-band:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,transparent,rgba(255,255,255,.18),transparent);
  transform: translateX(-100%);
  animation: sheen 6s ease-in-out infinite;
}

.cta-band h2 { font-size: 32px; font-weight: 800; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); }
.cta-band .container { position: relative; z-index: 1; }

.site-footer {
  background: #101614;
  color: #dce7e2;
  padding: 58px 0 22px;
}

.site-footer h2 { font-size: 18px; color: #fff; font-weight: 800; }
.site-footer a { display: block; color: #dce7e2; margin: 8px 0; }
.footer-logo { width: 230px; margin-bottom: 18px; }

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.site-footer .social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  color: #fff;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.site-footer .social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.social-links img {
  display: block;
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 36px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom a { display: inline; }

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(0,138,89,.35);
  z-index: 30;
  animation: whatsappBreathe 2.6s ease-in-out infinite;
}

.whatsapp-float:hover { color: #fff; background: var(--secondary); }

.whatsapp-float img {
  display: block;
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.reveal {
  opacity: 0;
  transform: translateY(22px) scale(.985);
  transition: opacity .72s ease, transform .72s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

@keyframes slideFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes growLine {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 12px 26px rgba(0,174,105,.22); }
  50% { box-shadow: 0 16px 38px rgba(0,174,105,.36); }
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pointIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes softBlink {
  0%, 100% { border-color: var(--line); }
  50% { border-color: rgba(0,174,105,.45); }
}

@keyframes softPulse {
  0%, 100% { transform: scale(1); opacity: .65; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes sheen {
  0%, 70% { transform: translateX(-110%); }
  100% { transform: translateX(110%); }
}

@keyframes whatsappBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@media (max-width: 991px) {
  .hero { padding: 72px 0 48px; }
  .service-grid,
  .timeline,
  .split,
  .portfolio-grid,
  .ceo-layout { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .ceo-photo-card { max-width: 520px; }
  .navbar-brand img { width: 165px; }
  .section { padding: 64px 0; }
  .navbar-collapse {
    padding: 14px 0 18px;
  }
  .nav-link {
    padding: 10px 0;
  }
  .hero:before {
    width: 360px;
    height: 360px;
    inset: -20% -20% auto auto;
  }
}

@media (max-width: 575px) {
  body { font-size: 15px; }
  .hero { padding: 54px 0 42px; }
  .hero h1 { font-size: clamp(34px,11vw,46px); }
  .hero-title:after { height: 4px; margin-top: 14px; }
  .hero-lead { font-size: 16px; margin: 18px 0 24px; }
  .hero-actions .btn { width: 100%; }
  .mini-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .hero-panel { padding: 24px; }
  .hero-icon { width: 86px; border-radius: 18px; }
  .hero-panel h2 { font-size: 23px; }
  .section-head { margin-bottom: 26px; }
  .section-head h2,
  .section h2 { font-size: clamp(25px,8vw,34px); }
  .service-grid { gap: 16px; }
  .service-card,
  .feature,
  .insight-card,
  .portfolio-grid article,
  .contact-panel { padding: 22px; }
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float img {
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
