:root {
  --green: #0b3d2e;
  --green-light: #14523f;
  --gold: #f5b400;
  --gold-light: #ffd24d;
  --red: #e8453c;
  --text-muted: #6b7a76;
  --white: #ffffff;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--green);
  background: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.text-accent { color: var(--gold); }
.text-italic { font-style: italic; }

/* ===== SCROLL PROGRESS ===== */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--red));
  z-index: 999;
  transition: width .1s ease;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  white-space: nowrap;
  transition: opacity .2s ease, transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(11,61,46,.25);
}

.btn--primary {
  background: var(--green);
  color: var(--white);
}
.btn__circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.btn:hover .btn__circle { transform: rotate(45deg); }

.btn--outline-light {
  background: var(--white);
  color: var(--green);
  padding: 12px 26px;
}

.btn--outline-dark {
  border: 1.5px solid var(--green);
  color: var(--green);
  padding: 12px 26px;
}
.btn--outline-dark:hover { background: var(--green); color: var(--white); }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green);
  padding: 14px 0;
  transition: padding .3s ease, box-shadow .3s ease;
}
.header.scrolled {
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
}
.logo__icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo__img {
  height: 62px;
  width: auto;
}
.logo--footer .logo__img {
  height: 78px;
}
.dot { color: var(--gold); }

.nav {
  display: flex;
  gap: 32px;
}
.nav__link {
  color: #d8e0dc;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color .2s ease;
}
.nav__link:hover { color: var(--gold); }
.nav__link.active { color: var(--gold); }
.nav__link.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

/* ===== HERO ===== */
.hero {
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero__bg-shape {
  position: absolute;
  top: -120px; left: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(245,180,0,.18), transparent 70%);
  border-radius: 50%;
  animation: float-slow 8s ease-in-out infinite;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.tag-box {
  display: inline-block;
  border: 1.5px dashed var(--green);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 22px;
  position: relative;
}
.tag-box::before, .tag-box::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: var(--gold);
  border: 1px solid var(--green);
  top: -4px;
}
.tag-box::before { left: -4px; }
.tag-box::after { right: -4px; }

.hero__title {
  font-size: 44px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero__desc {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 460px;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__mini-stats {
  display: flex;
  gap: 36px;
}
.hero__mini-stats div {
  display: flex;
  flex-direction: column;
}
.hero__mini-stats strong {
  font-size: 26px;
  font-weight: 800;
  color: var(--green);
}
.hero__mini-stats span {
  font-size: 12px;
  color: var(--text-muted);
}

.hero__media {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 420px;
  align-items: center;
}
.hero__blob {
  position: absolute;
  width: 340px;
  height: 380px;
  background: var(--gold);
  border-radius: 50% 50% 45% 55% / 55% 50% 50% 45%;
  top: 10px;
  right: 40px;
  z-index: 0;
  animation: morph 8s ease-in-out infinite;
}
.hero__photo {
  position: relative;
  z-index: 1;
  width: 420px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(11,61,46,.25));
}

.mockup {
  position: relative;
  z-index: 1;
  width: 320px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(11,61,46,.25);
  padding: 26px 24px;
  animation: float-slow 6s ease-in-out infinite;
}
.mockup__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}
.mockup__dot--red { background: var(--red); }
.mockup__dot--yellow { background: var(--gold); }
.mockup__dot--green { background: var(--green); }
.mockup__line {
  height: 10px;
  border-radius: 6px;
  background: #e7ecea;
  margin-top: 18px;
}
.mockup__line--accent { background: var(--gold); }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  z-index: 2;
  animation: float-slow 5s ease-in-out infinite;
}
.float-card--1 { top: 0; left: -10px; animation-delay: .2s; }
.float-card--2 { bottom: 60px; left: -30px; animation-delay: 1s; }
.float-card--3 { bottom: 0; right: -10px; animation-delay: .5s; }

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes morph {
  0%, 100% { border-radius: 50% 50% 45% 55% / 55% 50% 50% 45%; }
  50% { border-radius: 45% 55% 50% 50% / 50% 45% 55% 50%; }
}

/* ===== MARQUEE ===== */
.marquee {
  position: relative;
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 55%, var(--gold-light));
  border-top: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  overflow: hidden;
  padding: 20px 0;
  box-shadow: inset 0 10px 18px -12px rgba(11,61,46,.35), inset 0 -10px 18px -12px rgba(11,61,46,.35);
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--gold) 20%, transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--gold) 20%, transparent); }
.marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-weight: 700;
  font-size: 19px;
  color: var(--green);
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  padding: 8px 28px;
  position: relative;
  transition: color .25s ease;
}
.marquee__track span:hover { color: var(--white); }
.marquee__track i {
  font-style: normal;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--gold);
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== PARTNERS ===== */
.partners { padding: 60px 0 0; text-align: center; }
.partners__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.marquee--partners {
  background: var(--white);
  border-top: none;
  border-bottom: none;
  padding: 0 0 60px;
}
.marquee__track--partners {
  animation-duration: 26s;
  gap: 50px;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 10px;
  transition: opacity .25s ease, transform .25s ease;
  opacity: .6;
  filter: grayscale(1);
}
.partner-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-4px);
}

/* ===== SECTION HEAD ===== */
.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--green);
  margin-bottom: 10px;
}
.section-label span { color: var(--gold); font-size: 18px; }
.section-label--light { color: var(--white); justify-content: center; }

.section-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
}
.section-title--light { color: var(--white); }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
  gap: 24px;
}
.section-head--center {
  flex-direction: column;
  text-align: center;
  align-items: center;
}
.projects__subtitle {
  color: var(--text-muted);
  max-width: 520px;
  margin-top: 12px;
  font-size: 15px;
}

/* ===== SERVICES ===== */
.services { padding: 90px 0; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #f6f7f6;
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(11,61,46,.12);
  background: var(--white);
}
.service-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background .3s ease, transform .3s ease;
}
.service-card:hover .service-card__icon {
  background: var(--gold);
  transform: rotate(-8deg) scale(1.08);
}
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.learn-more {
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s ease;
}
.learn-more:hover { gap: 10px; }
.learn-more span { color: var(--gold); }

/* ===== PROJECTS ===== */
.projects { padding: 90px 0; background: #f9faf9; }
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11,61,46,.06);
  transition: transform .35s ease, box-shadow .35s ease;
  cursor: pointer;
}
.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 48px rgba(11,61,46,.18);
}
.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  transition: gap .2s ease;
}
.project-card__link span { color: var(--gold); }
.project-card:hover .project-card__link { gap: 10px; }
.project-card__top {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 1px;
}
.project-card__body { padding: 24px 26px; }
.project-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: #eaf3ee;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.project-card h3 { font-size: 19px; margin-bottom: 8px; }
.project-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.projects__more {
  text-align: center;
  margin-top: 40px;
  font-weight: 600;
  color: var(--green);
}

/* ===== ABOUT ===== */
.about { background: var(--green); padding: 110px 0; overflow: hidden; }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.about__media {
  position: relative;
  display: flex;
  justify-content: center;
}
.about__circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: morph 9s ease-in-out infinite;
}
.about__circle-text {
  font-size: 64px;
  font-weight: 800;
  color: var(--green);
}

.pill {
  position: absolute;
  background: var(--white);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(0,0,0,.15);
  white-space: nowrap;
  animation: float-slow 5s ease-in-out infinite;
}
.pill--1 { top: 6%; right: 4%; background: var(--gold); color: var(--green); animation-delay: 0s; }
.pill--2 { top: 26%; left: -6%; animation-delay: .4s; }
.pill--3 { top: 45%; right: -10%; animation-delay: .8s; }
.pill--4 { top: 62%; left: -12%; animation-delay: 1.2s; }
.pill--5 { bottom: 16%; left: 12%; animation-delay: 1.6s; }
.pill--6 { bottom: 4%; right: 6%; animation-delay: 2s; }
.pill--7 { bottom: -4%; left: 33%; animation-delay: 2.4s; }

.about__desc {
  color: #c9d3cf;
  font-size: 15px;
  line-height: 1.8;
  max-width: 460px;
  margin: 18px 0 36px;
}

.about__stats { display: flex; gap: 50px; margin-bottom: 40px; }
.stat h3 { font-size: 30px; color: var(--gold); font-weight: 700; }
.stat p { color: #c9d3cf; font-size: 13px; margin-top: 4px; }

.about__bottom { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.signature {
  font-family: 'Caveat', cursive;
  font-size: 32px;
  color: var(--gold);
}

/* ===== TEAM ===== */
.team { padding: 90px 0 110px; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.team-card {
  background: #f6f7f6;
  border-radius: var(--radius);
  padding: 36px 22px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.team-card:hover {
  transform: translateY(-10px);
  background: var(--green);
  color: var(--white);
  box-shadow: 0 24px 48px rgba(11,61,46,.2);
}
.team-card:hover .team-card__role { color: var(--gold); }
.team-card:hover .team-card__desc { color: #c9d3cf; }
.team-card__avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: transform .3s ease;
  overflow: hidden;
  border: 3px solid var(--gold);
}
.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card:hover .team-card__avatar { transform: scale(1.1) rotate(6deg); }
.team-card h3 { font-size: 17px; margin-bottom: 4px; }
.team-card__role {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
  transition: color .3s ease;
}
.team-card__desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; transition: color .3s ease; }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  padding: 100px 0;
  text-align: center;
}
.cta__title {
  color: var(--white);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta__desc { color: #c9d3cf; max-width: 520px; margin: 0 auto 36px; }
.cta__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta .btn--outline-dark { border-color: var(--white); color: var(--white); }
.cta .btn--outline-dark:hover { background: var(--white); color: var(--green); }

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 560px;
  margin: 0 auto 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form__row { display: flex; gap: 14px; }
.contact-form__row input { flex: 1; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 14px;
  background: rgba(255,255,255,.95);
  color: var(--green);
  resize: vertical;
  transition: box-shadow .25s ease, transform .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--gold);
}
.contact-form__submit {
  align-self: flex-start;
  border: none;
}
.contact-form__status {
  font-size: 13px;
  color: var(--gold);
  min-height: 18px;
}

.cta__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #9bb0a8;
  font-size: 13px;
  margin: 30px auto 26px;
  max-width: 560px;
}
.cta__divider::before, .cta__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.18);
}

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
  padding: 12px 26px 12px 20px;
}
.btn--whatsapp:hover { background: #1ebe5a; }

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  left: 26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  z-index: 90;
  animation: pulse-wa 2.4s ease-in-out infinite;
}
.whatsapp-float:hover { background: #1ebe5a; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 10px 24px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,.5); }
  50% { box-shadow: 0 10px 24px rgba(0,0,0,.25), 0 0 0 10px rgba(37,211,102,0); }
}

/* ===== FOOTER ===== */
.footer { background: #07261c; padding: 50px 0 26px; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.logo--footer { font-size: 18px; }
.footer__tagline { color: #9bb0a8; font-size: 13px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer__links a { color: #c9d3cf; font-size: 13px; transition: color .2s ease; }
.footer__links a:hover { color: var(--gold); }

.footer__socials { display: flex; gap: 14px; margin-top: 6px; }
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, transform .25s ease;
}
.social-icon:hover { background: var(--gold); transform: translateY(-4px); }

.footer__copy { color: #6f8a80; font-size: 12px; margin-top: 16px; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
  z-index: 90;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--green);
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    gap: 0;
    transition: max-height .35s ease, padding .35s ease;
  }
  .nav.open { max-height: 320px; padding: 20px 24px; gap: 18px; }
  .burger { display: flex; }
  .burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.active span:nth-child(2) { opacity: 0; }
  .burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header { position: sticky; }
  .header__inner { position: relative; }
  .header__inner .btn--outline-light { display: none; }
  .hero__inner, .about__inner { grid-template-columns: 1fr; }
  .services__grid, .projects__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 32px; }
  .pill { font-size: 11px; padding: 6px 12px; }
  .hero__media { min-height: 320px; }
}
@media (max-width: 560px) {
  .team__grid { grid-template-columns: 1fr; }
  .hero__mini-stats { gap: 20px; }
  .contact-form__row { flex-direction: column; }
  .contact-form__submit { align-self: stretch; justify-content: center; }
  .whatsapp-float { width: 50px; height: 50px; left: 16px; bottom: 16px; }
  .back-to-top { right: 16px; bottom: 16px; }
}
