:root {
  --blue-950: #031a3d;
  --blue-900: #062a63;
  --blue-800: #073a8c;
  --blue-700: #0b4bb3;
  --blue-600: #1768e5;
  --cyan: #32c7ff;
  --ink: #0b1526;
  --muted: #5d6878;
  --surface: #ffffff;
  --surface-soft: #f2f6fb;
  --border: #dce4ef;
  --shadow: 0 22px 60px rgba(4, 26, 61, .13);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220,228,239,.8);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img {
  width: 170px;
  height: 60px;
  object-fit: contain;
  object-position: left center;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .92rem;
  font-weight: 700;
}
.main-nav > a:not(.btn) {
  position: relative;
  color: #263247;
}
.main-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--blue-600);
  transition: right .25s ease;
}
.main-nav > a:not(.btn):hover::after { right: 0; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: .25s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  box-shadow: 0 13px 30px rgba(23,104,229,.28);
}
.btn-primary:hover { box-shadow: 0 18px 38px rgba(23,104,229,.34); }
.btn-secondary {
  color: var(--blue-800);
  background: white;
  border-color: var(--border);
}
.btn-light {
  color: var(--blue-900);
  background: white;
}
.btn-small {
  min-height: 42px;
  padding-inline: 18px;
  border-radius: 11px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 72px;
  background:
    radial-gradient(circle at 78% 12%, rgba(50,199,255,.18), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}
.hero-backdrop {
  position: absolute;
  width: 430px;
  height: 430px;
  right: -180px;
  top: 90px;
  border: 1px solid rgba(23,104,229,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(23,104,229,.035), 0 0 0 140px rgba(23,104,229,.025);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 72px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue-700);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero h1,
.section-heading h2,
.cartagos-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  letter-spacing: -.045em;
  line-height: 1.05;
}
.hero h1 {
  max-width: 690px;
  font-size: clamp(3rem, 6vw, 5.5rem);
}
.hero-text {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}
.hero-note {
  display: flex;
  flex-direction: column;
  margin-top: 34px;
  padding-left: 18px;
  border-left: 3px solid var(--cyan);
}
.hero-note strong { color: var(--blue-900); }
.hero-note span { color: var(--muted); font-size: .92rem; }

.hero-visual { position: relative; }
.hero-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(3,26,61,.22));
}
.hero-image-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.floating-card {
  position: absolute;
  right: -30px;
  bottom: 30px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  width: min(340px, 80%);
  padding: 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 17px;
  box-shadow: 0 14px 40px rgba(3,26,61,.2);
  backdrop-filter: blur(14px);
}
.floating-card strong,
.floating-card small { display: block; }
.floating-card small { margin-top: 2px; color: var(--muted); line-height: 1.4; }
.status-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: #26c06f;
  box-shadow: 0 0 0 6px rgba(38,192,111,.13);
}

.trust-strip {
  background: var(--blue-950);
  color: white;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-grid > div {
  padding: 28px 22px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong,
.trust-grid span { display: block; }
.trust-grid strong { font-family: Manrope, sans-serif; font-size: 1.08rem; }
.trust-grid span { color: rgba(255,255,255,.65); font-size: .85rem; }

.section { padding: 104px 0; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading h2,
.cartagos-copy h2,
.contact-copy h2 {
  font-size: clamp(2.35rem, 4.5vw, 4rem);
}
.section-heading p {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered p { margin-inline: auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.service-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(4,26,61,.05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}
.service-image { overflow: hidden; height: 270px; background: #eef3f8; }
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .service-image img { transform: scale(1.035); }
.service-body { position: relative; padding: 30px; }
.card-number {
  position: absolute;
  right: 28px;
  top: 24px;
  color: #cad6e7;
  font-family: Manrope, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}
.service-body h3 {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: 1.55rem;
}
.service-body p { margin: 13px 0 22px; color: var(--muted); }
.service-body a {
  color: var(--blue-700);
  font-size: .93rem;
  font-weight: 800;
}
.service-body a span { display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.service-body a:hover span { transform: translateX(4px); }

.cartagos-section {
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 10% 25%, rgba(50,199,255,.18), transparent 25%),
    linear-gradient(135deg, var(--blue-950), var(--blue-800));
}
.cartagos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 76px;
  align-items: center;
}
.screen-shell {
  padding: 10px;
  background: #142238;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  box-shadow: 0 35px 70px rgba(0,0,0,.3);
  transform: perspective(1200px) rotateY(5deg) rotateX(1deg);
}
.screen-bar {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 31px;
  padding-left: 9px;
}
.screen-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
}
.screen-shell img {
  width: 100%;
  border-radius: 15px;
}
.eyebrow-light { color: var(--cyan); }
.cartagos-copy p {
  margin: 23px 0 28px;
  color: rgba(255,255,255,.72);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.feature-grid div {
  position: relative;
  padding: 13px 13px 13px 34px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 700;
}
.feature-grid div::before {
  content: "✓";
  position: absolute;
  left: 12px;
  color: var(--cyan);
}
.cartagos-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}
.text-link-light {
  color: white;
  font-weight: 800;
}

.why-section { background: var(--surface-soft); }
.why-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
}
.why-list { display: grid; gap: 2px; }
.why-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.why-item:first-child { padding-top: 0; }
.why-item > span {
  color: var(--blue-600);
  font-family: Manrope, sans-serif;
  font-size: .88rem;
  font-weight: 800;
}
.why-item h3 { margin: 0 0 7px; font-family: Manrope, sans-serif; font-size: 1.35rem; }
.why-item p { margin: 0; color: var(--muted); }

.timeline-section { overflow: hidden; }
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 62px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 15px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan));
}
.timeline-item {
  position: relative;
  padding-top: 48px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 0;
  width: 18px;
  height: 18px;
  background: white;
  border: 5px solid var(--blue-600);
  border-radius: 50%;
}
.timeline-item strong,
.timeline-item span { display: block; }
.timeline-item strong {
  margin-bottom: 9px;
  font-family: Manrope, sans-serif;
  font-size: 1.25rem;
}
.timeline-item span { color: var(--muted); }

.contact-section {
  color: white;
  background: var(--blue-700);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 80px;
  align-items: center;
}
.contact-copy p {
  max-width: 560px;
  margin: 20px 0 30px;
  color: rgba(255,255,255,.76);
}
.contact-card {
  padding: 10px 34px;
  color: var(--ink);
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(1,24,62,.22);
}
.contact-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row > span { color: var(--muted); font-size: .87rem; }
.contact-row a,
.contact-row strong { font-weight: 800; }
.contact-row a:hover { color: var(--blue-600); }

.site-footer {
  padding: 40px 0;
  background: #020d1d;
  color: white;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 44px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-brand img {
  width: 112px;
  height: 76px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
}
.footer-brand p { margin: 0; color: rgba(255,255,255,.62); font-size: .88rem; }
.footer-links { display: flex; gap: 22px; font-size: .88rem; font-weight: 700; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { color: rgba(255,255,255,.52); font-size: .83rem; }

.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: white;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 15px 35px rgba(0,0,0,.22);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }
.whatsapp-float svg { width: 31px; fill: currentColor; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 13px 12px; }
  .main-nav > a:not(.btn)::after { display: none; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-grid, .cartagos-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 45px; }
  .hero-copy { max-width: 780px; }
  .hero-image-frame img { height: 430px; }
  .floating-card { right: 24px; }
  .cartagos-grid, .why-grid, .contact-grid { gap: 48px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:first-child { padding-left: 22px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { display: none; }
  .timeline-item { padding-top: 38px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 138px; height: 50px; }
  .main-nav { top: 72px; left: 14px; right: 14px; }

  .hero { padding: 62px 0 48px; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 4.2rem); }
  .hero-text { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-image-frame img { height: 320px; }
  .floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 24px);
    margin: -30px auto 0;
  }

  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .trust-grid > div:first-child { padding-left: 0; }
  .trust-grid > div:last-child { border-bottom: 0; }

  .section { padding: 74px 0; }
  .section-heading { margin-bottom: 34px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-image { height: 220px; }
  .service-body { padding: 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .cartagos-actions { flex-direction: column; align-items: flex-start; }
  .screen-shell { transform: none; }
  .why-item { grid-template-columns: 42px 1fr; }
  .timeline { grid-template-columns: 1fr; margin-top: 38px; }
  .timeline-item {
    padding: 0 0 0 38px;
  }
  .timeline-item::before { top: 4px; }
  .contact-card { padding: 6px 22px; }
  .contact-row { grid-template-columns: 1fr; gap: 5px; }
  .footer-links { flex-wrap: wrap; }
  .footer-brand { align-items: flex-start; flex-direction: column; }
  .whatsapp-float { right: 14px; bottom: 14px; }
}
