/* ==========================================================================
   RDK Technologies — production stylesheet
   Architecture: tokens → reset → typography → layout → components → pages
   Font: Inter
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --color-blue: #1d4ed8;
  --color-blue-bright: #2563eb;
  --color-blue-deep: #1e3a8a;
  --color-navy: #001f5c;
  --color-navy-2: #001640;
  --color-footer: #071428;
  --color-cyan: #00aeef;
  --color-purple: #662d91;
  --color-topbar: #e8f2ff;
  --color-nav: #fffdf8;
  --color-mega: #f4fbf7;
  --color-cream: #faf7f2;
  --color-paper: #f7f9fc;
  --color-text: #0f172a;
  --color-muted: #5b677a;
  --color-line: #e5eaf2;
  --color-white: #ffffff;
  --color-success: #16a34a;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 10px 30px rgba(7, 20, 40, 0.08);
  --shadow-lg: 0 22px 50px rgba(7, 20, 40, 0.14);
  --radius: 14px;
  --container: 1200px;
  --header-h: 100px;
  --space: 16px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

/* --------------------------------------------------------------------------
   3. Typography — single family
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--color-navy);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--color-blue);
  color: #fff;
  padding: 8px 14px;
  z-index: 2000;
  border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-cyan);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-blue));
}

.lead { color: var(--color-muted); font-size: 1.05rem; max-width: 640px; }
.muted { color: var(--color-muted); }
.center { text-align: center; }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section { padding: 64px 0; }
.section.alt { background: var(--color-paper); }
.section.cream { background: var(--color-cream); }

.section-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }

.grid-2,
.grid-3,
.grid-4,
.grid-5 {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3,
.grid-4,
.grid-5 { grid-template-columns: 1fr; }

/* --------------------------------------------------------------------------
   5. Buttons & forms
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  min-height: 44px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-blue-bright), var(--color-blue-deep));
  color: #fff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(37, 99, 235, 0.34); }
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid #c9d4e5;
}
.btn-outline:hover { border-color: var(--color-blue); color: var(--color-blue); }
.btn-light { background: #fff; color: var(--color-blue); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn-block { width: 100%; }
.btn .btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  animation: btnSpin 0.7s linear infinite;
}
.btn.is-loading {
  pointer-events: none;
  opacity: 0.88;
}
.btn.is-loading:hover { transform: none; }
.btn.is-loading .btn-spinner { display: inline-block; }
@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
label { font-weight: 600; font-size: 13px; display: block; margin-bottom: 6px; }
input, textarea, select {
  width: 100%;
  border: 1px solid #d5deea;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  background: #fff;
  color: var(--color-text);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  outline: 2px solid #bfdbfe;
  border-color: var(--color-blue);
}

#siteSearch { display: flex; flex-wrap: wrap; gap: 10px; }
#siteSearch input { flex: 1; min-width: 180px; }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--color-topbar);
  color: #1e3a5f;
  font-size: 12px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar i { color: var(--color-blue); }
.topbar-msg { font-weight: 600; color: var(--color-blue-deep); }
.topbar-hours { display: none; }

.socials { display: flex; gap: 8px; }
.socials a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.topbar .socials a {
  border-radius: 50%;
  background: #fff;
  color: var(--color-blue-deep);
  font-size: 14px;
}
.topbar .socials a i {
  color: var(--color-blue-deep);
}
.topbar .socials a:hover {
  opacity: 0.82;
  color: var(--color-blue-deep);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-nav);
  border-bottom: 1px solid var(--color-line);
  overflow: visible;
  transition: box-shadow 0.25s ease;
}
.header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  min-height: var(--header-h);
  padding: 0;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: min(300px, calc(100vw - 96px));
  height: var(--header-h);
  overflow: hidden;
  line-height: 0;
}
.logo img {
  display: block;
  width: auto;
  height: var(--header-h);
  max-width: none;
  object-fit: contain;
  transform: scale(1.7);
  transform-origin: center center;
}

.nav {
  display: none;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
  margin-left: auto;
}
.nav-item { position: relative; flex: 0 0 auto; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 9px;
  font-size: 14px;
  font-weight: 600;
  color: #243049;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active { color: var(--color-blue); }
.nav-link.active { box-shadow: inset 0 -2px 0 var(--color-blue); }
.nav-link i.chev { font-size: 10px; opacity: 0.7; }

.mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: min(320px, 90vw);
  background: var(--color-mega);
  border: 1px solid #d9eee4;
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.18s ease;
  z-index: 20;
}
.mega.wide {
  min-width: min(560px, 92vw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 14px;
}
.nav-item:nth-last-child(-n+3) .mega { left: auto; right: 0; }
.nav-item:hover .mega,
.nav-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.mega a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
}
.mega a small {
  display: block;
  font-weight: 400;
  color: var(--color-muted);
  font-size: 12px;
  margin-top: 2px;
}
.mega a:hover { background: #fff; color: var(--color-blue); }
.mega i {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--color-blue);
  flex-shrink: 0;
}

.header-cta { display: none; }
.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--color-line);
  background: #fff;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 40, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 1200;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 92vw);
  background: #fbf9ff;
  z-index: 1300;
  transform: translateX(100%);
  transition: 0.28s ease;
  display: flex;
  flex-direction: column;
  padding: 18px 18px calc(18px + var(--safe-bottom));
}
.drawer.open { transform: none; }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.drawer-head img {
  height: 56px;
  width: auto;
  max-width: min(240px, calc(100% - 56px));
  object-fit: contain;
  transform: scale(1.55);
  transform-origin: center center;
}
.drawer-close {
  width: 44px;
  height: 44px;
  border: 0;
  background: #fff;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
}
.drawer-nav { overflow: auto; flex: 1; padding: 8px 0 20px; -webkit-overflow-scrolling: touch; }
.drawer-nav > a,
.acc-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 14px 8px;
  min-height: 48px;
  border: 0;
  background: none;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-navy);
  cursor: pointer;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.acc-panel { display: none; padding: 4px 8px 10px 16px; }
.acc-panel.open { display: block; }
.acc-panel a { display: block; padding: 10px 0; color: #334155; font-weight: 500; }
.drawer-cta { margin-top: auto; padding-top: 12px; }

/* --------------------------------------------------------------------------
   7. Hero & page hero
   -------------------------------------------------------------------------- */
.hero {
  background:
    linear-gradient(100deg, rgba(7, 20, 40, 0.58), rgba(29, 78, 216, 0.28)),
    url("../img/hero-office.jpg") center/cover no-repeat;
  color: #fff;
  padding: 36px 0;
}
.hero-grid {
  display: grid;
  gap: 20px;
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.85rem, 6vw, 3.4rem);
  margin: 8px 0 16px;
}
.hero p { color: #dbe7ff; font-size: 1.05rem; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 18px; }
.hero-clients {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e2e8f0;
  font-size: 14px;
  flex-wrap: wrap;
}
.avatars { display: flex; }
.avatars span,
.avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
  background: #94a3b8 center/cover;
  object-fit: cover;
}
.avatars span:first-child,
.avatars img:first-child { margin-left: 0; }
.hero-card {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 14px 16px;
  width: max-content;
  max-width: 100%;
  margin: 4px 0 20px;
}
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.stat-row strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.15;
}
.stat-row span { color: #dbeafe; font-size: 12px; }

.page-hero {
  background:
    linear-gradient(100deg, rgba(7, 20, 40, 0.88), rgba(29, 78, 216, 0.62)),
    url("/assets/img/hero-office.jpg") center/cover;
  color: #fff;
  padding: 40px 0 36px;
}
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 4.5vw, 2.7rem); }
.page-hero p { color: #dbe7ff; max-width: 680px; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #c7d7f5;
  margin-bottom: 12px;
}
.breadcrumb a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   8. Cards & content
   -------------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover .service-icon {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.06);
}
.card:hover .why-card img,
.industry-card:hover .industry-icon img {
  transform: translateY(-4px) scale(1.06);
}
.icon-box {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1.5px solid #dbeafe;
  color: #3b82f6;
  font-size: 28px;
  margin-bottom: 14px;
}
.card h3 { font-size: 1.15rem; }
.card h3 i {
  color: var(--color-primary);
  margin-right: 8px;
}
.card p { color: var(--color-muted); margin: 0 0 14px; }

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
}
.why-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}
.why-card h3 { margin-bottom: 6px; }
.why-card p { margin: 0; }

.service-icon {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
  margin-bottom: 12px;
  transition: transform 0.35s ease;
}

.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-line);
  padding: 22px 18px 20px;
  height: auto;
}
.industry-icon {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff 0%, #eef4ff 100%);
  border: 1px solid #dbeafe;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  padding: 14px;
  flex-shrink: 0;
}
.industry-card img {
  width: 100%;
  height: 100%;
  max-width: 92px;
  max-height: 92px;
  object-fit: contain;
  margin-bottom: 0;
  transition: transform 0.35s ease;
}
.industry-card h3 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--color-navy);
}
.industry-card p {
  margin: 10px 0 14px;
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}
.media.industry-visual {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ffffff 0%, #eef4ff 100%);
  border: 1px solid #dbeafe;
  border-radius: 18px;
  min-height: 280px;
  padding: 32px;
}
.media.industry-visual img {
  width: min(220px, 75%);
  height: auto;
  max-height: 220px;
  min-height: 0;
  object-fit: contain;
}
.link-more {
  color: var(--color-blue);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link-more i { transition: transform 0.25s ease; }
.link-more:hover i { transform: translateX(5px); }

.feature-list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  color: #334155;
  font-weight: 500;
}
.feature-list i { color: var(--color-success); margin-top: 4px; }

.media {
  border-radius: 22px;
  overflow: hidden;
  min-height: 240px;
  background: #cbd5e1 center/cover;
  position: relative;
}
.media img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.badge-float {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: #fff;
  color: var(--color-navy);
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-weight: 700;
}
.badge-float span { display: block; color: var(--color-blue); font-size: 22px; }

.step .num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 13px;
}
.process-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 36px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  font-weight: 700;
  color: var(--color-blue);
}
.process-flow i { color: var(--color-muted); font-size: 12px; }

.price-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
}
.price-card.featured {
  background: linear-gradient(180deg, #122544, #0b1d36);
  color: #fff;
  border: 0;
  box-shadow: var(--shadow-lg);
}
.price-card.featured h3,
.price-card.featured .amount { color: #fff; }
.price-card .tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-cyan);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.amount { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; color: var(--color-navy); }
.amount small { font-size: 14px; font-weight: 500; color: var(--color-muted); }
.amount-was {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 2px;
}
.amount-was s {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.price-card.featured .amount-was { color: #94a3b8; }
.price-card ul { text-align: left; margin: 18px 0 22px; }
.price-card li { padding: 8px 0 8px 22px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--color-success); font-weight: 700; }
.price-card.featured li::before { color: #7dd3fc; }
.price-start {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 2px;
}
.price-card .off {
  display: inline-block;
  margin: 6px 0 0;
  background: #dcfce7;
  color: #166534;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
}
.price-card.featured .off {
  background: rgba(125, 211, 252, 0.18);
  color: #7dd3fc;
}
.price-card.featured .price-start,
.price-card.featured .amount small { color: #c7d7f5; }
.price-fit,
.price-note {
  text-align: left;
  font-size: 13px;
  line-height: 1.45;
  margin: -4px 0 16px;
}
.price-fit { color: var(--color-muted); }
.price-note { color: var(--color-navy); font-weight: 700; }
.price-card.featured .price-fit { color: #c7d7f5; }
.price-card.featured .price-note { color: #fff; }
.price-carousel {
  --price-visible: 1;
  --price-gap: 20px;
}
.price-carousel-window {
  overflow: hidden;
  padding: 16px 4px 8px;
}
.price-carousel-track {
  display: flex;
  gap: var(--price-gap);
  transition: transform 0.45s ease;
  align-items: stretch;
}
.price-carousel-track > .price-card {
  flex: 0 0 calc((100% - (var(--price-visible) - 1) * var(--price-gap)) / var(--price-visible));
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: auto;
}
.price-carousel-track > .price-card .btn { margin-top: auto; }
.price-carousel .carousel-nav { margin-top: 8px; }
.pricing-category {
  margin-top: 52px;
}
.pricing-category:first-of-type {
  margin-top: 28px;
}
.pricing-category .section-head {
  margin-bottom: 24px;
}
.pricing-category .section-head h2 {
  margin-bottom: 6px;
}
.service-pricing-banner {
  padding-top: 0;
  padding-bottom: 28px;
  text-align: center;
}
.service-pricing-line {
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 auto;
  max-width: 920px;
  line-height: 1.55;
}
.service-pricing-typed-wrap {
  display: inline;
  white-space: nowrap;
}
.service-pricing-typed {
  color: var(--color-primary);
  font-weight: 800;
}
.service-pricing-cursor {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 400;
  margin-left: 1px;
  animation: typeCursor 0.9s step-end infinite;
}
@keyframes typeCursor {
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .service-pricing-cursor { animation: none; opacity: 0.6; }
}
.project-carousel {
  --project-visible: 1;
  --project-gap: 20px;
}
.project-carousel-window {
  overflow: hidden;
  padding: 8px 4px 4px;
}
.project-carousel-track {
  display: flex;
  gap: var(--project-gap);
  transition: transform 0.45s ease;
  align-items: stretch;
}
.project-carousel-track > .project {
  flex: 0 0 calc((100% - (var(--project-visible) - 1) * var(--project-gap)) / var(--project-visible));
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: auto;
}
.project-carousel-track > .project .project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-carousel-track > .project .link-more { margin-top: auto; }
.project-carousel .carousel-nav { margin-top: 16px; }
.price-ladder {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 6px;
  margin: 0 auto 36px;
  max-width: 980px;
}
.price-ladder span {
  background: #eff6ff;
  color: var(--color-blue-deep);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
}
.price-ladder i { color: var(--color-muted); font-size: 11px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.filter-bar button {
  border: 1px solid var(--color-line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 40px;
  cursor: pointer;
  font-weight: 600;
  color: #334155;
}
.filter-bar button.active,
.filter-bar button:hover { background: var(--color-blue); color: #fff; border-color: var(--color-blue); }

.project {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-line);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project:hover > img { transform: scale(1.06); }
.project-app:hover .project-app-banner img { transform: scale(1.03); }
.project-app:hover .project-app-logo { transform: none; }
.project-body { padding: 16px 18px 20px; }
.project.app-icon > img {
  object-fit: contain;
  background: #f4f7fb;
  padding: 28px;
}
.project.app-icon:hover > img { transform: scale(1.04); }
.media.app-icon {
  background: #f4f7fb;
  display: grid;
  place-items: center;
  min-height: 280px;
}
.media.app-icon img {
  object-fit: contain;
  min-height: 0;
  width: min(260px, 72%);
  height: auto;
  padding: 20px 0;
}
.store-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 8px; }
.media.app-screenshot {
  background: #f1f5f9;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 320px;
}
.media.app-screenshot img {
  object-fit: contain;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  min-height: 0;
}
.app-icon-inline {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 12px;
}
.app-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.app-screenshots img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--color-line);
  background: #f1f5f9;
  padding: 10px;
}
.project-app .project-app-banner {
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.project-app .project-app-banner img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
}
.project-app .project-app-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.project-app .project-app-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  border: 1px solid var(--color-line);
  background: #fff;
}
.project-app .project-app-head h3 {
  margin: 4px 0 0;
}
.project-app .project-app-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
  font-size: 14px;
  margin: 0 0 12px;
}
.project-brand .project-brand-visual {
  background: #0f172a;
  overflow: hidden;
}
.project-brand .project-brand-visual img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.project-brand .project-brand-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.project-brand .project-brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  border: 1px solid var(--color-line);
  background: #fff;
}
.project-brand .project-brand-head h3 {
  margin: 4px 0 0;
}
.project-brand:hover .project-brand-visual img { transform: scale(1.03); }
.brand-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.brand-showcase-item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: #0f172a;
}
.brand-showcase-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.brand-showcase-item figcaption {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  background: #fff;
}
.brand-showcase-wide {
  grid-column: 1 / -1;
}
.brand-showcase-wide img {
  max-height: 320px;
  object-fit: cover;
}
.case-list { display: grid; gap: 24px; }
.project .cat {
  color: var(--color-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.quote {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--color-line);
}
.quote .stars { color: #f59e0b; margin-bottom: 8px; }
.quote p { color: #334155; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.quote .who b { display: block; }
.quote .who span { color: var(--color-muted); font-size: 13px; }
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #dbeafe;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--color-blue);
}

.testimonial-carousel { max-width: 760px; margin: 0 auto; }
.carousel-viewport { position: relative; }
.carousel-viewport .quote {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.carousel-viewport .quote.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}
.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-blue);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.carousel-btn:hover { background: var(--color-blue); color: #fff; border-color: var(--color-blue); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
}
.carousel-dots button.is-active { background: var(--color-blue); width: 22px; border-radius: 999px; }
.testimonial-brand {
  text-align: center;
  font-weight: 800;
  margin: 28px 0 4px;
}
.testimonial-tagline {
  text-align: center;
  color: var(--color-muted);
  margin: 0;
}

.blog-card img { width: 100%; height: 190px; object-fit: cover; border-radius: 12px; }
.meta { color: var(--color-muted); font-size: 13px; margin: 10px 0; }

.cta-band {
  background: linear-gradient(120deg, #0b1d36, #1d4ed8 45%, #0ea5e9, #1d4ed8);
  background-size: 220% 220%;
  animation: ctaShift 14s ease infinite;
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.cta-band p { color: #dbeafe; max-width: 560px; margin: 0 auto 22px; }

.contact-grid { display: grid; gap: 28px; align-items: start; }
.contact-aside h2,
.form-intro h2,
.form-intro h3 { margin-bottom: 8px; }
.contact-aside > p,
.form-intro p { color: var(--color-muted); margin-bottom: 20px; }
.info-tile {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.info-tile i {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--color-blue);
  font-size: 16px;
  margin-top: 0;
}
.info-tile b { display: block; font-size: 14px; }
.info-tile p { margin: 2px 0 0; color: var(--color-muted); font-size: 14px; }
.info-tile a { color: var(--color-text); }
.info-tile a:hover { color: var(--color-blue); }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 20px;
}
.form.card { height: auto; }
.form.card:hover { transform: none; box-shadow: var(--shadow); }
.form-note { font-size: 13px; color: var(--color-muted); margin: 0; }
.form-note a { color: var(--color-blue); font-weight: 600; }
.form-status {
  min-height: 1.2em;
  margin: 0;
  font-size: 13px;
}
.form-status.is-ok { color: #15803d; }
.form-status.is-err { color: #b91c1c; }
.map {
  border: 0;
  width: 100%;
  height: 240px;
  border-radius: 16px;
}
.hire-steps {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
.hire-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.hire-step span {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: var(--color-blue);
  font-weight: 800;
  font-size: 13px;
}
.hire-step h3 { font-size: 1rem; margin-bottom: 4px; }
.hire-step p { margin: 0; color: var(--color-muted); font-size: 14px; }

.wizard {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
}
.progress { display: flex; gap: 8px; margin-bottom: 24px; }
.progress span {
  flex: 1;
  height: 6px;
  background: #e2e8f0;
  border-radius: 99px;
}
.progress span.on { background: linear-gradient(90deg, var(--color-cyan), var(--color-blue)); }
.step-label { font-weight: 700; margin-bottom: 16px; color: var(--color-blue); }
.choice-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.choice {
  border: 1.5px solid var(--color-line);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
}
.choice input { width: auto; }
.choice:has(input:checked) { border-color: var(--color-blue); background: #eff6ff; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.wizard .form-status { margin-top: 14px; }
.wizard-pane { display: none; }
.wizard-pane.active { display: block; }

.tool-box {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--color-line);
}
.result {
  margin-top: 18px;
  background: var(--color-navy);
  color: #fff;
  border-radius: 14px;
  padding: 18px;
}
.result strong { font-size: 1.6rem; display: block; }

.faq details {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--color-muted); margin: 10px 0 0; }
.prose .faq { margin: 16px 0 28px; }

.prose { max-width: 860px; }
.prose h2 { margin-top: 28px; scroll-margin-top: 120px; }
.prose h3 { margin-top: 22px; font-size: 1.15rem; }
.prose p, .prose li { color: #334155; }
.prose ul { padding-left: 18px; list-style: disc; margin: 8px 0 16px; }
.toc {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 8px 0 32px;
}
.toc summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  color: var(--color-muted);
}
.toc[open] summary::after { content: "\f077"; }
.toc ol {
  margin: 12px 0 0;
  padding-left: 22px;
}
.toc li { margin: 6px 0; color: #334155; }
.toc a { color: var(--color-blue); font-weight: 600; }
.prose .funnel {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  font-weight: 700;
  color: var(--color-blue);
}
.prose .funnel li { color: var(--color-blue); }
.prose .funnel li + li::before {
  content: "↓";
  display: block;
  color: var(--color-muted);
  font-weight: 400;
  margin: 4px 0;
}

.search-item { padding: 16px 0; border-bottom: 1px solid var(--color-line); }
.search-item h3 { font-size: 1.2rem; }
.search-item a { color: var(--color-blue); }

.notfound { text-align: center; padding: 64px 0; }
.notfound h1 { font-size: clamp(3.5rem, 12vw, 6rem); color: var(--color-blue); }

.table-wrap { overflow: auto; -webkit-overflow-scrolling: touch; }
.table-wrap s { color: var(--color-muted); }
table { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--color-line); text-align: left; }
th { background: var(--color-navy); color: #fff; }

.chip {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--color-blue);
  font-weight: 600;
  margin: 4px;
}
.pill {
  display: inline-block;
  background: #eff6ff;
  color: var(--color-blue);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-footer);
  color: #cbd5e1;
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer a { display: block; padding: 5px 0; color: #b6c3d6; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer p { color: #9fb0c7; font-size: 14px; }
.brand-col {
  min-width: 0;
  width: 100%;
}
.brand-col p {
  width: 100%;
  margin: 0;
}
.footer-logo {
  display: block;
  width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 12px;
  box-sizing: border-box;
  overflow: hidden;
}
.footer-logo img {
  display: block;
  width: 100%;
  height: 96px;
  object-fit: contain;
  object-position: center;
  padding: 0;
  margin: 0;
  background: none;
  border-radius: 0;
  transform: scale(1.55);
  transform-origin: center center;
}
.footer .socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  padding: 0;
  line-height: 1;
  font-size: 18px;
  color: #fff;
  box-shadow: none;
  flex-shrink: 0;
}
.footer .socials a.social-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.footer .socials a.social-linkedin { background: #0a66c2; }
.footer .socials a.social-youtube { background: #ff0000; }
.footer .socials a.social-twitter { background: #1da1f2; }
.footer .socials a.social-facebook { background: #1877f2; }
.footer .socials a.social-whatsapp { background: #25d366; }
.footer .socials a i {
  line-height: 1;
  width: 1em;
  text-align: center;
  color: #fff;
}
.footer .socials a:hover {
  color: #fff;
  opacity: 0.88;
}
.footer-contact li { display: flex; gap: 8px; padding: 6px 0; font-size: 14px; }
.footer-subscribe {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 40px;
  padding: 28px 0 8px;
  margin-top: 12px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-subscribe .newsletter {
  flex: 1 1 320px;
  max-width: 640px;
}
.footer-subscribe .newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.footer-subscribe .newsletter-form input {
  flex: 1 1 240px;
  margin-bottom: 0;
  min-height: 46px;
}
.footer-subscribe .newsletter-form .btn {
  width: auto;
  min-width: 140px;
}
.newsletter-status {
  min-height: 1.2em;
  margin: 10px 0 0;
  font-size: 13px;
  color: #c7d7f5;
}
.newsletter-status.is-ok { color: #86efac; }
.newsletter-status.is-err { color: #fca5a5; }
.footer-socials h4 { margin-bottom: 12px; }
.newsletter input { background: #fff; margin-bottom: 8px; }
.certificate-card { padding: 24px; }
.certificate-head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}
.certificate-badge {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}
.certificate-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 0 24px;
}
.certificate-meta div {
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: var(--color-paper);
}
.certificate-meta dt {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  margin-bottom: 4px;
}
.certificate-meta dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-text);
}
.certificate-viewer {
  border: 1px solid var(--color-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  min-height: 520px;
}
.certificate-viewer iframe {
  display: block;
  width: 100%;
  height: 72vh;
  min-height: 520px;
  border: 0;
}
.certificate-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 36px;
  padding: 16px 0 calc(16px + var(--safe-bottom));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-bottom .legal { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-bottom a { display: inline; padding: 0; }
.hero .eyebrow { color: #7dd3fc; }
.section-head .lead.is-centered,
.lead.is-centered { margin: 0 auto; }
.section-actions { margin-top: 22px; }
.form-note.is-centered { margin-top: 20px; text-align: center; }
.footer-nap {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.footer-nap li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 5px 0;
  font-size: 14px;
  color: #b6c3d6;
}
.footer-nap a { color: #dbeafe; }
.footer-nap a:hover { color: #fff; }
.section-head-spaced { margin-top: 36px; }
.section-below-fold { content-visibility: auto; contain-intrinsic-size: auto 500px; }

.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + var(--safe-bottom));
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  animation: waPulse 2.4s ease-in-out infinite;
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); animation-play-state: paused; }

/* --------------------------------------------------------------------------
   10. Breakpoints
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .container { width: min(var(--container), calc(100% - 40px)); }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr 1fr; }
  .choice-grid, .form-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 42px 0; }
  .section { padding: 72px 0; }
  .topbar-hours { display: inline-flex; }
  .wizard { padding: 28px; }
  .map { height: 280px; }
  .certificate-meta { grid-template-columns: 1fr 1fr; }
  .certificate-card { padding: 32px; }
  .price-carousel { --price-visible: 2; }
  .project-carousel { --project-visible: 2; }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }
  .stat-row { grid-template-columns: repeat(4, max-content); gap: 8px 20px; }
  .grid-2,
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .media { min-height: 360px; }
  .media img { min-height: 360px; }
  .header-cta { display: inline-flex; }
  .price-carousel { --price-visible: 3; }
  .project-carousel { --project-visible: 3; }
}

@media (min-width: 1100px) {
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .footer-grid {
    grid-template-columns: minmax(220px, 1.5fr) repeat(6, minmax(0, 1fr));
  }
}

@media (min-width: 1360px) {
  .nav { display: flex; align-items: center; gap: 0; }
  .menu-toggle { display: none; }
  .nav-link { padding: 8px 8px; font-size: 13.5px; }
}

@media (max-width: 639px) {
  .topbar-msg { display: none; }
  .cta-band .btn { width: 100%; }
  .hero-actions .btn { flex: 1 1 140px; }
}

/* --------------------------------------------------------------------------
   11. Motion
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes ctaShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.16); }
}
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero .eyebrow,
.hero h1,
.hero-card,
.hero > .container > div > p,
.hero-actions,
.hero-clients,
.page-hero .breadcrumb,
.page-hero h1,
.page-hero p {
  animation: fadeUp 0.7s ease both;
}
.hero h1,
.page-hero h1 { animation-delay: 0.08s; }
.hero-card,
.page-hero p { animation-delay: 0.16s; }
.hero > .container > div > p { animation-delay: 0.24s; }
.hero-actions { animation-delay: 0.32s; }
.hero-clients { animation-delay: 0.4s; }

.grid-2 > .card:nth-child(1) .service-icon,
.grid-3 > .card:nth-child(1) .service-icon,
.grid-4 > .card:nth-child(1) .service-icon,
.grid-4 > .card:nth-child(5) .service-icon { animation: iconFloat 4.2s ease-in-out infinite; }
.grid-2 > .card:nth-child(2) .service-icon,
.grid-3 > .card:nth-child(2) .service-icon,
.grid-4 > .card:nth-child(2) .service-icon,
.grid-4 > .card:nth-child(6) .service-icon { animation: iconFloat 4.2s ease-in-out 0.4s infinite; }
.grid-3 > .card:nth-child(3) .service-icon,
.grid-4 > .card:nth-child(3) .service-icon,
.grid-4 > .card:nth-child(7) .service-icon { animation: iconFloat 4.2s ease-in-out 0.8s infinite; }
.grid-4 > .card:nth-child(4) .service-icon,
.grid-4 > .card:nth-child(8) .service-icon { animation: iconFloat 4.2s ease-in-out 1.2s infinite; }

.js-anim .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-anim .reveal.is-in {
  opacity: 1;
  transform: none;
}
.js-anim .card.reveal.is-in:hover,
.js-anim .project.reveal.is-in:hover,
.js-anim .industry-card.reveal.is-in:hover {
  transform: translateY(-6px);
}

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