/* ==========================================================================
   M2R Solution — Epicor ERP Consultancy
   Design tokens are sampled from the logo (navy / bright blue / charcoal).
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #051529;
  --navy-900: #061a36;
  --navy-800: #0a2a55;
  --navy-700: #0b3a70;   /* logo navy */
  --blue-600: #1a56c4;   /* primary action on light surfaces (6.6:1 on white) */
  --blue-700: #1746a3;
  --sky-500:  #2e93e0;   /* logo bright blue — use on dark surfaces / large text */
  --sky-300:  #7cc0f5;
  --sky-100:  #e6f2fc;
  --charcoal-700: #3a3b3f; /* logo charcoal */

  /* Neutrals */
  --ink:        #142033;
  --ink-soft:   #465468;   /* 7.6:1 on white */
  --line:       #dbe4f0;
  --surface:    #ffffff;
  --surface-alt:#f3f7fc;

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

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 84px;

  /* Elevation & motion */
  --shadow-sm: 0 1px 2px rgba(6, 26, 54, .06), 0 2px 8px rgba(6, 26, 54, .05);
  --shadow-md: 0 8px 24px rgba(6, 26, 54, .10);
  --shadow-lg: 0 24px 60px rgba(6, 26, 54, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 160ms;
  --t-med: 260ms;

  color-scheme: light;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; color: var(--navy-900); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
button { font: inherit; cursor: pointer; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

:focus-visible { outline: 3px solid var(--sky-500); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--alt { background: var(--surface-alt); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 12px 20px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none; transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Type helpers ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow, .eyebrow--light { color: var(--sky-300); }

.h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 800; }
.h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 62ch; }
.section-head { max-width: 720px; display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.on-dark .h2, .on-dark .h3, .on-dark h1 { color: #fff; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue-600); --btn-fg: #fff; --btn-bd: var(--blue-600);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-weight: 700; font-size: .9375rem; line-height: 1.2; text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd);
  border-radius: var(--radius-sm);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform var(--t-fast) var(--ease); }
.btn:hover .icon { transform: translate(2px, -2px); }
.btn--nav { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); }
.btn--nav:hover { --btn-bg: var(--navy-800); }
.btn--light { --btn-bg: var(--sky-500); --btn-fg: var(--navy-950); --btn-bd: var(--sky-500); }
.btn--light:hover { --btn-bg: var(--sky-300); --btn-bd: var(--sky-300); color: var(--navy-950); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); }
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-bd: #fff; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-700); --btn-bd: var(--navy-700); }
.btn--outline:hover { --btn-bg: var(--navy-700); --btn-fg: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Top bar ---------------------------------------------------------------- */
.topbar { background: var(--navy-700); color: #fff; font-size: .875rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; }
.topbar a:hover { color: var(--sky-300); }
.topbar__lead a { text-decoration: underline; font-weight: 600; margin-left: 4px; }
.topbar__lead { display: inline-flex; align-items: center; gap: 10px; }
.topbar__lead .icon { padding: 3px; width: 22px; height: 22px; background: rgba(255,255,255,.16); border-radius: 6px; }
.topbar__contact { display: flex; align-items: center; gap: 24px; }
.topbar__contact .icon { width: 1.05em; height: 1.05em; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.brand img { height: 64px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  font-weight: 600; font-size: .9375rem; color: var(--ink); text-decoration: none; border-radius: 8px;
  transition: color var(--t-fast) var(--ease);
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--sky-500); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease);
}
.nav a:not(.btn):hover { color: var(--blue-600); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--blue-600); }
.nav__cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy-900);
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero (home) -------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 82% 20%, rgba(46,147,224,.38), transparent 60%),
    radial-gradient(700px 420px at 8% 100%, rgba(26,86,196,.35), transparent 60%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  padding-block: clamp(56px, 8vw, 112px) clamp(96px, 11vw, 150px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 90% at 70% 40%, #000 20%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; margin-block: 18px 22px; }
.hero h1 em { font-style: normal; color: var(--sky-300); }
.hero__lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.86); max-width: 56ch; margin-bottom: 30px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  font-size: .8125rem; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2);
}
.chip .icon { width: 15px; height: 15px; color: var(--sky-300); }

.hero__visual { position: relative; }
.hero__visual svg { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
.hero__visual .line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) .3s forwards; }
.hero__visual .bar { transform-box: fill-box; transform-origin: 50% 100%; animation: grow .8s var(--ease) both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Trust strip (overlaps hero) --------------------------------------------- */
.trust { position: relative; z-index: 2; margin-top: -68px; }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.trust__item { display: flex; gap: 16px; padding: 28px 26px; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__icon {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--sky-100); color: var(--blue-600);
}
.trust__item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.005em; }
.trust__item p { font-size: .9rem; line-height: 1.5; color: var(--ink-soft); }

/* Service cards ------------------------------------------------------------ */
.cards { display: grid; gap: 24px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  display: flex; flex-direction: column; gap: 16px; padding: 30px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #c3d4ea; }
.card__icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  color: #fff; background: linear-gradient(135deg, var(--navy-700), var(--blue-600));
}
.card__icon .icon { width: 26px; height: 26px; }
.card p { color: var(--ink-soft); font-size: .96rem; }
.card__list { display: grid; gap: 8px; font-size: .9rem; color: var(--ink); }
.card__list li { display: flex; gap: 10px; align-items: flex-start; }
.card__list .icon { width: 1.05em; height: 1.05em; margin-top: .22em; color: var(--blue-600); }
.card__link {
  margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .9rem; text-decoration: none; min-height: 44px;
}
.card__link .icon { width: 1em; height: 1em; transition: transform var(--t-fast) var(--ease); }
.card__link:hover .icon { transform: translateX(4px); }

/* Split layouts ------------------------------------------------------------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.check-list { display: grid; gap: 22px; margin-top: 8px; }
.check-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.check-list__icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sky-100); color: var(--blue-600);
}
.check-list__icon .icon { width: 20px; height: 20px; stroke-width: 2.5; }
.check-list h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.005em; margin-bottom: 2px; }
.check-list p { color: var(--ink-soft); font-size: .96rem; }

.panel-dark {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(46,147,224,.45), transparent 65%),
    linear-gradient(145deg, var(--navy-900), var(--navy-700));
  box-shadow: var(--shadow-lg);
}
.panel-dark::after {
  content: ""; position: absolute; z-index: -1; right: -90px; bottom: -110px; width: 320px; height: 320px; border-radius: 50%;
  border: 44px solid rgba(255,255,255,.05);
}
.panel-dark h3 { color: #fff; font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: 14px; }
.panel-dark p { color: rgba(255,255,255,.84); margin-bottom: 26px; }
.panel-dark .mini-list { display: grid; gap: 12px; margin-bottom: 30px; font-weight: 600; font-size: .95rem; }
.panel-dark .mini-list li { display: flex; gap: 12px; align-items: center; }
.panel-dark .mini-list .icon { color: var(--sky-300); stroke-width: 2.5; }

/* Process ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.step { position: relative; display: grid; gap: 12px; justify-items: start; }
.step__num {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  font-weight: 800; font-size: 1.125rem; color: #fff;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-600));
  box-shadow: 0 0 0 6px var(--surface-alt);
}
.section:not(.section--alt) .step__num { box-shadow: 0 0 0 6px var(--surface); }
.step p { color: var(--ink-soft); font-size: .96rem; }

/* Industries --------------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.tile {
  display: grid; gap: 10px; padding: 26px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile .icon { width: 30px; height: 30px; color: var(--blue-600); }
.tile h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.005em; }
.tile p { color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }

/* FAQ ---------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #bcd0ea; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 22px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1rem; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; color: var(--blue-600); transition: transform var(--t-med) var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq summary:focus-visible { outline-offset: -3px; }
.faq__body { padding: 0 22px 22px; color: var(--ink-soft); max-width: 68ch; }

/* CTA band ------------------------------------------------------------------ */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center;
  padding: clamp(48px, 7vw, 88px) var(--gutter);
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(46,147,224,.4), transparent 65%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
}
.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 800; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 56ch; margin: 16px auto 30px; font-size: 1.0625rem; }
.cta-band .btn-row { justify-content: center; }

/* Page hero (inner pages) --------------------------------------------------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding-block: clamp(48px, 7vw, 92px);
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(46,147,224,.4), transparent 62%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 100%); mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.125rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; margin-block: 14px 18px; max-width: 20ch; }
.page-hero .lead { color: rgba(255,255,255,.86); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: rgba(255,255,255,.75); }
.breadcrumb a { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .55; }

/* Anchor chips (ERP page) ---------------------------------------------------- */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.jump a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px;
  font-weight: 600; font-size: .9rem; text-decoration: none; color: #fff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.jump a:hover { background: #fff; color: var(--navy-900); }

/* Service detail blocks (ERP page) ------------------------------------------ */
.service { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(40px, 6vw, 72px); }
.service + .service { border-top: 1px solid var(--line); }
.service__intro { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.service__intro .card__icon { width: 60px; height: 60px; }
.service__intro p { color: var(--ink-soft); }
.service__outcome {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--sky-100); color: var(--navy-800); font-weight: 600; font-size: .95rem;
}
.service__outcome .icon { color: var(--blue-600); margin-top: .15em; }
.included { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.included li {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 20px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.included li .icon { width: 22px; height: 22px; color: var(--blue-600); stroke-width: 2.5; margin-top: 2px; }
.included li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.included h3 { font-size: 1rem; font-weight: 700; letter-spacing: -0.005em; margin-bottom: 2px; }
.included p { color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }

.platforms { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.platform {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px;
  font-weight: 700; color: var(--navy-800); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.platform .icon { color: var(--blue-600); }

/* About ------------------------------------------------------------------- */
.logo-card {
  display: grid; place-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #fff, var(--surface-alt)); border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.logo-card img { width: min(300px, 70%); height: auto; }
.prose { display: grid; gap: 18px; color: var(--ink-soft); font-size: 1.0625rem; }
.prose strong { color: var(--navy-900); }

/* Contact ----------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-card { padding: clamp(24px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.form-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: 8px; }
.form-card > p { color: var(--ink-soft); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--navy-900); }
.field .req { color: #b42318; margin-left: 2px; }
.field .hint { font-size: .8125rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #b9c7da; border-radius: var(--radius-sm);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue-600); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(46,147,224,.28); }
.field [aria-invalid="true"] { border-color: #b42318; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180,35,24,.2); }
.field__error { display: none; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; color: #b42318; }
.field__error.is-visible { display: flex; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-note { font-size: .8125rem; color: var(--ink-soft); }
.form-summary { display: none; margin-bottom: 22px; padding: 16px 20px; border-radius: var(--radius-sm); background: #fef3f2; border: 1px solid #fda29b; color: #7a271a; }
.form-summary.is-visible { display: block; }
.form-summary h3 { font-size: 1rem; margin-bottom: 6px; color: #7a271a; }
.form-summary ul { display: grid; gap: 4px; padding-left: 18px; list-style: disc; }
.form-summary a { color: #7a271a; font-weight: 600; }
.form-status { display: none; margin-top: 20px; padding: 16px 20px; border-radius: var(--radius-sm); background: #ecfdf3; border: 1px solid #75e0a7; color: #085d3a; font-weight: 600; }
.form-status.is-visible { display: block; }

.info-stack { display: grid; gap: 18px; }
.info-card { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.info-card .trust__icon { width: 52px; height: 52px; }
.info-card h3 { font-size: 1rem; margin-bottom: 2px; }
.info-card p, .info-card a { font-size: .96rem; color: var(--ink-soft); }
.info-card a { color: var(--blue-600); font-weight: 600; word-break: break-word; }
.next-steps { padding: 26px; border-radius: var(--radius); background: var(--navy-900); color: #fff; }
.next-steps h3 { color: #fff; margin-bottom: 16px; }
.next-steps ol { display: grid; gap: 14px; counter-reset: n; }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; color: rgba(255,255,255,.88); font-size: .95rem; }
.next-steps li::before { content: counter(n); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sky-500); color: var(--navy-950); font-weight: 800; }

/* Footer ------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.78); font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(48px, 6vw, 80px); }
.footer__logo { display: inline-block; padding: 14px 18px; margin-bottom: 20px; background: #fff; border-radius: 14px; }
.footer__logo img { height: 72px; width: auto; }
.site-footer h2 { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer__links { display: grid; gap: 4px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 36px; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.footer__contact .icon { color: var(--sky-300); margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; padding-inline-end: 84px; font-size: .875rem; }

/* Floating call button -------------------------------------------------------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 50%; color: #fff; background: var(--blue-600); box-shadow: 0 10px 28px rgba(6,26,54,.35);
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.fab:hover { color: #fff; background: var(--navy-700); transform: translateY(-3px); }
.fab .icon { width: 26px; height: 26px; }

/* Scroll reveal (only when JS is on) ------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .brand img { height: 56px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav a:not(.btn) { min-height: 52px; padding-inline: 4px; font-size: 1.0625rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta-mobile { display: block; padding-top: 16px; }
  .nav__cta-mobile .btn { width: 100%; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
  .service { grid-template-columns: 1fr; }
  .service__intro { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar__lead { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__contact { gap: 14px; flex-wrap: nowrap; justify-content: center; font-size: .8125rem; }
  .fab { right: 14px; bottom: 14px; width: 50px; height: 50px; }
  .fab .icon { width: 22px; height: 22px; }
  .header-actions .btn--nav { display: none; }
  .cards--4, .cards--3 { grid-template-columns: 1fr; }
  .trust { margin-top: -48px; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .included { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .hero__visual { display: none; }
}

@media (max-width: 400px) {
  .tiles { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__visual .line { stroke-dashoffset: 0; }
}
