/* ==========================================================================
   ZeeTech Armouries Pvt Ltd — base styles (mobile-first)
   Larger-screen refinements live in responsive.css
   ========================================================================== */

:root {
  --navy-950: #07101c;
  --navy-900: #0b1827;
  --navy-800: #11253a;
  --navy-700: #1a3350;
  --steel: #5d7189;
  --gold: #b9975b;
  --gold-light: #d4b983;
  --gold-dark: #8f6f3a;
  --ivory: #f6f3ec;
  --sand: #ece7dc;
  --white: #ffffff;
  --ink: #13202e;
  --muted: #4d5b6b;
  --line: rgba(19, 32, 46, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --header-h: 88px;
  --container: 1200px;
  --gutter: 1.25rem;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-lg: clamp(1.0625rem, 0.5vw + 1rem, 1.25rem);
  --fs-h3: clamp(1.2rem, 1vw + 1rem, 1.5rem);
  --fs-h2: clamp(1.75rem, 3vw + 0.75rem, 2.9rem);
  --fs-h1: clamp(2.1rem, 5vw + 0.6rem, 4.25rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; margin: 0 0 0.6em; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 300; background: var(--gold); color: var(--navy-950);
  padding: 0.75rem 1.25rem; font-weight: 600; transition: top 0.2s;
}
.skip-link:focus { top: 0.75rem; }

.icon { width: 1.5em; height: 1.5em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section--dark { background: var(--navy-900); color: #e8edf3; }
.section--deep { background: var(--navy-950); color: #e8edf3; }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); }
.section--dark h2, .section--dark h3, .section--deep h2, .section--deep h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.section--dark .eyebrow, .section--deep .eyebrow, .on-dark .eyebrow { color: var(--gold-light); }
.lead { font-size: var(--fs-lg); color: var(--muted); }
.section--dark .lead, .section--deep .lead, .on-dark .lead { color: #c3cdd9; }
.muted { color: var(--muted); }
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.8rem 1.6rem; border-radius: var(--radius);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.04em;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-light); }
.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); }
.btn--outline { border-color: currentColor; color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy-950); border-color: var(--white); }
.btn--outline-dark { border-color: var(--navy-900); color: var(--navy-900); }
.btn--outline-dark:hover { background: var(--navy-900); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: var(--fs-sm); color: var(--gold-dark); letter-spacing: 0.04em; }
.text-link .icon { width: 1.1em; height: 1.1em; transition: transform 0.3s var(--ease); }
.text-link:hover .icon { transform: translateX(5px); }
.section--dark .text-link, .section--deep .text-link, .on-dark .text-link { color: var(--gold-light); }

/* ---------- Review / verification badges ---------- */
.review-badge {
  display: inline-block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 2px; background: rgba(185, 151, 91, 0.16); color: var(--gold-dark); border: 1px dashed var(--gold);
}
.on-dark .review-badge, .section--dark .review-badge, .section--deep .review-badge, .hero .review-badge, .page-hero .review-badge { color: var(--gold-light); background: rgba(185, 151, 91, 0.14); }
.review-badge--ok { background: rgba(60, 130, 90, 0.12); border: 1px solid rgba(60, 130, 90, 0.55); color: #2f6b4a; }
.on-dark .review-badge--ok, .section--dark .review-badge--ok, .page-hero .review-badge--ok { color: #9fd4b4; background: rgba(60, 130, 90, 0.2); }
body.hide-review-badges .review-badge { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200; height: var(--header-h);
  /* No backdrop-filter: it traps position:fixed children. */
  background: rgba(7, 16, 28, 0.97);
  color: var(--white); border-bottom: 1px solid var(--line-light);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
/* When the drawer is open, raise the whole header stacking context ABOVE the dim overlay
   so menu links are clickable and the panel is not washed out. */
body.nav-open .site-header { z-index: 260; }
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28); background: rgba(7, 16, 28, 0.99); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative; }
.brand { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }
.brand img {
  width: auto; height: 68px; max-width: min(220px, 62vw); flex: none;
  object-fit: contain; display: block;
}
.site-footer .brand img {
  height: 76px; max-width: min(240px, 70vw);
}
/* Full wordmark logo already includes company name */
.brand-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.nav-toggle {
  width: 48px; height: 48px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line-light); border-radius: var(--radius); position: relative; flex: none;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.35s var(--ease), background-color 0.2s, opacity 0.2s;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-7px) rotate(-45deg); }

.primary-nav { flex-basis: 100%; }
.nav-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.nav-link { display: block; padding: 0.85rem 0; font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0.03em; position: relative; color: inherit; }
.nav-link[aria-current="page"] { color: var(--gold-light); }
.nav-cta .btn { width: 100%; margin-top: 0.75rem; }

/* Mobile off-canvas (JS only). Without JS, nav stacks under the brand. */
.js .site-header .header-inner { flex-wrap: nowrap; }
.js .primary-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: auto;
  width: min(88vw, 380px);
  max-width: 100vw;
  height: calc(100dvh - var(--header-h));
  background: #0f2135;
  padding: 0.5rem 1.5rem 2.5rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translate3d(100%, 0, 0);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
  border-left: 1px solid var(--line-light);
  z-index: 2;
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.45);
}
.js body.nav-open .primary-nav {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.35s var(--ease), visibility 0s;
}
.js .nav-list > li { border-bottom: 1px solid var(--line-light); }
.js .nav-list > li.nav-cta { border-bottom: 0; padding-top: 0.75rem; }
.js body.nav-open .nav-link { color: #f2f5f8; }
.js body.nav-open .nav-link[aria-current="page"] { color: var(--gold-light); }
.nav-backdrop {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(4, 9, 16, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0s linear 0.3s;
  z-index: 250; /* below open header (260), above page content */
}
body.nav-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.3s, visibility 0s;
}
body.nav-lock { overflow: hidden; touch-action: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--navy-950); min-height: min(820px, calc(100svh - var(--header-h))); min-height: max(560px, min(820px, calc(100svh - var(--header-h)))); display: flex; align-items: center; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 16, 28, 0.94) 0%, rgba(7, 16, 28, 0.78) 55%, rgba(7, 16, 28, 0.5) 100%); }
.hero__content { padding: clamp(3rem, 8vw, 6rem) 0 clamp(5rem, 9vw, 7rem); max-width: 780px; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero .lead { color: #d3dbe5; max-width: 620px; margin-bottom: 2rem; }
.hero__strip { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--line-light); background: rgba(7, 16, 28, 0.6); backdrop-filter: blur(6px); }
.hero__strip ul { display: grid; grid-template-columns: 1fr; }
.hero__strip li { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0; font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: #c3cdd9; }
.hero__strip li:not(:last-child) { display: none; }
.hero__strip .icon { color: var(--gold-light); width: 1.25rem; height: 1.25rem; }
.hero__dots { position: absolute; right: var(--gutter); bottom: 4.5rem; display: none; gap: 0.5rem; }
.hero__dots button { width: 28px; height: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, 0.35); transition: background-color 0.3s, width 0.3s; }
.hero__dots button.is-active { background: var(--gold-light); width: 44px; }
.hero__dots button::after { content: ""; position: absolute; inset: -12px 0; }
.hero__dots button { position: relative; }

@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.js [data-anim] { opacity: 0; animation: rise 0.9s var(--ease) forwards; animation-delay: var(--d, 0s); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--navy-950); padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); }
.page-hero__bg { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; z-index: -2; will-change: transform; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 16, 28, 0.93), rgba(7, 16, 28, 0.62)); }
.page-hero h1 { max-width: 880px; margin-bottom: 1rem; }
.page-hero .lead { color: #d3dbe5; max-width: 680px; margin-bottom: 0; }
.breadcrumb { margin-bottom: 1.5rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: #aebbca; }
.breadcrumb li { display: flex; align-items: center; gap: 0.6rem; }
.breadcrumb li + li::before { content: "/"; color: var(--gold); }
.breadcrumb a { color: #dce4ec; border-bottom: 1px solid transparent; }
.breadcrumb a:hover { border-color: var(--gold-light); }
.breadcrumb [aria-current] { color: var(--gold-light); }
.page-hero .review-badge { margin-top: 1.5rem; }

/* ---------- Split layouts ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); aspect-ratio: 4 / 3; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after { content: ""; position: absolute; inset: 0.9rem; border: 1px solid rgba(212, 185, 131, 0.55); pointer-events: none; transition: inset 0.5s var(--ease); }
.media-frame:hover::after { inset: 0.5rem; }
.zoom img { transition: transform 0.9s var(--ease); }
.zoom:hover img { transform: scale(1.06); }

.check-list { display: grid; gap: 0.7rem; margin: 1.25rem 0 1.75rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.check-list .icon { color: var(--gold-dark); width: 1.2rem; height: 1.2rem; margin-top: 0.3rem; }
.on-dark .check-list .icon, .section--dark .check-list .icon { color: var(--gold-light); }

.values { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin: 1.5rem 0 2rem; }
.values li { padding: 0.9rem 1rem; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: var(--fs-sm); display: flex; align-items: center; gap: 0.6rem; }
.values .icon { color: var(--gold-dark); width: 1.2rem; height: 1.2rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: 1fr; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11, 24, 39, 0.14); border-color: var(--gold); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-900); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__icon {
  position: absolute; left: 1rem; bottom: 1rem; width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--gold); color: var(--navy-950); border-radius: var(--radius); z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}
.card__icon .icon { width: 1.5rem; height: 1.5rem; }
.card__body { padding: 1.5rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.card__body h3 { margin: 0; font-size: 1.25rem; line-height: 1.3; min-height: 2.6em; }
.card__body p, .card__desc { color: var(--muted); font-size: var(--fs-sm); margin: 0; line-height: 1.55; }
.card__desc { flex: 1; min-height: 4.65em; }
.card__body .text-link { margin-top: auto; padding-top: 0.25rem; }
.card__tag { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); }
.profile__bio { min-height: 4.8em; }
.quote-card p { min-height: 5.4em; }

.feature-grid { display: grid; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); grid-template-columns: 1fr; }
.feature { background: var(--navy-900); padding: 2rem 1.75rem; transition: background-color 0.4s var(--ease); }
.feature:hover { background: var(--navy-800); }
.feature .icon { width: 2.25rem; height: 2.25rem; color: var(--gold-light); margin-bottom: 1.1rem; }
.feature h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature p { color: #b9c5d3; font-size: var(--fs-sm); margin: 0; }

.industry-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); padding: 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; }
.industry-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--gold); transition: width 0.5s var(--ease); }
.industry-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 30px rgba(11, 24, 39, 0.1); }
.industry-card:hover::before { width: 100%; }
.industry-card .icon { width: 2.1rem; height: 2.1rem; color: var(--gold-dark); }
.industry-card h3 { font-size: 1.2rem; margin: 0.25rem 0 0; }
.industry-card p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.industry-card .review-badge { align-self: flex-start; margin-top: 0.5rem; }

/* alternating capability rows */
.showcase { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.showcase__row { display: grid; gap: 1.75rem; align-items: center; }
.showcase__row h3 { font-size: clamp(1.5rem, 2.2vw + 0.8rem, 2.15rem); }

/* process */
.steps { display: grid; gap: 1.5rem; counter-reset: step; grid-template-columns: 1fr; }
.step { position: relative; padding: 1.75rem 1.5rem 1.75rem; border: 1px solid var(--line-light); background: rgba(255, 255, 255, 0.03); transition: border-color 0.4s, background-color 0.4s; }
.step:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.06); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-size: 2.75rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 0.9rem; }
.step h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.step p { margin: 0; color: #b9c5d3; font-size: var(--fs-sm); }
.steps--light .step { border-color: var(--line); background: var(--white); }
.steps--light .step:hover { border-color: var(--gold); background: var(--white); }
.steps--light .step h3 { color: var(--navy-900); }
.steps--light .step p { color: var(--muted); }
.steps--light .step::before { color: var(--gold-dark); }

/* ---------- Profiles (leadership) ---------- */
.profile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s; }
.profile:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11, 24, 39, 0.14); border-color: var(--gold); }
.profile__photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-900); position: relative; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.profile:hover .profile__photo img { transform: scale(1.05); }
.profile__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.profile__role { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--gold-dark); }
.profile__body h3 { margin: 0; font-size: 1.35rem; }
.profile__body p { font-size: var(--fs-sm); color: var(--muted); margin: 0.4rem 0; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 0.5rem; }
.tags li { font-size: 0.75rem; padding: 0.25rem 0.65rem; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: var(--ivory); }

/* ---------- Logos (clients) ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.logo-tile {
  aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 1.1rem 1rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.4s, transform 0.4s var(--ease), box-shadow 0.4s;
}
.logo-tile:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11, 24, 39, 0.1); }
.logo-tile img {
  max-width: 92%; max-height: 88px; width: auto; height: auto; object-fit: contain;
  filter: none; opacity: 1; transition: transform 0.35s var(--ease);
}
.logo-tile:hover img { transform: scale(1.04); }

.empty-panel { border: 1px dashed rgba(143, 111, 58, 0.6); background: var(--white); padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--radius); text-align: center; max-width: 780px; margin-inline: auto; }
.empty-panel .icon { width: 2.5rem; height: 2.5rem; margin: 0 auto 1rem; color: var(--gold-dark); }
.empty-panel h3 { margin-bottom: 0.5rem; }
.empty-panel p { color: var(--muted); margin-bottom: 1rem; }

.quote-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .quote-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .quote-grid { grid-template-columns: repeat(2, 1fr); } }
.quote-card { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; height: 100%; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s; }
.quote-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(11, 24, 39, 0.12); border-color: var(--gold); }
.quote-card p { margin: 0; color: var(--ink); font-size: var(--fs-md); line-height: 1.65; font-style: italic; flex: 1; }
.quote-card footer { display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem 1rem; }
.quote-card cite { font-style: normal; font-size: var(--fs-sm); font-weight: 600; color: var(--navy-900); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.filter-btn { min-height: 44px; padding: 0.55rem 1.15rem; background: var(--white); border: 1px solid var(--line); border-radius: 99px; font-size: var(--fs-sm); font-weight: 500; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.filter-btn:hover { border-color: var(--gold); }
.filter-btn[aria-pressed="true"] { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.filter-item { transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.filter-item.is-hiding { opacity: 0; transform: scale(0.96); }
.filter-item[hidden] { display: none !important; }
.filter-status { font-size: var(--fs-sm); color: var(--muted); margin: -1rem 0 1.5rem; min-height: 1.5em; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 0.75rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.3s, box-shadow 0.3s; }
.faq details[open] { border-color: var(--gold); box-shadow: 0 10px 26px rgba(11, 24, 39, 0.08); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 1.35rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark); transform: rotate(45deg) translateY(-3px); transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .faq__a { padding: 0 1.35rem 1.35rem; color: var(--muted); animation: faqIn 0.45s var(--ease); }
.faq .faq__a p:last-child { margin-bottom: 0; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- CTA band ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: var(--white); text-align: center; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.55; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7, 16, 28, 0.78); }
.cta h2 { color: var(--white); max-width: 760px; margin-inline: auto; }
.cta p { color: #c3cdd9; max-width: 640px; margin: 0 auto 2rem; font-size: var(--fs-lg); }
.cta .btn-row { justify-content: center; }

/* ---------- Service page blocks ---------- */
.app-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: 1fr; }
.app { background: var(--white); padding: 1.5rem; }
.app h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.app p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.aside-box { background: var(--navy-900); color: #dce4ec; padding: 1.75rem; border-radius: var(--radius); border-top: 3px solid var(--gold); }
.aside-box h3 { color: var(--white); font-size: 1.2rem; }
.aside-box .check-list .icon { color: var(--gold-light); }
.notice { border-left: 3px solid var(--gold); background: rgba(185, 151, 91, 0.12); padding: 1rem 1.25rem; font-size: var(--fs-sm); color: var(--ink); margin: 1.5rem 0; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.3s, transform 0.3s var(--ease); }
a.contact-card:hover { border-color: var(--gold); transform: translateX(4px); }
.contact-card .icon { color: var(--gold-dark); width: 1.6rem; height: 1.6rem; margin-top: 0.15rem; }
.contact-card h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin: 0 0 0.15rem; }
.contact-card p { margin: 0; color: var(--muted); font-size: var(--fs-sm); overflow-wrap: anywhere; }

.form { background: var(--white); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field .req { color: #a02b2b; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem; font: inherit; color: var(--ink); background: var(--ivory);
  border: 1px solid rgba(19, 32, 46, 0.3); border-radius: var(--radius); transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(185, 151, 91, 0.35); background: var(--white); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #a02b2b; background: #fdf4f4; }
.field__error { color: #a02b2b; font-size: var(--fs-xs); font-weight: 600; min-height: 1.2em; }
.field__hint { font-size: var(--fs-xs); color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 1rem 1.15rem; border-radius: var(--radius); font-size: var(--fs-sm); border: 1px solid; }
.form-status[hidden] { display: none; }
.form-status--success { background: #eef7f1; border-color: #4a8a65; color: #1e4a31; }
.form-status--error { background: #fdf0f0; border-color: #b04040; color: #6d1f1f; }
.form-status--info { background: #fbf6ea; border-color: var(--gold-dark); color: #4b3a17; }
.form-status a { text-decoration: underline; font-weight: 600; }
.map-box { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); overflow: hidden; }
.map-box__art { aspect-ratio: 16 / 7; background: var(--navy-900); }
.map-box__art img { width: 100%; height: 100%; object-fit: cover; }
.map-box__body { padding: 1.25rem 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.map-box__body p { margin: 0; font-size: var(--fs-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #b9c5d3; padding-top: clamp(3rem, 6vw, 5rem); border-top: 3px solid var(--gold); }
.footer-grid { display: grid; gap: 2.25rem; padding-bottom: 3rem; grid-template-columns: 1fr; }
.footer-brand p { font-size: var(--fs-sm); max-width: 380px; margin-top: 1.1rem; }
.site-footer h3 { font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.1rem; font-weight: 600; }
.footer-links { display: grid; gap: 0.15rem; }
.footer-links a { display: inline-block; padding: 0.35rem 0; font-size: var(--fs-sm); transition: color 0.25s, transform 0.25s var(--ease); }
.footer-links a:hover { color: var(--white); transform: translateX(4px); }
.footer-contact li { display: flex; gap: 0.7rem; padding: 0.4rem 0; font-size: var(--fs-sm); align-items: flex-start; }
.footer-contact .icon { color: var(--gold-light); width: 1.15rem; height: 1.15rem; margin-top: 0.3rem; }
.footer-contact a:hover { color: var(--white); }
.footer-contact span, .footer-contact a { overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid var(--line-light); padding: 1.25rem 0; font-size: var(--fs-xs); display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; align-items: center; }
.footer-bottom p { margin: 0; }
.to-top { position: fixed; right: 1rem; bottom: 1rem; width: 48px; height: 48px; display: grid; place-items: center; background: var(--gold); color: var(--navy-950); border: 0; border-radius: var(--radius); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s linear 0.3s, background-color 0.3s; z-index: 150; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s, background-color 0.3s; }
.to-top:hover { background: var(--gold-light); }
.to-top .icon { width: 1.3rem; height: 1.3rem; }

/* ---------- Scroll reveal ---------- */
/* Uses the independent `translate` property so it never fights hover `transform`s.
   main.js removes the .reveal class once the entrance finishes, so each component's own transitions take over. */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity 0.75s var(--ease), translate 0.75s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }
.js .filter-item.is-hiding { opacity: 0; transform: scale(0.96); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js [data-anim] { opacity: 1 !important; transform: none !important; translate: none !important; }
  .page-hero__bg { transform: none !important; }
}
