/* B2C Print - 2026 design system.
   Modern SaaS aesthetic: bold display type, mesh gradients, bento grids,
   layered depth, and WCAG-AA baked into the design tokens. */

/* ===== DESIGN TOKENS ===== */
:root {
  /* Brand palette (rooted in CMYK dots of the historic logo) */
  --c-cyan:    #00AEEF;
  --c-magenta: #EC008C;
  --c-yellow:  #FFCE00;
  --c-black:   #0E1929;

  /* Neutral scale */
  --ink-900: #0E1929;
  --ink-800: #1A2332;
  --ink-700: #2A3444;
  --ink-500: #5B6472;
  --ink-400: #8A94A5;
  --ink-300: #C9D0DC;
  --ink-200: #E5E8EE;
  --ink-100: #F3F5F9;
  --ink-050: #F8FAFD;
  --white:   #FFFFFF;

  /* Semantic */
  --brand:      #1F4E9B;
  --brand-d:    #163A75;
  --brand-l:    #66B3FF;
  --accent:     #FFB400;
  --success:    #059669;
  --wa:         #25D366;
  --wa-d:       #1EA856;
  --focus:      #FFCE00;

  --bg:      var(--white);
  --surface: var(--white);
  --soft:    var(--ink-050);
  --line:    var(--ink-200);
  --text:    var(--ink-900);
  --muted:   var(--ink-500);

  /* Radii + shadows */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-1: 0 2px 6px -2px rgba(14,25,41,.08), 0 1px 2px -1px rgba(14,25,41,.06);
  --shadow-2: 0 12px 24px -12px rgba(14,25,41,.15), 0 4px 8px -4px rgba(14,25,41,.08);
  --shadow-3: 0 28px 60px -20px rgba(14,25,41,.28), 0 10px 20px -8px rgba(14,25,41,.16);
  --shadow-brand: 0 24px 60px -20px rgba(31,78,155,.45);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1rem, 3vw, 2rem);

  /* Type scale (fluid) */
  --step-0: clamp(0.95rem, 0.85rem + 0.4vw, 1.05rem);
  --step-1: clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  --step-2: clamp(1.35rem, 1.1rem + 1vw, 1.65rem);
  --step-3: clamp(1.7rem, 1.3rem + 1.6vw, 2.25rem);
  --step-4: clamp(2.2rem, 1.6rem + 2.8vw, 3.4rem);
  --step-5: clamp(2.8rem, 1.8rem + 4vw, 4.6rem);

  --a11y-font-scale: 1;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: calc(16px * var(--a11y-font-scale, 1));
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: Rubik, Heebo, "Segoe UI", system-ui, Arial, sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .15s; }
a:hover { color: var(--brand-d); }
strong, b { font-weight: 700; }

/* ===== A11Y BASELINE ===== */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px;
  background: var(--ink-900); color: #fff;
  padding: .8rem 1.4rem; border-radius: 10px; z-index: 500;
  font-weight: 600;
  transition: top .15s;
}
.skip-link:focus { top: 1rem; }
.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;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-top: clamp(1.2rem, 2.7vw, 2.35rem);
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
  position: relative;
}
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink-900); color: var(--ink-200); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--brand);
  padding: .35rem .8rem;
  background: rgba(31,78,155,.08);
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section--dark .section-eyebrow {
  background: rgba(102,179,255,.15);
  color: var(--brand-l);
}
.section-head { max-width: 780px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 {
  font-size: var(--step-4);
  line-height: 1.1;
  margin: 0 0 .5rem;
  color: var(--ink-900);
  font-weight: 800;
  letter-spacing: -.02em;
}
.section--dark .section-head h2 { color: #fff; }
.section-head p {
  font-size: var(--step-1);
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--step-0);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--brand-d); color: #fff; box-shadow: 0 30px 60px -20px rgba(22,58,117,.55); }
.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--ink-200);
}
.btn-outline:hover { background: var(--soft); color: var(--brand); border-color: var(--brand); }
.btn-wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(37,211,102,.5);
}
.btn-wa:hover { background: var(--wa-d); color: #fff; }
.btn-lg { padding: 1.05rem 2rem; font-size: var(--step-1); }
.btn-ghost {
  background: transparent;
  color: currentColor;
  border-color: transparent;
  padding: .5rem 1rem;
}
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--ink-900);
  font-weight: 800;
  line-height: 1;
}
.brand img, .brand svg { height: 40px; width: auto; }
#primary-nav {
  display: flex; align-items: center; gap: .3rem;
}
#primary-nav > a {
  color: var(--ink-800);
  font-weight: 500;
  padding: .55rem .85rem;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
#primary-nav > a:hover { color: var(--brand); background: var(--ink-100); text-decoration: none; }
.nav-cta {
  position: relative;
  background: var(--wa) !important;
  color: #fff !important;
  padding: .65rem 1.2rem !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 20px -8px rgba(37,211,102,.55);
  margin-inline-start: .5rem;
  display: inline-flex; align-items: center; gap: .45rem;
  isolation: isolate;
}
.nav-cta:hover { background: var(--wa-d) !important; color: #fff !important; }
.nav-cta::before {
  content: "";
  position: absolute; inset: -3px;
  border-radius: 999px;
  background: rgba(37,211,102,.35);
  z-index: -1;
  animation: nav-cta-beam 2.4s ease-out infinite;
}
@keyframes nav-cta-beam {
  0%   { transform: scale(1);    opacity: .6; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-cta::before { animation: none; opacity: .35; }
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: .55rem .8rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding-block: clamp(2rem, 4.5vw, 3.5rem);
  background:
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(31,78,155,.12), transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 90%, rgba(255,180,0,.10), transparent 60%),
    radial-gradient(ellipse 90% 60% at 50% 100%, rgba(236,0,140,.06), transparent 60%),
    var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,25,41,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,25,41,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000, transparent 90%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy { z-index: 2; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem 1rem;
  background: rgba(31,78,155,.08);
  border: 1px solid rgba(31,78,155,.15);
  border-radius: 999px;
  color: var(--brand);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 1.5rem;
}
.hero-kicker .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(5,150,105,.2);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(5,150,105,.2); }
  50% { box-shadow: 0 0 0 8px rgba(5,150,105,.05); }
}
.hero h1 {
  font-size: clamp(1.9rem, 1.25rem + 2.1vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 0 0 1.25rem;
  color: var(--ink-900);
  font-weight: 900;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--brand), var(--c-cyan) 60%, var(--c-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede {
  font-size: var(--step-1);
  color: var(--ink-700);
  margin: 0 0 2rem;
  max-width: 56ch;
  line-height: 1.55;
}
.hero-cta {
  display: flex; gap: .8rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero-trust {
  display: flex; align-items: center; gap: 2rem;
  color: var(--muted);
  font-size: .9rem;
  flex-wrap: wrap;
}
.hero-trust b { color: var(--ink-900); font-weight: 800; font-size: 1.1rem; display: block; }

.hero-media {
  position: relative;
  aspect-ratio: 4/3.2;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  isolation: isolate;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform .8s ease;
}
.hero-media:hover img { transform: scale(1.05); }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(31,78,155,.15) 100%);
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  bottom: 1.25rem;
  inset-inline-start: 1.25rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  padding: .75rem 1.1rem;
  border-radius: var(--r);
  display: flex; align-items: center; gap: .6rem;
  box-shadow: var(--shadow-1);
  z-index: 2;
}
.hero-badge .cmyk { display: flex; gap: 4px; }
.hero-badge .cmyk span {
  width: 12px; height: 12px; border-radius: 50%;
}
.hero-badge b { font-size: .9rem; color: var(--ink-900); }

/* ===== TRUST BAR ===== */
.trust-bar {
  padding-block: 2.5rem;
  border-block: 1px solid var(--line);
  background: var(--soft);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.trust-item b {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -.02em;
}
.trust-item span {
  display: block;
  margin-top: .35rem;
  color: var(--muted);
  font-size: .95rem;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  box-shadow: var(--shadow-1);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  overflow: hidden;
  text-align: center;
}
.service-card .lead,
.service-card .service-features { text-align: start; }
.service-card::before {
  content: "";
  position: absolute; top: 0; inset-inline: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-magenta), var(--c-yellow));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  margin: .5rem auto .5rem;
  height: 72px;
  display: flex; align-items: center; justify-content: center;
}
.service-icon img, .service-icon svg { max-height: 72px; width: auto; display: block; }
.service-icon--brand { height: 110px; }
.service-icon--brand img { max-height: 110px; }
.mgh-wordmark {
  font-family: 'Rubik', 'Inter', system-ui, sans-serif;
  font-weight: 900;
  font-size: 2.9rem;
  letter-spacing: -.03em;
  color: var(--ink-900);
  line-height: 1;
}
.mgh-wordmark > span { color: #16A34A; }
.service-card h3 {
  margin: 0;
  font-size: var(--step-2);
  color: var(--ink-900);
  font-weight: 800;
  letter-spacing: -.01em;
}
.service-card .lead {
  color: var(--ink-700);
  margin: 0;
  line-height: 1.6;
}
.service-features {
  list-style: none;
  padding: 0; margin: .5rem 0;
  display: grid; gap: .4rem;
}
.service-features li {
  display: flex; align-items: flex-start; gap: .5rem;
  color: var(--muted);
  font-size: .95rem;
}
.service-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 800;
  flex: 0 0 auto;
  margin-top: 1px;
}
.service-link {
  align-self: flex-end;
  margin-top: auto;
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--brand);
  font-weight: 700;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: var(--soft);
  transition: background .15s, color .15s;
}
.service-link:hover { background: var(--brand); color: #fff; text-decoration: none; }

/* ===== BENTO / WHY US ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.bento-cell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: .5rem;
  transition: transform .2s, box-shadow .2s;
}
.bento-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.bento-cell h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink-900);
  font-weight: 800;
}
.bento-cell p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.bento-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(31,78,155,.12), rgba(102,179,255,.12));
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: .5rem;
}
.bento-icon svg { width: 24px; height: 24px; }
.bento-cell--hero {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--ink-900), var(--brand-d));
  color: #fff;
  border: none;
  padding: 2.25rem 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2rem;
  align-items: center;
}
.bento-cell--hero .bento-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.15);
  color: #fff;
  margin: 0;
}
.bento-cell--hero .bento-icon svg { width: 32px; height: 32px; }
.bento-cell--hero h3 {
  color: #fff;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -.02em;
  grid-column: 2;
  grid-row: 1;
}
.bento-cell--hero p {
  color: rgba(255,255,255,.9);
  font-size: var(--step-1);
  line-height: 1.7;
  grid-column: 1 / -1;
  max-width: none;
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 1rem; inset-inline-end: 1.25rem;
  font-size: 2.2rem; font-weight: 900;
  color: var(--ink-200);
  line-height: 1;
}
.step h3 {
  margin: 0 0 .5rem;
  font-size: 1.15rem;
  color: var(--ink-900);
  padding-inline-end: 3rem;
}
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ===== SOLUTIONS ===== */
.solutions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.solution {
  padding: 1.5rem 1.25rem;
  background: var(--soft);
  border-radius: var(--r);
  transition: background .15s, transform .15s;
}
.solution:hover { background: rgba(31,78,155,.06); transform: translateY(-2px); }
.solution svg { width: 32px; height: 32px; color: var(--brand); margin-bottom: .5rem; }
.solution b { display: block; color: var(--ink-900); margin-bottom: .25rem; }
.solution span { color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about h2 { font-size: var(--step-4); line-height: 1.1; margin: 0 0 1rem; letter-spacing: -.02em; }
.about p { font-size: var(--step-1); color: var(--ink-700); margin: 0 0 1rem; line-height: 1.65; }
.about-tagline {
  display: inline-block;
  margin-top: 1rem;
  padding: .8rem 1.3rem;
  background: linear-gradient(90deg, var(--soft), transparent);
  border-inline-start: 4px solid var(--brand);
  border-radius: var(--r-sm);
  font-weight: 700;
  color: var(--brand-d);
}
.about-visual {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 25% 25%, rgba(0,174,239,.25), transparent 40%),
    radial-gradient(circle at 75% 30%, rgba(236,0,140,.20), transparent 40%),
    radial-gradient(circle at 30% 80%, rgba(255,206,0,.25), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(14,25,41,.18), transparent 40%),
    var(--ink-100);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.about-visual .cmyk-big {
  position: absolute;
  top: 50%; inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem;
}
.about-visual .cmyk-big span {
  width: 90px; height: 90px; border-radius: 50%;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.3);
  mix-blend-mode: multiply;
}
.about-visual .cmyk-big span:nth-child(1) { background: var(--c-cyan); }
.about-visual .cmyk-big span:nth-child(2) { background: var(--c-magenta); }
.about-visual .cmyk-big span:nth-child(3) { background: var(--c-yellow); }
.about-visual .cmyk-big span:nth-child(4) { background: var(--c-black); }
.about-visual .about-year {
  position: absolute;
  bottom: 1.25rem; inset-inline-start: 1.25rem;
  background: rgba(255,255,255,.95);
  padding: .75rem 1.1rem;
  border-radius: var(--r);
  font-weight: 800;
  color: var(--ink-900);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-1);
}

/* ===== PARTNERS ===== */
.partners-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  align-items: center;
}
.partner-badge {
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-align: center;
  font-weight: 700;
  color: var(--ink-500);
  font-size: 1.1rem;
  letter-spacing: .05em;
  transition: color .2s, border-color .2s, transform .2s;
}
.partner-badge:hover { color: var(--ink-900); border-color: var(--ink-400); transform: translateY(-2px); }

/* ===== FAQ ===== */
.faq {
  max-width: 900px;
  margin-inline: auto;
  display: grid;
  gap: .75rem;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 0;
  transition: box-shadow .2s, border-color .2s;
}
.faq details[open] { box-shadow: var(--shadow-1); border-color: var(--ink-300); }
.faq summary {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  color: var(--ink-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--brand);
  transition: transform .2s;
  font-weight: 500;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  color: var(--ink-700);
  line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.contact-card {
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.contact-card h3 { margin: 0 0 1rem; color: var(--ink-900); font-size: 1.4rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.contact-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: .8rem;
  align-items: start;
}
.contact-list .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list b { display: block; color: var(--ink-500); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.contact-list span, .contact-list a { color: var(--ink-900); font-weight: 500; }
.contact-wa-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.2), transparent 40%),
    linear-gradient(135deg, var(--wa), #128C7E);
  color: #fff;
  padding: 2rem;
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 1rem;
  justify-content: center;
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}
.contact-wa-panel::before {
  content: "";
  position: absolute;
  inset-inline-end: -60px;
  top: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.contact-wa-panel h3 { margin: 0; color: #fff; font-size: 1.7rem; letter-spacing: -.01em; }
.contact-wa-panel p { margin: 0; opacity: .95; font-size: 1.05rem; }
.contact-wa-panel .btn-wa {
  background: #fff;
  color: #128C7E;
  align-self: flex-start;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.3);
}
.contact-wa-panel .btn-wa:hover { background: #f0fff5; color: #0F6B5F; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding-block: 4rem 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand p { color: var(--ink-400); max-width: 40ch; margin-top: 1rem; font-size: .95rem; line-height: 1.6; }
.footer h4 { color: #fff; margin: 0 0 1rem; font-size: 1rem; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer a { color: var(--ink-300); font-size: .95rem; }
.footer a:hover { color: #fff; }
.social { display: flex; gap: .5rem; margin-top: 1rem; }
.social a {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background .15s, transform .15s;
}
.social a:hover { background: var(--brand); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.footer-legal-row {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
  color: var(--ink-400);
  font-size: .9rem;
}
.copyright-tail { display: inline; }
@media (max-width: 720px) {
  .copyright-tail { display: block; }
}
.footer-legal-links {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
}

/* ===== A11Y WIDGET ===== */
.a11y-fab {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 300;
  width: 52px; height: 52px; border-radius: 50%; border: none;
  background: var(--ink-900); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px -6px rgba(0,0,0,.4);
  transition: transform .2s, background .2s;
}
.a11y-fab:hover { transform: scale(1.08); background: var(--brand); }
.a11y-fab svg { width: 26px; height: 26px; }
.a11y-menu {
  position: fixed; bottom: 5rem; right: 1rem; z-index: 299;
  width: 270px; background: #fff; color: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: .75rem;
  box-shadow: var(--shadow-3);
  font-family: Rubik, Inter, system-ui, sans-serif;
  font-size: .95rem;
}
.a11y-menu[hidden] { display: none; }
.a11y-title { font-weight: 800; padding: .35rem .7rem .6rem; color: var(--ink-900); font-size: 1rem; }
.a11y-opt {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem .8rem;
  background: transparent; border: none; cursor: pointer;
  border-radius: var(--r-sm);
  font: inherit; color: inherit; text-align: start; margin: 0;
  text-decoration: none;
}
.a11y-opt + .a11y-opt { margin-top: 2px; }
.a11y-opt:hover { background: var(--soft); }
.a11y-arrow { font-weight: 900; color: var(--brand); min-width: 1.2em; text-align: center; font-size: 1.1rem; }
.a11y-pill {
  width: 32px; height: 18px; border-radius: 10px; background: var(--ink-300);
  position: relative; transition: background .2s; flex: 0 0 auto;
}
.a11y-pill::after {
  content: ""; position: absolute; top: 2px; inset-inline-end: 2px;
  width: 14px; height: 14px; border-radius: 50%; background: #fff;
  transition: transform .2s;
}
.a11y-pill.on { background: var(--brand); }
.a11y-pill.on::after { transform: translateX(14px); }
[dir="rtl"] .a11y-pill.on::after { transform: translateX(-14px); }
.a11y-reset { color: #dc2626; font-weight: 700; }
.a11y-statement { color: var(--brand); font-weight: 700; border-top: 1px solid var(--line); margin-top: 4px; padding-top: .8rem; }

/* High-contrast mode */
html.a11y-high-contrast {
  --bg: #000; --surface: #000; --soft: #0a0a0a;
  --text: #fff; --ink-900: #fff; --ink-800: #eee; --ink-700: #ddd;
  --muted: #ccc; --line: #555;
  --brand: #ffce00; --brand-d: #ffec55; --brand-l: #ffce00;
}
html.a11y-high-contrast body { background: #000; color: #fff; }
html.a11y-high-contrast .site-header { background: #000; border-color: #333; }
html.a11y-high-contrast .service-card,
html.a11y-high-contrast .contact-card,
html.a11y-high-contrast .bento-cell,
html.a11y-high-contrast .step,
html.a11y-high-contrast .partner-badge,
html.a11y-high-contrast .faq details { background: #0a0a0a; border-color: #555; color: #fff; }

html.a11y-readable-font, html.a11y-readable-font * {
  font-family: Arial, sans-serif !important;
  letter-spacing: .02em;
}

/* ===== WHATSAPP FAB ===== */
.wa-fab {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 300;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -6px rgba(37,211,102,.5);
  transition: transform .2s;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 32px; height: 32px; }
.wa-fab::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: rgba(37,211,102,.35);
  z-index: -1;
  animation: pulse-ring 2.5s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ===== LEGAL PAGES ===== */
.legal-page main {
  max-width: 820px;
  margin-inline: auto;
  padding-block: 3rem 5rem;
  padding-inline: var(--gutter);
}
.legal-page h1 { color: var(--ink-900); margin-bottom: .5rem; font-size: var(--step-4); letter-spacing: -.02em; }
.legal-page .updated { color: var(--muted); font-size: .95rem; margin-bottom: 2rem; }
.legal-page h2 { margin-top: 2.5rem; color: var(--ink-900); font-size: 1.5rem; letter-spacing: -.01em; }
.legal-page h3 { margin-top: 1.5rem; font-size: 1.15rem; }
.legal-page p, .legal-page li { line-height: 1.8; color: var(--ink-800); }
.legal-page ul, .legal-page ol { padding-inline-start: 1.5rem; }
.legal-page a.back { display: inline-block; margin-top: 2rem; padding: .7rem 1.4rem; background: var(--brand); color: #fff; border-radius: 999px; font-weight: 600; }
.legal-page a.back:hover { background: var(--brand-d); color: #fff; text-decoration: none; }
.coord-box {
  margin-top: 1.5rem; padding: 1.5rem 1.75rem;
  background: var(--soft); border-inline-start: 4px solid var(--brand);
  border-radius: var(--r);
}
.coord-box dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.2rem; }
.coord-box dt { font-weight: 700; color: var(--ink-900); }
.coord-box dd { margin: 0; color: var(--ink-700); }

/* ===== SCROLL ANIMATIONS (opt-in, respect prefers-reduced-motion) ===== */
@media (prefers-reduced-motion: no-preference) {
  .fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp .8s ease forwards;
  }
  @keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
  }
  .delay-1 { animation-delay: .1s; }
  .delay-2 { animation-delay: .2s; }
  .delay-3 { animation-delay: .3s; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-cell--hero { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .bento-cell--hero h3 { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-row { gap: .5rem; }
  #primary-nav {
    display: none;
    position: absolute;
    inset-inline: 0; top: 100%;
    background: #fff; padding: 1rem;
    flex-direction: column; align-items: stretch;
    gap: .25rem;
    box-shadow: var(--shadow-2);
    border-top: 1px solid var(--line);
  }
  #primary-nav.is-open { display: flex; }
  #primary-nav > a { padding: .9rem 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  #primary-nav > a:last-child { border-bottom: 0; }
  .nav-cta {
    margin-inline: 0 !important;
    padding: .55rem .9rem !important;
    font-size: .85rem;
  }
  .nav-cta::before { display: none; } /* drop the pulse ring on mobile to keep header tidy */

  /* HERO */
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-copy { text-align: center; }
  .hero-kicker { margin-inline: auto; }
  .hero h1 { font-size: clamp(1.65rem, 6vw, 2.1rem); letter-spacing: -.02em; }
  .hero .lede { margin-inline: auto; }
  .hero-cta { flex-wrap: nowrap; gap: .55rem; justify-content: center; }
  .hero-cta .btn { flex: 1 1 0; min-width: 0; padding: .8rem .6rem; font-size: .95rem; white-space: nowrap; }

  /* section-heads a bit tighter on mobile */
  .section-head { margin-bottom: 1.75rem; }
  .section-eyebrow { margin-bottom: .6rem; }

  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions, .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-cell, .bento-cell--hero {
    grid-column: 1 / -1; grid-row: auto;
  }
  .bento-cell--hero { grid-template-columns: 1fr; padding: 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal-row { flex-direction: column; text-align: center; }
}
@media (pointer: coarse) {
  .btn, .nav-cta, #primary-nav > a { min-height: 44px; }
}
@media print {
  .a11y-fab, .a11y-menu, .wa-fab, .nav-toggle, .site-header { display: none !important; }
  body { color: #000; background: #fff; }
}
