/* =========================================================================
   M/s Anupam Sharma & Co. — Master Stylesheet
   Chartered Accountants · Patna, Bihar
   -------------------------------------------------------------------------
   SECTIONS
   01. Design tokens (colours, type, spacing, motion)
   02. Reset & base
   03. Typography
   04. Layout primitives (container, section, headers)
   05. Buttons & links
   06. Master Header
   07. Master Footer
   08. Hero
   09. Legacy / Introduction
   10. About Us
   11. Services
   12. Why Us
   13. Values
   14. Industries
   15. Firm's Updates
   16. CTA band
   17. Utilities & accessibility
   18. INTERNAL PAGES — shared building blocks (Phase 2+)
   ========================================================================= */


/* -------------------------------------------------------------------------
   01. DESIGN TOKENS
   Derived from the brand identity: deep navy, professional blue, gold,
   white, light blue, neutral grey.
   ------------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --primary:        #0b2545;   /* deep navy — headlines, brand */
  --primary-dark:   #071a33;   /* darker navy — footer, hero bg */
  --primary-light:  #143a6b;   /* navy tint */
  --secondary:      #1e5aa8;   /* professional blue */
  --secondary-light:#2e6fc0;
  --gold:           #d4a72c;   /* signature gold accent */
  --gold-light:     #e8c568;
  --gold-soft:      rgba(212, 167, 44, 0.12);

  --light-blue:     #eef4fb;
  --white:          #ffffff;
  --off-white:      #fafbfd;
  --dark:           #071a33;
  --text:           #1f2a3a;
  --muted:          #5a6b7d;
  --border:         #e2e8f0;
  --bg-soft:        #f6f8fb;

  /* Typography */
  --font-display: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Sizing */
  --container:        1240px;
  --container-narrow: 960px;
  --gutter:           clamp(1.25rem, 3vw, 2rem);
  --header-h:         92px;
  --header-h-scrolled:72px;

  /* Radii */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.06);
  --shadow:    0 10px 30px -18px rgba(11, 37, 69, 0.28);
  --shadow-lg: 0 30px 60px -30px rgba(11, 37, 69, 0.35);

  /* Motion */
  --ease:   cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms;
  --t:      300ms;
  --t-slow: 500ms;
}


/* -------------------------------------------------------------------------
   02. RESET & BASE
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-scrolled) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

figure {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--gold);
  color: var(--primary);
}


/* -------------------------------------------------------------------------
   03. TYPOGRAPHY
   ------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--primary);
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.15; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.3; }
h4 { font-size: 1.05rem; line-height: 1.35; }

p {
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.eyebrow--light {
  color: var(--gold);
}


/* -------------------------------------------------------------------------
   04. LAYOUT PRIMITIVES
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.section-head--split > div {
  max-width: 720px;
}

.section-title {
  color: var(--primary);
  letter-spacing: -0.015em;
}

.section-sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 56ch;
}

.section-text {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.75;
}

.section-text + .section-text {
  margin-top: 1rem;
}

.section-foot {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  justify-content: center;
}


/* -------------------------------------------------------------------------
   05. BUTTONS & LINKS
   ------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  overflow: hidden;
  cursor: pointer;
  transition:
    background var(--t) var(--ease),
    color var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    transform var(--t) var(--ease);
}

.btn__arrow {
  display: inline-block;
  transition: transform var(--t) var(--ease);
}

.btn:hover .btn__arrow,
.btn:focus-visible .btn__arrow {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 14px 30px -14px rgba(11, 37, 69, 0.6);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--gold);
  color: var(--gold);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--primary);
  color: var(--white);
}

.btn--gold {
  background: var(--gold);
  color: var(--primary);
  border-color: var(--gold);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 14px 30px -14px rgba(212, 167, 44, 0.55);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--primary);
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease);
}

.link-arrow:hover,
.link-arrow:focus-visible {
  color: var(--secondary);
  border-color: var(--secondary);
}

.link-arrow__icon {
  display: inline-block;
  transition: transform var(--t) var(--ease);
}

.link-arrow:hover .link-arrow__icon,
.link-arrow:focus-visible .link-arrow__icon {
  transform: translateX(4px);
}


/* -------------------------------------------------------------------------
   06. MASTER HEADER
   Used by components/header.html — the same block is injected on every page.
   ------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--white);
  background: transparent;
  transition:
    background var(--t) var(--ease),
    height var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    color var(--t) var(--ease);
}

/* Fallback: internal pages WITHOUT a dark hero get a solid white header.
   Pages that opt into `has-dark-hero` on <body> keep the transparent
   base rule above so the navy .page-hero slides underneath. */
body:not(.page-home):not(.has-dark-hero) .site-header {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 1px 0 var(--border);
}

/* Scrolled state (applied by JS on every page) */
.site-header.is-scrolled {
  height: var(--header-h-scrolled);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  box-shadow: 0 1px 0 var(--border), 0 16px 40px -28px rgba(11, 37, 69, 0.4);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Brand block ------------------------------------------------------------- */
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  flex-shrink: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}

.brand:hover .brand__mark,
.brand:focus-visible .brand__mark {
  background: var(--gold);
  color: var(--primary);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: inherit;
}

.brand__role {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-top: 0.28rem;
}
/* ============================================================
   BRAND LOGO — replaces the previous "AS" monogram mark
   ============================================================ */

.brand__logo {
  flex: none;
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  background: #0b2545; /* fallback backdrop while the JPG loads */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  /* subtle gold ring, matching the existing design language */
  box-shadow: 0 0 0 1px rgba(212, 167, 44, 0.25);
}

.brand:hover .brand__logo,
.brand:focus-visible .brand__logo {
  transform: scale(1.03);
  box-shadow: 0 0 0 2px rgba(212, 167, 44, 0.55);
}

/* Mobile — slightly smaller logo so the header stays compact */
@media (max-width: 720px) {
  .brand__logo {
    width: 42px;
    height: 42px;
    border-radius: 8px;
  }
}
/* Desktop navigation ------------------------------------------------------ */
.nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: inherit;
  padding: 0.55rem 0;
  position: relative;
  transition: color var(--t) var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link.is-active {
  color: var(--gold);
}

.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

/* Dropdowns (desktop) ----------------------------------------------------- */
.nav__item--has-dropdown > .nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav__item--has-dropdown > .nav__link::before {
  content: "";
  order: 2;
  width: 6px;
  height: 6px;
  margin-left: 0.15rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--t) var(--ease);
}

.nav__item--has-dropdown:hover > .nav__link::before,
.nav__item--has-dropdown:focus-within > .nav__link::before {
  transform: rotate(225deg) translateY(-1px);
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -1rem;
  min-width: 230px;
  padding: 0.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity var(--t) var(--ease),
    transform var(--t) var(--ease),
    visibility var(--t) var(--ease);
}

.nav__item--has-dropdown:hover > .nav__dropdown,
.nav__item--has-dropdown:focus-within > .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown a {
  display: block;
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}

.nav__dropdown a:hover,
.nav__dropdown a:focus-visible {
  background: var(--light-blue);
  color: var(--primary);
}

/* Hamburger --------------------------------------------------------------- */
.nav__toggle {
  display: none;
  position: relative;
  z-index: 110;
  width: 44px;
  height: 44px;
  place-items: center;
  color: inherit;
  border-radius: var(--radius-sm);
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}

.nav__toggle-bar::before,
.nav__toggle-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: top var(--t) var(--ease), transform var(--t) var(--ease);
}

.nav__toggle-bar::before { top: calc(50% - 8px); }
.nav__toggle-bar::after  { top: calc(50% + 8px); }

.nav__toggle[aria-expanded="true"] .nav__toggle-bar {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar::before {
  top: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar::after {
  top: 50%;
  transform: translateX(-50%) rotate(-45deg);
}


/* -------------------------------------------------------------------------
   07. MASTER FOOTER
   Used by components/footer.html — injected on every page.
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
}

.footer__top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.footer__brand .brand {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer__brand .brand__mark {
  border-color: var(--gold);
}

.footer__tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 32ch;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer__brandline {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.4rem;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.68);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--gold);
  padding-left: 4px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding-block: 0.3rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--t-fast) var(--ease);
}

.footer__contact-item:hover,
.footer__contact-item:focus-visible {
  color: var(--gold);
}

.footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--gold);
}

.footer__contact-item span {
  word-break: break-word;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  color: inherit;
  transition: color var(--t-fast) var(--ease);
}

.footer__legal a:hover,
.footer__legal a:focus-visible {
  color: var(--gold);
}


/* -------------------------------------------------------------------------
   08. HERO
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  color: var(--white);
  background: var(--primary-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 10%, rgba(212, 167, 44, 0.14), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(30, 90, 168, 0.42), transparent 55%),
    linear-gradient(135deg, #071a33 0%, #0b2545 55%, #102f57 100%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero__content {
  max-width: 640px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(212, 167, 44, 0.45);
}

.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  line-height: 1.06;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero__title-accent {
  color: var(--gold);
  font-style: italic;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.75rem;
}

.hero__text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
  margin-bottom: 2.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero__meta li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.55rem;
}

.hero__visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--primary-light);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 26, 51, 0.5) 100%);
  pointer-events: none;
}

.hero__frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -14px;
  right: -14px;
  width: 42%;
  height: 42%;
  border-top: 1.5px solid var(--gold);
  border-right: 1.5px solid var(--gold);
  border-top-right-radius: var(--radius);
  pointer-events: none;
}

.hero__chip {
  position: absolute;
  bottom: 2rem;
  left: -1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.2rem;
  background: var(--white);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.hero__chip-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(212, 167, 44, 0.18);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--t) var(--ease);
}

.hero__scroll:hover,
.hero__scroll:focus-visible {
  color: var(--gold);
}

.hero__scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  display: block;
}


/* -------------------------------------------------------------------------
   09. LEGACY
   ------------------------------------------------------------------------- */
.legacy {
  background: var(--white);
}

.legacy__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.legacy__intro .link-arrow {
  margin-top: 1.75rem;
}

.legacy__pillars {
  display: grid;
  gap: 1.25rem;
}

.pillar {
  position: relative;
  padding: 1.6rem 1.75rem 1.6rem 5rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease),
    background var(--t) var(--ease);
}

.pillar:hover {
  transform: translateY(-3px);
  background: var(--white);
  border-color: rgba(212, 167, 44, 0.35);
  box-shadow: var(--shadow);
}

.pillar__index {
  position: absolute;
  top: 1.6rem;
  left: 1.75rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
}

.pillar__title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.55rem;
}

.pillar__text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}


/* -------------------------------------------------------------------------
   10. ABOUT US
   ------------------------------------------------------------------------- */
.about {
  background: var(--bg-soft);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.about__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 5 / 6;
  background: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__media::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 1.5rem;
  left: 1.5rem;
  width: 56px;
  height: 56px;
  border-top: 1.5px solid var(--gold);
  border-left: 1.5px solid var(--gold);
  pointer-events: none;
}

.about__points {
  margin: 1.75rem 0;
  display: grid;
  gap: 0.85rem;
}

.about__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

.about__point-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: relative;
  margin-top: 0.1rem;
}

.about__point-mark::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg) translate(-1px, -1px);
}


/* -------------------------------------------------------------------------
   11. SERVICES
   ------------------------------------------------------------------------- */
.services {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  overflow: hidden;
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease);
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(212, 167, 44, 0.35);
  box-shadow: 0 22px 40px -22px rgba(11, 37, 69, 0.35);
}

.service-card:hover::before,
.service-card:focus-visible::before {
  transform: scaleX(1);
}

.service-card__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.service-card__title {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.service-card__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-card__arrow {
  display: inline-block;
  margin-top: auto;
  font-size: 1.1rem;
  color: var(--primary);
  transition: transform var(--t) var(--ease), color var(--t) var(--ease);
}

.service-card:hover .service-card__arrow,
.service-card:focus-visible .service-card__arrow {
  transform: translateX(6px);
  color: var(--gold);
}


/* -------------------------------------------------------------------------
   12. WHY US
   ------------------------------------------------------------------------- */
.why {
  background: var(--bg-soft);
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.why__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 6;
  background: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.why__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why__media-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 50%;
  height: 50%;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  border-bottom-right-radius: var(--radius);
  pointer-events: none;
}

.why__list {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.why-item {
  position: relative;
  padding: 1.35rem 1.5rem 1.35rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}

.why-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  bottom: 1.25rem;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t) var(--ease);
}

.why-item:hover {
  border-color: rgba(212, 167, 44, 0.35);
  transform: translateX(4px);
}

.why-item:hover::before {
  transform: scaleY(1);
}

.why-item__title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.why-item__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}


/* -------------------------------------------------------------------------
   13. VALUES
   ------------------------------------------------------------------------- */
.values {
  background: var(--white);
}

.values__list {
  display: flex;
  flex-direction: column;
}

.value-row {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(180px, 1fr) 2fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.85rem 0;
  border-top: 1px solid var(--border);
  transition: padding var(--t) var(--ease), background var(--t) var(--ease);
  cursor: default;
}

.value-row:last-child {
  border-bottom: 1px solid var(--border);
}

.value-row:hover,
.value-row:focus-visible {
  background: var(--light-blue);
  padding-inline: 1.5rem;
}

.value-row__index {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--muted);
  transition: color var(--t) var(--ease);
}

.value-row:hover .value-row__index,
.value-row:focus-visible .value-row__index {
  color: var(--gold);
}

.value-row__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--primary);
  line-height: 1.2;
}

.value-row__text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 56ch;
}

.value-row__line {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width var(--t-slow) var(--ease);
}

.value-row:hover .value-row__line,
.value-row:focus-visible .value-row__line {
  width: 100%;
}


/* -------------------------------------------------------------------------
   14. INDUSTRIES
   ------------------------------------------------------------------------- */
.industries {
  background: var(--bg-soft);
}

.industry-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.industry-list {
  display: flex;
  flex-direction: column;
}

.industry-item {
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0.5rem;
  border-top: 1px solid var(--border);
  text-align: left;
  color: var(--text);
  position: relative;
  transition:
    padding var(--t) var(--ease),
    background var(--t) var(--ease);
}

.industry-item:last-child {
  border-bottom: 1px solid var(--border);
}

.industry-item:hover,
.industry-item:focus-visible {
  padding-left: 1.15rem;
  background: var(--white);
}

.industry-item__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--muted);
  transition: color var(--t) var(--ease);
}

.industry-item__label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--primary);
  line-height: 1.25;
  transition: color var(--t) var(--ease);
}

.industry-item__arrow {
  font-size: 1.05rem;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}

.industry-item:hover .industry-item__arrow,
.industry-item:focus-visible .industry-item__arrow,
.industry-item.is-active .industry-item__arrow {
  opacity: 1;
  transform: translateX(0);
}

.industry-item.is-active .industry-item__num {
  color: var(--gold);
}

.industry-item.is-active .industry-item__label {
  font-weight: 600;
}

.industry-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.industry-panel__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--primary-light);
}

.industry-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}

.industry-panel:hover .industry-panel__media img {
  transform: scale(1.03);
}

.industry-panel__body {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.industry-panel__title {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.industry-panel__text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}


/* -------------------------------------------------------------------------
   15. FIRM'S UPDATES
   ------------------------------------------------------------------------- */
.updates {
  background: var(--white);
}

.update-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.update-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  overflow: hidden;
  transition:
    transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}

.update-card:hover,
.update-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(212, 167, 44, 0.35);
  box-shadow: 0 20px 40px -25px rgba(11, 37, 69, 0.35);
}

.update-card__meta {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  padding: 0.3rem 0.7rem;
  background: var(--light-blue);
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.update-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.update-card__text {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.update-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-top: auto;
  transition: color var(--t) var(--ease);
}

.update-card:hover .update-card__link {
  color: var(--secondary);
}

.update-card__arrow {
  display: inline-block;
  transition: transform var(--t) var(--ease);
}

.update-card:hover .update-card__arrow,
.update-card:focus-visible .update-card__arrow {
  transform: translateX(5px);
}


/* -------------------------------------------------------------------------
   16. CTA BAND
   ------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 180%;
  background: radial-gradient(circle, rgba(212, 167, 44, 0.16), transparent 60%);
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band__content {
  max-width: 640px;
}

.cta-band__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-band__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 52ch;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.cta-band__contact {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid transparent;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease);
}

.cta-band__contact:hover,
.cta-band__contact:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}


/* -------------------------------------------------------------------------
   17. UTILITIES & ACCESSIBILITY
   ------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  transition: top var(--t) var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* JS off: reveal elements must be visible -------------------------------- */
.no-js .reveal,
.no-js .reveal-up,
.no-js .reveal-left,
.no-js .reveal-right,
.no-js .reveal-scale,
.no-js .reveal-image {
  opacity: 1 !important;
  transform: none !important;
}

/* Prevent background scroll when mobile nav is open */
body.nav-open {
  overflow: hidden;
}

/* Non-home pages: offset for the fixed header ---------------------------- */
body:not(.page-home) main {
  padding-top: var(--header-h);
}


/* -------------------------------------------------------------------------
   18. INTERNAL PAGES — shared building blocks (Phase 2+)
   Used by about-*, services, service-*, industries, updates, careers, contact.
   Every internal page should carry `has-dark-hero` on <body> so the fixed
   header stays transparent over the .page-hero (nav.js handles the scrolled
   solid state).
   ------------------------------------------------------------------------- */

/* Page hero — dark navy intro block at the top of every internal page */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #10305a 100%);
  /* Pull the hero under the fixed header, then pad content below it */
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(2.75rem, 5vw, 4rem)) 0 clamp(2.75rem, 5vw, 4rem);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 25% 50%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 25% 50%, #000 20%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 55%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 167, 44, 0.14), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.page-hero__title {
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 22ch;
}
.page-hero__sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 60ch;
}

/* Breadcrumb — sits inside .page-hero, white text on navy */
.breadcrumb {
  margin-bottom: 1.5rem;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: rgba(255, 255, 255, 0.3);
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--t) var(--ease);
}
.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--gold);
}
.breadcrumb [aria-current="page"] {
  color: var(--gold);
  font-weight: 500;
}

/* Pillars — reusable container (companion to .pillar items above) */
.pillars {
  display: grid;
  gap: 1.25rem;
}

/* Quote block — premium pull-quote */
.quote-block {
  padding-block: clamp(3rem, 6vw, 5rem);
  text-align: center;
  max-width: 840px;
  margin-inline: auto;
}
.quote-block__mark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.8;
  color: var(--gold);
  margin-bottom: 1rem;
}
.quote-block__text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.4;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.quote-block__attr {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Flush section — removes default padding, delegates to inner block */
.section--flush {
  padding-block: 0;
}


/* ============================================================
   MEGA MENU — Our Services (7 categories + sub-services)
   ============================================================ */

.header__inner { position: relative; }
.nav__item--mega { position: static; }

/* ---------- Desktop ≥ 961px ---------- */
@media (min-width: 961px) {

  .nav__item--mega > .nav__mega {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translate(-50%, 10px);
    width: min(1080px, calc(100vw - 48px));
    display: grid;
    grid-template-columns: 340px 1fr;
    background: #ffffff;
    border: 1px solid rgba(11, 37, 69, 0.08);
    border-radius: 16px;
    box-shadow: 0 28px 70px rgba(11, 37, 69, 0.18);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    z-index: 60;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }

  .nav__item--mega:hover > .nav__mega,
  .nav__item--mega:focus-within > .nav__mega {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  /* Left column — category list */
  .mega__cats {
    list-style: none;
    margin: 0;
    padding: 8px;
    border-right: 1px solid rgba(11, 37, 69, 0.08);
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .mega__cat-link {
    display: grid;
    grid-template-columns: 34px 1fr 18px;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    color: #0b2545;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
  }

  .mega__cat-num {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: #d4a72c;
    font-weight: 600;
  }

  .mega__cat-arrow {
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    color: #d4a72c;
  }

  .mega__cat:hover .mega__cat-link,
  .mega__cat.is-active .mega__cat-link {
    background: rgba(11, 37, 69, 0.05);
  }

  .mega__cat:hover .mega__cat-arrow,
  .mega__cat.is-active .mega__cat-arrow {
    opacity: 1;
    transform: translateX(0);
  }

  /* Right column — sub-service panels */
  .mega__panels {
    position: relative;
    padding: 18px 24px;
    min-height: 260px;
  }

  .mega__panel { display: none; }
  .mega__panel.is-active { display: block; }

  .mega__panel-title {
    margin: 0 0 14px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0b2545;
  }

  .mega__sub {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 24px;
  }

  .mega__sub a {
    display: block;
    padding: 7px 0;
    font-family: "Inter", sans-serif;
    font-size: 0.87rem;
    color: #33415c;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.16s ease, border-color 0.16s ease;
  }

  .mega__sub a:hover,
  .mega__sub a:focus-visible {
    color: #0b2545;
    border-bottom-color: #d4a72c;
  }

  .mega__all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #0b2545;
    text-decoration: none;
    border-bottom: 1px solid #d4a72c;
    padding-bottom: 2px;
  }

  .mega__all:hover { color: #d4a72c; }
}

/* ---------- Mobile ≤ 960px ---------- */
@media (max-width: 960px) {

  .nav__mega {
    display: none;
    padding: 4px 0 10px;
  }

  .nav__item--mega.is-open > .nav__mega { display: block; }

  .mega__cats {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mega__cat { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }

  .mega__cat-link {
    display: grid;
    grid-template-columns: 30px 1fr 16px;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
  }

  .mega__cat-num {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: #d4a72c;
    font-weight: 600;
  }

  .mega__cat-arrow { color: #d4a72c; }

  .mega__panel { display: block; padding: 2px 0 14px 30px; }

  .mega__panel-title { display: none; }

  .mega__sub {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
  }

  .mega__sub a {
    display: block;
    padding: 7px 0;
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    color: inherit;
    opacity: 0.85;
    text-decoration: none;
  }

  .mega__sub a:hover { opacity: 1; }

  .mega__all {
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #d4a72c;
    text-decoration: none;
    padding: 2px 0;
  }
}