/* ==========================================================================
   AIRPRO ENTERPRISES INC. — site styles
   Plain CSS, no build step. Order: tokens, base, layout, components,
   page blocks, responsive.
   ========================================================================== */

/* --- Design tokens -------------------------------------------------------- */
:root {
  /* Sampled from the AIRPRO wordmark in the 2026 company profile (#102860). */
  --brand: #1d4ea0;
  --brand-dark: #16326b;
  --brand-light: #e9eff9;
  --navy: #0c2350;
  --navy-soft: #15305f;

  --ink: #12203a;
  --muted: #5b6b85;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(11, 27, 51, .06), 0 12px 28px -18px rgba(11, 27, 51, .35);
  --shadow-lg: 0 2px 4px rgba(11, 27, 51, .06), 0 28px 60px -30px rgba(11, 27, 51, .45);

  --wrap: 1140px;
  --gap: 28px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.3rem); letter-spacing: -.015em; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* --- Layout --------------------------------------------------------------- */
.wrap { width: min(var(--wrap), calc(100% - 44px)); margin-inline: auto; }

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section--navy { background: var(--navy); color: #cfdaec; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.section--navy .section-head p { color: #a9bcd8; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.section--navy .eyebrow { color: #7fa6e4; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .38); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-light); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- Header / navigation -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand img { display: block; width: auto; height: 44px; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 9px;
  padding: 9px 11px; cursor: pointer; color: var(--navy);
}

.nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a {
  display: block; padding: 9px 14px; border-radius: 8px;
  color: var(--ink); font-size: .97rem; font-weight: 500;
}
.nav a:hover { background: var(--bg-soft); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); font-weight: 650; }
.nav .nav-cta { margin-left: 10px; }
.nav .nav-cta a {
  background: var(--brand); color: #fff; padding: 11px 20px; border-radius: 999px; font-weight: 600;
}
.nav .nav-cta a:hover { background: var(--brand-dark); }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-soft) 55%, #1b3a6b 100%);
  color: #d6e0f0;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  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: radial-gradient(120% 90% at 78% 10%, #000 10%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 78% 10%, #000 10%, transparent 72%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding: clamp(66px, 9vw, 118px) 0; }
/* Company slogan — sits above the home page headline, with a short accent rule. */
.tagline {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 18px;
  font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
  font-weight: 600;
  letter-spacing: .02em;
  color: #9fc0f0;
}
.tagline::before {
  content: ""; flex: none;
  width: 36px; height: 3px; border-radius: 2px;
  background: #5b8fe0;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lede { font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem); max-width: 56ch; color: #b9c9e2; }
.hero .btn-row { margin-top: 34px; }

.hero-page .wrap { padding: clamp(52px, 6vw, 78px) 0; }
.hero-page h1 { max-width: 22ch; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  margin: 46px 0 0; padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero-facts > div { min-width: 150px; }
.hero-facts dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #7f9cc9; }
.hero-facts dd { margin: 4px 0 0; font-size: 1.05rem; font-weight: 600; color: #fff; }

/* --- Cards ---------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); font-size: .98rem; }
.card ul { color: var(--muted); font-size: .96rem; margin-bottom: 0; }

.card-link { display: block; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card-link:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #c9d7ec; }
.card-more { display: inline-block; margin-top: 14px; color: var(--brand); font-weight: 600; font-size: .95rem; }

.icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand);
}
.icon svg { width: 24px; height: 24px; }

/* --- Feature list --------------------------------------------------------- */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li {
  position: relative; padding-left: 30px; margin-bottom: 12px;
  color: var(--muted); font-size: .99rem;
}
.checks li::before {
  content: "";
  position: absolute; left: 0; top: .42em;
  width: 18px; height: 18px; border-radius: 50%;
  background-color: var(--brand-light);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ea0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}
.section--navy .checks li { color: #b9c9e2; }
.section--navy .checks li::before { background-color: rgba(127, 166, 228, .2); }

/* --- Split (text + panel) ------------------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  padding: 32px; box-shadow: var(--shadow);
}
.panel dl { margin: 0; display: grid; gap: 18px; }
.panel dt { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.panel dd { margin: 3px 0 0; font-weight: 600; color: var(--navy); }

/* --- Stats ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.stat .num { font-size: 2rem; font-weight: 700; color: var(--brand); line-height: 1.1; }
.stat .label { font-size: .93rem; color: var(--muted); margin-top: 6px; }

/* --- Authorised distributor band ------------------------------------------ */
/* auto-fit so the same markup works whether the band holds two cards or three */
.dist { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: var(--gap); }
.dist-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 30px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  overflow: hidden;
}

/* Product photography sitting flush at the top of a card. Renders arrive
   pre-composed on white at 3:2, so cover never crops anything important. */
.card-media {
  margin: -30px -28px 22px;
  aspect-ratio: 3 / 2;
  background: #f1f5fa;
  border-bottom: 1px solid var(--line);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card > .card-media:first-child, .dist-card > .card-media:first-child { margin-top: -30px; }
.card-caption { font-size: .82rem; color: var(--muted); margin: -12px 0 16px; }
.dist-badge {
  align-self: flex-start;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-light);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.dist-name {
  font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy);
  line-height: 1.1; margin-bottom: 4px;
}
.dist-kicker { font-size: .95rem; color: var(--brand); font-weight: 600; margin-bottom: 14px; }
.dist-card p { color: var(--muted); font-size: .98rem; }
.dist-card ul { margin-top: auto; padding-top: 14px; }

/* --- Recent work gallery --------------------------------------------------- */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.work-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  box-shadow: var(--shadow); overflow: hidden;
}
/* Two shots side by side, split by a thin divider so before/after reads as one
   comparison. They stay side by side at every width — stacking them defeats the
   point — and the shared aspect ratio keeps both halves exactly equal. */
.work-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.work-shot { position: relative; aspect-ratio: 4 / 3; background: #eef2f8; overflow: hidden; }
.work-shot.wide { aspect-ratio: 3 / 1; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-shot .tag {
  position: absolute; left: 0; top: 0;
  background: rgba(12, 35, 80, .86); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-bottom-right-radius: var(--radius-sm);
}
.work-body { padding: 22px 24px 24px; }
.work-body h3 { font-size: 1.08rem; margin-bottom: .35em; }
.work-body p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Compact strip of work shots used as a teaser on the home page. */
.work-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work-strip figure { margin: 0; }
.work-strip .work-shot { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.work-strip figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.section--navy .work-strip figcaption { color: #a9bcd8; }
.section--navy .work-strip .work-shot { border-color: rgba(255, 255, 255, .18); }

/* --- Placeholder (brands / clients, pending sign-off) --------------------- */
.placeholder {
  border: 1px dashed #c3d1e6;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #fbfcfe, #fbfcfe 10px, #f4f7fc 10px, #f4f7fc 20px);
  padding: 34px 28px;
  text-align: center;
  color: var(--muted);
}
.placeholder strong { color: var(--navy); display: block; margin-bottom: 6px; font-size: 1.05rem; }
.placeholder p { font-size: .96rem; margin-bottom: 0; }

/* --- Steps ---------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: 54px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
.section--navy .step p { color: #a9bcd8; }

/* --- CTA band ------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  color: #fff; border-radius: var(--radius); padding: clamp(32px, 4vw, 52px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #dbe6f8; margin: 0; max-width: 52ch; }

/* --- Contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: start; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; margin: 0; }
.contact-list .icon { margin: 0; flex: none; width: 42px; height: 42px; }
.contact-list .label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list .value { font-weight: 600; color: var(--navy); }
.contact-list .value a { color: var(--navy); }
.contact-list .value a:hover { color: var(--brand); }
.contact-list address { font-style: normal; font-weight: 500; color: var(--navy); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .98rem; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-light);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-hint { font-size: .86rem; color: var(--muted); margin-top: 6px; }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 16px; }

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status:empty { display: none; }
.form-status {
  margin: 16px 0 0; padding: 12px 14px; border-radius: var(--radius-sm);
  font-size: .95rem; border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink);
}
.form-status.is-ok { background: #ecf8f1; border-color: #b6e2c8; color: #14532d; }
.form-status.is-error { background: #fdf0f0; border-color: #f1c4c4; color: #7f1d1d; }
.form-card form { position: relative; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #9db2d2; padding: 62px 0 28px; font-size: .96rem; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #c3d3ea; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-brand img { width: auto; height: 52px; }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.footer-brand .footer-tagline {
  margin: 16px 0 0;
  color: #fff; font-weight: 600; font-size: 1.02rem; letter-spacing: .01em;
}
.footer-brand .footer-tagline + p { margin-top: 10px; }
.footer-bottom {
  margin-top: 46px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: .9rem; color: #7f95b8;
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .work { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 22px; }
  .nav a { padding: 13px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav li:last-child a { border-bottom: none; }
  .nav .nav-cta { margin: 14px 0 0; }
  .nav .nav-cta a { text-align: center; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .stats, .steps, .work { grid-template-columns: 1fr; }
  .work-strip { grid-template-columns: 1fr; }
  .card, .dist-card { padding: 26px 22px; }
  .card-media { margin: -26px -22px 20px; }
  .card > .card-media:first-child, .dist-card > .card-media:first-child { margin-top: -26px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .site-header, .site-footer, .btn-row, .nav-toggle { display: none; }
  body { font-size: 12pt; color: #000; }
}
