/* ==========================================================================
   Commercial Lock Services, Inc. — Site Stylesheet
   ========================================================================== */

:root {
  --navy-950: #00114a;
  --navy-900: #071b57;
  --navy-800: #123268;
  --navy-700: #1d4a86;
  --steel-500: #3e7cb1;
  --steel-300: #a9c8e0;
  --steel-100: #eaf2f8;
  --brass-600: #1f4f7a;
  --brass-500: #3e7cb1;
  --brass-400: #6fa0cc;
  --brass-100: #e8f1f8;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1c2733;
  --muted: #5b6b7c;
  --border: #e1e6ec;
  --success: #2f7d5c;
  --shadow-sm: 0 1px 2px rgba(13, 36, 64, 0.06), 0 1px 1px rgba(13, 36, 64, 0.04);
  --shadow-md: 0 8px 24px rgba(13, 36, 64, 0.10);
  --shadow-lg: 0 20px 48px rgba(13, 36, 64, 0.16);
  --radius: 10px;
  --radius-sm: 6px;
  --container: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  color: var(--navy-950);
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-600);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 9px;
  background: var(--brass-500);
  clip-path: polygon(0 100%, 35% 0, 100% 0, 65% 100%);
  display: inline-block;
}

.hero .eyebrow,
.page-hero .eyebrow,
.section-navy .eyebrow {
  color: var(--steel-300);
}
.hero .eyebrow::before,
.page-hero .eyebrow::before,
.section-navy .eyebrow::before {
  background: var(--brass-400);
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 640px;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brass-600);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--brass-500); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-dark {
  background: var(--navy-900);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-800); transform: translateY(-1px); }

.btn-block { width: 100%; }

/* Header / Nav ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar {
  background: var(--navy-950);
  color: var(--steel-300);
  font-size: 0.82rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
}

.topbar-info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-info a { color: var(--steel-300); }
.topbar-info a:hover { color: var(--brass-400); }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-info svg { flex: none; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-950);
}

.brand-logo {
  height: 58px;
  width: auto;
  flex: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: var(--brass-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 6px;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; color: var(--navy-950); }
.brand-text small { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover { color: var(--navy-950); background: var(--steel-100); }
.nav-links a.active { color: var(--navy-950); background: var(--brass-100); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  color: var(--navy-950);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Hero --------------------------------------------------------------------*/

.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(62,124,177,0.20), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: #fff;
  padding: 96px 0 110px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 { color: #fff; margin-bottom: 18px; }
.hero .lede { color: var(--steel-300); font-size: 1.15rem; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-badges {
  display: flex;
  gap: 26px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-badges .stat strong { display: block; font-size: 1.7rem; color: var(--brass-400); font-weight: 800; }
.hero-badges .stat span { font-size: 0.82rem; color: var(--steel-300); }

.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(4px);
}

.hero-panel h3 { color: #fff; margin-bottom: 6px; }
.hero-panel p { color: var(--steel-300); font-size: 0.92rem; margin-bottom: 18px; }

.hero-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.hero-list li { display: flex; align-items: flex-start; gap: 10px; color: #e8edf3; font-size: 0.92rem; }
.hero-list svg { flex: none; margin-top: 2px; color: var(--brass-400); }

/* Page hero (interior pages) ---------------------------------------------- */

.page-hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(62,124,177,0.20), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: #fff;
  padding: 72px 0 64px;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero .lede { color: var(--steel-300); }
.breadcrumb { font-size: 0.85rem; color: var(--steel-300); margin-bottom: 18px; }
.breadcrumb a { color: var(--brass-400); }
.breadcrumb span { color: var(--steel-300); margin: 0 6px; }

/* Trust strip ---------------------------------------------------------------*/

.trust-strip { background: var(--surface); border-bottom: 1px solid var(--border); padding: 26px 0; }
.trust-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-strip p { margin: 0; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.trust-logos { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.trust-logos a {
  font-weight: 800;
  color: var(--navy-800);
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  opacity: 0.75;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.trust-logos a:hover { opacity: 1; color: var(--brass-500); text-decoration: underline; text-underline-offset: 3px; }

/* Sections ------------------------------------------------------------------*/

section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--surface); }
.section-navy {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(62,124,177,0.18), transparent 60%),
    var(--navy-950);
  color: #fff;
}
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: var(--steel-300); }
.section-navy .container { position: relative; }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Service / feature cards ----------------------------------------------------*/

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(62,124,177,0.35); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brass-100);
  color: var(--brass-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 0.88rem; color: var(--navy-800); }
.card-link svg { transition: transform 0.15s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

.card-navy {
  background: var(--navy-900);
  border: 1px solid var(--navy-700);
  color: #fff;
}
.card-navy h3 { color: #fff; }
.card-navy p { color: var(--steel-300); }
.card-navy .card-icon { background: rgba(62,124,177,0.16); color: var(--brass-400); }

.grid-top { align-items: start; }

/* Clickable / expandable service cards ---------------------------------------*/

.service-card { cursor: pointer; }
.service-card:focus-visible { outline: 2px solid var(--brass-500); outline-offset: 3px; }

.service-toggle-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brass-600);
}
.service-toggle-row svg { flex: none; transition: transform 0.2s ease; }
.service-card.open .service-toggle-row svg { transform: rotate(45deg); }
.service-toggle-row .toggle-label-open { display: none; }
.service-card.open .toggle-label-closed { display: none; }
.service-card.open .toggle-label-open { display: inline; }

.service-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.service-card.open .service-detail { max-height: 420px; }
.service-detail-inner {
  padding-top: 18px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
}
.service-detail-inner h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-600);
  margin-bottom: 12px;
}
.service-detail-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.service-detail-inner li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}
.service-detail-inner li svg { flex: none; margin-top: 3px; color: var(--brass-500); }

.service-card.open { border-color: rgba(62,124,177,0.4); box-shadow: var(--shadow-md); }

/* Why us / values list -------------------------------------------------------*/

.value-row {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.value-row:last-child { border-bottom: none; }
.value-num {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--brass-500);
  color: var(--brass-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.value-row h3 { margin-bottom: 6px; }
.value-row p { margin-bottom: 0; }

/* Team --------------------------------------------------------------------- */

.team-card { text-align: center; padding: 0 0 28px; overflow: hidden; }
.team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
  background: var(--steel-100);
}
.team-info { padding: 0 24px; }
.team-card h3 { margin-bottom: 2px; }
.team-role { color: var(--brass-600); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; display: block; }

/* Process steps ---------------------------------------------------------- */

.steps { counter-reset: step; }
.step {
  position: relative;
  padding-left: 56px;
  margin-bottom: 30px;
}
.step:last-child { margin-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--brass-400);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 4px; }
.step p { margin-bottom: 0; }

/* CTA band ------------------------------------------------------------------*/

.cta-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-950));
  color: #fff;
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: var(--steel-300); margin-bottom: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Product / service detail table --------------------------------------------*/

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.detail-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
}
.detail-item h4 { margin: 0 0 6px; font-size: 1.02rem; color: var(--navy-950); }
.detail-item p { margin: 0; font-size: 0.9rem; }

/* Brand strip on services page ------------------------------------------- */

.brand-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 700;
  color: var(--navy-800);
  font-size: 0.9rem;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.brand-pill:hover { border-color: var(--brass-500); color: var(--brass-600); background: var(--brass-100); transform: translateY(-1px); }
.brand-pills { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contact page ------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: none; }
.info-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--brass-100); color: var(--brass-600);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.info-row h4 { margin: 0 0 4px; font-size: 0.95rem; color: var(--navy-950); }
.info-row p { margin: 0; font-size: 0.92rem; }
.info-row a { color: var(--navy-800); font-weight: 600; }
.info-row a:hover { color: var(--brass-600); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
}
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }

/* Form --------------------------------------------------------------------- */

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 700; color: var(--navy-950); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  background: #fbfcfd;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brass-500);
  box-shadow: 0 0 0 3px rgba(62,124,177,0.18);
  background: #fff;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(47,125,92,0.08);
  border: 1px solid rgba(47,125,92,0.3);
  color: var(--success);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 18px;
}
.form-success.visible { display: flex; }
.form-error {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(178,58,58,0.08);
  border: 1px solid rgba(178,58,58,0.3);
  color: #b23a3a;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 18px;
}
.form-error.visible { display: flex; }

.field-optional { font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: normal; }

.file-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 28px 20px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  background: #fbfcfd;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.dropzone svg { color: var(--brass-500); margin-bottom: 4px; }
.dropzone-text { margin: 0; font-size: 0.92rem; color: var(--text); }
.dropzone-text strong { color: var(--brass-600); }
.dropzone-hint { font-size: 0.78rem; color: var(--muted); }
.dropzone:hover,
.dropzone:focus-visible {
  border-color: var(--brass-500);
  background: var(--brass-100);
  outline: none;
}
.dropzone.dragover {
  border-color: var(--brass-500);
  background: var(--brass-100);
  box-shadow: 0 0 0 3px rgba(62,124,177,0.18);
}

.file-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.85rem;
}
.file-item svg { flex: none; color: var(--brass-600); }
.file-item-name { flex: 1; min-width: 0; color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item-size { flex: none; color: var(--muted); font-size: 0.8rem; }
.file-item-remove {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.file-item-remove:hover { background: rgba(178,58,58,0.1); color: #b23a3a; }

.file-error {
  display: none;
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: #b23a3a;
  font-weight: 600;
}
.file-error.visible { display: block; }

/* FAQ ------------------------------------------------------------------------*/

.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-950);
  gap: 16px;
}
.faq-q svg { flex: none; transition: transform 0.2s ease; color: var(--brass-600); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-item.open .faq-a { max-height: 220px; }
.faq-a p { margin: 14px 0 0; }

/* Gallery ----------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  background: var(--steel-100);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:focus-visible {
  outline: 3px solid var(--brass-500);
  outline-offset: 2px;
}
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(0,17,74,0.85), transparent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.gallery-zoom-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 17, 74, 0.75);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.gallery-item:hover .gallery-zoom-icon,
.gallery-item:focus-visible .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox ---------------------------------------------------------------------*/

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  background: rgba(0, 17, 74, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-content {
  max-width: min(92vw, 1100px);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  background: var(--navy-900);
}
.lightbox-content figcaption {
  margin-top: 16px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  max-width: 640px;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.24);
}
.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media (max-width: 760px) {
  .lightbox { padding: 20px 16px; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-close { top: 10px; right: 10px; width: 38px; height: 38px; }
  .lightbox-content img { max-height: 62vh; }
}

.gallery-empty {
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
  padding: 60px 24px;
}
.gallery-empty-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brass-100);
  color: var(--brass-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* Footer ---------------------------------------------------------------------*/

.site-footer {
  background: var(--navy-950);
  color: var(--steel-300);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { color: var(--steel-300); font-size: 0.9rem; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--steel-300); font-size: 0.92rem; }
.footer-col a:hover { color: var(--brass-400); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; }
.footer-contact svg { flex: none; margin-top: 3px; color: var(--brass-400); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--steel-500);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: var(--steel-500); }
.footer-bottom a:hover { color: var(--brass-400); }

/* Utility ---------------------------------------------------------------------*/

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

/* Responsive ------------------------------------------------------------------*/

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .topbar { display: none; }
  .nav-links { display: none; }
  .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .navbar .container { flex-wrap: nowrap; gap: 10px; }
  .brand { gap: 10px; min-width: 0; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-logo { height: 44px; }
  .brand-text { min-width: 0; }
  .brand-text strong { font-size: 0.92rem; white-space: nowrap; }
  .brand-text small { display: none; }

  .navbar.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .navbar.open .nav-links a { padding: 12px 8px; }

  .hero { padding: 56px 0 64px; }
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; padding: 13px 10px; font-size: 0.86rem; white-space: nowrap; }
  .hero-badges { gap: 18px; }
  section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 32px; }
  .trust-strip .container { flex-direction: column; align-items: flex-start; }
}
