/* ==========================================================
   ALIGN MECH — www.alignmech.com
   ========================================================== */
:root {
  --navy-900: #0b1d33;
  --navy-800: #11284a;
  --navy-700: #1b3354;
  --navy-500: #3b5a80;
  --steel-300: #9fb0c3;
  --steel-100: #e8edf3;
  --amber: #f5a623;
  --amber-dark: #d98b0b;
  --wa: #25d366;
  --ink: #1a2433;
  --muted: #5b6b7f;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(11, 29, 51, .06);
  --shadow: 0 12px 32px rgba(11, 29, 51, .10);
  --shadow-lg: 0 24px 60px rgba(11, 29, 51, .18);
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.1; margin: 0 0 .5em; color: var(--navy-900); letter-spacing: .3px; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.55rem; font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.i { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.5em; border: 2px solid transparent; border-radius: 10px;
  font: 600 .98rem/1 var(--body); cursor: pointer; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--amber); outline-offset: 2px;
}
.btn--primary { background: var(--amber); color: var(--navy-900); box-shadow: 0 8px 20px rgba(245, 166, 35, .35); }
.btn--primary:hover { background: var(--amber-dark); }
.btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.btn--outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: #fff; }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }
.btn--link { background: none; color: var(--navy-700); padding-left: .4em; padding-right: .4em; }
.btn--link:hover { color: var(--amber-dark); transform: none; }
.btn--lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn--sm { padding: .65em 1.1em; font-size: .9rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #c9d4e2; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.topbar__left, .topbar__right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--amber); }
.topbar .i { color: var(--amber); }
.sep { opacity: .4; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
/* blur lives on a pseudo-element so it doesn't become the containing block for the fixed mobile nav */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--steel-100); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 42px; height: 42px; }
.logo__text { font: 800 1.75rem/1 var(--head); letter-spacing: 1px; color: var(--navy-900); }
.logo__text b { color: var(--amber); font-weight: 800; margin-left: 2px; }
.logo--light .logo__text { color: #fff; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link { position: relative; padding: 10px 14px; font-weight: 500; color: var(--navy-700); border-radius: 8px; transition: color .2s; }
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__link:hover, .nav__link.active { color: var(--navy-900); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--steel-100); border-radius: 10px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .3s, opacity .3s, top .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #dbe4ef;
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(245, 166, 35, .18), transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 60%, #16345c 100%);
  padding: clamp(60px, 9vw, 120px) 0 clamp(70px, 10vw, 130px);
}
.hero__shutter {
  position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background: repeating-linear-gradient(180deg, #fff 0 2px, transparent 2px 26px);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero h1 { color: #fff; }
.hl { color: var(--amber); }
.lead { font-size: 1.12rem; max-width: 580px; color: #c3cfde; }
.lead strong { color: #fff; font-weight: 600; }
.eyebrow {
  display: inline-block; margin-bottom: 16px; padding: 6px 14px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--amber); background: rgba(245, 166, 35, .12); border: 1px solid rgba(245, 166, 35, .3);
}
.eyebrow--dark { color: var(--amber-dark); background: rgba(245, 166, 35, .1); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; }
.hero__badges li { display: inline-flex; align-items: center; gap: 6px; }
.hero__badges .i { color: var(--amber); }

.hero__visual { position: relative; }

/* Product photo collage */
.collage { position: relative; aspect-ratio: 1 / .9; }
.collage__item {
  position: absolute; display: block; padding: 0; overflow: hidden; cursor: pointer;
  background: #fff; border: 5px solid #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  transition: transform .35s ease, box-shadow .35s ease;
  animation: collageIn .7s ease both;
}
.collage__item img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.collage__item:hover, .collage__item:focus-visible { transform: translateY(-6px) rotate(0deg); z-index: 3; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.collage__item:hover img { transform: scale(1.05); }
.collage__item--main { left: 0; top: 12%; width: 74%; aspect-ratio: 4 / 3; z-index: 1; }
.collage__item--main img { object-fit: cover; }
.collage__item--motor { right: 0; top: 0; width: 46%; aspect-ratio: 16 / 10; z-index: 2; transform: rotate(3deg); animation-delay: .15s; }
.collage__item--lock { right: 4%; bottom: 0; width: 40%; aspect-ratio: 1; z-index: 2; transform: rotate(-3deg); animation-delay: .3s; }
.collage__label {
  position: absolute; left: 8px; bottom: 8px; padding: 4px 10px; border-radius: 8px;
  background: rgba(11, 29, 51, .85); color: #fff; font-size: .75rem; font-weight: 600; white-space: nowrap;
}
.collage__item--main .collage__label { background: var(--amber); color: var(--navy-900); font-size: .8rem; }
@keyframes collageIn { from { opacity: 0; translate: 0 24px; } }

.hero__float {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--navy-900); font-weight: 600; font-size: .9rem;
  padding: 10px 16px; border-radius: 12px; box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite; pointer-events: none;
}
.hero__float b { font: 800 1.5rem/1 var(--head); color: var(--amber-dark); }
.hero__float .i { color: var(--amber-dark); }
.hero__float--1 { left: -24px; bottom: 6%; }
.hero__float--2 { left: -14px; top: 0; animation-delay: -2s; }
.hero__float--3 { right: -10px; top: 37%; animation-delay: -1s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Stats ---------- */
.stats { position: relative; margin-top: -48px; z-index: 2; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  padding: 0;
}
.stat { text-align: center; padding: 28px 16px; border-right: 1px solid var(--steel-100); }
.stat:last-child { border-right: 0; }
.stat__num { display: block; font: 800 2.6rem/1 var(--head); color: var(--navy-900); }
.stat__label { font-size: .88rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy-900); color: #c3cfde; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section__head p { color: var(--muted); }
.section__head--light h2 { color: #fff; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about__box {
  position: relative; border-radius: 22px; padding: 44px 36px; color: #c3cfde; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  box-shadow: var(--shadow-lg);
}
.about__box::after {
  content: ""; position: absolute; inset: 0; opacity: .08;
  background: repeating-linear-gradient(180deg, #fff 0 2px, transparent 2px 22px);
}
.about__year { display: block; font: 800 clamp(3rem, 7vw, 4.8rem)/.95 var(--head); color: var(--amber); margin-bottom: 14px; }
.about__box p { position: relative; z-index: 1; max-width: 280px; margin: 0; }
.about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 0; }
.about__facts div { background: #fff; border: 1px solid var(--steel-100); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.about__facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.about__facts dd { margin: 2px 0 0; font-weight: 600; color: var(--navy-900); word-break: break-word; }
.about__content p { color: #3e4c5e; }
.ticks { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.ticks li { position: relative; padding-left: 28px; font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230b1d33' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Products ---------- */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tab {
  border: 1px solid #d5dee8; background: #fff; color: var(--navy-700);
  padding: 9px 20px; border-radius: 999px; font: 600 .92rem var(--body); cursor: pointer; transition: all .2s;
}
.tab:hover { border-color: var(--navy-700); }
.tab.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; justify-content: center; }
/* when filtered to fewer cards, keep them centred at normal card width */
.products:has(.product.is-hidden) { grid-template-columns: repeat(auto-fit, minmax(280px, 370px)); }
.product.is-entering { animation: cardIn .45s ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.product {
  display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--steel-100); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, opacity .3s;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product.is-hidden { display: none; }
.product.is-flash { animation: flash 1.4s ease; }
@keyframes flash { 0%, 100% { box-shadow: var(--shadow-sm); } 30% { box-shadow: 0 0 0 4px var(--amber), var(--shadow); } }
.product__gallery { background: #fff; border-bottom: 1px solid var(--steel-100); }
.product__img {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0;
  background: #fff; cursor: zoom-in; overflow: hidden;
}
.product__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease, opacity .25s ease; }
.product__img img.is-swapping { opacity: 0; }
.product:hover .product__img img { transform: scale(1.04); }
.product__tag { position: absolute; top: 14px; left: 14px; background: var(--amber); color: var(--navy-900); font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.product__tag--alt { background: var(--navy-900); color: #fff; }
.product__count {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(11, 29, 51, .78); color: #fff; font-size: .75rem; font-weight: 600; padding: 5px 10px; border-radius: 999px;
}
.product__count .i { width: 14px; height: 14px; }
.thumbs { display: flex; gap: 8px; padding: 0 16px 14px; }
.thumb {
  width: 64px; height: 50px; padding: 3px; border-radius: 8px; border: 2px solid var(--steel-100);
  background: #fff; cursor: pointer; transition: border-color .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { border-color: var(--steel-300); }
.thumb.active { border-color: var(--amber); }

/* modal gallery */
.gallery__main { background: #fff; border: 1px solid var(--steel-100); border-radius: 14px; aspect-ratio: 4 / 3; margin: 6px 0 12px; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__caption { font-size: .85rem; color: var(--muted); margin: -4px 0 12px; }
.gallery .thumbs { padding: 0; margin-bottom: 18px; }
.modal__panel h4 { margin: 18px 0 8px; font-size: 1.2rem; }
.variant { background: var(--bg-alt); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.variant b { display: block; color: var(--navy-900); margin-bottom: 2px; }
.variant p { margin: 0; font-size: .93rem; color: #3e4c5e; }
.product__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product__body > p { color: var(--muted); font-size: .95rem; }
.specs { list-style: none; padding: 0; margin: 4px 0 20px; border-top: 1px dashed #d5dee8; }
.specs li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #d5dee8; font-size: .9rem; }
.specs span { color: var(--muted); }
.specs b { color: var(--navy-900); font-weight: 600; text-align: right; }
.product__actions { margin-top: auto; display: flex; align-items: center; gap: 8px; }
.note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 28px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  padding: 30px 28px; border-radius: 16px; background: #fff; border: 1px solid var(--steel-100);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: var(--amber);
}
.feature__icon .i { width: 26px; height: 26px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step {
  position: relative; padding: 30px 26px; border-radius: 16px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  transition: background .3s, border-color .3s;
}
.step:hover { background: rgba(255, 255, 255, .07); border-color: rgba(245, 166, 35, .4); }
.step__n { display: block; font: 800 3rem/1 var(--head); color: transparent; -webkit-text-stroke: 1.5px var(--amber); margin-bottom: 14px; }
.step h3 { color: #fff; font-size: 1.4rem; }
.step p { margin: 0; font-size: .95rem; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.chips span {
  padding: 12px 22px; border-radius: 999px; background: #fff; border: 1px solid #d5dee8;
  font-weight: 500; color: var(--navy-700); transition: all .2s;
}
.chips span:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* ---------- Enquiry ---------- */
.enquiry { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.enquiry__info p { color: var(--muted); }
.enquiry__cards { display: grid; gap: 14px; margin-top: 26px; }
.mini {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px;
  background: var(--bg-alt); border: 1px solid var(--steel-100); transition: all .2s;
}
.mini:hover { border-color: var(--amber); background: #fff; box-shadow: var(--shadow-sm); }
.mini .i { width: 42px; height: 42px; padding: 10px; border-radius: 10px; background: var(--navy-900); color: var(--amber); }
.mini span { display: flex; flex-direction: column; font-weight: 600; color: var(--navy-900); word-break: break-all; }
.mini small { font-weight: 500; color: var(--muted); font-size: .8rem; }

.form { background: #fff; padding: 34px; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--steel-100); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy-700); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .96rem; color: var(--ink); width: 100%;
  padding: 12px 14px; border: 1.5px solid #d5dee8; border-radius: 10px; background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); background: #fff; box-shadow: 0 0 0 4px rgba(245, 166, 35, .15);
}
.field.invalid input, .field.invalid select { border-color: #d64545; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form__status { margin: 14px 0 0; font-size: .9rem; min-height: 1.3em; }
.form__status.err { color: #c53030; }
.form__status.ok { color: #1e8e3e; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; }
.contact__list { display: grid; gap: 14px; }
.contact__item { display: flex; gap: 16px; padding: 18px 20px; background: #fff; border-radius: 14px; border: 1px solid var(--steel-100); }
.contact__item > .i { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(245, 166, 35, .14); color: var(--amber-dark); }
.contact__item h4 { margin: 0 0 2px; font-size: 1.05rem; }
.contact__item p { margin: 0; color: var(--muted); font-size: .95rem; word-break: break-word; }
.contact__item a:hover { color: var(--amber-dark); }
.contact__map { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); min-height: 380px; background: var(--steel-100); }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(110deg, var(--amber), #ffbf47); padding: 50px 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .2em; }
.cta p { margin: 0; color: var(--navy-800); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9fb0c3; padding-top: 70px; font-size: .94rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer .logo { margin-bottom: 16px; }
.footer h4 { color: #fff; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--amber); }
.footer__contact li { word-break: break-word; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: .85rem; text-align: center; }

/* ---------- Floating buttons ---------- */
.fab {
  position: fixed; right: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); transition: transform .2s;
}
.fab:hover { transform: scale(1.08); }
.fab .i { width: 28px; height: 28px; }
.fab--wa { bottom: 24px; background: var(--wa); }
.fab--wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa);
  animation: pulse 2s infinite; z-index: -1;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.fab--call { bottom: 90px; background: var(--navy-700); display: none; }
.to-top {
  position: fixed; left: 20px; bottom: 24px; z-index: 60; width: 46px; height: 46px; border-radius: 12px;
  border: 0; background: var(--navy-900); color: var(--amber); cursor: pointer; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; box-shadow: var(--shadow);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top .i { width: 26px; height: 26px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 16, 30, .65); backdrop-filter: blur(4px); animation: fade .25s; }
.modal__panel {
  position: relative; width: 100%; max-width: 640px; max-height: 90vh; overflow: auto;
  background: #fff; border-radius: 20px; padding: 34px; box-shadow: var(--shadow-lg); animation: pop .3s ease;
}
.modal__panel h3 { font-size: 2rem; padding-right: 30px; }
.modal__panel ul { padding-left: 20px; color: #3e4c5e; }
.modal__panel li { margin-bottom: 6px; }
.modal__close { z-index: 2; position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--steel-100); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--navy-900); }
.modal__close:hover { background: #dbe3ec; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
body.no-scroll { overflow: hidden; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 20px;
    background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav.animating { transition: opacity .3s ease, transform .3s ease, visibility .3s; }
  .nav__link { padding: 14px 16px; font-size: 1.1rem; border-bottom: 1px solid var(--steel-100); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__link.active { color: var(--amber-dark); }
  .nav__cta { margin: 16px 0 0; }

  .hero__inner, .about, .enquiry, .contact { grid-template-columns: 1fr; }
  .hero__visual { max-width: 440px; margin: 10px auto 0; width: 100%; }
  .about { gap: 40px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--steel-100); }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .topbar__right { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__left { gap: 14px; justify-content: center; font-size: .8rem; }
  .products, .features, .steps { grid-template-columns: 1fr; }
  .form__row, .ticks, .footer__grid { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__float--1 { left: 0; }
  .hero__float--2 { left: 0; }
  .hero__float--3 { right: 0; }
  .hero__float { font-size: .8rem; padding: 8px 12px; }
  .collage__label { font-size: .7rem; }
  .cta__inner { text-align: center; justify-content: center; }
  .cta .btn { width: 100%; }
  .fab--call { display: grid; }
  .logo__text { font-size: 1.5rem; }
  .logo__mark { width: 36px; height: 36px; }
  .modal__panel { padding: 26px 22px; }
}

@media (max-width: 380px) {
  .topbar__left a:last-child { display: none; }
  .about__facts { grid-template-columns: 1fr; }
}

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

@media print {
  .topbar, .header, .fab, .to-top, .form, .contact__map, .cta { display: none !important; }
  .hero { background: none; color: #000; }
  .hero h1, .lead strong { color: #000; }
}
