/* ==========================================================================
   Klick Engineering Consultants — stylesheet
   Palette keyed to brand logo (CLAUDE-DESIGN.md §5): architect's charcoal +
   deep engineering navy / steel-blue K-mark on drawing-paper off-white,
   with brass used only as a sparing hairline accent.
   ========================================================================== */

:root {
  --bg:        #F7F8FA;
  --bg-2:      #EEF1F5;
  --surface:   #FFFFFF;
  --text:      #1B1D21;
  --muted:     #5C6470;
  --muted-2:   #8A92A0;
  --primary:   #21325A; /* deep engineering navy (logo K mark) */
  --primary-d: #182542; /* darker navy for footer / scrims */
  --secondary: #4A6086; /* steel blue */
  --accent:    #BE9C50; /* muted architectural brass — accents only */
  --accent-d:  #A9863C;
  --border:    #E2E5EA;
  --border-2:  #D4D9E0;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 84px;

  --ff-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(24,37,66,.06), 0 1px 1px rgba(24,37,66,.04);
  --shadow-md: 0 12px 32px -12px rgba(24,37,66,.18), 0 4px 12px -6px rgba(24,37,66,.10);
  --shadow-lg: 0 30px 60px -20px rgba(24,37,66,.30), 0 10px 24px -12px rgba(24,37,66,.18);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 2px; }

/* ----- layout helpers ----- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 124px); }
.eyebrow {
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
}
.eyebrow.center::after {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
}
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; color: var(--primary); text-wrap: balance; }
h2.display { font-size: clamp(30px, 4.4vw, 52px); margin-top: 18px; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 60ch; text-wrap: pretty; }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  font-family: var(--ff-display); font-weight: 500; font-size: 15.5px; letter-spacing: .01em;
  border-radius: 2px;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--secondary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--primary); border: 1px solid var(--border-2); }
.btn-ghost:hover { border-color: var(--primary); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-light:hover { background: #fff; color: var(--primary); transform: translateY(-2px); }
.btn-solid-light { background: #fff; color: var(--primary); }
.btn-solid-light:hover { background: var(--accent); color: var(--primary-d); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-display); font-weight: 500; font-size: 15px; color: var(--primary);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.link-arrow .ln { background-image: linear-gradient(var(--accent),var(--accent)); background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s var(--ease); padding-bottom: 2px; }
.link-arrow:hover .ln { background-size: 100% 1.5px; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(247,248,250,.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: height .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.scrolled { height: 68px; background: rgba(255,255,255,.94); border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 58px; width: auto; transition: height .3s var(--ease); }
.header.scrolled .brand img { height: 46px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--ff-display); font-weight: 500; font-size: 15px; color: var(--text);
  padding: 10px 16px; border-radius: 2px; position: relative;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav a:hover { color: var(--primary); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-display); font-weight: 600; font-size: 15px; color: var(--primary);
}
.header-phone svg { width: 17px; height: 17px; color: var(--secondary); }
.header-phone .sub { display: block; font-family: var(--ff-body); font-weight: 400; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); line-height: 1; margin-bottom: 3px; }

.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--border-2); border-radius: 2px; position: relative; background: var(--surface); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--primary); transition: transform .3s var(--ease), opacity .2s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 27px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* mobile menu drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(247,248,250,.98); backdrop-filter: blur(8px);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  overflow-y: auto;
}
body.menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a.m-link {
  font-family: var(--ff-display); font-weight: 500; font-size: 25px; color: var(--primary);
  padding: 16px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a.m-link span { color: var(--accent); font-size: 14px; font-family: var(--ff-body); }
.mobile-menu .m-actions { margin-top: 28px; display: grid; gap: 12px; }
.mobile-menu .m-actions .btn { width: 100%; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transform: scale(1.06);
  background-size: cover; background-position: center;
  transition: opacity 1.3s var(--ease), transform 7s linear;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(24,37,66,.34) 0%, rgba(24,37,66,0) 30%, rgba(24,37,66,0) 45%, rgba(24,37,66,.55) 78%, rgba(16,24,42,.85) 100%),
    linear-gradient(90deg, rgba(16,24,42,.55) 0%, rgba(16,24,42,.10) 48%, rgba(16,24,42,0) 70%);
}
.hero-inner { padding-block: clamp(40px, 12vh, 120px); padding-bottom: clamp(64px, 13vh, 130px); width: 100%; }
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--accent); }
.hero h1 {
  color: #fff; font-size: clamp(38px, 6.4vw, 84px); line-height: 1.02; font-weight: 600;
  margin-top: 22px; max-width: 17ch; letter-spacing: -.02em;
  text-shadow: 0 2px 30px rgba(10,16,30,.35);
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.sub { color: rgba(255,255,255,.9); font-size: clamp(17px, 1.7vw, 21px); margin-top: 24px; max-width: 52ch; text-shadow: 0 1px 16px rgba(10,16,30,.4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-meta { display: flex; align-items: center; gap: clamp(20px,4vw,52px); margin-top: clamp(40px,6vh,64px); flex-wrap: wrap; }
.hero-meta .stat .n { font-family: var(--ff-display); font-weight: 600; font-size: clamp(26px,3vw,38px); color: #fff; line-height: 1; }
.hero-meta .stat .l { color: rgba(255,255,255,.72); font-size: 13.5px; letter-spacing: .04em; margin-top: 8px; }
.hero-meta .divider { width: 1px; height: 44px; background: rgba(255,255,255,.25); }

/* slider controls */
.hero-controls { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(64px,13vh,130px); display: flex; align-items: center; gap: 10px; }
.hero-dots { display: flex; gap: 8px; margin-right: 8px; }
.hero-dots button { width: 30px; height: 3px; background: rgba(255,255,255,.35); border-radius: 2px; transition: background-color .3s var(--ease); }
.hero-dots button.active { background: var(--accent); }
.hero-arrow { width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s; }
.hero-arrow:hover { background: #fff; color: var(--primary); border-color: #fff; }
.hero-arrow svg { width: 18px; height: 18px; }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 26px; z-index: 2; color: rgba(255,255,255,.6); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; writing-mode: initial; }
.scroll-cue::after { content: ""; width: 1px; height: 28px; background: rgba(255,255,255,.4); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100%{ transform: scaleY(.4); opacity:.4 } 50%{ transform: scaleY(1); opacity:1 } }

/* ==========================================================================
   Marquee credibility band
   ========================================================================== */
.band { background: var(--primary-d); color: #fff; position: relative; }
.band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-inline: 1px solid rgba(255,255,255,.12); }
.band-cell { background: var(--primary-d); padding: clamp(30px,4vw,48px) clamp(18px,2.4vw,34px); }
.band-cell .n { font-family: var(--ff-display); font-weight: 600; font-size: clamp(30px,3.4vw,46px); line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.band-cell .n .plus { color: var(--accent); }
.band-cell .l { color: rgba(255,255,255,.7); margin-top: 12px; font-size: 14.5px; line-height: 1.45; }
.band-cell .note { color: rgba(255,255,255,.4); font-size: 11.5px; margin-top: 6px; letter-spacing: .02em; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 92px); align-items: center; }
.about-copy p + p { margin-top: 18px; }
.about-copy .lead { margin-top: 22px; color: var(--text); font-size: clamp(19px,1.6vw,23px); font-family: var(--ff-display); font-weight: 400; line-height: 1.4; letter-spacing: -.01em; }
.about-points { margin-top: 34px; display: grid; gap: 2px; }
.about-points li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border); }
.about-points li:last-child { border-bottom: 1px solid var(--border); }
.about-points .k { font-family: var(--ff-display); font-weight: 600; color: var(--primary); min-width: 150px; font-size: 15.5px; }
.about-points .v { color: var(--muted); font-size: 15.5px; }
.about-visual { position: relative; }
.about-visual .img-main { aspect-ratio: 4/5; border-radius: 3px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-visual .img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .badge {
  position: absolute; left: -28px; bottom: 38px; background: var(--surface); padding: 22px 26px; border-radius: 3px;
  box-shadow: var(--shadow-md); border-top: 2px solid var(--accent); max-width: 230px;
}
.about-visual .badge .y { font-family: var(--ff-display); font-weight: 600; color: var(--primary); font-size: 30px; line-height: 1; }
.about-visual .badge .t { color: var(--muted); font-size: 13.5px; margin-top: 8px; }
.about-visual .frame-line { position: absolute; inset: -18px -18px auto auto; width: 120px; height: 120px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); opacity: .6; z-index: -1; }

/* ==========================================================================
   Services
   ========================================================================== */
.sec-head { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: end; margin-bottom: clamp(40px,5vw,64px); }
.sec-head .lead { margin-top: 18px; }
@media (max-width: 760px){ .sec-head { grid-template-columns: 1fr; } }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.service {
  background: var(--surface); padding: clamp(26px,2.6vw,40px); position: relative;
  transition: background-color .3s var(--ease), transform .3s var(--ease); overflow: hidden;
}
.service::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.service:hover { background: var(--bg); }
.service:hover::before { transform: scaleX(1); }
.service .num { font-family: var(--ff-display); font-weight: 500; font-size: 13px; letter-spacing: .12em; color: var(--muted-2); }
.service .ic { width: 46px; height: 46px; margin: 22px 0 20px; color: var(--primary); transition: transform .35s var(--ease), color .3s var(--ease); }
.service:hover .ic { color: var(--secondary); transform: translateY(-3px); }
.service .ic svg { width: 100%; height: 100%; }
.service h3 { font-size: 21px; }
.service p { color: var(--muted); font-size: 15px; margin-top: 10px; line-height: 1.5; }
.service .more { margin-top: 18px; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.service:hover .more { opacity: 1; transform: none; }

/* ==========================================================================
   Projects
   ========================================================================== */
.projects { background: var(--bg-2); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter {
  font-family: var(--ff-display); font-weight: 500; font-size: 14.5px; color: var(--muted);
  padding: 10px 22px; border: 1px solid var(--border-2); border-radius: 100px; background: var(--surface);
  transition: all .25s var(--ease);
}
.filter:hover { border-color: var(--secondary); color: var(--primary); }
.filter.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter .c { opacity: .55; margin-left: 6px; font-size: 12.5px; }

.gallery { columns: 3; column-gap: 18px; }
.tile {
  break-inside: avoid; margin-bottom: 18px; position: relative; border-radius: 3px; overflow: hidden;
  cursor: pointer; background: var(--primary-d); box-shadow: var(--shadow-sm);
  transition: opacity .45s var(--ease), transform .45s var(--ease), box-shadow .35s var(--ease);
}
.tile img { width: 100%; height: auto; transition: transform .7s var(--ease), filter .5s var(--ease); }
.tile:hover { box-shadow: var(--shadow-md); }
.tile:hover img { transform: scale(1.05); }
.tile .ov { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: linear-gradient(0deg, rgba(16,24,42,.78) 0%, rgba(16,24,42,.10) 45%, rgba(16,24,42,0) 70%); opacity: 0; transition: opacity .4s var(--ease); }
.tile:hover .ov { opacity: 1; }
.tile .ov .cat { font-family: var(--ff-display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.tile .ov .ti { color: #fff; font-family: var(--ff-display); font-weight: 500; font-size: 18px; margin-top: 6px; }
.tile .ov .exp { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.15); backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff; transform: scale(.8); transition: transform .35s var(--ease); }
.tile:hover .ov .exp { transform: scale(1); }
.tile.hide { display: none; }
.tile.enter { animation: tileIn .5s var(--ease) both; }
@keyframes tileIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,18,32,.92); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 4vw; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { max-width: 1100px; width: 100%; }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 3px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: rgba(255,255,255,.8); margin-top: 18px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; align-items: center; flex-wrap: wrap; }
.lightbox figcaption .cat { font-family: var(--ff-display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-size: 12.5px; }
.lb-close { position: fixed; top: 22px; right: 22px; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; display: grid; place-items: center; transition: background-color .25s, color .25s; }
.lb-close:hover { background: #fff; color: var(--primary); }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; display: grid; place-items: center; transition: background-color .25s, color .25s; }
.lb-nav:hover { background: #fff; color: var(--primary); }
.lb-prev { left: 22px; } .lb-next { right: 22px; }
.lb-close svg, .lb-nav svg { width: 20px; height: 20px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px,5vw,72px); align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: clamp(26px,3vw,44px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--ff-display); font-weight: 500; font-size: 13.5px; color: var(--primary); margin-bottom: 8px; letter-spacing: .01em; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--text);
  background: var(--bg); border: 1px solid var(--border-2); border-radius: 2px; padding: 13px 15px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(33,50,90,.10); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row-btn { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-note { color: var(--muted-2); font-size: 13px; margin-top: 14px; }
.form-success { display: none; background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 2px; padding: 16px 18px; margin-top: 18px; color: var(--primary); font-size: 15px; }
.form-success.show { display: block; animation: tileIn .4s var(--ease) both; }

.contact-aside .channel {
  display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--border); align-items: flex-start;
}
.contact-aside .channel:first-of-type { border-top: none; padding-top: 0; }
.contact-aside .ic { width: 44px; height: 44px; border: 1px solid var(--border-2); border-radius: 50%; display: grid; place-items: center; color: var(--primary); flex: none; transition: background-color .25s, color .25s, border-color .25s; }
.contact-aside .channel:hover .ic { background: var(--primary); color: #fff; border-color: var(--primary); }
.contact-aside .ic svg { width: 19px; height: 19px; }
.contact-aside .ch-l { font-family: var(--ff-display); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.contact-aside .ch-v { font-size: 16px; color: var(--text); margin-top: 3px; font-weight: 500; }
.contact-aside .ch-v.big { font-family: var(--ff-display); font-size: 19px; color: var(--primary); }
.contact-aside .ch-sub { color: var(--muted); font-size: 13.5px; margin-top: 2px; }

.map-wrap { margin-top: 28px; border-radius: 4px; overflow: hidden; border: 1px solid var(--border); position: relative; background: var(--bg-2); }
.map-wrap iframe { display: block; width: 100%; height: 300px; border: 0; filter: grayscale(.25) contrast(1.02); }
.map-cap { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--surface); border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.map-cap svg { width: 15px; height: 15px; color: var(--secondary); }

.hours-card { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 26px 28px; margin-top: 28px; }
.hours-card h4 { font-size: 17px; margin-bottom: 14px; }
.hours-card .row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px dashed var(--border); font-size: 14.5px; }
.hours-card .row:first-of-type { border-top: none; }
.hours-card .row .d { color: var(--muted); }
.hours-card .row .h { color: var(--text); font-variant-numeric: tabular-nums; }
.hours-card .row.closed .h { color: var(--muted-2); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--primary-d); color: rgba(255,255,255,.7); padding-top: clamp(56px,7vw,88px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: clamp(28px,4vw,56px); padding-bottom: 48px; }
.footer .plaque { background: #fff; border-radius: 4px; padding: 22px 26px; display: inline-flex; box-shadow: var(--shadow-md); }
.footer .plaque img { height: 116px; width: auto; }
.footer .f-about { margin-top: 22px; font-size: 14.5px; max-width: 34ch; line-height: 1.6; }
.footer h5 { font-family: var(--ff-display); color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.footer .f-col a, .footer .f-col li { display: block; padding: 7px 0; font-size: 15px; color: rgba(255,255,255,.7); transition: color .2s var(--ease); }
.footer .f-col a:hover { color: #fff; }
.footer .f-contact .line { display: flex; gap: 12px; padding: 8px 0; font-size: 15px; align-items: flex-start; }
.footer .f-contact .line svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 3px; }
.footer .f-contact a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background-color .25s, border-color .25s, transform .25s; }
.socials a:hover { background: #fff; color: var(--primary); border-color: #fff; transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom .conf { color: rgba(255,255,255,.38); }

/* ==========================================================================
   Mobile sticky action bar
   ========================================================================== */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px -12px rgba(24,37,66,.18); padding: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 52px; border-radius: 3px; font-family: var(--ff-display); font-weight: 500; font-size: 12px; }
.mobile-bar a svg { width: 19px; height: 19px; }
.mobile-bar .mb-call { background: var(--primary); color: #fff; }
.mobile-bar .mb-wa { background: #0f7a3d; color: #fff; }
.mobile-bar .mb-enq { background: var(--bg-2); color: var(--primary); border: 1px solid var(--border-2); }

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px){
  .nav { display: none; }
  .header-cta .header-phone .sub { display: none; }
  .burger { display: block; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px){
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .band .wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 721px){
  .hero-inner { padding-top: calc(clamp(40px, 12vh, 120px) + 30px); }
}
@media (max-width: 720px){
  body { font-size: 16px; }
  .header-phone { display: none; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 0; }
  .hero-controls { display: none; }
  .hero { min-height: 92svh; }
  .footer { padding-bottom: 78px; }
}
@media (max-width: 560px){
  .services-grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .about-visual .badge { left: 0; }
  .hero-meta .divider { display: none; }
}

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