/* ==========================================================================
   AZUR BUSINESS LLC — Main stylesheet
   Plain CSS, no build step. Brand tokens live in :root below.
   ========================================================================== */

:root {
  /* Brand colours */
  /* Brand accent — used sparingly for primary actions, links and highlights */
  --brand: #942686;
  --brand-dark: #7a1f6f;
  --brand-light: #f7eef6;

  /* Corporate neutrals — navy and slate carry the layout */
  --navy: #0b1f3a;
  --navy-2: #13294b;
  --navy-3: #1e3a5f;
  --white: #ffffff;
  --grey-50: #f8fafc;
  --grey-100: #f1f5f9;
  --grey-200: #e2e8f0;
  --grey-300: #cbd5e1;
  --grey-500: #64748b;

  /* Text */
  --text: #1e293b;
  --text-muted: #475569;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .05), 0 1px 6px rgba(11, 31, 58, .04);
  --shadow-md: 0 10px 30px rgba(11, 31, 58, .08);
  --section-y: clamp(64px, 9vw, 112px);

  /* Type */
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --focus: 0 0 0 3px var(--white), 0 0 0 5px var(--brand);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 750; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.visually-hidden {
  position: absolute !important; 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: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--grey-100); color: var(--navy); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: .35em;
}
.text-link::after { content: "\2192"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(3px); }
.text-link:hover { text-decoration: underline; }

/* ---------- Header / navigation ----------
   White bar · logo left · five links right.
   Hover: colour shifts to brand + thin underline grows in (0.2s).
   Active page: brand colour + permanent underline.            */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  box-shadow: 0 1px 0 rgba(11, 31, 58, .02), 0 4px 16px rgba(11, 31, 58, .04);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; }
.brand { display: inline-flex; flex-shrink: 0; padding: 4px 0; }
.brand img { width: 180px; height: auto; }

.site-nav { display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; align-items: center; gap: clamp(8px, 1.6vw, 28px); }
.nav-list a {
  position: relative; display: block; padding: 10px 4px;
  color: var(--text); text-decoration: none;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  transition: color .2s ease;
}
/* Thin underline, hidden until hover / active */
.nav-list a::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .2s ease;
}
.nav-list a:hover { color: var(--brand); }
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a:focus-visible { color: var(--brand); }

/* Hamburger button (mobile only) */
.nav-toggle {
  display: none; place-items: center;
  width: 46px; height: 46px; padding: 0;
  background: var(--white); border: 1px solid var(--grey-200); border-radius: 10px;
  color: var(--navy); cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.nav-toggle:hover { border-color: var(--brand); }
.nav-toggle[aria-expanded="true"] { border-color: var(--brand); background: var(--brand-light); }
.nav-toggle-bars { position: relative; display: block; width: 22px; height: 16px; }
.nav-toggle-bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease, background-color .2s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 7px; }
.nav-toggle-bars span:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span { background: var(--brand); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .header-inner { min-height: 70px; }
  .brand img { width: 160px; }
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: block; background: var(--white);
    border-bottom: 1px solid var(--grey-200); box-shadow: var(--shadow-md);
    padding: 8px var(--gutter) 20px;
  }
  /* Closed state (only when JS is running, so the menu stays usable without JS) */
  .js .site-nav {
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .js .site-nav.is-open {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li + li { border-top: 1px solid var(--grey-100); }
  .nav-list a { padding: 14px 16px; font-size: 1.05rem; border-radius: 8px; }
  .nav-list a::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; transform: scaleY(0); transform-origin: center; }
  .nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleY(1); }
  .nav-list a[aria-current="page"] { background: var(--brand-light); }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--grey-50); }
.section-tint { background: var(--grey-100); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--text-muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(30, 58, 95, .07), transparent 60%),
    linear-gradient(180deg, var(--grey-50) 0%, var(--white) 100%);
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy .lead { max-width: 560px; margin-bottom: 28px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); font-size: .98rem; }
.hero-points img { width: 20px; height: 20px; }
.hero-media img { width: 100%; }

.page-hero {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(30, 58, 95, .07), transparent 60%),
    var(--grey-50);
  padding: clamp(48px, 7vw, 88px) 0;
  border-bottom: 1px solid var(--grey-200);
}
.page-hero .hero-grid { grid-template-columns: 1.1fr .9fr; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero.compact .container { max-width: 860px; text-align: center; }
.breadcrumb { font-size: .9rem; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.page-hero.compact .breadcrumb ol { justify-content: center; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--grey-500); }
.breadcrumb a { color: var(--text-muted); }

@media (max-width: 900px) {
  .hero-grid, .page-hero .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; }
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--grey-300); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--text-muted); font-size: 1rem; }
.card .text-link { margin-top: auto; padding-top: 6px; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grey-100); border: 1px solid var(--grey-200);
}
.icon-badge img { width: 26px; height: 26px; }
.icon-badge.sm { width: 42px; height: 42px; border-radius: 10px; margin-bottom: 0; }
.icon-badge.sm img { width: 22px; height: 22px; }

.tag {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy-3); background: var(--grey-100); border: 1px solid var(--grey-200); border-radius: 999px; padding: 3px 10px; margin-bottom: 12px;
  align-self: flex-start;
}

.check-list { list-style: none; margin: 4px 0 20px; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 28px; font-size: .98rem; color: var(--text); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px;
  background: url("../assets/icons/check.svg") center / 18px no-repeat;
}

/* ---------- Split / media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { border-radius: var(--radius-lg); background: var(--grey-50); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* ---------- Feature rows (benefits) ---------- */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature h3 { font-size: 1.08rem; margin-bottom: .3em; }
.feature p { color: var(--text-muted); font-size: .98rem; margin: 0; }

/* ---------- Industry chips ---------- */
.industry-tile {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 18px 20px; text-decoration: none; color: var(--navy); font-weight: 650;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.industry-tile:hover { border-color: var(--grey-300); box-shadow: var(--shadow-md); color: var(--navy); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 750; color: var(--white); background: var(--navy);
  box-shadow: inset 0 -3px 0 var(--brand);
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--text-muted); font-size: .98rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  border-top: 4px solid var(--brand);
  color: var(--white); border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
}
.cta-band h2 { color: var(--white); margin-bottom: .35em; }
.cta-band p { color: #cbd5e1; margin: 0; font-size: 1.08rem; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Contact summary / info ---------- */
.info-list { list-style: none; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list strong { display: block; color: var(--navy); }
.info-list span, .info-list address { color: var(--text-muted); font-style: normal; }

.contact-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 800px) { .contact-strip { grid-template-columns: 1fr; } }

/* ---------- Solutions page ---------- */
.jump-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.jump-nav a {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--grey-200); background: var(--white);
  color: var(--navy); text-decoration: none; font-weight: 600; font-size: .92rem;
}
.jump-nav a:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.solution-card { scroll-margin-top: 100px; }
.solution-card .card-top { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.solution-card .card-top .icon-badge { margin-bottom: 0; }
.solution-card h3 { margin: 0; }
.solution-card .btn { margin-top: auto; align-self: flex-start; padding: .7em 1.2em; font-size: .95rem; }

/* ---------- Industries page ---------- */
.industry-block {
  display: grid; grid-template-columns: 260px 1fr; gap: clamp(20px, 4vw, 48px);
  padding: clamp(28px, 4vw, 40px); border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-sm); scroll-margin-top: 100px;
}
.industry-block + .industry-block { margin-top: 24px; }
.industry-block h2 { font-size: 1.5rem; }
.industry-block h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grey-500); margin-bottom: .7em; }
.industry-block .intro { color: var(--text-muted); margin: 0; }
.industry-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.industry-cols .check-list { margin-bottom: 0; }
.plain-list { list-style: none; display: grid; gap: 8px; }
.plain-list li { position: relative; padding-left: 18px; color: var(--text); font-size: .98rem; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--grey-500); }
.related { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.related a {
  font-size: .85rem; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  background: var(--white); color: var(--navy); border: 1px solid var(--grey-300); text-decoration: none;
}
.related a:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
@media (max-width: 860px) {
  .industry-block { grid-template-columns: 1fr; }
  .industry-cols { grid-template-columns: 1fr; }
}

.note {
  border-left: 4px solid var(--brand); background: var(--grey-100);
  padding: 14px 18px; border-radius: 0 10px 10px 0; color: var(--text); font-size: .95rem;
}

/* ---------- Contact form ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-card { background: var(--navy); color: #cbd5e1; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); }
.contact-card h2 { color: var(--white); font-size: 1.6rem; }
.contact-card .info-list strong { color: var(--white); }
.contact-card .info-list span, .contact-card .info-list address { color: #cbd5e1; }
.contact-card a { color: var(--white); }
.contact-card a:hover { color: #e2e8f0; }
.contact-card a.btn-light { color: var(--navy); }
.contact-card a.btn-light:hover { color: var(--navy); }
.contact-card .icon-badge { background: rgba(255,255,255,.95); border-color: transparent; }
.contact-card :focus-visible { box-shadow: 0 0 0 3px var(--navy), 0 0 0 5px var(--white); }

.form-card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 650; color: var(--navy); margin-bottom: 6px; font-size: .96rem; }
.field .req { color: var(--brand); }
.field .optional { color: var(--text-muted); font-weight: 500; font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 12px 14px; border: 1.5px solid var(--grey-300); border-radius: 10px; background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 3px rgba(30, 58, 95, .18); }
.field [aria-invalid="true"] { border-color: #b3261e; background: #fff8f7; }
.field-error { display: block; min-height: 0; color: #b3261e; font-size: .9rem; font-weight: 600; margin-top: 6px; }
.field-error:empty { display: none; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-hint { color: var(--text-muted); font-size: .9rem; margin: 0; }

.form-status { margin-top: 20px; padding: 14px 18px; border-radius: 10px; font-weight: 600; font-size: .98rem; }
.form-status[hidden] { display: none; }
.form-status.is-success { background: #e8f6ee; color: #145c34; border: 1px solid #a8dcbd; }
.form-status.is-info { background: var(--grey-100); color: var(--navy); border: 1px solid var(--grey-300); }
.form-status.is-error { background: #fdecea; color: #8c1d18; border: 1px solid #f2b8b5; }
.form-status p { margin: 0; }
.form-status p + p { margin-top: 6px; font-weight: 500; }

/* ---------- Map ---------- */
.map-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--grey-200); background: var(--grey-100); width: 100%; height: clamp(320px, 42vw, 480px); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 18px; }
.map-meta p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cbd5e1; padding-top: clamp(56px, 7vw, 80px); font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 176px; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.site-footer h2 { color: var(--white); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer a[aria-current="page"] { color: var(--white); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; }
.site-footer address { font-style: normal; }
.site-footer :focus-visible { box-shadow: 0 0 0 3px var(--navy), 0 0 0 5px var(--white); }
.footer-bottom {
  margin-top: 48px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .9rem; color: #94a3b8;
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack-lg > * + * { margin-top: 20px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .cta-band, .map-wrap, .contact-form { display: none; }
  body { color: #000; }
}

/* ---------- Logo strip: "Businesses We Support" (Home, below hero) ----------
   Two identical .logo-set lists sit side by side in .logo-track.
   The track moves left by exactly 50% (= one set), then restarts — the
   restart position looks identical, so the loop has no visible jump.     */
.logo-strip {
  --logo-gap: clamp(40px, 6vw, 72px);
  --logo-h: clamp(48px, 5vw, 54px);
  background: var(--white);
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  padding: clamp(32px, 5vw, 48px) 0;
}
.logo-strip-title {
  text-align: center; margin: 0 0 clamp(20px, 3vw, 28px);
  font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-500);
}
.logo-marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.logo-track { display: flex; width: max-content; animation: logo-scroll 32s linear infinite; }
.logo-set {
  list-style: none; margin: 0; display: flex; align-items: center; flex-shrink: 0;
  gap: var(--logo-gap); padding: 6px var(--logo-gap) 6px 0; /* right padding = gap keeps spacing even at the seam */
}
.logo-set li { flex-shrink: 0; border-radius: 8px; }
.logo-set img {
  height: var(--logo-h); width: auto; opacity: .8;
  transition: opacity .2s ease;
}
.logo-set li:hover img, .logo-set li:focus-visible img { opacity: 1; }
.logo-set li:focus-visible { box-shadow: var(--focus); }

/* Pause on hover or keyboard focus */
.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track { animation-play-state: paused; }

@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Reduced motion: static, centred row that wraps — no animation, no duplicates */
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .logo-track { animation: none; display: block; width: auto; }
  .logo-set { flex-wrap: wrap; flex-shrink: 1; justify-content: center; padding: 0; row-gap: 24px; column-gap: clamp(28px, 5vw, 56px); }
  .logo-set[aria-hidden="true"] { display: none; }
}

/* ==========================================================================
   Home hero (redesign) — .hero-v2
   ========================================================================== */
.hero-v2 {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--grey-50);
  padding: clamp(56px, 7vw, 100px) 0 clamp(72px, 8vw, 112px);
}
/* Soft brand glow + faint grid, fading out towards the edges */
.hero-v2-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(560px 420px at 78% 42%, rgba(148, 38, 134, .13), transparent 70%),
    radial-gradient(700px 500px at 10% 0%, rgba(30, 58, 95, .07), transparent 70%),
    linear-gradient(var(--grey-200) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--grey-200) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 40%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 90% 80% at 60% 40%, #000 30%, transparent 85%);
  opacity: .9;
}
/* Text column stays aligned with the logo; on wide screens the dashboard extends into the right margin */
.hero-v2-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px); align-items: center;
}

.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--grey-200); box-shadow: var(--shadow-sm);
  font-size: .85rem; font-weight: 650; color: var(--navy); letter-spacing: .01em;
}
.hero-kicker-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 4px rgba(148, 38, 134, .15);
}
.hero-v2 h1 {
  margin: 24px 0 20px;
  font-size: clamp(2.35rem, 3.5vw, 3.1rem); line-height: 1.08; font-weight: 800; letter-spacing: -.03em;
  color: var(--navy); max-width: 21ch;
}
.hero-accent {
  color: var(--brand);
  background: linear-gradient(transparent 76%, rgba(148, 38, 134, .11) 76%);
  padding: 0 .06em; margin: 0 -.06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-v2-lead {
  font-size: clamp(1.08rem, 1.5vw, 1.24rem); line-height: 1.6; color: var(--text-muted);
  max-width: 34rem; margin: 0;
}

/* Actions */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 36px; }
.btn-lg { min-height: 54px; padding: .95em 1.7em; font-size: 1.05rem; border-radius: 12px; }
.btn-arrow { display: inline-block; transition: transform .2s ease; }
.hero-cta { box-shadow: 0 10px 24px -8px rgba(148, 38, 134, .55); }
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(148, 38, 134, .6); }
.hero-cta:active { transform: translateY(0); }
.hero-cta:hover .btn-arrow, .hero-link:hover .btn-arrow { transform: translateX(4px); }

.hero-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  font-weight: 700; font-size: 1.05rem; color: var(--navy); text-decoration: none;
  transition: color .2s ease;
}
.hero-link-text {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  padding-bottom: 2px; transition: background-size .2s ease;
}
.hero-link:hover { color: var(--brand); }
.hero-link:hover .hero-link-text { background-size: 100% 2px; }

.hero-assurances {
  list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px;
  margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--grey-200);
}
.hero-assurances li { display: inline-flex; align-items: center; gap: 9px; font-size: .95rem; font-weight: 600; color: var(--text); }
.hero-assurances img { width: 20px; height: 20px; }

/* Visual */
.hero-v2-visual { position: relative; }
@media (min-width: 1025px) {
  .hero-v2-visual { margin-right: calc(-1 * clamp(0px, (100vw - 1200px) / 2, 150px)); }
}
.hero-frame {
  padding: 10px; border-radius: 24px;
  background: rgba(255, 255, 255, .65); border: 1px solid rgba(226, 232, 240, .9);
  box-shadow: 0 40px 70px -30px rgba(11, 31, 58, .35), 0 18px 36px -18px rgba(11, 31, 58, .18);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-dashboard { width: 100%; height: auto; border-radius: 16px; background: var(--white); }

.hero-float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--grey-200);
  box-shadow: 0 18px 36px -14px rgba(11, 31, 58, .28);
  font-size: .88rem; line-height: 1.3; color: var(--text); white-space: nowrap;
}
.hero-float strong { display: block; color: var(--navy); font-weight: 700; }
.hero-float small { display: block; color: var(--text-muted); font-size: .8rem; }
.hero-float-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--brand-light); color: var(--brand);
}
.hero-float-icon.is-success { background: #dcfce7; color: #166534; }
.hero-float-icon img { width: 18px; height: 18px; }
.hero-float-a { left: -28px; bottom: -26px; }
.hero-float-b { right: 28px; top: -30px; }

/* Entrance animation — JS adds .is-ready; a fail-safe reveals content if JS never runs */
.js .hero-v2 [data-reveal] { opacity: 0; transform: translateY(18px); }
.js .hero-v2 .hero-float { opacity: 0; transform: translateY(10px); }
.js .hero-v2.is-ready [data-reveal],
.js .hero-v2.is-ready .hero-float {
  opacity: 1; transform: none;
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0ms);
}
.js .hero-v2.is-ready .hero-float-a { transition-delay: 750ms; }
.js .hero-v2.is-ready .hero-float-b { transition-delay: 900ms; }
.js .hero-v2:not(.is-ready) [data-reveal],
.js .hero-v2:not(.is-ready) .hero-float { animation: hero-failsafe 0s linear 2.5s forwards; }
@keyframes hero-failsafe { to { opacity: 1; transform: none; } }

/* Tablet */
@media (max-width: 1024px) {
  .hero-v2-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-v2 h1 { max-width: 18ch; font-size: clamp(2.35rem, 6vw, 3.35rem); }
  .hero-v2-visual { max-width: 760px; width: 100%; margin: 0 auto; }
  .hero-float-a { left: -8px; }
  .hero-float-b { right: 16px; }
}

/* Mobile */
@media (max-width: 560px) {
  .hero-v2 { padding-top: 40px; }
  .hero-v2 h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); margin: 20px 0 16px; }
  .hero-kicker { font-size: .8rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 28px; }
  .hero-actions .btn-lg { width: 100%; }
  .hero-link { justify-content: center; }
  .hero-assurances { flex-direction: column; gap: 12px; margin-top: 28px; padding-top: 22px; }
  .hero-v2-grid { gap: 40px; }
  .hero-frame { padding: 6px; border-radius: 20px; }
  .hero-float-b { display: none; }
  .hero-v2-visual { margin-bottom: 28px; }
  .hero-float-a { left: 50%; bottom: -46px; transform: translateX(-50%); font-size: .82rem; }
  .js .hero-v2 .hero-float-a { transform: translate(-50%, 10px); }
  .js .hero-v2.is-ready .hero-float-a { transform: translateX(-50%); }
  @keyframes hero-failsafe { to { opacity: 1; } }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero-v2 [data-reveal], .js .hero-v2 .hero-float {
    opacity: 1 !important; transition: none !important; animation: none !important;
  }
  .js .hero-v2 [data-reveal], .js .hero-v2 .hero-float-b { transform: none !important; }
  .hero-cta:hover { transform: none; }
}

/* AZUR professional visual refinement — preserves existing layout and content */
.site-header img[src$="azur-original.png"], header img[src$="azur-original.png"] { width:176px; height:auto; max-width:100%; object-fit:contain; }
footer img[src$="azur-original.png"], .site-footer img[src$="azur-original.png"] { width:176px; height:auto; max-width:100%; object-fit:contain; background:#fff; border-radius:6px; padding:5px 7px; box-sizing:content-box; }
:where(a,button,input,textarea,select):focus-visible { outline:2px solid #942686; outline-offset:3px; }
img { max-width:100%; }
@media (max-width:480px) { header img[src$="azur-original.png"] { width:145px; } footer img[src$="azur-original.png"] { width:155px; } }
@media (prefers-reduced-motion:reduce) { html {scroll-behavior:auto;} }

/* Product/service labels: scoped exclusively to the existing home-page marquee. */
.logo-strip .logo-set li { display:flex; align-items:center; gap:12px; max-width:310px; }
.logo-strip .logo-set img { width:44px; height:44px; flex:0 0 44px; object-fit:contain; }
.logo-strip .logo-set li span { display:block; max-width:250px; font-size:14px; line-height:1.35; font-weight:600; color:var(--navy); }
@media (max-width:600px) {
  .logo-strip .logo-set li { max-width:245px; gap:9px; }
  .logo-strip .logo-set img { width:38px; height:38px; flex-basis:38px; }
  .logo-strip .logo-set li span { max-width:195px; font-size:12px; }
}
