:root {
  --ink: #07111f;
  --panel: #0c1a2d;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --line: #dbe4ee;
  --text: #203047;
  --muted: #64748b;
  --cyan: #11a8fd;
  --teal: #1bd6a3;
  --amber: #ffb020;
  --danger: #ff5a64;
  --shadow: 0 18px 50px rgba(7, 17, 31, 0.14);
  --shadow-soft: 0 14px 34px rgba(7, 17, 31, 0.08);
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--soft);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 16px 0 auto;
  z-index: 30;
  transition: inset 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  inset: 0 0 auto;
  background: rgba(7, 17, 31, 0.88);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 84px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.58);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled .header-inner {
  min-height: 72px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #fff;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 20px;
  font-weight: 800;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.header-action,
.btn-modern,
.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-action,
.btn-modern.primary {
  color: #06140f;
  background: linear-gradient(135deg, var(--teal), #5ef0bd);
  box-shadow: 0 14px 28px rgba(27, 214, 163, 0.24);
}

.btn-modern.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.header-action:hover,
.btn-modern:hover,
.map-link:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.hero-slides,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  background-position: center center;
  background-size: cover;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 5200ms linear;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.94) 0%, rgba(7, 17, 31, 0.78) 46%, rgba(7, 17, 31, 0.34) 100%),
    linear-gradient(0deg, rgba(7, 17, 31, 0.42), rgba(7, 17, 31, 0.12));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 52px;
  min-height: 720px;
  padding-top: 180px;
  padding-bottom: 88px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #bfffee;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #006dcb;
  border-color: rgba(17, 168, 253, 0.18);
  background: rgba(17, 168, 253, 0.08);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.55;
}

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

.hero-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.card-kicker {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-card h2 {
  margin: 10px 0 8px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.quick-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.quick-list span {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-height: 70px;
  padding: 12px 8px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.quick-list i {
  color: var(--teal);
  font-size: 20px;
}

.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -38px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow-soft);
}

.trust-grid div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 76px;
  padding: 16px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.trust-grid i {
  color: var(--cyan);
  font-size: 22px;
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.widget-title {
  margin: 0;
  color: var(--ink);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.widget-title.left {
  text-align: left;
}

.section-heading p,
.solution-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.service {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid rgba(219, 228, 238, 0.9);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service:hover {
  border-color: rgba(17, 168, 253, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.service img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service:hover img {
  transform: scale(1.06);
}

.service-body {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 28px 24px 26px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: -52px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  color: #06140f;
  background: linear-gradient(135deg, var(--teal), #7df4ca);
  box-shadow: 0 12px 24px rgba(27, 214, 163, 0.28);
  font-size: 22px;
}

.service h3 {
  min-height: 58px;
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.solutions {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.96)),
    url("assets/service-4x4.jpg") center center / cover;
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 54px;
  align-items: center;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.timeline-item > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
}

.timeline-item h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.contact-ways {
  padding: 84px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.92), rgba(7, 17, 31, 0.72)),
    url("assets/contact-bg.jpg") center center / cover fixed;
}

.contact-banner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 38px;
  align-items: center;
}

.contact-banner h2 {
  margin: 0;
  color: #fff;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.12;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.promo-box {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  min-height: 136px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.promo-box:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}

.promo-box i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  color: #06140f;
  background: var(--teal);
  font-size: 26px;
}

.promo-box.mercado i {
  background: var(--amber);
}

.promo-box strong,
.promo-box span {
  display: block;
}

.promo-box strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
}

.promo-box span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.contact-detail {
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 48px;
  align-items: start;
}

.info-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.info-list p {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  margin: 0;
  color: var(--text);
}

.info-list i {
  color: var(--cyan);
  font-size: 20px;
}

.info-list a {
  color: #006dcb;
  font-weight: 700;
}

.map-link {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow-soft);
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(219, 228, 238, 0.86);
  font: inherit;
  transition: box-shadow 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(17, 168, 253, 0.4);
  box-shadow: 0 0 0 4px rgba(17, 168, 253, 0.13);
  outline: none;
}

.contact-form button {
  justify-self: start;
  cursor: pointer;
}

.footer {
  padding: 26px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer p {
  margin: 0;
  font-size: 13px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transition: transform 180ms ease, background 180ms ease;
}

.social-links a:hover {
  background: var(--cyan);
  transform: translateY(-2px);
}

.float-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #06140f;
  background: var(--teal);
  box-shadow: 0 18px 36px rgba(27, 214, 163, 0.34);
  font-size: 30px;
  animation: floatPulse 2.4s infinite;
}

.float-whatsapp:hover {
  color: #06140f;
  transform: translateY(-3px);
}

@keyframes floatPulse {
  0%,
  100% {
    box-shadow: 0 18px 36px rgba(27, 214, 163, 0.34), 0 0 0 0 rgba(27, 214, 163, 0.36);
  }
  50% {
    box-shadow: 0 18px 36px rgba(27, 214, 163, 0.34), 0 0 0 12px rgba(27, 214, 163, 0);
  }
}

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

@media (max-width: 1020px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    width: min(calc(100vw - 32px), 1180px);
    max-width: calc(100vw - 32px);
  }

  .brand-text small,
  .header-action {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    width: min(calc(100vw - 32px), 1180px);
    max-width: calc(100vw - 32px);
    margin: 0 auto;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(7, 17, 31, 0.96);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
  }

  .hero-content,
  .solution-layout,
  .contact-banner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 520px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    inset: 10px 0 auto;
  }

  .header-inner {
    min-height: 68px;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .site-nav {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .hero,
  .hero-content {
    min-height: 680px;
  }

  .hero-content {
    gap: 28px;
    padding-top: 138px;
    padding-bottom: 54px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .trust-strip {
    margin-top: 0;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    border-radius: 0;
  }

  .section {
    padding: 72px 0;
  }

  .widget-title,
  .contact-banner h2 {
    font-size: 32px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .service-grid,
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .service {
    min-height: auto;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
    justify-items: start;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    inset: 8px 0 auto;
  }

  .header-inner {
    padding: 8px 10px;
  }

  .brand {
    gap: 8px;
  }

  .hero,
  .hero-content {
    min-height: 650px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .quick-list,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }

  .float-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}
