/* ==========================================================================
   Techniside — Homepage
   Design target: 1440px desktop (reference mockup x 1.406).
   1rem = 16px @ 1440px viewport; the root size scales fluidly on desktop so
   the composition keeps the reference proportions. See responsive.css for
   tablet / mobile layouts.
   ========================================================================== */

:root {
  /* Brand palette */
  --c-primary: #1769D2;
  --c-primary-600: #145CC0;
  --c-primary-700: #0F4FA8;
  --c-secondary: #397FD0;
  --c-navy: #0B1428;
  --c-ink: #101828;
  --c-text: #526174;
  --c-muted: #6B7689;
  --c-bg: #FFFFFF;
  --c-bg-soft: #F5F8FC;
  --c-border: #E4EAF2;
  --c-tint: #E6EFFC;

  /* Product identities */
  --blue: #1F6FE5;   --blue-bg-1: #EAF2FE; --blue-bg-2: #DDE9FB; --blue-badge: #CFE0FA; --blue-ink: #1D4ED8;
  --purple: #7C3AED; --purple-bg-1: #F3EEFE; --purple-bg-2: #E7DDFB; --purple-badge: #E4D6FB; --purple-ink: #6D28D9;
  --green: #15803D;  --green-bg-1: #EAF6F0; --green-bg-2: #DCEFE5; --green-badge: #CDEEDB; --green-ink: #166534;
  --red: #E5354F;    --red-bg-1: #FEF0F2; --red-bg-2: #FBE2E6; --red-badge: #FBD3DA; --red-ink: #BE123C;

  /* Typography */
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;

  /* Layout */
  --header-h: 3.375rem;
  --wrap-max: 90rem;
  --gutter: 3.94rem;          /* header + hero side margin */
  --gutter-wide: 2.1rem;      /* content sections side margin */

  /* Radius & shadow */
  --r-sm: 5px;
  --r-md: 10px;
  --r-lg: 14px;
  --shadow-card: 0 6px 18px rgba(26, 54, 99, .06);
  --shadow-soft: 0 10px 30px rgba(26, 54, 99, .08);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

html {
  font-size: clamp(13.5px, 1.1111vw, 17px);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-ink);
  background: var(--c-bg);
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font); color: var(--c-ink); margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
address { margin: 0; font-style: normal; }

:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 2000;
  background: var(--c-primary); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm);
}
.skip-link:focus { top: 1rem; }

.wrap, .wrap-wide { width: 100%; max-width: var(--wrap-max); margin-inline: auto; }
.wrap { padding-inline: var(--gutter); }
.wrap-wide { padding-inline: var(--gutter-wide); }
.text-brand { color: var(--c-primary); }

/* ---------- Shared components ---------- */
.btn {
  --bs-btn-font-family: var(--font);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 600; border-radius: var(--r-sm); white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn i { font-size: 1.05em; transition: transform .2s var(--ease); }
.btn:hover i.bi-arrow-right { transform: translateX(3px); }

.btn-brand {
  background: linear-gradient(180deg, #1E73E0 0%, var(--c-primary) 100%);
  color: #fff; border: 1px solid var(--c-primary-600);
  box-shadow: 0 6px 14px rgba(23, 105, 210, .22);
}
.btn-brand:hover, .btn-brand:focus-visible { background: var(--c-primary-700); color: #fff; border-color: var(--c-primary-700); box-shadow: 0 8px 20px rgba(23, 105, 210, .3); transform: translateY(-1px); }
.btn-brand:active { background: var(--c-primary-700) !important; color: #fff !important; }

.btn-ghost { background: #fff; color: var(--c-ink); border: 1px solid #CDD6E3; }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--c-primary); color: var(--c-primary); background: #fff; transform: translateY(-1px); }

.btn-white { background: #fff; color: var(--c-ink); border: 0; font-weight: 700; box-shadow: 0 8px 22px rgba(10, 37, 92, .22); }
.btn-white:hover, .btn-white:focus-visible { background: #fff; color: var(--c-primary); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10, 37, 92, .3); }

.pill {
  display: inline-flex; align-items: center; border-radius: 2rem;
  font-size: .8rem; font-weight: 600; line-height: 1; padding: .42rem .95rem;
}
.pill-soft { background: #E2ECFA; color: #17346B; }
.pill-dark { color: #E7EEFA; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); text-transform: uppercase; font-size: .64rem; letter-spacing: .04em; padding: .42rem .8rem; }

.eyebrow {
  display: inline-block; background: #E3EDFB; color: #1D4ED8;
  font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: .32rem .75rem; border-radius: 2rem; line-height: 1.2;
}

.section-intro h2 { font-size: 1.72rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-top: .8rem; }
.section-intro p { font-size: .84rem; color: var(--c-text); line-height: 1.55; margin-top: .75rem; max-width: 22rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; color: var(--c-primary); font-weight: 600; font-size: .86rem; margin-top: 1.55rem; }
.link-arrow i { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--c-primary-700); }
.link-arrow:hover i { transform: translateX(4px); }

/* ==========================================================================
   01 HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  transition: box-shadow .25s var(--ease);
}
/* The blur lives on a pseudo-layer: a backdrop-filter on the header itself would make
   overflowing children (dropdowns, offcanvas) render incorrectly. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(244, 248, 254, .86);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  transition: background-color .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--c-border), 0 8px 24px rgba(16, 24, 40, .05); }
.site-header.is-scrolled::before { background: rgba(255, 255, 255, .94); }

.site-header .navbar { padding: 0; height: var(--header-h); }
.nav-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.32rem; letter-spacing: -.03em; color: var(--c-ink); }
.brand img { width: 1.75rem; height: 1.75rem; }
.brand:hover { color: var(--c-ink); }

.nav-links { flex-direction: row; gap: 2.55rem; align-items: center; height: var(--header-h); }
.nav-links .nav-link {
  position: relative; padding: 0 !important; height: var(--header-h); display: flex; align-items: center; gap: .35rem;
  font-size: .845rem; font-weight: 500; color: #1F2A3D;
  transition: color .2s var(--ease);
}
.nav-links .nav-link:hover, .nav-links .nav-link:focus-visible, .nav-links .nav-link.show { color: var(--c-primary); }
.nav-links .nav-link.active { color: var(--c-ink); font-weight: 600; }
.nav-links .nav-link::after { content: none; }
.nav-links .nav-link::before {
  content: ""; position: absolute; left: -.85rem; right: -.85rem; bottom: .55rem; height: 2px; border-radius: 2px;
  background: var(--c-primary); transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav-links .nav-link.active::before { transform: scaleX(1); }
.nav-links .dropdown-toggle::after {
  content: "\F282"; font-family: "bootstrap-icons"; border: 0; margin: 0; vertical-align: 0;
  font-size: .62rem; font-weight: 700; transition: transform .2s var(--ease); display: inline-block;
}
.nav-links .dropdown-toggle.show::after { transform: rotate(180deg); }

.nav-links .dropdown-menu {
  --bs-dropdown-min-width: 15rem;
  border: 1px solid var(--c-border); border-radius: 12px; padding: .5rem;
  box-shadow: 0 18px 40px rgba(16, 24, 40, .12); margin-top: 0 !important; font-size: .84rem;
}
.dropdown-item { border-radius: 8px; padding: .5rem .7rem; color: var(--c-ink); font-weight: 500; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.dropdown-item small { width: 100%; padding-left: 2.1rem; margin-top: -.3rem; color: var(--c-muted); font-size: .72rem; font-weight: 400; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--c-tint); color: var(--c-primary); }
.dd-dot { width: 1.5rem; height: 1.5rem; border-radius: 6px; background: var(--c); color: #fff; font-weight: 800; font-size: .72rem; display: inline-grid; place-items: center; }
.dd-all { color: var(--c-primary); font-weight: 600; }

@media (min-width: 992px) {
  .main-nav { justify-self: center; }
  .nav-links .dropdown-menu { display: block; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
  .nav-links .dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links .dropdown:hover > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
}

.nav-actions { justify-self: end; display: flex; align-items: center; gap: 1.55rem; }
.icon-btn { border: 0; background: transparent; padding: .3rem; color: #1F2A3D; font-size: 1.05rem; line-height: 1; border-radius: 8px; transition: color .2s var(--ease), background-color .2s var(--ease); }
.icon-btn:hover { color: var(--c-primary); background: var(--c-tint); }
.btn-touch { font-size: .84rem; padding: .48rem 1.1rem; height: 2.125rem; }

.nav-toggle { display: none; border: 1px solid var(--c-border); border-radius: 10px; padding: .35rem .55rem; font-size: 1.35rem; color: var(--c-ink); background: #fff; }
.nav-toggle:focus { box-shadow: none; }

/* ==========================================================================
   02 HERO
   ========================================================================== */
.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 2.75rem);
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(208, 226, 250, .55) 0%, rgba(208, 226, 250, 0) 70%),
    linear-gradient(180deg, #F3F7FD 0%, #F2F6FD 70%, #F7FAFE 100%);
  overflow: hidden;
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, #E3EAF4 20%, #E3EAF4 80%, transparent); }

.hero-grid { display: grid; grid-template-columns: 33.75rem minmax(0, 1fr); align-items: start; position: relative; }

.hero-copy { position: relative; z-index: 2; padding-bottom: 1.45rem; }
.hero-copy h1 {
  margin-top: 1.55rem;
  font-size: 3.24rem; line-height: 1.07; font-weight: 800; letter-spacing: -.035em; color: var(--c-navy);
}
.h1-line { display: block; white-space: nowrap; }
.hero-lead { margin-top: .5rem; font-size: 1.08rem; line-height: 1.42; color: #46536A; max-width: 33.5rem; }
.hero-cta { display: flex; gap: .7rem; margin-top: 1.55rem; flex-wrap: wrap; }
.btn-lg-hero { height: 2.5rem; font-size: .9rem; padding: 0 1.25rem; }
.hero-cta .btn-brand { min-width: 14.05rem; }
.hero-cta .btn-ghost { min-width: 9.8rem; }

.hero-features { display: grid; grid-template-columns: 9.7rem 11.6rem 11.6rem; justify-content: start; margin-top: 2.3rem; }
.hero-features li { padding: 0 1rem 0 1.75rem; border-left: 1px solid #D9E1EC; }
.hero-features li:first-child { padding-left: 0; border-left: 0; }
.hero-features i { font-size: 1.8rem; color: var(--c-primary); line-height: 1; display: block; height: 2rem; margin-left: .05rem; }
.hero-features h2 { font-size: .86rem; font-weight: 700; margin-top: 1.15rem; letter-spacing: -.01em; }
.hero-features p { font-size: .72rem; color: var(--c-muted); line-height: 1.4; margin-top: .3rem; }

.hero-visual {
  position: relative; aspect-ratio: 580 / 335;
  margin: -2.2rem -1.8rem 0 -.8rem;
}
.hero-visual > * { position: absolute; }
.blob { border-radius: 50%; filter: blur(.5px); }
.blob-a {
  left: 44%; top: 2%; width: 56%; height: 96%;
  border-radius: 48% 52% 40% 60% / 42% 46% 54% 58%;
  background: linear-gradient(160deg, #D4E5FB 0%, #BCD6F7 55%, #C9DDF8 100%);
}
.blob-b {
  left: 4%; top: 50%; width: 34%; height: 46%;
  border-radius: 60% 40% 50% 50% / 55% 50% 50% 45%;
  background: linear-gradient(180deg, #DCE9FB 0%, #E7F0FC 100%); opacity: .9;
}
.hv-laptop { left: .5%; top: 9.6%; width: 85.6%; z-index: 1; }
.hv-phone { left: 72.8%; top: 26.5%; width: 19.6%; z-index: 3; transform: rotate(3deg); transform-origin: 50% 100%; }
.growth-chip {
  left: 8.1%; top: 60.6%; z-index: 4;
  display: flex; align-items: center; gap: .7rem;
  background: rgba(255, 255, 255, .96); border-radius: 10px; padding: .72rem 1.1rem .72rem .9rem;
  box-shadow: 0 14px 30px rgba(28, 63, 120, .16);
  animation: float 6s ease-in-out infinite;
}
.growth-chip i { font-size: 1.9rem; color: #16A34A; line-height: 1; }
.growth-chip strong { display: block; font-size: 1.12rem; font-weight: 800; line-height: 1.1; color: var(--c-ink); }
.growth-chip span { display: block; font-size: .7rem; color: var(--c-muted); white-space: nowrap; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ==========================================================================
   03 STATS
   ========================================================================== */
.stats { padding: 1.6rem 0 1.65rem; background: #fff; }
.stats .wrap { padding-inline: var(--gutter-wide); }
.stats-row { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 77.1rem; margin-inline: auto; }
.stats-row li { display: flex; align-items: center; gap: .95rem; padding-left: 2.9rem; border-left: 1px solid #DCE3EE; min-height: 3.5rem; }
.stats-row li:first-child { border-left: 0; padding-left: 2.5rem; }
.stats-row i { font-size: 2.1rem; color: var(--c-primary); line-height: 1; }
.stats-row strong { display: block; font-size: 1.45rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--c-ink); }
.stats-row span { display: block; font-size: .85rem; color: var(--c-text); margin-top: .1rem; }

/* ==========================================================================
   04 PRODUCTS
   ========================================================================== */
.products { padding: 1.9rem 0 0; }
.products-grid { display: grid; grid-template-columns: 16.7rem minmax(0, 1fr); column-gap: 1.1rem; }
.products .section-intro { padding-top: 3.6rem; }
.products .section-intro h2 { margin-top: .95rem; }

.product-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.product-card {
  --tone: var(--blue); --bg1: var(--blue-bg-1); --bg2: var(--blue-bg-2); --badge: var(--blue-badge); --ink: var(--blue-ink);
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  height: 27.5rem; padding: 1.2rem 1.35rem 0; border-radius: var(--r-md); overflow: hidden;
  background: linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 100%);
  border: 1px solid color-mix(in srgb, var(--bg2) 70%, #fff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(26, 54, 99, .12); }
.theme-purple { --tone: var(--purple); --bg1: var(--purple-bg-1); --bg2: var(--purple-bg-2); --badge: var(--purple-badge); --ink: var(--purple-ink); }
.theme-green  { --tone: var(--green);  --bg1: var(--green-bg-1);  --bg2: var(--green-bg-2);  --badge: var(--green-badge);  --ink: var(--green-ink); }
.theme-red    { --tone: var(--red);    --bg1: var(--red-bg-1);    --bg2: var(--red-bg-2);    --badge: var(--red-badge);    --ink: var(--red-ink); }

.p-logo {
  width: 2.5rem; height: 2.5rem; border-radius: 8px; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1.55rem; line-height: 1;
  background: linear-gradient(160deg, color-mix(in srgb, var(--tone) 78%, #fff) 0%, var(--tone) 60%, color-mix(in srgb, var(--tone) 80%, #000) 100%);
  box-shadow: 0 6px 14px color-mix(in srgb, var(--tone) 30%, transparent), inset 0 1px 0 rgba(255,255,255,.35);
}
.p-logo i { font-size: 1.3rem; }
.product-card h3 { font-size: 1.38rem; font-weight: 800; letter-spacing: -.02em; margin-top: .55rem; line-height: 1.2; }
.p-badge { margin-top: .4rem; background: var(--badge); color: var(--ink); font-size: .74rem; font-weight: 600; border-radius: 2rem; padding: .3rem .85rem; line-height: 1.2; }
.product-card > p { font-size: .8rem; line-height: 1.32; color: #2F3B4F; margin-top: .75rem; }
.checklist { margin-top: .6rem; display: grid; gap: .28rem; }
.checklist li { position: relative; padding-left: 1.3rem; font-size: .74rem; color: #3A465A; line-height: 1.45; }
.checklist li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--tone); font-weight: 700; font-size: .95rem; line-height: 1.1; }

.btn-outline-pill {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.05rem;
  font-size: .76rem; font-weight: 600; color: var(--ink);
  background: rgba(255, 255, 255, .78); border: 1.3px solid var(--tone); border-radius: 2rem; padding: .32rem 1rem;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.btn-outline-pill:hover, .btn-outline-pill:focus-visible { background: var(--tone); color: #fff; }
.btn-outline-pill.stretched-link::after { border-radius: var(--r-md); }
.product-card:hover .btn-outline-pill { background: var(--tone); color: #fff; }

.p-shot { flex: 1 1 auto; min-height: 0; align-self: stretch; margin: 1.6rem -.55rem 0; overflow: hidden; }
.p-shot img { width: 100%; transition: transform .45s var(--ease); transform-origin: 50% 0; }
.product-card:hover .p-shot img { transform: translateY(-6px); }

/* ==========================================================================
   05 MOBILE APPS
   ========================================================================== */
.apps-section { padding: 2.45rem 0 0; }
.apps-panel {
  position: relative; display: grid; grid-template-columns: 25rem 24.4rem minmax(0, 1fr); align-items: center;
  margin-inline: -.8rem; min-height: 12.75rem; border-radius: 12px; color: #fff;
  background:
    radial-gradient(50% 120% at 35% 50%, rgba(73, 104, 160, .35) 0%, rgba(73, 104, 160, 0) 70%),
    linear-gradient(100deg, #1A2A4A 0%, #22355A 45%, #1D2E50 100%);
  box-shadow: 0 18px 36px rgba(16, 32, 64, .18);
}
.apps-intro { padding: 1.1rem 1rem 1.6rem 2.6rem; }
.apps-intro h2 { color: #fff; font-size: 1.56rem; font-weight: 800; letter-spacing: -.02em; margin-top: .6rem; line-height: 1.15; }
.apps-intro p { color: #D3DCEC; font-size: .86rem; line-height: 1.5; margin-top: .65rem; max-width: 21rem; }

.apps-devices { position: relative; align-self: stretch; height: 100%; clip-path: inset(-3rem -2rem 0 -2rem); }
.apps-devices img { position: absolute; width: 9rem; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35)); transition: transform .5s var(--ease); }
.dev-prolife { left: 2.4rem; top: -1.1rem; transform: rotate(-12deg); z-index: 2; }
.dev-niskaricho { left: 13.4rem; top: -.4rem; transform: rotate(10deg); z-index: 1; }
.apps-panel:hover .dev-prolife { transform: rotate(-10deg) translateY(-4px); }
.apps-panel:hover .dev-niskaricho { transform: rotate(8deg) translateY(-4px); }

.apps-list { padding: .9rem 1.7rem .9rem 1.1rem; }
.app-row { display: grid; grid-template-columns: 3.1rem minmax(0, 1fr) auto; align-items: center; column-gap: .95rem; padding: .65rem 0; }
.app-row + .app-row { border-top: 1px solid rgba(255, 255, 255, .14); }
.app-icon { width: 3.1rem; height: 3.1rem; border-radius: 12px; box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }
.app-body h3 { color: #fff; font-size: 1.16rem; font-weight: 700; line-height: 1.2; }
.app-body p { color: #E3EAF6; font-size: .86rem; margin-top: .1rem; }
.app-feats { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; margin-top: .3rem; }
.app-feats li { font-size: .66rem; color: #C9D4E7; display: inline-flex; align-items: center; gap: .3rem; }
.app-feats li::before { content: "\F26E"; font-family: "bootstrap-icons"; color: #60A5FA; font-size: .9rem; line-height: 1; }
.btn-app {
  display: inline-flex; align-items: center; gap: .45rem; height: 1.75rem; padding: 0 .8rem;
  border: 1.2px solid rgba(255, 255, 255, .7); border-radius: 6px; color: #fff; font-size: .74rem; font-weight: 600; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.btn-app:hover, .btn-app:focus-visible { background: #fff; color: var(--c-navy); }

/* ==========================================================================
   06 FEATURED WORK
   ========================================================================== */
.work { padding: 1.75rem 0 0; }
.work-grid { display: grid; grid-template-columns: 17.05rem minmax(0, 1fr); column-gap: 1.1rem; align-items: start; }
.work .section-intro { padding: .5rem 0 0 .5rem; }
.work .section-intro h2 { margin-top: .85rem; }
.work .link-arrow { margin-top: 1.4rem; }

.work-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .75rem; }
.work-card {
  display: flex; flex-direction: column; align-items: flex-start;
  background: linear-gradient(180deg, #F7FAFE 0%, #F1F5FB 100%); border: 1px solid #E5ECF5; border-radius: var(--r-md);
  padding: .6rem .6rem .8rem; min-height: 10.9rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: #D4E1F3; background: #fff; }
.w-thumb { display: block; width: 100%; aspect-ratio: 156 / 80; border-radius: 6px; overflow: hidden; background: #E8EEF6; box-shadow: 0 2px 6px rgba(16, 24, 40, .08); }
.w-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s var(--ease); }
.work-card:hover .w-thumb img { transform: scale(1.05); }
.work-card h3 { font-size: .84rem; font-weight: 700; margin-top: .62rem; padding-left: .3rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.w-tag { margin: .35rem 0 0 .3rem; font-size: .66rem; color: #4A5568; background: #E8EEF6; border-radius: 1rem; padding: .18rem .6rem; line-height: 1.3; }
.w-url { margin: .55rem 0 0 .3rem; font-size: .7rem; font-weight: 600; color: var(--c-primary); display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.w-url i { font-size: .72rem; transition: transform .2s var(--ease); }
.work-card:hover .w-url i { transform: translate(2px, -2px); }

/* ==========================================================================
   07 SERVICES
   ========================================================================== */
.services { padding: 1.75rem 0 0; }
.services-grid { display: grid; grid-template-columns: 18.4rem minmax(0, 1fr); column-gap: 1.1rem; align-items: start; }
.services .section-intro { padding-left: .1rem; }
.services .section-intro h2 { margin-top: .85rem; font-size: 1.78rem; }
.services .section-intro p { font-size: .9rem; max-width: 17rem; }

.service-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.1rem; position: relative; }
.service-list::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #E8EDF4; }
.service-list li { display: flex; gap: .95rem; align-items: flex-start; padding: .2rem 0 .75rem; }
.service-list li:nth-child(n + 5) { padding: .8rem 0 0; }
.s-icon {
  flex: 0 0 auto; width: 3rem; height: 3rem; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(180deg, #F2F6FC 0%, #EAF0F9 100%); color: var(--c-primary); font-size: 1.45rem;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.service-list li:hover .s-icon { background: var(--c-primary); color: #fff; transform: translateY(-2px); }
.service-list h3 { max-width: 10.6rem; font-size: .84rem; font-weight: 700; line-height: 1.28; letter-spacing: -.01em; }
.service-list p { font-size: .69rem; line-height: 1.42; color: #5B6577; margin-top: .35rem; }

/* ==========================================================================
   08 INDUSTRIES
   ========================================================================== */
.industries { padding: 1.3rem 0 0; }
.industries-panel {
  display: grid; grid-template-columns: 18.4rem minmax(0, 1fr); align-items: center;
  margin-inline: -.8rem; padding: .8rem 1.75rem .8rem 3.75rem; border-radius: var(--r-lg);
  background: linear-gradient(90deg, #F3F7FC 0%, #F5F8FD 100%); border: 1px solid #EDF2F8;
}
.ind-intro h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.ind-intro p { font-size: .86rem; color: var(--c-text); line-height: 1.5; margin-top: .45rem; max-width: 15rem; }
.ind-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; }
.ind-cards li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; height: 4.7rem;
  background: #fff; border-radius: var(--r-md); box-shadow: 0 4px 14px rgba(26, 54, 99, .06); border: 1px solid #EEF2F8;
  text-align: center; padding: 0 .5rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.ind-cards li:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.ind-cards i { font-size: 1.45rem; color: var(--c-primary); line-height: 1; }
.ind-svg { width: 1.5rem; height: 1.5rem; color: var(--c-primary); }
.ind-cards span { font-size: .76rem; font-weight: 600; color: #1F2A3D; line-height: 1.25; }

/* ==========================================================================
   09 CTA
   ========================================================================== */
.cta { padding: .9rem 0 0; }
.cta-panel {
  position: relative; overflow: hidden; display: flex; align-items: center;
  margin-inline: -.8rem; min-height: 6.2rem; padding: .45rem 4.3rem .45rem 4.75rem; border-radius: var(--r-lg); color: #fff;
  background:
    radial-gradient(40% 140% at 82% 0%, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(95deg, #2A60C6 0%, #2F6CD3 40%, #3A7EDF 100%);
  box-shadow: 0 16px 34px rgba(31, 92, 196, .25);
}
.cta-panel::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 24px); pointer-events: none; }
.cta-copy { flex: 0 0 32.6rem; position: relative; }
.cta-copy h2 { color: #fff; font-size: 1.86rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
.cta-copy p { color: #E3ECFF; font-size: .86rem; line-height: 1.38; margin-top: .2rem; max-width: 29rem; }
.cta-points { position: relative; display: grid; gap: .32rem; margin-left: 2.35rem; flex: 0 0 auto; }
.cta-points li { display: flex; align-items: center; gap: 1.15rem; font-size: .84rem; font-weight: 500; color: #F1F5FF; }
.cta-points i { font-size: 1.05rem; }
.cta-divider { width: 1px; height: 3.5rem; background: rgba(255, 255, 255, .3); margin-left: auto; }
.cta-squiggle { width: 4rem; height: 2rem; margin: 0 2.2rem 0 2rem; flex: 0 0 auto; }
.cta .btn-white { height: 2.4rem; padding: 0 1.75rem; font-size: .92rem; border-radius: 7px; flex: 0 0 auto; position: relative; }

/* ==========================================================================
   10 FOOTER
   ========================================================================== */
.site-footer { padding: 1.25rem 0 0; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 23.5rem 13.5rem 15.55rem 12.95rem minmax(0, 1fr); padding: 0 1rem 0 2.9rem; }
.f-brand .brand { font-size: 1.28rem; line-height: 1.2; }
.f-brand p { font-size: .66rem; line-height: 1.35; color: #4A5568; margin-top: .3rem; max-width: 14rem; }
.socials { display: flex; gap: 1.1rem; margin-top: .4rem; }
.socials a { color: #1F2A3D; font-size: 1rem; line-height: 1; transition: color .2s var(--ease), transform .2s var(--ease); display: inline-block; }
.socials a:hover { color: var(--c-primary); transform: translateY(-2px); }
.f-col h3 { font-size: .8rem; font-weight: 700; color: var(--c-ink); }
.f-col ul { margin-top: .35rem; }
.f-col li { font-size: .7rem; line-height: 1.42; color: #4A5568; }
.f-col a { color: #4A5568; transition: color .2s var(--ease); }
.f-col a:hover { color: var(--c-primary); }
.f-contact li { display: flex; align-items: center; gap: .8rem; }
.f-contact i { font-size: .9rem; color: #334155; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: .45rem; padding: .3rem 4rem .35rem 2.1rem; border-top: 1px solid #E8EDF4; }
.footer-bottom p, .footer-bottom a { font-size: .64rem; color: #4A5568; }
.footer-bottom ul { display: flex; gap: 3rem; }
.footer-bottom a:hover { color: var(--c-primary); }

/* ==========================================================================
   MODALS, TOAST
   ========================================================================== */
.contact-modal { border: 0; border-radius: 18px; box-shadow: 0 30px 60px rgba(16, 24, 40, .2); font-size: 15px; }
.contact-modal .modal-header { border: 0; padding: 1.5rem 1.5rem .25rem; align-items: flex-start; }
.contact-modal .modal-title { font-size: 1.5rem; font-weight: 800; margin-top: .5rem; letter-spacing: -.02em; }
.contact-modal .modal-body { padding: 1rem 1.5rem 1.5rem; }
.contact-form .form-label { font-size: .85rem; font-weight: 600; color: var(--c-ink); }
.contact-form .form-control, .contact-form .form-select { border-radius: 10px; border-color: #D5DEEA; font-size: .92rem; padding: .6rem .8rem; }
.contact-form .form-control:focus, .contact-form .form-select:focus { border-color: var(--c-primary); box-shadow: 0 0 0 .2rem rgba(23, 105, 210, .15); }
.contact-form .btn-brand { height: 2.9rem; font-size: .95rem; border-radius: 10px; }
.form-note { margin-top: .9rem; font-size: .82rem; color: var(--c-muted); text-align: center; }
.form-note a { color: var(--c-primary); font-weight: 600; }

.search-modal { border: 0; border-radius: 16px; overflow: hidden; font-size: 15px; }
.search-field { display: flex; align-items: center; gap: .75rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--c-border); }
.search-field i { color: var(--c-muted); }
.search-field input { flex: 1; border: 0; outline: 0; font-size: 1rem; font-family: var(--font); background: transparent; }
.search-results { max-height: 50vh; overflow: auto; padding: .4rem; }
.search-results a { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .8rem; border-radius: 10px; color: var(--c-ink); font-weight: 600; font-size: .92rem; }
.search-results a small { color: var(--c-muted); font-weight: 400; }
.search-results a:hover, .search-results a:focus { background: var(--c-tint); color: var(--c-primary); outline: 0; }
.search-results .empty { padding: .8rem; color: var(--c-muted); font-size: .9rem; }

.app-toast { border: 0; border-radius: 12px; background: var(--c-navy); color: #fff; font-size: 14px; box-shadow: 0 16px 34px rgba(11, 20, 40, .3); }
.toast-container { margin-bottom: 76px; } /* sit above the WhatsApp button */

/* ---------- WhatsApp ---------- */
:root { --c-whatsapp: #25D366; --c-whatsapp-dark: #1DA851; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.5rem; }
.contact-actions .btn { height: 2.9rem; font-size: .95rem; border-radius: 10px; }
.btn-whatsapp { background: var(--c-whatsapp); color: #fff; border: 1px solid var(--c-whatsapp-dark); box-shadow: 0 6px 14px rgba(37, 211, 102, .25); }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible, .btn-whatsapp:active { background: var(--c-whatsapp-dark) !important; color: #fff !important; border-color: var(--c-whatsapp-dark) !important; transform: translateY(-1px); }
.btn-whatsapp i { font-size: 1.15em; }
@media (max-width: 420px) { .contact-actions { grid-template-columns: 1fr; } }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 1040;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-whatsapp); color: #fff; font-size: 28px; line-height: 1;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .22);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.wa-float:hover, .wa-float:focus-visible { background: var(--c-whatsapp-dark); color: #fff; transform: translateY(-3px) scale(1.04); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c-whatsapp); animation: wa-pulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@media (max-width: 575.98px) { .wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; font-size: 25px; } }
