﻿/* =========================================================
   ABS Global — Design system & landing page styles
   Brand: #3776bd (primary) · #df0622 (accent)
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* brand */
  --brand: #3776bd;
  --brand-600: #2f68a9;
  --brand-700: #255788;
  --brand-800: #1b4269;
  --brand-900: #0e2740;
  --brand-50: #eef5fc;
  --brand-100: #dbe9f7;
  --brand-200: #bcd6ee;

  /* accent */
  --accent: #df0622;
  --accent-600: #c0051e;
  --accent-50: #fdecef;

  /* neutrals */
  --ink: #0d1b2a;
  --ink-2: #22374d;
  --muted: #5b6f86;
  --line: #e3ebf5;
  --surface: #f5f8fc;
  --white: #fff;

  /* type */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Rubik', 'Inter', system-ui, sans-serif;
  --font-display: 'Asul', Georgia, 'Times New Roman', serif;

  /* shape */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1240px;

  /* elevation */
  --shadow-xs: 0 1px 2px rgba(13, 27, 42, .05);
  --shadow-sm: 0 10px 24px -16px rgba(13, 35, 58, .35);
  --shadow: 0 24px 48px -28px rgba(13, 35, 58, .38);
  --shadow-lg: 0 40px 80px -44px rgba(13, 35, 58, .5);

  /* motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 80px;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg { display: block; }

img { max-width: 100%; height: auto; }

svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 3px solid rgba(55, 118, 189, .45);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.section {
  position: relative;
  padding: clamp(64px, 7.5vw, 112px) 0;
}
.section--surface { background: var(--surface); }

.text-brand { color: var(--brand); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  transition: top .25s;
}
.skip-link:focus { top: 12px; }

/* scroll progress */
.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

/* ---------- 3. Typography helpers ---------- */
h1, h2, h3 { color: var(--ink); }

h2 {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 3.1vw, 2.6rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.022em;
  text-wrap: balance;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-2);
}

.section-head {
  max-width: 780px;
  margin: 0 auto clamp(38px, 5vw, 62px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.section-head h2 { margin-top: 2px; }
.section-head p {
  max-width: 660px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  text-wrap: pretty;
  margin: 0;
}
.section-head--dark h2 { color: #fff; }
.section-head--dark p { color: rgba(255, 255, 255, .72); }

/* ---------- 4. Components ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  line-height: 1.5;
  white-space: nowrap;
}
.pill--glass {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .22);
  color: #eaf2fb;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5fd6a0;
  box-shadow: 0 0 0 4px rgba(95, 214, 160, .18);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(95, 214, 160, .2); }
  50% { box-shadow: 0 0 0 6px rgba(95, 214, 160, .06); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .93rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s, border-color .25s, color .25s;
}
.btn svg { width: 17px; height: 17px; stroke-width: 2; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg:last-child { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(55, 118, 189, .85);
}
.btn--primary:hover {
  box-shadow: 0 20px 34px -16px rgba(37, 87, 136, .85);
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-800) 100%);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 22px -16px rgba(223, 6, 34, .65);
}
.btn--accent:hover { background: var(--accent-600); }

.btn--light {
  background: #fff;
  color: var(--brand-800);
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .55);
}
.btn--light:hover { background: var(--brand-50); }

.btn--ghost {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .65);
}

.btn--outline {
  background: #fff;
  border-color: var(--brand-200);
  color: var(--brand-700);
}
.btn--outline:hover {
  background: var(--brand-50);
  border-color: var(--brand);
  color: var(--brand-800);
}

.btn--lg { padding: 16px 28px; font-size: .97rem; }
.btn--sm { padding: 11px 20px; font-size: .86rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-700);
  font-size: .88rem;
  font-weight: 600;
  transition: color .2s, gap .2s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Top bar ---------- */
.topbar {
  /*background: #0a1e33;*/
  background: var(--brand-800);
  color: rgba(255, 255, 255, .66);
  font-size: .78rem;
  position: relative;
  z-index: 61;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
}
.topbar__meta { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: color .2s;
}
.topbar__item svg { width: 14px; height: 14px; color: rgba(255, 255, 255, .42); }
.topbar__item:hover { color: #fff; }
.topbar__right { display: flex; align-items: center; gap: 16px; }
.topbar__note { color: rgba(255, 255, 255, .4); white-space: nowrap; }
.topbar__social { display: flex; gap: 4px; }
.topbar__social a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, .55);
  transition: background .2s, color .2s;
}
.topbar__social a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.topbar__social svg { width: 13px; height: 13px; }

/* ---------- 6. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  border-bottom: 1px solid rgba(13, 35, 58, .07);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .98);
  border-color: transparent;
  box-shadow: 0 14px 34px -22px rgba(13, 35, 58, .45);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: var(--header-h);
  transition: height .3s var(--ease);
}
.header.is-scrolled .header__inner { height: 68px; }

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img {
  height: 44px;
  width: auto;
  transition: height .3s var(--ease);
}
.header.is-scrolled .brand img { height: 38px; }

.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: .895rem;
  font-weight: 500;
  transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--brand-700); background: var(--brand-50); }
.nav__link.is-active { color: var(--brand-700); background: var(--brand-50); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.header__cta svg { width: 15px; height: 15px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 0;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__cta-mobile { display: none; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #0c2540;
  min-height: clamp(620px, 86vh, 840px);
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: -2%;
  background: url('../img/hero.webp') center 42% / cover no-repeat;
  transform: scale(1.03);
  z-index: -3;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(112deg, rgba(6, 22, 39, .95) 0%, rgba(11, 40, 69, .88) 38%, rgba(23, 66, 108, .72) 68%, rgba(43, 96, 151, .6) 100%),
    radial-gradient(760px 420px at 84% 4%, rgba(223, 6, 34, .16), transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(70% 70% at 50% 45%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000 0%, transparent 78%);
  opacity: .5;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1000px);
  margin-inline: auto;
  padding: clamp(90px, 11vh, 128px) 0 clamp(110px, 13vh, 148px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__rule {
  display: block;
  width: 52px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  margin-bottom: 22px;
  box-shadow: 0 0 22px rgba(223, 6, 34, .55);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.35rem, 4.5vw, 3.95rem);
  line-height: 1.12;
  letter-spacing: .002em;
  color: #fff;
  margin: 22px 0 0;
  text-wrap: balance;
  text-shadow: 0 6px 40px rgba(2, 12, 24, .35);
}
.hero__hl { color: #c6dff8; }
.hero__lead {
  max-width: 660px;
  margin: 24px auto 34px;
  font-size: clamp(.97rem, 1.1vw, 1.09rem);
  line-height: 1.78;
  color: rgba(255, 255, 255, .82);
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 52px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .68);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; color: #9dc4ea; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: rgba(255, 255, 255, .8);
  animation: bob 2.8s var(--ease) infinite;
  transition: background .25s, border-color .25s;
}
.hero__scroll:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
.hero__scroll svg { width: 18px; height: 18px; }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 7px); }
}

/* ---------- 8. About ---------- */
.about { overflow: hidden; }
.about__deco {
  position: absolute;
  top: -140px;
  right: -220px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 118, 189, .12), transparent 66%);
  pointer-events: none;
}
.about__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(40px, 5.4vw, 78px);
}
.about__content .pill { margin-bottom: 20px; }
.about__content h2 { margin-bottom: 18px; }
.about__content > p { max-width: 560px; }
.about__content .lead { margin-bottom: 16px; }

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
  margin: 26px 0 32px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-2);
  font-size: .9rem;
  line-height: 1.5;
}
.checklist__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 1px;
  border: 1px solid var(--brand-100);
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand);
}
.checklist__icon svg { width: 13px; height: 13px; stroke-width: 2.6; }

.about__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.about__media { position: relative; padding: 0 0 26px 0; }
.about__figure {
  position: relative;
  z-index: 2;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 44px 80px -48px rgba(13, 35, 58, .65);
}
.about__figure img {
  width: 100%;
  aspect-ratio: 1 / 1.02;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.about__media:hover .about__figure img { transform: scale(1.04); }
.about__frame {
  position: absolute;
  z-index: 1;
  inset: 28px -28px 0 34px;
  border: 1px solid var(--brand-200);
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(238, 245, 252, .9), rgba(238, 245, 252, 0));
}
.float-card {
  position: absolute;
  z-index: 3;
  left: -22px;
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 14px;
  border: 1px solid #eef3f9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 26px 50px -26px rgba(13, 35, 58, .5);
}
.float-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-50);
  color: var(--accent);
}
.float-card__icon svg { width: 22px; height: 22px; }
.float-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.float-card small { color: var(--muted); font-size: .76rem; }

/* ---------- 9. Services ---------- */
.services { overflow: hidden; }
.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 1200px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.s-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 24px 22px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.s-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .45s var(--ease);
}
.s-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-200);
  box-shadow: 0 30px 54px -34px rgba(13, 35, 58, .45);
}
.s-card:hover::before { transform: scaleX(1); }

.s-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.s-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--brand-100);
  border-radius: 13px;
  background: var(--brand-50);
  color: var(--brand);
  transition: background .3s, color .3s, border-color .3s;
}
.s-card__icon svg { width: 22px; height: 22px; }
.s-card:hover .s-card__icon { background: var(--brand); color: #fff; border-color: var(--brand); }
.s-card__seal {
  width: 52px;
  height: 52px;
  object-fit: contain;
  opacity: .72;
  transition: opacity .3s, transform .4s var(--ease);
}
.s-card:hover .s-card__seal { opacity: 1; transform: scale(1.06) rotate(-3deg); }
.s-card h3 {
  font-family: var(--font-head);
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
.s-card__cat {
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
}
.s-card p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: .855rem;
  line-height: 1.66;
  color: var(--muted);
}
.s-card__link { margin-top: auto; padding-top: 10px; font-size: .83rem; }

.services__cta { margin-top: 38px; text-align: center; }

.industries {
  margin-top: clamp(44px, 5.5vw, 70px);
  padding-top: 34px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.industries__label {
  margin-bottom: 18px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.industries__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.industries__list li {
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: .82rem;
  font-weight: 500;
  transition: color .25s, border-color .25s, transform .25s;
}
.industries__list li:hover {
  color: var(--brand-700);
  border-color: var(--brand-200);
  transform: translateY(-2px);
}

/* ---------- 10. Partners ---------- */
.partners { background: #fff; overflow: hidden; }
.partners__deco {
  position: absolute;
  top: 10%;
  right: -260px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 118, 189, .09), transparent 65%);
  pointer-events: none;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 66px);
}
.stat {
  padding: 26px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f4f8fd);
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.stat:hover {
  transform: translateY(-3px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-sm);
}
.stat__num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 2.7vw, 2.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--brand-700);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: 10px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin-inline: auto;
}
.logo-grid li {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / .78;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.logo-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .35s, opacity .35s, transform .35s var(--ease);
}
.logo-grid li:hover {
  transform: translateY(-4px);
  border-color: var(--brand-200);
  box-shadow: 0 22px 44px -30px rgba(13, 35, 58, .5);
}
.logo-grid li:hover img { filter: none; opacity: 1; transform: scale(1.03); }
.partners__cta { margin-top: 32px; text-align: center; }

/* ---------- 11. Testimonials ---------- */
.testimonials {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #071727 0%, #0e2b47 46%, #1b4a7a 100%);
  color: #fff;
}
.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(55, 118, 189, .38), transparent 42%),
    radial-gradient(circle at 88% 84%, rgba(223, 6, 34, .1), transparent 42%);
  pointer-events: none;
}
.testimonials__glow {
  position: absolute;
  top: -280px;
  right: -180px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(55, 118, 189, .3);
  filter: blur(130px);
  pointer-events: none;
}
.testimonials .container { position: relative; z-index: 2; }
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.t-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.t-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .085);
  border-color: rgba(255, 255, 255, .22);
}
.t-card__top { display: flex; align-items: center; justify-content: space-between; }
.t-card__quote { width: 30px; height: 30px; fill: var(--accent); stroke: none; opacity: .92; }
.t-card__stars { display: flex; gap: 2px; }
.t-card__stars svg { width: 14px; height: 14px; fill: #f4bd4f; stroke: none; }
.t-card blockquote {
  margin: 0;
  font-size: .95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .86);
}
.t-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #dfe9f5;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
}
.t-card__author strong { display: block; color: #fff; font-size: .9rem; font-weight: 600; }
.t-card__author small { color: rgba(255, 255, 255, .55); font-size: .76rem; }

/* ---------- 12. Contact ---------- */
.contact { background: #f5f8fc; }
.contact__grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: start;
  gap: 26px;
}
.contact__info { display: flex; flex-direction: column; gap: 14px; }

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.info-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-200);
  box-shadow: var(--shadow-sm);
}
.info-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--brand-100);
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand);
}
.info-card__icon svg { width: 20px; height: 20px; }
.info-card__icon--sm { width: 38px; height: 38px; flex-basis: 38px; border-radius: 10px; }
.info-card__icon--sm svg { width: 17px; height: 17px; }
.info-card h3 {
  margin-bottom: 5px;
  font-family: var(--font-head);
  font-size: .94rem;
  font-weight: 600;
  color: var(--ink);
}
.info-card p { margin: 0; font-size: .865rem; line-height: 1.6; color: var(--muted); }
.info-card p a { color: var(--brand-700); font-weight: 500; transition: color .2s; }
.info-card p a:hover { color: var(--brand); text-decoration: underline; }
.info-card--split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-card__row { display: flex; align-items: flex-start; gap: 14px; }

.form-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 34px 70px -46px rgba(13, 35, 58, .45);
}
.form-card__head h3 {
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-card__head p { margin-bottom: 24px; font-size: .87rem; }

.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink-2);
}
.field label span { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dbe5f0;
  border-radius: 11px;
  background: #fbfdff;
  color: var(--ink);
  font-family: inherit;
  font-size: .89rem;
  line-height: 1.5;
  transition: border-color .2s, box-shadow .2s, background .2s;
  appearance: none;
}
.field textarea { min-height: 122px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #9aa9ba; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(55, 118, 189, .12);
}
.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6f86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
}

.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--accent); background: #fffafa; }
.field.is-invalid input:focus,
.field.is-invalid textarea:focus { box-shadow: 0 0 0 4px rgba(223, 6, 34, .1); }
.field__error {
  display: none;
  color: var(--accent);
  font-size: .74rem;
  line-height: 1.4;
}
.field.is-invalid .field__error { display: block; }

.field--check { gap: 6px; }
.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .8rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}
.check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check__box {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  border: 1px solid #cfdceb;
  border-radius: 5px;
  background: #fff;
  transition: background .2s, border-color .2s;
}
.check__box svg {
  width: 12px;
  height: 12px;
  color: #fff;
  opacity: 0;
  transform: scale(.6);
  stroke-width: 3.2;
  transition: opacity .15s, transform .15s;
}
.check input:checked + .check__box { background: var(--brand); border-color: var(--brand); }
.check input:checked + .check__box svg { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px rgba(55, 118, 189, .16); }
.check a { color: var(--brand-700); text-decoration: underline; }

.form__status { margin: 0; font-size: .84rem; line-height: 1.5; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--accent); }
.form__status.is-success {
  padding: 12px 14px;
  border: 1px solid #c9efdb;
  border-radius: 10px;
  background: #eefaf4;
  color: #1b7a4f;
}

/* ---------- 13. CTA ---------- */
.cta-section { padding: 0 0 clamp(56px, 7vw, 92px); background: #f5f8fc; }
.cta-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  padding: clamp(34px, 4.6vw, 58px);
  border-radius: var(--radius-xl);
  background: linear-gradient(115deg, #123a61 0%, #256091 48%, #3776bd 100%);
  box-shadow: 0 40px 80px -50px rgba(13, 35, 58, .85);
  color: #fff;
}
.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-card::before {
  width: 360px;
  height: 360px;
  top: -170px;
  right: -80px;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, .035), 0 0 0 80px rgba(255, 255, 255, .025);
}
.cta-card::after {
  width: 240px;
  height: 240px;
  left: -90px;
  bottom: -140px;
  background: rgba(223, 6, 34, .16);
  filter: blur(44px);
}
.cta-card__content { position: relative; z-index: 1; max-width: 540px; }
.cta-card h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
}
.cta-card p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
  line-height: 1.7;
}
.cta-card__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* ---------- 14. Footer ---------- */
.footer {
  position: relative;
  padding-top: clamp(50px, 6vw, 76px);
  background: #071a2b;
  color: rgba(255, 255, 255, .6);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, #6fa3d6 55%, var(--accent) 100%);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.55fr .85fr .9fr 1.2fr;
  gap: clamp(28px, 3.6vw, 54px);
  padding-bottom: 46px;
}
.footer__logo {
  display: inline-block;
  padding: 9px 13px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: #fff;
}
.footer__logo img { height: 30px; width: auto; }
.footer__brand p {
  max-width: 320px;
  margin: 0 0 22px;
  font-size: .865rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, .55);
}
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  color: rgba(255, 255, 255, .68);
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.footer__social a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}
.footer__social svg { width: 15px; height: 15px; }

.footer__col h4 {
  margin: 6px 0 18px;
  font-family: var(--font-head);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a {
  display: inline-block;
  color: rgba(255, 255, 255, .58);
  font-size: .865rem;
  transition: color .2s, transform .2s var(--ease);
}
.footer__col ul a:hover { color: #fff; transform: translateX(3px); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: .845rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .58);
}
.footer__contact-item svg { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 3px; color: rgba(255, 255, 255, .38); }
.footer__contact-item a { color: rgba(255, 255, 255, .58); transition: color .2s; }
.footer__contact-item a:hover { color: #fff; }
.footer__btn {
  margin-top: 16px;
  border-color: rgba(255, 255, 255, .2);
  background: transparent;
  color: #fff;
}
.footer__btn:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .38); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer__bottom p { margin: 0; font-size: .79rem; color: rgba(255, 255, 255, .42); }
.footer__legal { display: flex; align-items: center; gap: 10px; font-size: .79rem; color: rgba(255, 255, 255, .3); }
.footer__legal a { color: rgba(255, 255, 255, .42); font-size: .79rem; transition: color .2s; }
.footer__legal a:hover { color: #fff; }

/* ---------- 15. Floating actions ---------- */
.fab-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.fab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 52px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 16px 34px -14px rgba(13, 35, 58, .55);
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.fab:hover { transform: translateY(-2px); }
.fab--whatsapp { background: var(--accent); color: #fff; }
.fab--whatsapp:hover { background: var(--accent-600); }
.fab--whatsapp svg { width: 23px; height: 23px; fill: currentColor; stroke: none; }
.fab__label { font-size: .82rem; font-weight: 600; white-space: nowrap; }

.fab--top {
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand-700);
}
.fab--top svg { width: 18px; height: 18px; }
.fab--top[hidden] { display: none; }

/* ---------- 16. Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1120px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1040px) {
  :root { --header-h: 72px; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    padding: 10px 24px 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 34px 50px -26px rgba(13, 35, 58, .5);
    min-height: calc(100vh - var(--header-h));
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    padding: 14px 14px;
    border-bottom: 1px solid #f0f4f9;
    border-radius: 0;
    font-size: 1rem;
  }
  .nav__link.is-active { background: transparent; color: var(--brand); }
  .nav__cta-mobile { display: block; margin-top: 18px; }
  .nav-toggle { display: flex; }
  .header__cta { display: none; }

  .about__grid { grid-template-columns: 1fr; gap: 44px; }
  .about__media { max-width: 560px; margin-inline: auto; }
  .about__frame { inset: 24px -24px 0 30px; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.1fr; }
  .footer__col--contact { grid-column: 1 / -1; }
  .footer__col--contact .footer__btn { display: none; }
}

@media (max-width: 900px) {
  .hero { min-height: 78vh; }
  .hero__trust { gap: 10px 22px; }
  .t-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .cta-card { flex-direction: column; align-items: flex-start; }
  .cta-card::before { right: -140px; }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .topbar__item--hide-md { display: none; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  :root { --header-h: 66px; }

  .hero h1 { font-size: clamp(2rem, 7.4vw, 2.9rem); }
  .hero__lead { font-size: .96rem; margin-top: 20px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__trust { flex-direction: column; align-items: center; gap: 8px; margin-top: 38px; }
  .hero__scroll { display: none; }
  .br-lg { display: none; }

  .checklist { grid-template-columns: 1fr; }
  .about__frame { display: none; }
  .float-card { left: 12px; bottom: -14px; }

  .stats { grid-template-columns: 1fr; max-width: 420px; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .logo-grid li { padding: 16px; }

  .form__row { grid-template-columns: 1fr; }
  .info-card--split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col--contact { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }

  .fab { height: 48px; padding: 0 15px; }
  .fab__label { display: none; }
  .fab-stack { right: 16px; bottom: 16px; }

  .topbar__inner { min-height: 36px; }
  .topbar__item--hide-sm { display: none; }
  .topbar__note { display: none; }
}

@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero__inner { padding: 72px 0 86px; }
  .hero__cta { width: 100%; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .brand img { height: 38px; }
  .header.is-scrolled .brand img { height: 34px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-card__actions { width: 100%; }
  .cta-card__actions .btn { width: 100%; }
  .section-head { align-items: flex-start; text-align: left; }
  .about__cta { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}
