/* ==========================================================
   BLUESTONE SUPPLY AGENCY — DESIGN SYSTEM
   Deep blue / aqua industrial palette, premium B2B aesthetic
   ========================================================== */

/* Self-hosted Inter (latin) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/inter-latin-800-normal.woff2') format('woff2'); }

:root {
  /* Palette */
  --navy-950: #071729;
  --navy-900: #0a2540;
  --navy-800: #103a5c;
  --navy-700: #16507c;
  --blue-600: #1b6fb2;
  --blue-500: #2489d3;
  --aqua-500: #17a2b8;
  --aqua-400: #2fc4d8;
  --aqua-300: #7fdbea;
  --grey-900: #1a222c;
  --grey-700: #3d4a59;
  --grey-600: #55636f;
  --grey-500: #6b7a87;
  --grey-300: #c3ced7;
  --grey-200: #dde5eb;
  --grey-100: #eef2f6;
  --grey-50:  #f7fafc;
  --white: #ffffff;
  --amber-500: #e8a13c;

  /* Semantics */
  --bg: var(--white);
  --bg-alt: var(--grey-50);
  --text: var(--grey-900);
  --text-muted: var(--grey-600);
  --border: var(--grey-200);
  --link: var(--blue-600);
  --focus-ring: 3px solid var(--aqua-400);

  /* Type */
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: clamp(1.9rem, 3.5vw, 2.6rem);
  --fs-hero: clamp(2.1rem, 4.6vw, 3.4rem);

  /* Layout */
  --container: 74rem;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 6px 20px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 14px 40px rgba(10, 37, 64, 0.16);
  --header-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy-900); margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
p { margin: 0 0 1em; }
:focus-visible { outline: var(--focus-ring); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: var(--grey-200); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--aqua-500); margin-bottom: 0.75rem;
}
.section--navy .eyebrow { color: var(--aqua-300); }
.lede { font-size: var(--fs-md); color: var(--text-muted); }
.section--navy .lede { color: var(--grey-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: var(--fs-sm); line-height: 1.2;
  padding: 0.8rem 1.4rem; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none !important; transition: all 0.18s ease;
  min-height: 44px;
}
.btn svg { flex: none; }
.btn--primary { background: var(--blue-600); color: var(--white); }
.btn--primary:hover { background: var(--navy-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--accent { background: var(--aqua-500); color: var(--navy-950); }
.btn--accent:hover { background: var(--aqua-400); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline { border-color: var(--grey-300); color: var(--navy-800); background: transparent; }
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-600); background: rgba(36, 137, 211, 0.05); }
.btn--ghost-light { border-color: rgba(255,255,255,0.35); color: var(--white); background: rgba(255,255,255,0.06); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.6); }
.btn--whatsapp { background: #128c4a; color: var(--white); }
.btn--whatsapp:hover { background: #0f7a40; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 1rem 1.7rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }

/* ---------- Header (two-row: brand bar + sticky nav bar) ---------- */
.header-top { background: var(--white); border-bottom: 1px solid var(--grey-100); }
.header-top .container { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.9rem; }
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none !important; margin-right: auto; }
.brand img { width: 54px; height: 57px; }
.brand-text { line-height: 1.2; }
.brand-name { display: block; font-weight: 800; font-size: 1.45rem; color: var(--navy-900); letter-spacing: -0.01em; }
.brand-tag { display: block; font-size: 0.72rem; color: var(--grey-500); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.15rem; }
.header-cta { display: flex; gap: 1.25rem; align-items: center; }
.header-phone { display: flex; align-items: center; gap: 0.6rem; text-decoration: none !important; color: var(--navy-900); }
.header-phone svg { color: var(--aqua-500); width: 26px; height: 26px; }
.header-phone strong { display: block; font-size: 1.02rem; letter-spacing: 0.01em; }
.header-phone small { display: block; font-size: 0.68rem; color: var(--grey-500); text-transform: uppercase; letter-spacing: 0.05em; }
.header-phone:hover strong { color: var(--blue-600); }

.main-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border); border-top: 1px solid var(--border);
}
.main-nav .container { display: flex; align-items: center; gap: 1rem; }
.main-nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; margin-right: auto; }
.main-nav a:not(.navbar-quote) {
  display: block; padding: 0.85rem 0.9rem; color: var(--grey-700);
  font-size: var(--fs-sm); font-weight: 600; white-space: nowrap; border-bottom: 2.5px solid transparent;
}
.main-nav a:not(.navbar-quote):hover { color: var(--navy-900); background: var(--grey-50); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--blue-600); border-bottom-color: var(--blue-600); }
.navbar-quote { padding: 0.55rem 1.1rem; min-height: 38px; font-size: var(--fs-xs); margin-block: 0.35rem; }
.header-quote-top { display: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: 8px;
  width: 44px; height: 44px; cursor: pointer; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy-900); margin: 5px 0; border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

@media (max-width: 1150px) {
  .header-top { position: sticky; top: 0; z-index: 100; }
  .header-top .container { padding-block: 0.55rem; }
  .brand img { width: 42px; height: 44px; }
  .brand-name { font-size: 1.05rem; }
  .brand-tag { font-size: 0.62rem; letter-spacing: 0.04em; }
  .header-phone { display: none; }
  .header-quote-top { display: inline-flex; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--white);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    transform: translateY(-115%); transition: transform 0.25s ease; z-index: 99;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav .container { display: block; }
  .main-nav ul { flex-direction: column; padding: 0.75rem 0 0.5rem; gap: 0; margin-right: 0; }
  .main-nav a:not(.navbar-quote) { padding: 0.8rem 0.75rem; font-size: var(--fs-base); border-bottom: none; }
  .main-nav a[aria-current="page"] { background: var(--grey-50); border-radius: 8px; }
  .navbar-quote { display: none; }
}
@media (max-width: 560px) {
  .brand-tag { display: none; }
  .header-quote-top { padding: 0.6rem 0.85rem; font-size: 0.8rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(155deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-700) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60rem 30rem at 85% 110%, rgba(47, 196, 216, 0.16), transparent 60%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero h1 { font-size: var(--fs-hero); color: var(--white); margin-bottom: 1rem; }
.hero h1 .accent { color: var(--aqua-300); }
.hero-lede { font-size: var(--fs-md); color: var(--grey-300); max-width: 34rem; margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.25rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.4rem; padding: 0; margin: 0; list-style: none; font-size: var(--fs-sm); color: var(--grey-300); }
.hero-points li { display: flex; align-items: center; gap: 0.45rem; }
.hero-points svg { color: var(--aqua-400); flex: none; }
.hero-waves { position: absolute; inset: auto 0 0 0; z-index: 1; opacity: 0.5; pointer-events: none; }
.hero-waves svg { display: block; width: 100%; height: 120px; }
.wave-path { animation: waveShift 14s linear infinite; }
.wave-path--slow { animation-duration: 22s; opacity: 0.5; }
@keyframes waveShift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Hero form card */
.lead-card {
  background: var(--white); color: var(--text); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.75rem; max-width: 26.5rem; justify-self: end; width: 100%;
}
.lead-card h2 { font-size: var(--fs-lg); margin-bottom: 0.35rem; }
.lead-card .lead-sub { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 1.1rem; }

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .lead-card { justify-self: stretch; max-width: none; }
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--grey-700); margin-bottom: 0.3rem; }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.7rem 0.85rem; font: inherit; font-size: var(--fs-sm);
  border: 1.5px solid var(--grey-300); border-radius: 8px; background: var(--white); color: var(--text);
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-500); outline: none; box-shadow: 0 0 0 3px rgba(36, 137, 211, 0.15); }
.field textarea { min-height: 6rem; resize: vertical; }
.field .error-msg { display: none; font-size: var(--fs-xs); color: #c0392b; margin-top: 0.25rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: var(--fs-xs); color: var(--grey-500); margin-top: 0.75rem; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid > * { min-width: 0; }
.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: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.card { color: inherit; text-decoration: none !important; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--grey-300); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--grey-100); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.card:hover .card-media img { transform: scale(1.045); }
.card-media--placeholder { display: flex; align-items: center; justify-content: center; color: var(--aqua-500); background: linear-gradient(150deg, var(--grey-100), var(--grey-200)); }
.card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: var(--fs-md); margin-bottom: 0.4rem; }
.card-body p { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 1rem; }
.card-kicker { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--aqua-500); margin-bottom: 0.4rem; }
.card-link { margin-top: auto; font-size: var(--fs-sm); font-weight: 600; color: var(--blue-600); display: inline-flex; align-items: center; gap: 0.35rem; }
.card:hover .card-link { text-decoration: underline; }
.card:hover .card-link svg { transform: translateX(3px); }
.card-link svg { transition: transform 0.2s ease; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr; } }
.stat { text-align: center; padding: 1.5rem 1rem; border-radius: var(--radius-lg); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--aqua-300); letter-spacing: -0.02em; }
.stat-label { font-size: var(--fs-sm); color: var(--grey-300); }

/* ---------- Client strip ---------- */
.clients-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.client-chip {
  font-size: var(--fs-sm); font-weight: 600; color: var(--grey-700);
  background: var(--white); border: 1px solid var(--border); border-radius: 999px;
  padding: 0.5rem 1.1rem; text-align: center;
}

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.25rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); }
.feature-ico { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(23, 162, 184, 0.12); color: var(--aqua-500); }
.feature-row h3 { font-size: var(--fs-base); margin-bottom: 0.25rem; }
.feature-row p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: var(--fs-xs); color: var(--grey-500); padding-block: 0.9rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.4rem; color: var(--grey-300); }
.breadcrumbs a { color: var(--grey-600); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: linear-gradient(150deg, var(--navy-950), var(--navy-800)); color: var(--white); padding-block: clamp(2.5rem, 6vw, 4rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40rem 18rem at 90% 120%, rgba(47,196,216,0.14), transparent 60%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero p { color: var(--grey-300); max-width: 44rem; font-size: var(--fs-md); margin: 0; }

/* ---------- Product detail ---------- */
.product-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .product-layout { grid-template-columns: 1fr; gap: 2rem; } }
.product-figure { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--white); position: sticky; top: calc(var(--header-h) + 1rem); }
.product-figure img { width: 100%; object-fit: cover; }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); table-layout: fixed; }
.spec-table td, .spec-table th { overflow-wrap: break-word; }
.spec-table th, .spec-table td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { width: 42%; color: var(--grey-700); font-weight: 600; background: var(--grey-50); }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.tag-list li { font-size: var(--fs-xs); font-weight: 500; background: var(--grey-100); color: var(--grey-700); border-radius: 999px; padding: 0.3rem 0.8rem; }
.cta-panel {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); color: var(--grey-200);
  border-radius: var(--radius-lg); padding: 1.75rem; margin-top: 2rem;
}
.cta-panel h3 { color: var(--white); }
.cta-panel .btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1rem; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.75rem; background: var(--white); }
.faq-item summary {
  cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; color: var(--navy-900);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--aqua-500); transition: transform 0.2s ease; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.2rem 1.1rem; color: var(--text-muted); font-size: var(--fs-sm); }

/* ---------- Catalogue filters ---------- */
.catalogue-tools { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; align-items: center; }
.catalogue-tools input[type="search"] {
  flex: 1 1 16rem; padding: 0.75rem 1rem; font: inherit; font-size: var(--fs-sm);
  border: 1.5px solid var(--grey-300); border-radius: 999px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-chip {
  font: inherit; font-size: var(--fs-xs); font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--grey-300); background: var(--white); color: var(--grey-700);
  border-radius: 999px; padding: 0.45rem 1rem; transition: all 0.15s ease; min-height: 36px;
}
.filter-chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.no-results { display: none; text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.no-results.visible { display: block; }

/* ---------- Article ---------- */
.article-layout { max-width: 46rem; margin-inline: auto; }
.article-meta { font-size: var(--fs-xs); color: var(--grey-500); margin-bottom: 2rem; }
.toc { background: var(--grey-50); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin-bottom: 2.25rem; }
.toc h2 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-600); margin-bottom: 0.5rem; }
.toc ol { margin: 0; padding-left: 1.2rem; font-size: var(--fs-sm); }
.toc li { margin-bottom: 0.3rem; }
.article-body h2 { margin-top: 2.25rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.article-body p { color: var(--grey-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--grey-300); font-size: var(--fs-sm); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: 3.5rem; }
@media (max-width: 980px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }
.site-footer h3 { color: var(--white); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: var(--grey-300); }
.site-footer a:hover { color: var(--aqua-300); }
.footer-brand img { width: 44px; margin-bottom: 0.75rem; }
.footer-brand p { color: var(--grey-500); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 0.2rem; color: var(--aqua-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-block: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; font-size: var(--fs-xs); color: var(--grey-500); }
.footer-bottom a { color: var(--grey-500); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #128c4a; color: var(--white);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
@media (max-width: 767px) { .wa-float { bottom: 4.6rem; } }

/* ---------- Mobile sticky CTA bar ---------- */
.mobile-cta {
  position: fixed; inset: auto 0 0 0; z-index: 95; display: none;
  grid-template-columns: 1fr 1fr 1fr; background: var(--white);
  border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(10,37,64,0.10);
}
.mobile-cta a {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  padding: 0.55rem 0.25rem 0.65rem; font-size: 0.72rem; font-weight: 600;
  color: var(--navy-800); text-decoration: none !important;
}
.mobile-cta a svg { color: var(--blue-600); }
.mobile-cta a.wa svg { color: #128c4a; }
.mobile-cta a.quote { background: var(--blue-600); color: var(--white); }
.mobile-cta a.quote svg { color: var(--white); }
@media (max-width: 767px) { .mobile-cta { display: grid; } body { padding-bottom: 3.6rem; } }

/* ---------- Reveal animations (only when JS is available) ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 200; background: var(--navy-900); color: var(--white); padding: 0.7rem 1.2rem; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }
.notice {
  border-left: 4px solid var(--aqua-500); background: var(--grey-50);
  padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; font-size: var(--fs-sm); color: var(--grey-700);
}

/* Success banner (thank-you) */
.success-panel { text-align: center; max-width: 34rem; margin-inline: auto; padding-block: 2rem; }
.success-panel .tick { width: 72px; height: 72px; margin: 0 auto 1.5rem; border-radius: 50%; background: rgba(23,162,184,0.12); display: flex; align-items: center; justify-content: center; color: var(--aqua-500); }

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

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .wa-float, .mobile-cta, .hero-ctas, .cta-panel { display: none !important; }
}

/* ---------- Ask Bluestone assistant ---------- */
.bsa-launcher {
  position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 90;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--white); color: var(--navy-800); border: 1.5px solid var(--aqua-400); cursor: pointer;
  font: 600 0.9rem/1 var(--font-sans); padding: 0.85rem 1.2rem; border-radius: 999px;
  box-shadow: var(--shadow-md); transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.bsa-launcher svg { color: var(--aqua-500); }
.bsa-launcher:hover { transform: translateY(-2px); background: var(--grey-50); border-color: var(--aqua-500); box-shadow: var(--shadow-lg); }
@media (max-width: 767px) { .bsa-launcher { bottom: 4.6rem; } .bsa-launcher span { display: none; } .bsa-launcher { padding: 0.95rem; } }
.bsa-panel[hidden] { display: none; }
.bsa-panel {
  position: fixed; left: 1.1rem; bottom: 4.6rem; z-index: 96;
  width: min(24rem, calc(100vw - 2.2rem)); height: min(30rem, calc(100vh - 8rem));
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); display: flex; flex-direction: column; overflow: hidden;
}
@media (max-width: 767px) { .bsa-panel { bottom: 8.2rem; } }
.bsa-head {
  background: linear-gradient(150deg, var(--navy-950), var(--navy-800)); color: var(--white);
  padding: 0.9rem 1.1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.bsa-head strong { display: block; font-size: 0.95rem; }
.bsa-head span { font-size: 0.72rem; color: var(--grey-300); }
.bsa-close { background: none; border: none; color: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0.2rem 0.4rem; border-radius: 6px; }
.bsa-close:hover { background: rgba(255,255,255,0.12); }
.bsa-msgs { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; background: var(--grey-50); }
.bsa-m { max-width: 88%; padding: 0.6rem 0.85rem; border-radius: 12px; font-size: 0.85rem; line-height: 1.5; }
.bsa-bot { background: var(--white); border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 4px; color: var(--grey-900); }
.bsa-user { background: var(--blue-600); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.bsa-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; align-self: flex-start; max-width: 100%; }
.bsa-chip {
  font: 600 0.78rem/1.2 var(--font-sans); color: var(--blue-600); background: var(--white);
  border: 1.5px solid var(--blue-500); border-radius: 999px; padding: 0.45rem 0.85rem; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.bsa-chip:hover { background: var(--blue-600); color: var(--white); }
.bsa-links { display: flex; flex-wrap: wrap; gap: 0.4rem; align-self: flex-start; max-width: 100%; }
.bsa-link {
  font: 600 0.78rem/1.2 var(--font-sans); color: var(--navy-800); background: var(--grey-100);
  border-radius: 8px; padding: 0.5rem 0.85rem; text-decoration: none !important; border: 1px solid var(--border);
}
.bsa-link:hover { background: var(--grey-200); }
.bsa-link.primary { background: var(--aqua-500); color: var(--navy-950); border-color: var(--aqua-500); }
.bsa-link.primary:hover { background: var(--aqua-400); }
.bsa-inputrow { display: flex; gap: 0.5rem; padding: 0.75rem; border-top: 1px solid var(--border); background: var(--white); }
.bsa-inputrow input { flex: 1; font: 400 0.85rem var(--font-sans); padding: 0.6rem 0.85rem; border: 1.5px solid var(--grey-300); border-radius: 999px; }
.bsa-inputrow input:focus { border-color: var(--blue-500); outline: none; }
.bsa-inputrow button { background: var(--blue-600); color: var(--white); border: none; border-radius: 50%; width: 38px; height: 38px; cursor: pointer; font-size: 0.9rem; flex: none; }
.bsa-inputrow button:hover { background: var(--navy-700); }
@media print { .bsa-root { display: none !important; } }

/* Header LinkedIn icon */
.header-social { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; color: #0a66c2; border: 1px solid var(--grey-200); transition: background 0.15s ease; }
.header-social:hover { background: var(--grey-100); }
@media (max-width: 1150px) { .header-social { display: none; } }
