:root {
  --green: #129860;
  --teal: #127d8e;
  --blue: #1b5fa8;
  --orange: #f39200;
  --ink: #0f1f2e;
  --muted: #5a6b7b;
  --line: #e3e9ef;
  --bg: #ffffff;
  --tint: #f3f8f6;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 31, 46, .08);
  --grad: linear-gradient(135deg, var(--green), var(--teal) 55%, var(--blue));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 16px/1.65 "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Sora", sans-serif; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  font: 600 .8rem/1 "Sora", sans-serif; text-transform: uppercase; letter-spacing: .12em;
  color: var(--green); margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  background: var(--grad); color: #fff; font: 600 1rem "Sora", sans-serif;
  text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(18, 125, 142, .3); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); box-shadow: none; }
.btn--small { padding: 9px 18px; font-size: .9rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav__brand { display: flex; align-items: center; }
.nav__brand img { height: 44px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--muted); }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(900px 500px at 85% 10%, #e3f4ee, transparent 70%), radial-gradient(700px 400px at 0% 100%, #e6eef8, transparent 70%); }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero__stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 32px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats b { font: 700 1.4rem "Sora", sans-serif; }
.hero__stats span { color: var(--muted); font-size: .9rem; }

.stack { position: relative; aspect-ratio: 1; max-width: 480px; margin-inline: auto; }
.stack img { position: absolute; width: 62%; border-radius: 14px; box-shadow: 0 20px 50px rgba(15, 31, 46, .2); transition: transform .4s; }
.stack__a { left: 0; top: 8%; transform: rotate(-6deg); }
.stack__b { right: 0; top: 0; transform: rotate(5deg); z-index: 2; }
.stack__c { left: 20%; bottom: 0; transform: rotate(-1deg); z-index: 3; width: 50% !important; }
.stack:hover .stack__a { transform: rotate(-9deg) translateX(-10px); }
.stack:hover .stack__b { transform: rotate(8deg) translateX(10px); }

/* Marquee */
.clients { border-block: 1px solid var(--line); padding: 22px 0; background: #fff; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: scroll 60s linear infinite; }
.marquee__track img { height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: .3s; mix-blend-mode: multiply; }
.marquee__track img:hover { filter: none; opacity: 1; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .eyebrow { color: #5fd3a0; }
.section__intro { color: var(--muted); max-width: 560px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .25s; }
.card:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.card p { color: var(--muted); margin: 0; }
.card__icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px;
  background: var(--grad); color: #fff; font-size: 1.1rem; margin-bottom: 18px;
}

/* Packs */
.packs { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 40px; }
.pack { flex: 1 1 300px; max-width: 380px; }
.pack { position: relative; display: flex; flex-direction: column; padding: 30px 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.pack--featured { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.pack__badge { position: absolute; top: -13px; left: 26px; background: var(--orange); color: #fff; font: 600 .75rem "Sora", sans-serif; padding: 5px 12px; border-radius: 999px; }
.pack__for { color: var(--teal); font-weight: 500; font-size: .92rem; }
.pack ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.pack li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.pack li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; }
.filter { border: 1px solid var(--line); background: #fff; padding: 9px 18px; border-radius: 999px; font: 500 .92rem "Inter", sans-serif; cursor: pointer; color: var(--muted); transition: .2s; }
.filter:hover { color: var(--ink); border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery { columns: 4 240px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: #f4f6f8; position: relative; }
.gallery img { width: 100%; height: auto; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figure.is-logo { aspect-ratio: 1; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); }
.gallery figure.is-logo img { width: 80%; height: 80%; object-fit: contain; }
.gallery figure.is-hidden { display: none; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; gap: 8px; }
.steps b { font: 600 1.1rem "Sora", sans-serif; }
.steps span { color: #b8c6d3; }

/* About */
.about { display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: center; }
.about__photo { border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; outline: 6px solid #fff; outline-offset: -6px; }
.about p:not(.lead):not(.eyebrow) { color: var(--muted); }
.tools { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tools li { padding: 6px 14px; border-radius: 999px; background: var(--tint); color: var(--teal); font-weight: 500; font-size: .9rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 24px 0; }
.contact__list li { margin-bottom: 10px; }
.contact__list a { font-weight: 600; text-decoration: none; border-bottom: 2px solid #bfe5d3; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { text-decoration: none; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; }
.socials a:hover { border-color: var(--teal); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 32px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .9rem; }
.form__full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: transparent; }

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.footer img { width: 90px; height: auto; }
.footer p { margin: 0; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 20, 30, .92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: min(1100px, 100%); width: auto; border-radius: 10px; }
.lightbox__close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 300px 1fr; gap: 40px; }
}
@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav__links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 14px; }
  .nav.is-open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 40px; }
  .hero__inner, .about, .contact { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .stack { max-width: 340px; }
  .about__photo { max-width: 320px; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .services, .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .hero__cta .btn { width: 100%; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gallery figure { margin-bottom: 10px; }
  .hero__stats { gap: 20px; }
}

/* Slogan */
.slogan {
  display: inline-block; margin: 6px 0 0; padding: 8px 16px; border-radius: 999px;
  background: #fff4e5; color: #b56a00; font: 600 .95rem "Sora", sans-serif;
  border: 1px solid #ffd9a3;
}
.footer__slogan { font: 600 .95rem "Sora", sans-serif; color: var(--teal); }

.pack__badge--new { background: var(--teal); }
