:root {
  --text: #1f2b59;
  --muted: #6e768f;
  --bg: #ffffff;
  --bg-soft: #f6fbfb;
  --card: #ffffff;
  --line: #e7ebf3;
  --primary: #8b7de6;
  --btn-soft: #fbe9e6;
  --btn-blue: #e2e9ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container { width: min(1200px, 92%); margin: 0 auto; }
.center { text-align: center; }
.section { padding: 72px 0; }
h1, h2, h3 { margin: 0 0 14px; line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); }
p { margin: 0; color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 26px rgba(30, 45, 104, 0.1);
  border-color: transparent;
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.nav {
  justify-self: center;
  display: flex;
  gap: 24px;
}

.nav a {
  text-decoration: none;
  color: #50576a;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.social-top {
  display: flex;
  gap: 8px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-top a {
  text-decoration: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  background: #1e2d68;
  color: #fff;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.social-top a svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.social-link.facebook { background: #1877f2; }
.social-link.youtube { background: #ff0000; }
.social-link.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 8%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-top a:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(31, 43, 89, 0.2);
}

.header-cta {
  text-decoration: none;
  background: #25d366;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 0 22px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.3);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.header-cta svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.35);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text);
}

.hero {
  background-color: var(--bg-soft);
  background-image: url("assets/images/slider_img-2.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: min(980px, 95vw) auto;
  padding: 110px 0 310px;
}

.hero-content {
  max-width: 760px;
  text-align: center;
}

.hero-content p { margin: 16px auto 0; max-width: 800px; }
.hero-actions { margin-top: 28px; display: flex; justify-content: center; gap: 12px; }
.hero-metrics {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-metrics div {
  min-width: 150px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
}

.hero-metrics strong {
  display: block;
  color: var(--text);
  font-size: 20px;
  line-height: 1.1;
}

.hero-metrics span { font-size: 12px; color: var(--muted); }

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 24px;
  padding: 12px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
}

.btn-soft { background: var(--btn-soft); }
.btn-blue { background: var(--btn-blue); }

.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); margin-top: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card, .mini-card, .quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}

.card h3, .mini-card h3 { font-size: 18px; margin-bottom: 8px; }
.eyebrow { color: var(--primary); font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.card ul {
  margin: 10px 0 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
}

.pattern {
  background-image: url("assets/images/software_pattern__.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.service-wrap { display: grid; gap: 28px; }
.service-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.about-wrap img {
  max-width: 100%;
  height: auto;
}
.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}

.highlights span {
  background: #f3f7ff;
  color: #3e4f88;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  padding: 6px 11px;
}

.logos {
  background: #f8f9fc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logos-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 30px;
  align-items: center;
}

.logos-row img { height: 30px; width: auto; opacity: 0.85; }

.testimonials { background: #f7fafb; }
.intro { max-width: 820px; margin: 0 auto 28px; }
.process { background: #f8faff; }
.steps .card h3 { font-size: 17px; }

.reviews-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.quote p { margin-bottom: 10px; }
.quote strong { color: var(--text); font-size: 14px; }

.cta {
  background: #eef7ff;
}
.faq { background: #ffffff; }

.cta-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer {
  background: #1f2540;
  color: #d5daea;
}

.footer p, .footer li { color: #b8bfd6; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.25fr;
  gap: 36px;
  padding: 52px 0 42px;
}

.footer h3 {
  color: #fff;
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.footer-logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}
.footer-company p {
  margin-bottom: 16px;
  max-width: 360px;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  background: #3d6dff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

.footer-whatsapp svg {
  width: 14px;
  height: 14px;
  fill: #fff;
}

.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.links a {
  color: #b8bfd6;
  text-decoration: none;
  font-size: 14px;
}
.links a:hover { color: #ffffff; }

.subscribe { display: flex; margin-top: 10px; }
.subscribe input {
  flex: 1;
  border: 1px solid #3a4262;
  background: #2a3253;
  color: #fff;
  padding: 11px 12px;
  min-width: 0;
}

.subscribe button {
  border: 0;
  background: #5f85ff;
  color: #fff;
  padding: 0 16px;
  font-weight: 500;
  cursor: pointer;
}

.footer-contact p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.footer-contact strong {
  color: #fff;
}

.copyright {
  border-top: 1px solid #323956;
  padding: 15px 0;
}

.copyright-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.copyright p { margin: 0; text-align: left; }

.footer-bottom-links {
  display: flex;
  gap: 14px;
}

.footer-bottom-links a {
  color: #b8bfd6;
  text-decoration: none;
  font-size: 13px;
}

.footer-bottom-links a:hover {
  color: #fff;
}

@media (max-width: 992px) {
  .nav-wrap { grid-template-columns: auto auto auto; }
  .menu-btn { display: block; justify-self: end; }
  .nav-actions { display: none; }
  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 12px 4%;
    flex-direction: column;
    gap: 10px;
  }
  .nav.open { display: flex; }
  .grid-4, .reviews-layout, .about-wrap, .footer-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 230px; background-size: min(740px, 95vw) auto; }
  .cta-wrap { flex-direction: column; align-items: flex-start; }
  .service-cta { flex-direction: column; align-items: flex-start; }
  .copyright-wrap { flex-direction: column; align-items: flex-start; }
  .footer-grid { gap: 24px; padding: 40px 0 32px; }
  .footer h3 { font-size: 22px; }
  .links { grid-template-columns: 1fr; }
}
