/* =========================================================
   MICO360 Apps — Global Stylesheet
   Modern SaaS design system
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand colors — MICO360 maroon + charcoal (matches logo) */
  --navy-900: #121212;
  --navy-800: #1a1a1a;
  --navy-700: #2a2a2a;
  --navy-600: #4a4a4a;

  --blue-700: #7c1418;   /* dark maroon (hover) */
  --blue-600: #9e1c20;   /* primary maroon — logo red */
  --blue-500: #c0272e;   /* brighter red accent */
  --blue-100: #f1d5d6;   /* light red tint */
  --blue-50:  #fbecec;   /* very light red tint */

  --grey-50:  #f8fafc;
  --grey-100: #f1f5f9;
  --grey-200: #e2e8f0;
  --grey-300: #cbd5e1;
  --grey-400: #94a3b8;
  --grey-500: #64748b;
  --grey-600: #475569;

  --white: #ffffff;
  --green-500: #22c55e;
  --green-600: #16a34a;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--grey-50);
  --text: var(--navy-800);
  --text-muted: var(--grey-500);
  --heading: var(--navy-900);
  --primary: var(--blue-600);
  --primary-dark: var(--blue-700);

  /* Effects */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 8px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .14);
  --shadow-blue: 0 16px 40px rgba(158, 28, 32, .28);

  --container: 1200px;
  --transition: .25s cubic-bezier(.4, 0, .2, 1);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 300;
  background: var(--primary); color: #fff; padding: 11px 18px;
  border-radius: 0 0 10px 10px; font-weight: 700; font-size: .95rem;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

h1, h2, h3, h4 {
  color: var(--heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--navy {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: #cbd5e1;
}
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.section--navy .section-head .eyebrow { color: var(--blue-500); }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 16px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.08rem;
}
.section--navy .section-head p { color: #94a3b8; }

.eyebrow { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-weight: 600;
  font-size: .98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn--dark {
  background: var(--navy-800);
  color: #fff;
}
.btn--dark:hover { background: var(--navy-900); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--grey-300);
}
.btn--outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn--ghost-light {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }

.btn--light {
  background: #fff;
  color: var(--navy-800);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn--green { background: var(--green-600); color: #fff; }
.btn--green:hover { background: var(--green-500); transform: translateY(-2px); }

.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--grey-200);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--heading);
  letter-spacing: -0.02em;
}
.brand .logo-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: .95rem;
  box-shadow: var(--shadow-blue);
}
.brand span b { color: var(--primary); }
.brand-logo { height: 44px; width: auto; display: block; }
.footer-brand .brand-logo { height: 48px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-weight: 500;
  font-size: .96rem;
  color: var(--navy-700);
  padding: 9px 14px;
  border-radius: 9px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); background: var(--blue-50); }
.nav-links a.active { color: var(--primary); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(192,39,46,.16), transparent 60%),
    radial-gradient(700px 500px at 0% 10%, rgba(158,28,32,.10), transparent 55%),
    linear-gradient(180deg, #fff, var(--grey-50));
  overflow: hidden;
  padding: 92px 0 100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-sm);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.7rem);
  margin-bottom: 10px;
}
.hero h1 .accent { color: var(--primary); }
.hero .hero-sub {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 18px;
  line-height: 1.3;
}
.hero p.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats .stat strong {
  display: block;
  font-size: 1.7rem;
  color: var(--heading);
  font-weight: 800;
}
.hero-stats .stat span { font-size: .9rem; color: var(--text-muted); }

/* Hero visual — floating app cards */
.hero-visual { position: relative; }
.hero-card {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-card .ic {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; flex-shrink: 0;
}
.hero-card .hc-title { font-size: 1rem; font-weight: 800; color: var(--heading); margin-bottom: 2px; line-height: 1.2; }
.hero-card p { font-size: .85rem; color: var(--text-muted); margin: 0; }
.hero-stack { display: grid; gap: 16px; }
.hero-stack .hero-card:nth-child(1) { transform: translateX(8px); animation: float 6s ease-in-out infinite; }
.hero-stack .hero-card:nth-child(2) { transform: translateX(-14px); animation: float 6s ease-in-out infinite .8s; }
.hero-stack .hero-card:nth-child(3) { transform: translateX(18px); animation: float 6s ease-in-out infinite 1.6s; }
.hero-stack .hero-card:nth-child(4) { transform: translateX(-6px); animation: float 6s ease-in-out infinite 2.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(var(--tx, 0)); }
  50% { transform: translateY(-10px); }
}

/* ---------- Trust bar ---------- */
.trustbar { border-bottom: 1px solid var(--grey-200); background: #fff; }
.trustbar .container {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 14px 44px; padding-block: 28px;
}
.trustbar span { color: var(--grey-600); font-weight: 600; font-size: .95rem; letter-spacing: .01em; }
.trustbar .label { color: var(--text-muted); font-weight: 700; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* App card */
.app-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.app-card::after {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-700));
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.app-card:hover::after { transform: scaleX(1); }

.app-card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.app-card .icon svg { width: 28px; height: 28px; }
.app-card h3 { font-size: 1.22rem; margin-bottom: 6px; }
.app-card .tag {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; padding: 4px 10px; border-radius: 999px;
  align-self: flex-start; margin-bottom: 14px;
}
.tag--desktop { background: var(--blue-50); color: var(--blue-700); }
.tag--cloud { background: #ecfdf5; color: var(--green-600); }
.tag--platform { background: #eef2ff; color: #4338ca; }
.tag--oss { background: #f1f5f9; color: var(--navy-700); }
.app-card p { color: var(--text-muted); font-size: .97rem; margin-bottom: 16px; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 600; font-size: .95rem;
  margin-top: auto;
}
.card-link svg { width: 16px; height: 16px; flex-shrink: 0; transition: var(--transition); }
.app-card:hover .card-link svg, .showcase-card:hover .card-link svg { transform: translateX(4px); }

/* Card feature list + action buttons */
.card-features { display: grid; gap: 8px; margin: 2px 0 18px; }
.card-features li { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; color: var(--navy-700); }
.card-features li::before { content: "✓"; color: var(--green-600); font-weight: 800; flex-shrink: 0; line-height: 1.4; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }

/* Screenshot / image placeholder */
.shot {
  border: 1px solid var(--grey-200); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--grey-50), #fff);
  aspect-ratio: 16 / 10; display: grid; place-items: center; gap: 10px;
  box-shadow: var(--shadow); text-align: center; padding: 24px;
}
.shot .shot-ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--primary); }
.shot .shot-ic svg { width: 28px; height: 28px; }
.shot .shot-label { font-weight: 700; color: var(--grey-500); font-size: .95rem; }
.shot .shot-sub { font-size: .8rem; color: var(--grey-400); }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }

/* Icon color variants */
.ic-blue   { background: var(--blue-50); color: var(--blue-600); }
.ic-navy   { background: #eef2ff; color: #4338ca; }
.ic-teal   { background: #ecfeff; color: #0891b2; }
.ic-green  { background: #ecfdf5; color: var(--green-600); }
.ic-amber  { background: #fffbeb; color: #d97706; }
.ic-violet { background: #f5f3ff; color: #7c3aed; }
.ic-rose   { background: #fff1f2; color: #e11d48; }
.ic-sky    { background: #f0f9ff; color: #0284c7; }

/* ---------- App screenshots ---------- */
/* Primary screenshot in a product overview */
.app-shot {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
/* Overview without a screenshot — single centered column, no empty frame */
.feature-split--solo { grid-template-columns: 1fr; max-width: 780px; margin-inline: auto; }

/* Screenshot gallery (product pages) */
.shot-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.shot-fig { margin: 0; }
.shot-fig img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow);
  background: #fff;
  transition: var(--transition);
}
.shot-fig:hover img { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.shot-fig figcaption { margin-top: 12px; font-size: .9rem; font-weight: 600; color: var(--text-muted); text-align: center; }

/* Homepage "in action" showcase */
.showcase-card {
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: var(--transition);
}
.showcase-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.showcase-card .sc-img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center;
  display: block; border-bottom: 1px solid var(--grey-200); background: var(--grey-50);
}
.showcase-card .sc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.showcase-card .sc-body h3 { font-size: 1.12rem; margin-bottom: 6px; }
.showcase-card .sc-body p { color: var(--text-muted); font-size: .92rem; margin-bottom: 16px; flex-grow: 1; }
.showcase-card .card-link { margin-top: auto; }

/* ---------- Filter ---------- */
.filter-bar {
  display: flex; justify-content: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 44px;
}
.filter-btn {
  font-family: inherit; font-weight: 600; font-size: .95rem;
  padding: 10px 22px; border-radius: 999px;
  border: 1px solid var(--grey-200); background: #fff; color: var(--navy-700);
  cursor: pointer; transition: var(--transition);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.app-card.is-hidden { display: none; }

/* ---------- Feature list (Why choose) ---------- */
.feature {
  background: #fff;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 26px;
  transition: var(--transition);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .fic {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--blue-50); color: var(--primary);
}
.feature .fic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { color: var(--text-muted); font-size: .93rem; }

/* ---------- Doc Toolkit featured ---------- */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.feature-split > div { min-width: 0; }
.hero-grid > div, .contact-grid > div { min-width: 0; }
.feature-split .badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-50); color: var(--blue-700);
  padding: 6px 14px; border-radius: 999px;
  font-size: .82rem; font-weight: 700; margin-bottom: 18px;
}
.feature-split h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 16px; }
.feature-split > div > p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 24px; }

.check-list { display: grid; gap: 12px; margin-bottom: 28px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .98rem; color: var(--navy-700); }
.check-list .ck {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: #ecfdf5; color: var(--green-600);
  display: grid; place-items: center; margin-top: 1px;
}
.check-list .ck svg { width: 14px; height: 14px; }

/* tiny feature tile grid */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile {
  background: #fff; border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm); padding: 18px 16px;
  text-align: center; transition: var(--transition);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.tile .tic {
  width: 42px; height: 42px; margin: 0 auto 10px; border-radius: 11px;
  display: grid; place-items: center; background: var(--blue-50); color: var(--primary);
}
.tile .tic svg { width: 20px; height: 20px; }
.tile span { font-size: .85rem; font-weight: 600; color: var(--navy-700); }

/* App mock window */
.app-window {
  background: #fff; border: 1px solid var(--grey-200);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.app-window .titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px; background: var(--grey-50);
  border-bottom: 1px solid var(--grey-200);
}
.app-window .titlebar .dots { display: flex; gap: 6px; }
.app-window .titlebar .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.app-window .titlebar .dots i:nth-child(1){ background:#ff5f57; }
.app-window .titlebar .dots i:nth-child(2){ background:#febc2e; }
.app-window .titlebar .dots i:nth-child(3){ background:#28c840; }
.app-window .titlebar .name { font-size: .85rem; font-weight: 600; color: var(--text-muted); margin-left: 8px; }
.app-window .body { padding: 20px; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.app-window .tool {
  display: flex; align-items: center; gap: 10px;
  padding: 12px; border-radius: 10px; background: var(--grey-50);
  border: 1px solid var(--grey-200); font-size: .85rem; font-weight: 600; color: var(--navy-700);
}
.app-window .tool .ti { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--blue-50); color: var(--primary); flex-shrink: 0; }
.app-window .tool .ti svg { width: 16px; height: 16px; }

/* ---------- Tech & security (navy) ---------- */
.tech-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 26px;
  transition: var(--transition);
}
.tech-card:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); }
.tech-card .tcic {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(192,39,46,.20); color: #eba0a3;
}
.tech-card .tcic svg { width: 22px; height: 22px; }
.tech-card h3 { font-size: 1.05rem; margin-bottom: 6px; color: #fff; }
.tech-card p { color: #94a3b8; font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.cta-band::before { width: 320px; height: 320px; top: -120px; right: -80px; }
.cta-band::after { width: 240px; height: 240px; bottom: -120px; left: -60px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.12rem; max-width: 620px; margin: 0 auto 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 360px at 80% -20%, rgba(192,39,46,.14), transparent 60%),
    linear-gradient(180deg, #fff, var(--grey-50));
  padding: 72px 0 56px;
  text-align: center;
}
.page-hero .eyebrow { display:block; margin-bottom: 12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; font-size:.8rem; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); font-size: 1.12rem; max-width: 680px; margin: 0 auto 28px; }
.page-hero .page-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.breadcrumb { font-size: .88rem; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.info-card {
  background: #fff; border: 1px solid var(--grey-200);
  border-radius: var(--radius); padding: 24px;
  display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px;
  transition: var(--transition);
}
.info-card:hover { box-shadow: var(--shadow); }
.info-card .iic {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--blue-50); color: var(--primary);
}
.info-card .iic svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1rem; margin-bottom: 3px; }
.info-card p, .info-card a { color: var(--text-muted); font-size: .95rem; }
.info-card a:hover { color: var(--primary); }

.form-card {
  background: #fff; border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--navy-700); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: .97rem;
  padding: 12px 14px; border: 1px solid var(--grey-300);
  border-radius: var(--radius-sm); background: var(--grey-50);
  color: var(--text); transition: var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  background: #fff; box-shadow: 0 0 0 4px rgba(158,28,32,.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--text-muted); margin-top: 12px; text-align: center; }
.form-success {
  display: none; align-items: center; gap: 10px;
  background: #ecfdf5; border: 1px solid #a7f3d0; color: var(--green-600);
  padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 18px;
}
.form-success.show { display: flex; }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-band .s strong { display:block; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--primary); font-weight: 800; }
.stats-band .s span { color: var(--text-muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #94a3b8; padding: 64px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: .94rem; max-width: 320px; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06); color: #cbd5e1; transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col a { display: block; font-size: .93rem; padding: 6px 0; transition: var(--transition); }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .88rem;
}
.footer-bottom a:hover { color: #fff; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: "Chat with us"; position: absolute; right: 70px;
  background: var(--navy-800); color: #fff; padding: 7px 13px;
  border-radius: 8px; font-size: .82rem; font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none; transform: translateX(10px); transition: var(--transition);
}
.wa-float:hover::after { opacity: 1; transform: translateX(0); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 460px; }
  .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* Nav collapses to hamburger early enough that tablets never show a cramped/overflowing bar */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: #fff; padding: 16px 24px 24px;
    border-bottom: 1px solid var(--grey-200);
    box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .3s ease;
    gap: 2px;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
}

@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .shot-gallery { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 24px; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 460px) {
  .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; }
  .container { padding-inline: 18px; }
  .app-window .body { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
  .cta-band { padding: 40px 18px; }
}

/* ============================================================
   Motion & polish layer (v3) — tasteful, accessible animation
   ui-ux-pro-max compliant: transform/opacity only, ease-out,
   150-400ms, reduced-motion respected, no scroll-jacking.
   ============================================================ */

html { scroll-padding-top: 90px; }
::selection { background: rgba(158, 28, 32, .18); color: var(--navy-900); }

/* Sticky header gains depth once scrolled */
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(15, 23, 42, .09); }

/* Eyebrow labels as pills */
.section-head .eyebrow, .page-hero .eyebrow {
  display: inline-block; background: var(--blue-50); padding: 6px 14px; border-radius: 999px; line-height: 1;
}
.section--navy .section-head .eyebrow { background: rgba(192, 39, 46, .16); }

/* Gradient accent on the hero title */
.hero h1 .accent {
  background: linear-gradient(95deg, var(--blue-600), var(--blue-500) 55%, #e2555b);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--blue-600);
}

/* Hero entrance (one-shot on load) */
@keyframes mico-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes mico-fade { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: none; } }
.hero-copy > * { opacity: 0; animation: mico-rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(1){ animation-delay: .06s }
.hero-copy > *:nth-child(2){ animation-delay: .14s }
.hero-copy > *:nth-child(3){ animation-delay: .22s }
.hero-copy > *:nth-child(4){ animation-delay: .30s }
.hero-copy > *:nth-child(5){ animation-delay: .38s }
.hero-copy > *:nth-child(6){ animation-delay: .46s }
.hero-visual { opacity: 0; animation: mico-fade .9s cubic-bezier(.2,.7,.2,1) .4s both; }
.page-hero .container > * { opacity: 0; animation: mico-rise .65s cubic-bezier(.2,.7,.2,1) both; }
.page-hero .container > *:nth-child(1){ animation-delay: .05s }
.page-hero .container > *:nth-child(2){ animation-delay: .12s }
.page-hero .container > *:nth-child(3){ animation-delay: .19s }
.page-hero .container > *:nth-child(4){ animation-delay: .26s }
.page-hero .container > *:nth-child(5){ animation-delay: .33s }

/* Smoother scroll-reveal easing */
.reveal { transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }

/* Hover micro-interactions */
.app-card .icon, .feature .fic, .tech-card .tcic, .tile .tic { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.app-card:hover .icon, .feature:hover .fic, .tech-card:hover .tcic, .tile:hover .tic { transform: translateY(-3px) scale(1.08) rotate(-2deg); }
.showcase-card .sc-img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.showcase-card:hover .sc-img { transform: scale(1.06); }
.app-card:hover, .showcase-card:hover { box-shadow: 0 24px 55px rgba(158,28,32,.14), 0 10px 24px rgba(15,23,42,.08); }

/* Button press + primary sheen sweep */
.btn, .filter-btn { cursor: pointer; }
.btn:active { transform: translateY(0) scale(.985); }
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); transition: left .6s ease; pointer-events: none;
}
.btn--primary:hover::after { left: 150%; }

/* Animated nav underline */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--primary); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* In-content link underlines (colour is not the only signal) */
.legal a, .hero p.lead a, .feature-split p a, .info-card a { text-decoration: underline; text-underline-offset: 2px; }

/* Tabular figures for counters */
.hero-stats .stat strong, .stats-band .s strong { font-variant-numeric: tabular-nums; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-copy > *, .hero-visual, .page-hero .container > * { opacity: 1 !important; animation: none !important; }
  .hero-stack .hero-card { animation: none !important; transform: none !important; }
}
/* ---------- Touch target + FAQ (v3.1) ---------- */
.nav-toggle { min-width: 44px; min-height: 44px; justify-content: center; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-sm); padding: 2px 22px; transition: box-shadow .25s ease, border-color .25s ease; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--blue-100); }
.faq summary { cursor: pointer; font-weight: 700; padding: 17px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--heading); font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--primary); flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--text-muted); padding: 0 0 18px; margin: 0; font-size: .96rem; }

/* Comparison rows */
.compare { display: grid; gap: 14px; }
.compare-row { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 20px 24px; }
.compare-row dt { font-weight: 700; color: var(--heading); display: flex; align-items: center; gap: 10px; }
.compare-row dd { margin: 0; color: var(--text-muted); }
@media (max-width: 620px) { .compare-row { grid-template-columns: 1fr; gap: 6px; } }