/* =========================================================
   Mine Ways (Pvt) Ltd — Plant & Equipment
   Global stylesheet
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand — sampled from the Mine Ways livery: royal blue plant steel
     + the yellow of the handrails, stairs and the MW logo mark.
     Corporate colours are BLUE and YELLOW. Do not introduce a third hue. */
  --navy-900: #04193f;   /* darkest blue — footer / overlays          */
  --navy-800: #06256a;   /* deep corporate blue — headings, dark bands */
  --navy-700: #0a3390;   /* mid blue                                   */
  --blue-600: #0f4ec4;   /* primary blue — links, buttons              */
  --blue-500: #1a63e8;   /* bright livery blue — focus, hovers         */
  --blue-100: #e6eefc;   /* blue wash                                  */

  --gold-600: #b8860a;   /* deep yellow — text on light (AA contrast)  */
  --gold-500: #f7b500;   /* primary corporate yellow                   */
  --gold-400: #ffc826;   /* bright yellow — accents on dark blue       */
  --gold-100: #fff6dc;   /* yellow wash                                */

  --ink: #131a26;
  --body: #4a5568;
  --muted: #7b8698;
  --line: #e2e7ef;
  --surface: #ffffff;
  --surface-2: #f5f7fb;

  --wrap: 1200px;
  --gutter: 24px;
  --radius: 4px;

  --shadow-sm: 0 1px 3px rgba(6, 26, 58, .08);
  --shadow-md: 0 10px 30px rgba(6, 26, 58, .10);
  --shadow-lg: 0 24px 60px rgba(6, 26, 58, .16);

  --ff-head: "Barlow Condensed", "Oswald", "Arial Narrow", sans-serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --header-h: 108px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--surface);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

/* Every photo is wrapped in <picture> to serve WebP with a JPEG fallback.
   The wrapper must be transparent to layout, or it breaks the percentage
   heights the media containers below rely on. */
picture { display: block; }
.hero__bg picture, .pagehead__bg picture,
.card__media picture, .gallery__item picture { width: 100%; height: 100%; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-600); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--ff-head);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); text-transform: uppercase; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold-500); color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
main:focus { outline: none; }

/* Keyboard users can jump the header/nav instead of tabbing through it. */
.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 300; padding: 12px 24px; background: var(--gold-500); color: var(--navy-900);
  font-family: var(--ff-head); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 0 0 var(--radius) var(--radius); transition: transform .2s ease;
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--navy-900); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--surface-2); }
.section--navy { background: var(--navy-800); color: #c3cfe2; }
.section--navy h2, .section--navy h3 { color: #fff; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-head);
  font-size: 1rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 32px; height: 3px; background: var(--gold-500); }
.section--navy .eyebrow { color: var(--gold-400); }
.text-center .eyebrow::before { display: none; }

.head { max-width: 720px; margin-bottom: 48px; }
.head.text-center { margin-inline: auto; }
.head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font-family: var(--ff-head);
  font-size: 1.05rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: all .22s ease; white-space: nowrap;
}
.btn--gold  { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.btn--gold:hover  { background: var(--gold-400); border-color: var(--gold-400); color: var(--navy-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--blue  { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.btn--blue:hover  { background: var(--navy-700); border-color: var(--navy-700); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn--ghost:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-head); font-weight: 600; font-size: 1rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--navy-800);
}
.link-more::after { content: "→"; transition: transform .2s ease; }
.link-more:hover { color: var(--gold-600); }
.link-more:hover::after { transform: translateX(5px); }

/* =========================================================
   Header
   ========================================================= */
.topbar {
  background: var(--navy-900); color: #9fb1cc;
  font-size: .875rem; border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 44px; }
.topbar ul { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; }
.topbar li { display: flex; align-items: center; gap: 8px; }
.topbar a { color: #9fb1cc; }
.topbar a:hover { color: var(--gold-400); }
.topbar svg { width: 15px; height: 15px; flex: none; color: var(--gold-500); }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a {
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18); border-radius: 50%;
}
.topbar-social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.topbar-social svg { width: 14px; height: 14px; color: currentColor; }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: var(--shadow-sm); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

/* Supplied stacked logo: MW mark over the wordmark. Sized by height so the
   lockup keeps its proportions; width follows from the 301×162 artwork. */
.brand { display: block; flex: none; }
.brand img { height: 74px; width: auto; }

/* Nav */
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--radius); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy-800); transition: transform .25s ease, opacity .2s ease; }
.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); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav a {
  display: block; padding: 12px 16px;
  font-family: var(--ff-head); font-size: 1.05rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--navy-800);
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px;
  height: 2px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--blue-600); }
.nav .btn { margin-left: 12px; padding: 12px 24px; }
.nav .btn::after { display: none; }

/* Dropdown */
.has-sub { position: relative; }
.has-sub > a { display: flex; align-items: center; gap: 6px; }
.has-sub > a .caret { font-size: .65em; opacity: .75; transition: transform .2s ease; }
.has-sub:hover > a .caret { transform: rotate(180deg); }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 268px;
  background: #fff; border-top: 3px solid var(--gold-500); box-shadow: var(--shadow-md);
  list-style: none; padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .2s ease;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { padding: 11px 20px; font-size: .95rem; letter-spacing: .05em; border-left: 3px solid transparent; }
.sub a::after { display: none; }
.sub a:hover { background: var(--surface-2); border-left-color: var(--gold-500); color: var(--blue-600); }

/* =========================================================
   Hero
   ========================================================= */
/* Split banner: tinted image panel carrying the message on the left, a clean
   untinted photograph on the right. Deliberately not full-viewport — the
   sections below should start before the fold. */
.hero { position: relative; background: var(--navy-900); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .6fr);
  min-height: clamp(430px, 58vh, 560px);
}

.hero__content {
  position: relative; display: flex; align-items: center; isolation: isolate;
  padding-block: clamp(44px, 5.5vw, 72px);
  /* Left padding lines the text up with the container edge used by the rest
     of the page, whatever the viewport width. */
  padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)))
                  clamp(28px, 4vw, 56px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4,25,63,.93) 0%, rgba(6,37,106,.84) 52%, rgba(6,37,106,.66) 100%);
}

.hero__photo { position: relative; }
.hero__photo picture, .hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.hero__inner { position: relative; max-width: 640px; color: #d6e0f0; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero__lead { font-size: clamp(1rem, 1.5vw, 1.15rem); margin-bottom: 1.9rem; max-width: 600px; }
.hero .eyebrow { color: var(--gold-400); }
/* The corner bracket already provides the leading rule. */
@media (min-width: 1200px) { .hero .eyebrow::before { display: none; } }

/* Corner brackets, echoing the reference layout. Wide screens only — there is
   no room for them once the padding tightens up. */
@media (min-width: 1200px) {
  .hero__inner::before, .hero__inner::after {
    content: ""; position: absolute; width: 54px; height: 54px; pointer-events: none;
  }
  .hero__inner::before {
    left: -26px; top: -26px;
    border-left: 3px solid var(--gold-500); border-top: 3px solid var(--gold-500);
  }
  .hero__inner::after {
    right: -26px; bottom: -26px;
    border-right: 3px solid var(--gold-500); border-bottom: 3px solid var(--gold-500);
  }
}

/* ---------- Capability figures under the banner ---------- */
.hero-stats { background: #fff; border-bottom: 1px solid var(--line); }
/* 1px gap over a tinted backdrop draws the dividers, so they stay correct
   when the grid wraps to two rows on narrow screens. */
.hero-stats .wrap { padding-inline: 0; }
.hero-stats__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 1px; background: var(--line);
}
.hero-stats__grid > div { background: #fff; padding: 26px 28px; }
.hero-stats__grid strong {
  display: block; font-family: var(--ff-head); font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  color: var(--navy-800); line-height: 1; margin-bottom: 6px;
}
.hero-stats__grid span {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

/* Page banner (inner pages) */
.pagehead {
  position: relative; padding: clamp(64px, 9vw, 116px) 0; background: var(--navy-800); overflow: hidden;
}
.pagehead__bg { position: absolute; inset: 0; }
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehead__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(6,26,58,.93), rgba(10,38,82,.75)); }
.pagehead .wrap { position: relative; z-index: 1; }
.pagehead h1 { color: #fff; margin-bottom: 12px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; font-size: .9rem; color: #9fb1cc; }
.crumbs a { color: var(--gold-400); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .6; }

/* =========================================================
   Cards
   ========================================================= */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag {
  position: absolute; left: 0; bottom: 0; background: var(--gold-500); color: var(--navy-900);
  font-family: var(--ff-head); font-size: .82rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; padding: 7px 16px;
}
.card__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__body h3 { margin: 0; }
.card__body p { font-size: .96rem; }
.card__body .link-more { margin-top: auto; padding-top: 6px; }

/* Service card (icon) */
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.svc:hover::before { transform: scaleX(1); }
.svc__icon {
  width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--blue-100); color: var(--blue-600); border-radius: var(--radius);
  transition: background .25s ease, color .25s ease;
}
.svc:hover .svc__icon { background: var(--navy-800); color: var(--gold-400); }
.svc__icon svg { width: 30px; height: 30px; }
.svc h3 { margin-bottom: 10px; }
.svc p { font-size: .96rem; margin-bottom: 16px; }

/* Feature list */
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-size: .98rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px;
  background: var(--gold-500); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23000'/%3E%3C/svg%3E") center/13px no-repeat, linear-gradient(#000,#000);
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23000'/%3E%3C/svg%3E") center/13px no-repeat;
  -webkit-mask-composite: destination-out; mask-composite: exclude;
}
.section--navy .ticks li { color: #c3cfe2; }

/* Capability chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.chips li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 40px; font-family: var(--ff-head); font-size: 1rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--navy-800);
}
.chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }

/* =========================================================
   Split (image + text)
   ========================================================= */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split__media--stack { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split__media--stack picture { display: contents; }  /* let the img be the grid item */
.split__media--stack img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split__media--stack > picture:first-child img,
.split__media--stack > img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; object-fit: cover; }

.badge-years {
  position: absolute; right: -12px; bottom: -12px;
  background: var(--gold-500); color: var(--navy-900); padding: 20px 26px;
  border-radius: var(--radius); box-shadow: var(--shadow-md); text-align: center;
}
.badge-years strong { display: block; font-family: var(--ff-head); font-size: 2.6rem; line-height: 1; }
.badge-years span { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }

/* =========================================================
   Stats
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px; text-align: center; }
.stat strong {
  display: block; font-family: var(--ff-head); font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: var(--gold-400); line-height: 1;
}
.stat span { font-size: .84rem; letter-spacing: .18em; text-transform: uppercase; color: #a9bad3; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.gallery__item {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3; background: var(--surface-2); cursor: zoom-in;
  border: 0; padding: 0; margin: 0; /* figure has a UA margin — must be cleared */
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,26,58,.86) 0%, rgba(6,26,58,0) 55%);
  opacity: 0; transition: opacity .3s ease;
}
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 20px;
  color: #fff; font-family: var(--ff-head); font-size: 1.05rem; letter-spacing: .06em;
  text-align: left; transform: translateY(8px); opacity: 0; transition: all .3s ease;
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__item:hover figcaption, .gallery__item:focus-visible figcaption { opacity: 1; transform: translateY(0); }
/* Spans two columns; the wider aspect keeps its height equal to a normal tile
   so the grid rows stay level. */
.gallery__item--wide { grid-column: span 2; aspect-ratio: 8 / 3; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters button {
  padding: 10px 22px; background: #fff; border: 1px solid var(--line); border-radius: 40px;
  font-family: var(--ff-head); font-size: .98rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--navy-800); cursor: pointer; transition: all .2s ease;
}
.filters button:hover { border-color: var(--navy-800); }
.filters button[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  place-items: center; padding: 5vw; background: rgba(6,26,58,.95);
}
.lightbox[open], .lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__cap { color: #d6e0f0; text-align: center; margin-top: 16px; font-family: var(--ff-head); letter-spacing: .08em; font-size: 1.1rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
  color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 1.4rem; line-height: 1; transition: background .2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band { background: var(--gold-500); color: var(--navy-900); padding: clamp(40px, 6vw, 64px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { margin: 0 0 6px; color: var(--navy-900); }
.cta-band p { margin: 0; color: rgba(6,26,58,.78); font-weight: 500; }
.cta-band .btn--blue { background: var(--navy-900); border-color: var(--navy-900); }
.cta-band .btn--blue:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

/* =========================================================
   Forms
   ========================================================= */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-800); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: .96rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(27,87,196,.14);
}
.form__note { font-size: .85rem; color: var(--muted); }
.form-status { display: none; padding: 14px 18px; border-radius: var(--radius); font-size: .95rem; }
.form-status.is-visible { display: block; }
.form-status--ok { background: var(--gold-100); border: 1px solid var(--gold-400); color: #6b4c05; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm); }

/* Contact info tiles */
.info-tile {
  display: flex; gap: 18px; padding: 26px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.info-tile__icon {
  width: 50px; height: 50px; flex: none; display: grid; place-items: center;
  background: var(--navy-800); color: var(--gold-400); border-radius: var(--radius);
}
.info-tile__icon svg { width: 24px; height: 24px; }
.info-tile h2 { margin: 0 0 6px; font-family: var(--ff-head); font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; }
.info-tile p, .info-tile a { margin: 0; font-size: .96rem; color: var(--body); }
.info-tile a:hover { color: var(--gold-600); }

.map-embed { border: 0; width: 100%; height: 420px; border-radius: var(--radius); filter: grayscale(.25) contrast(1.05); }

/* =========================================================
   Spec table / accordion
   ========================================================= */
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th, .spec td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.spec th { font-family: var(--ff-head); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-800); width: 46%; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

.acc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.acc + .acc { margin-top: 14px; }
.acc summary {
  cursor: pointer; list-style: none; padding: 20px 24px;
  font-family: var(--ff-head); font-size: 1.2rem; color: var(--navy-800);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.5rem; color: var(--gold-600); line-height: 1; }
.acc[open] summary::after { content: "–"; }
.acc[open] summary { background: var(--surface-2); }
.acc__body { padding: 0 24px 24px; }
.acc[open] .acc__body { padding-top: 20px; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy-900); color: #9fb1cc; padding-top: clamp(56px, 7vw, 84px); font-size: .95rem; }
.site-footer h2 {
  color: #fff; font-family: var(--ff-head); font-size: 1.2rem; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 22px; position: relative; padding-bottom: 12px;
}
.site-footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--gold-500); }
.site-footer a { color: #9fb1cc; }
.site-footer a:hover { color: var(--gold-400); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 22px; }
.footer-brand .brand img { height: 92px; }
.footer-links { list-style: none; display: grid; gap: 11px; }
.footer-links a { display: inline-flex; align-items: center; gap: 9px; }
.footer-links a::before { content: "›"; color: var(--gold-500); font-size: 1.1rem; }
.footer-contact { list-style: none; display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 13px; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--gold-500); margin-top: 3px; }
.footer-bottom {
  margin-top: clamp(40px, 5vw, 60px); border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0; font-size: .875rem;
}
.footer-bottom .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

/* WhatsApp float */
/* The supplied artwork already includes the green disc, so the anchor stays
   transparent and drop-shadow follows the circle instead of boxing it. */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 62px; height: 62px; display: block;
  filter: drop-shadow(0 6px 16px rgba(6, 26, 58, .28));
  transition: transform .2s ease;
}
.wa-float img { width: 100%; height: 100%; }
.wa-float:hover { transform: scale(1.07); }
@media (max-width: 620px) { .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; } }

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

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

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 960px) {
  :root { --header-h: 74px; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 24px 20px 40px; box-shadow: var(--shadow-lg);
    transform: translateX(105%); transition: transform .3s ease;
    overflow-y: auto; z-index: 120;
  }
  .nav.is-open { transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav a { padding: 15px 6px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin: 20px 0 0; width: 100%; }
  .has-sub > a { justify-content: space-between; }
  .has-sub.is-open > a .caret { transform: rotate(180deg); }
  .sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-top: 0; padding: 0 0 8px 16px; min-width: 0;
    display: none;
  }
  .has-sub.is-open .sub { display: block; }
  .sub a { border-bottom: 1px dashed var(--line); padding: 12px 6px; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(6,26,58,.5); z-index: 110;
    opacity: 0; visibility: hidden; transition: opacity .25s ease;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  .split--reverse .split__media { order: 0; }
  .gallery__item--wide { grid-column: span 1; }
  .topbar-social { display: none; }

  /* Banner stacks: message first, photograph as a band beneath it. */
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__content { padding-inline: var(--gutter); }
  .hero__photo { height: 230px; }
  .hero-stats__grid > div { padding: 20px 22px; }
}

@media (max-width: 620px) {
  .topbar .wrap { justify-content: center; text-align: center; }
  .topbar ul { justify-content: center; gap: 8px 18px; }
  .brand img { height: 54px; }
  .footer-brand .brand img { height: 78px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .badge-years { right: 12px; bottom: 12px; padding: 14px 18px; }
  .badge-years strong { font-size: 2rem; }
  .split__media--stack { grid-template-columns: 1fr; }
}
