/* ==========================================================================
   Wizard Infra Solutions — Shared design system
   Used by every page. Page-specific styles live in their own file
   (e.g. home.css) and build on these tokens and components.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Palette */
  --navy-950: #070f1b;
  --navy-900: #0b1524;
  --navy-800: #101d31;
  --navy-700: #17283f;
  --navy-600: #22385a;
  --steel-600: #4e5d71;
  --steel-500: #6b7a8f;
  --steel-400: #8f9cae;
  --steel-300: #b3bdca;
  --steel-200: #d3d9e1;
  --steel-100: #e7ebf0;
  --off-white: #f4f6f8;
  --white: #ffffff;
  --amber-400: #f29d45;
  --amber-500: #e8892b;
  --amber-600: #cc7316;

  /* Semantic */
  --color-bg: var(--white);
  --color-bg-alt: var(--off-white);
  --color-text: #0e1726;
  --color-text-muted: #4a586b;
  --color-border: #dde2e9;
  --color-accent: var(--amber-500);
  --color-accent-strong: var(--amber-600);
  --color-on-dark: #eef2f6;
  --color-on-dark-muted: #a6b2c1;
  --line-on-dark: rgba(255, 255, 255, 0.12);

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-h3: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 2vw, 3rem);
  --fs-h1: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --header-h: 76px;

  /* Surfaces */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 21, 36, 0.06), 0 1px 1px rgba(11, 21, 36, 0.04);
  --shadow: 0 10px 30px -12px rgba(11, 21, 36, 0.18), 0 2px 6px rgba(11, 21, 36, 0.05);
  --shadow-lg: 0 30px 60px -24px rgba(11, 21, 36, 0.35);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.35s;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

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

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 800;
}
h3 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }

p { margin: 0; }

a { color: inherit; text-decoration: none; }

address { font-style: normal; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--amber-500);
  color: var(--navy-900);
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.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;
}

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

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--color-bg-alt); }
.section--dark {
  background: var(--navy-900);
  color: var(--color-on-dark);
}

/* Blueprint grid texture — reusable on any surface */
.blueprint {
  background-image:
    linear-gradient(rgba(11, 21, 36, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 21, 36, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(11, 21, 36, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 21, 36, 0.03) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
.section--dark.blueprint,
.blueprint--dark {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}

/* ---------- 4. Typography components ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-600);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.section--dark .eyebrow,
.on-dark .eyebrow { color: var(--amber-400); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head h2 { font-size: var(--fs-h2); margin-top: 1rem; }
.section-head p {
  margin-top: 1.25rem;
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  max-width: 640px;
}
.section--dark .section-head p { color: var(--color-on-dark-muted); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.lead {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
}

.text-accent { color: var(--amber-500); }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--amber-500);
  --btn-fg: var(--navy-900);
  --btn-border: var(--amber-500);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.975rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
/* Sweep fill on hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-hover-bg, var(--amber-400));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.btn:hover::before,
.btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(232, 137, 43, 0.6); }
.btn:active { transform: translateY(0); }

.btn .icon { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.btn:hover .icon--arrow { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-border: rgba(255, 255, 255, 0.35);
  --btn-hover-bg: rgba(255, 255, 255, 0.1);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.7); box-shadow: none; }

.btn--dark {
  --btn-bg: var(--navy-900);
  --btn-fg: var(--white);
  --btn-border: var(--navy-900);
  --btn-hover-bg: var(--navy-700);
}
.btn--dark:hover { box-shadow: 0 12px 24px -12px rgba(11, 21, 36, 0.5); }

.btn--sm { min-height: 44px; padding: 0.6rem 1.1rem; font-size: 0.9rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.875rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link-arrow:hover { color: var(--amber-600); border-color: currentColor; }

/* ---------- 6. Header & navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    height var(--dur) var(--ease);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line-on-dark);
}
.site-header.is-scrolled {
  background: rgba(11, 21, 36, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.brand__mark { width: 40px; height: 40px; color: var(--amber-500); }
/* Company logo sits on a light badge so its navy parts stay visible on dark backgrounds */
.brand__logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 3px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 6px 16px -6px rgba(0, 0, 0, 0.45);
  transition: transform var(--dur) var(--ease);
}
.brand__logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand:hover .brand__logo { transform: translateY(-1px); }
@media (max-width: 480px) {
  .brand__logo { width: 42px; height: 42px; padding: 3px; border-radius: 9px; }
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
  margin-top: 0.3rem;
}

.primary-nav { display: flex; align-items: center; gap: 2.25rem; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  position: relative;
  display: inline-block;
  padding-block: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--dur) var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--amber-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--white); }
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  margin-right: -0.5rem;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle__bar {
  position: absolute;
  left: 12px;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), top var(--dur) var(--ease);
}
.nav-toggle__bar:nth-child(1) { top: 17px; }
.nav-toggle__bar:nth-child(2) { top: 23px; width: 16px; left: 20px; }
.nav-toggle__bar:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.nav-panel__meta { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; z-index: 2; }

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
    background: var(--navy-950);
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line-on-dark); }
  .nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 1.1rem;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--white);
  }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current="page"] { color: var(--amber-400); }
  .nav-list a::before {
    content: attr(data-index);
    order: 2;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--steel-400);
  }
  .primary-nav .btn { margin-top: 2rem; width: 100%; }
  .nav-panel__meta {
    display: grid;
    gap: 0.5rem;
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--color-on-dark-muted);
  }
  .nav-panel__meta a { color: var(--white); }
  .brand { position: relative; z-index: 2; }
}

/* ---------- 7. Cards ---------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--steel-200);
}
/* Accent rule that draws across the top on hover */
.card--rule::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: var(--amber-500);
  border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card--rule:hover::before { transform: scaleX(1); }

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--navy-800);
  background: var(--off-white);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { background: var(--navy-900); color: var(--amber-400); border-color: var(--navy-900); }
.card h3 { font-size: var(--fs-h3); }
.card p { color: var(--color-text-muted); }

/* Corner registration marks — subtle technical detail */
.ticks { position: relative; }
.ticks::after {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  background:
    linear-gradient(var(--steel-300), var(--steel-300)) top left / 10px 1px,
    linear-gradient(var(--steel-300), var(--steel-300)) top left / 1px 10px,
    linear-gradient(var(--steel-300), var(--steel-300)) bottom right / 10px 1px,
    linear-gradient(var(--steel-300), var(--steel-300)) bottom right / 1px 10px;
  background-repeat: no-repeat;
  opacity: 0.8;
}

/* ---------- 8. CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-950);
  color: var(--color-on-dark);
}
.cta-band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.cta-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: grayscale(0.4) contrast(1.05);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 15, 27, 0.96) 0%, rgba(7, 15, 27, 0.85) 45%, rgba(7, 15, 27, 0.55) 100%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: 2.5rem;
}
.cta-band h2 { font-size: var(--fs-h2); color: var(--white); margin-top: 1rem; }
.cta-band p { margin-top: 1.25rem; font-size: var(--fs-md); color: var(--color-on-dark-muted); max-width: 560px; }
.cta-band .btn-row { justify-content: flex-end; }

@media (max-width: 860px) {
  .cta-band__inner { grid-template-columns: 1fr; align-items: start; }
  .cta-band .btn-row { justify-content: flex-start; }
}

/* ---------- 9. Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--color-on-dark-muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--line-on-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1.25fr 1fr;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
}
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: 1.25rem; max-width: 340px; }
.footer-legal {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-400);
}
.footer-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-links a,
.footer-contact a {
  color: var(--color-on-dark);
  transition: color var(--dur) var(--ease);
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--amber-400); }
.footer-contact { display: grid; gap: 0.75rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.6rem; overflow-wrap: anywhere; }
.footer-contact svg { width: 16px; height: 16px; color: var(--steel-400); flex-shrink: 0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.85rem;
  color: var(--steel-400);
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 10. Reveal-on-scroll ---------- */
/* Only hides content once JS has confirmed it can reveal it again. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 11. 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;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 12. Inner-page hero (About, Services, Gallery, Contact) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 2rem + 5vw, 6.5rem));
  padding-bottom: clamp(3.5rem, 2rem + 4vw, 5.5rem);
  background: var(--navy-950);
  color: var(--color-on-dark);
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(0.5);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 15, 27, 0.97) 0%, rgba(7, 15, 27, 0.85) 55%, rgba(7, 15, 27, 0.6) 100%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}
.page-hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem);
  letter-spacing: -0.03em;
  color: var(--white);
}
.page-hero p:not(.eyebrow) {
  margin-top: 1.25rem;
  max-width: 620px;
  font-size: var(--fs-md);
  color: var(--color-on-dark-muted);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-400);
}
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--steel-600); }
.breadcrumb a { color: var(--color-on-dark); transition: color var(--dur) var(--ease); }
.breadcrumb a:hover { color: var(--amber-400); }

/* ---------- 13. Forms ---------- */
.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field { display: grid; align-content: start; gap: 0.45rem; min-width: 0; }
.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}
.field label .req { color: var(--amber-600); margin-left: 0.15rem; }
.field label .opt { font-weight: 400; color: var(--steel-500); margin-left: 0.25rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.95rem;
  font: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 2px rgba(11, 21, 36, 0.04);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field select {
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234e5d71' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 18px;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--steel-400); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--steel-300); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(232, 137, 43, 0.25);
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #c2412d; }
.field__error { font-size: 0.82rem; color: #b3301c; min-height: 0; }
.field__error:empty { display: none; }
.form-note { font-size: 0.85rem; color: var(--color-text-muted); }

/* Honeypot: hidden from people, visible to naive bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  gap: 0.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-size: 0.95rem;
}
.form-status strong { display: block; }
.form-status--success { background: #eef7f0; border-color: #9fd0ab; color: #1d5a2c; }
.form-status--error { background: #fdf0ed; border-color: #eab3a7; color: #8a2a17; }
.form-status.is-shown,
.form-status:target { display: grid; }

.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- 14. Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  z-index: 150;
  right: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  bottom: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  bottom: calc(clamp(1rem, 0.5rem + 1.5vw, 1.75rem) + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  height: 58px;
  min-width: 58px;
  padding: 0 17px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 12px 28px -10px rgba(18, 140, 74, 0.7), 0 2px 6px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(24px) scale(0.6);
  animation: wa-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s forwards;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), visibility 0s;
}
.wa-float svg { position: relative; z-index: 1; width: 24px; height: 24px; flex-shrink: 0; }
/* Soft pulse ring to draw the eye without being noisy */
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25d366;
  z-index: 0;
  animation: wa-pulse 2.6s ease-out 2s infinite;
}
.wa-float__label {
  position: relative;
  z-index: 1;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0;
  transition: max-width 0.4s var(--ease), margin 0.4s var(--ease), opacity 0.3s var(--ease);
}
.wa-float:hover,
.wa-float:focus-visible { background: #1ebe5a; box-shadow: 0 16px 32px -10px rgba(18, 140, 74, 0.8), 0 2px 6px rgba(0, 0, 0, 0.18); }
.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label { max-width: 180px; margin-left: 0.6rem; opacity: 1; }
.wa-float:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 3px; }
@keyframes wa-in { to { opacity: 1; transform: none; } }
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}
/* Step aside while the mobile menu or a photo viewer is open */
body.nav-open .wa-float,
body.lb-open .wa-float { visibility: hidden; opacity: 0; animation: none; }
@media (max-width: 480px) {
  .wa-float { height: 54px; min-width: 54px; padding: 0 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { opacity: 1; transform: none; animation: none; }
  .wa-float::before { animation: none; display: none; }
}
