:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: #152033;
  --muted: #5a6780;
  --line: #d8deea;
  --brand: #0d6bdb;
  --brand-2: #0f766e;
  --brand-3: #f59e0b;
  --dark: #0e1726;
  --radius: 16px;
  --shadow: 0 20px 40px rgba(11, 23, 46, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 90% 10%, #dbeafe 0, #f7f8fc 45%, #eef2ff 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.2;
  margin: 0 0 12px;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  background: var(--dark);
  color: #dbeafe;
  font-size: 14px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cta-btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  display: inline-block;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.cta-btn:hover {
  text-decoration: none;
  opacity: 0.92;
}

.hero {
  padding: 72px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.badge {
  display: inline-block;
  border: 1px solid #b6d2ff;
  color: #0b4ca4;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 12px;
  background: #edf4ff;
}

.hero h1 {
  font-size: clamp(34px, 4.8vw, 58px);
  margin-bottom: 16px;
}

.hero p {
  color: var(--muted);
  margin-bottom: 22px;
}

.hero-card {
  background: linear-gradient(165deg, #0b1220, #142847 70%, #1f4f82 100%);
  border-radius: var(--radius);
  color: #e5f1ff;
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
}

.hero-card li {
  margin-bottom: 10px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-strip--pro .trust-item {
  position: relative;
  background: linear-gradient(155deg, #ffffff 0%, #f4f8ff 100%);
  border: 1px solid #cddcf3;
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 12px 30px rgba(20, 45, 82, 0.08);
  overflow: hidden;
}

.trust-strip--pro .trust-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0d6bdb, #0f766e, #38bdf8);
}

.trust-strip .trust-item strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  line-height: 1.2;
  margin-bottom: 6px;
  color: #0f2747;
}

.trust-strip .trust-item span {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.section {
  padding: 26px 0 20px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid #dbe4f0;
}

.client-logo {
  width: 100%;
  max-height: 86px;
  object-fit: contain;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid #d6e2f2;
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 14px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.card:hover .client-logo {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(20, 45, 82, 0.11);
}

.clients-showcase {
  background: linear-gradient(160deg, #0f172a, #0f2744 68%, #123a63);
  border: 1px solid #23456e;
  border-radius: 20px;
  padding: 22px;
  color: #e8f2ff;
}

.clients-head h2 {
  margin-bottom: 8px;
}

.clients-head p {
  margin: 0 0 14px;
  color: #bfd8fa;
}

.client-marquee {
  overflow: hidden;
  border: 1px solid #2d507e;
  background: rgba(10, 21, 37, 0.5);
  border-radius: 14px;
  padding: 10px 0;
  margin-bottom: 16px;
}

.client-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: client-scroll 22s linear infinite;
}

.client-marquee:hover .client-marquee-track {
  animation-play-state: paused;
}

.client-chip {
  width: 220px;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2b4a73;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7fbff, #e9f2ff);
  padding: 8px 10px;
}

.client-chip .client-logo {
  margin: 0;
  border: 0;
  background: transparent;
  filter: grayscale(100%);
  opacity: 0.88;
  transition: filter 0.24s ease, opacity 0.24s ease;
}

.client-chip:hover .client-logo {
  filter: grayscale(0%);
  opacity: 1;
}

.client-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.client-proof-card {
  background: rgba(9, 19, 34, 0.52);
  border: 1px solid #264567;
  border-radius: 12px;
  padding: 14px;
}

.client-proof-card h3 {
  margin-bottom: 6px;
  color: #e5f3ff;
}

.client-proof-card p {
  margin: 0;
  color: #bcd4f5;
}

.client-proof-card a {
  color: #8dd9ff;
  font-weight: 700;
}

.clients-cta {
  margin: 14px 0 0;
}

.clients-cta a {
  color: #9ce6ff;
  font-weight: 800;
}

@keyframes client-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 140;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid #0e8d5a;
  color: #ffffff;
  background: linear-gradient(135deg, #13a96b, #1dd685);
  box-shadow: 0 16px 32px rgba(8, 93, 61, 0.28);
  font-weight: 800;
  text-decoration: none;
}

.whatsapp-float:hover {
  text-decoration: none;
  filter: brightness(1.04);
}

.whatsapp-float svg {
  width: 18px;
  height: 18px;
}

.dynamic-card {
  position: relative;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
  will-change: transform;
}

.dynamic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 189, 248, 0.18), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.dynamic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(17, 38, 71, 0.14);
  border-color: #a8c6ee;
}

.dynamic-card:hover::after {
  opacity: 1;
}

.breadcrumbs {
  padding: 16px 0 4px;
  color: #50607a;
  font-size: 14px;
}

.breadcrumbs a {
  color: #2f5f9d;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.kpi {
  background: #f0f6ff;
  border: 1px solid #c9ddff;
  border-radius: 14px;
  padding: 15px;
  text-align: center;
}

.kpi strong {
  display: block;
  font-size: 24px;
  font-family: "Space Grotesk", sans-serif;
}

.process-card h3 {
  color: #0f4da3;
}

.market-coverage {
  background: linear-gradient(165deg, #0f172a, #133059 70%, #1a4378 100%);
  color: #e7f1ff;
  border-radius: var(--radius);
  border: 1px solid #213d65;
  padding: 24px;
}

.market-coverage p {
  color: #d2e5ff;
}

.market-coverage a {
  color: #89e2ff;
  font-weight: 700;
}

.internal-links {
  background: #0e1726;
  color: #eaf0ff;
  border-radius: var(--radius);
  padding: 22px;
}

.internal-links a {
  color: #7ed8ff;
  font-weight: 600;
}

.page-hero {
  padding: 40px 0 12px;
}

.page-hero p {
  color: var(--muted);
  max-width: 760px;
}

.post-meta {
  color: #4f5d78;
  font-size: 14px;
  margin-bottom: 16px;
}

.post-content {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.post-content h2 {
  margin-top: 18px;
}

.post-content p,
.post-content li {
  color: var(--muted);
}

.post-content ul {
  padding-left: 18px;
}

.blog-hero-image {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  margin: 14px 0 6px;
}

ul.checks {
  padding-left: 18px;
}

ul.checks li {
  margin-bottom: 8px;
}

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

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.footer {
  margin-top: 40px;
  background: #0a111d;
  color: #cbd5e1;
  padding: 36px 0 16px;
}

.footer h4 {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 20px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 8px;
}

.footer a {
  color: #c9e3ff;
}

.small {
  border-top: 1px solid #2a3b57;
  margin-top: 24px;
  padding-top: 14px;
  font-size: 13px;
  color: #9eb0cc;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .footer-grid,
  .kpis,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
  }

  .topbar .container {
    justify-content: center;
    text-align: center;
  }

  .nav-wrap {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

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

  html.js .site-header nav ul {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--line);
    margin-top: 10px;
    padding-top: 6px;
  }

  html.js .site-header nav.open ul {
    display: flex;
  }

  .site-header nav a {
    display: block;
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
  }

  .trust-strip--pro .trust-item {
    padding: 14px 14px 12px;
  }

  .client-proof-grid {
    grid-template-columns: 1fr;
  }

  .client-chip {
    width: 190px;
  }

  .trust-strip .trust-item strong {
    font-size: 18px;
  }

  .hero {
    padding: 48px 0 20px;
  }

  .hero .cta-btn,
  .page-hero .cta-btn {
    width: 100%;
    text-align: center;
  }

  .hero .cta-btn[style*="margin-left"],
  .page-hero .cta-btn[style*="margin-left"] {
    margin-left: 0 !important;
    margin-top: 10px;
  }

  .logo img {
    height: 42px;
  }

  .post-content,
  .card {
    padding: 18px;
  }

  .kpi strong {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
  }

  .whatsapp-float span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .dynamic-card {
    transition: none !important;
    transform: none !important;
  }

  .dynamic-card::after {
    display: none;
  }
}

/* Full-site revamp layer */
main {
  position: relative;
  isolation: isolate;
}

main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 340px at 8% 8%, rgba(14, 116, 144, 0.1), transparent 60%),
    radial-gradient(700px 320px at 92% 22%, rgba(37, 99, 235, 0.1), transparent 56%);
  pointer-events: none;
  z-index: -1;
}

.topbar {
  background: linear-gradient(90deg, #0c1a2d, #10233d 52%, #14345b);
  border-bottom: 1px solid rgba(127, 177, 238, 0.22);
}

.site-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid #d9e4f3;
}

nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, #0d6bdb, #0f766e);
  transition: transform 0.2s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

.page-hero {
  position: relative;
  padding: 46px 0 18px;
}

.page-hero .container {
  position: relative;
  background: linear-gradient(145deg, #f8fbff 0%, #ecf4ff 48%, #e8f0ff 100%);
  border: 1px solid #cbdbf1;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 18px 34px rgba(14, 30, 59, 0.08);
  overflow: hidden;
}

.page-hero .container::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 65%);
}

.page-hero h1 {
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.section {
  position: relative;
  padding: 30px 0 24px;
}

main > section.section:nth-of-type(odd) .container:not(.market-coverage):not(.internal-links):not(.clients-showcase) {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid #d9e5f4;
  border-radius: 18px;
  padding: 18px;
}

main > section.section:nth-of-type(even) .container:not(.market-coverage):not(.internal-links):not(.clients-showcase) {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.7), rgba(237, 246, 255, 0.75));
  border: 1px solid #d4e2f4;
  border-radius: 18px;
  padding: 18px;
}

.section h2 {
  position: relative;
  margin-bottom: 14px;
}

.section h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 4px;
  margin-top: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0d6bdb, #0f766e);
}

.card {
  border: 1px solid #d5e1f2;
  box-shadow: 0 14px 30px rgba(16, 34, 63, 0.08);
}

.card:hover {
  border-color: #9fc0ea;
}

.post-content {
  border: 1px solid #cfddf0;
  box-shadow: 0 16px 30px rgba(16, 34, 63, 0.09);
}

.contact-form,
form[action="contact.php"] {
  background: linear-gradient(165deg, #ffffff, #f5f9ff);
  border: 1px solid #d4e2f4;
  border-radius: 16px;
  padding: 18px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #5ea1ec;
  box-shadow: 0 0 0 3px rgba(13, 107, 219, 0.12);
}

.footer {
  background:
    radial-gradient(760px 260px at 12% -10%, rgba(26, 88, 161, 0.25), transparent 56%),
    linear-gradient(165deg, #0a111d, #0b1730 65%, #112947);
}

.footer-grid > div {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(140, 172, 212, 0.18);
  border-radius: 12px;
  padding: 12px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.proof-pill {
  border: 1px solid #c8dbf3;
  background: linear-gradient(160deg, #ffffff, #eef5ff);
  border-radius: 12px;
  padding: 12px;
}

.proof-pill strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  margin-bottom: 4px;
  color: #13345e;
}

.section-note {
  margin-top: 10px;
  color: #4f6180;
}

@media (max-width: 960px) {
  .page-hero .container,
  main > section.section:nth-of-type(odd) .container:not(.market-coverage):not(.internal-links):not(.clients-showcase),
  main > section.section:nth-of-type(even) .container:not(.market-coverage):not(.internal-links):not(.clients-showcase) {
    padding: 14px;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
