/* ============================================================
   LexAnalytico — Premium Legal & IP Services
   Design System: styles.css
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */
:root {
  /* Colors — LexAnalytico Brand Guidelines v1.0 */
  --navy:          #012169;  /* Heading Navy */
  --navy-light:    #012B6E;  /* Surface Navy */
  --navy-dim:      rgba(1, 33, 105, 0.85);
  --gold:          #FFCC00;  /* Accent Yellow — signal, never a surface */
  --gold-dark:     #CC9E00;
  --gold-light:    rgba(255, 204, 0, 0.15);
  --white:         #FFFFFF;
  --pearl:         #F5F8FC;
  --pearl-dark:    #EAF0F8;
  --slate:         #454F5E;  /* Body Text */
  --slate-light:   #6B7684;
  --slate-faint:   #98A2AF;
  --border:        #E0EAF5;  /* Soft Blue */

  /* Typography */
  --font-serif:    'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans:     'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --container:     1240px;
  --section-py:    90px;
  --section-py-sm: 60px;
  --card-radius:   12px;
  --btn-radius:    6px;

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(1, 33, 105, 0.06);
  --shadow-md:     0 4px 20px rgba(1, 33, 105, 0.10);
  --shadow-lg:     0 8px 40px rgba(1, 33, 105, 0.14);
  --shadow-gold:   0 4px 24px rgba(255, 204, 0, 0.25);

  /* Transitions */
  --transition:    0.25s ease;
  --transition-slow: 0.4s ease;

  /* Heights */
  --above-nav-h:   48px;
  --nav-h:         72px;
  --header-total:  120px; /* above + primary */
}

/* ============================================================
   2. CSS RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--slate);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-sans);
}

input, textarea, select {
  font-family: var(--font-sans);
}

/* ============================================================
   3. TYPOGRAPHY SCALE
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.25rem); }
h5 { font-size: clamp(0.9rem, 1.2vw, 1.1rem); }

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate);
}

.section-overline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-light);
  max-width: 640px;
  line-height: 1.7;
}

.related-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.related-services-list a {
  display: block;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  color: var(--slate);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.related-services-list a:hover,
.related-services-list a:focus-visible {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.related-services-list strong {
  color: var(--navy);
}

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
}

.section--pearl {
  background-color: var(--pearl);
}

.section--navy {
  background-color: var(--navy);
}

.section--navy h2,
.section--navy h3,
.section--navy h4,
.section--navy .section-title {
  color: var(--white);
}

.section--navy .section-subtitle,
.section--navy p {
  color: rgba(255,255,255,0.75);
}

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--btn-radius);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn--gold {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: inset 0 -3px 0 var(--gold);
}
.btn--gold:hover {
  background-color: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: inset 0 -3px 0 var(--gold), var(--shadow-md);
}

.btn--outline-gold {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--gold);
}
.btn--outline-gold:hover {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn--navy {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--navy:hover {
  background-color: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
}

/* ============================================================
   6. HEADER — ABOVE NAV BAR
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.above-nav {
  background-color: var(--navy);
  height: var(--above-nav-h);
  display: flex;
  align-items: center;
}

.above-nav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.above-nav__logo a {
  display: flex;
  align-items: center;
}

.above-nav__logo img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
}

.above-nav__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color var(--transition);
}
.contact-item:hover { color: var(--gold); }

.contact-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: var(--gold);
}

.flag-icon {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
}

.above-nav__search {
  display: flex;
  align-items: center;
}

.search-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  padding: 4px 14px;
  gap: 8px;
  transition: background var(--transition);
}
.search-form:focus-within {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
}

.search-form input {
  background: none;
  border: none;
  outline: none;
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-family: var(--font-sans);
  width: 180px;
}
.search-form input::placeholder { color: rgba(255,255,255,0.5); }

.search-form svg {
  width: 13px;
  height: 13px;
  fill: rgba(255,255,255,0.55);
  flex-shrink: 0;
}

/* ============================================================
   7. PRIMARY NAV
   ============================================================ */
.primary-nav {
  background-color: var(--white);
  height: var(--nav-h);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.primary-nav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   8. MEGA-MENU NAVIGATION
   ============================================================ */
.mega-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mega-menu__item {
  position: relative;
}

.mega-menu__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: 4px;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.mega-menu__link:hover,
.mega-menu__item.is-active > .mega-menu__link,
.mega-menu__item:hover > .mega-menu__link {
  color: var(--gold);
  background-color: var(--gold-light);
}

.mega-menu__link .arrow-icon {
  width: 10px;
  height: 10px;
  fill: currentColor;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.mega-menu__item:hover .arrow-icon,
.mega-menu__item.is-stuck .arrow-icon {
  transform: rotate(180deg);
}

/* --- Dropdown & Mega Panels --- */
.mega-menu__dropdown,
.mega-menu__panel {
  position: absolute;
  /* Flush against the link (no gap) so the cursor never crosses a
     dead zone between the trigger and the panel — a real gap here
     drops the :hover state mid-move and makes the menu vanish
     intermittently depending on mouse speed/path. The 8px "gap"
     look is preserved purely via the translateY slide below. */
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 999;
  pointer-events: none;
}

.mega-menu__item:hover > .mega-menu__dropdown,
.mega-menu__item:hover > .mega-menu__panel,
.mega-menu__item.is-stuck > .mega-menu__dropdown,
.mega-menu__item.is-stuck > .mega-menu__panel,
.mega-menu__item:focus-within > .mega-menu__dropdown,
.mega-menu__item:focus-within > .mega-menu__panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Small dropdown (Tech Law, Insights) */
.mega-menu__dropdown {
  min-width: 240px;
  padding: 8px;
}

.mega-menu__dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate);
  border-radius: 6px;
  transition: all var(--transition);
}
.mega-menu__dropdown a:hover {
  background-color: var(--gold-light);
  color: var(--navy);
  padding-left: 20px;
}

/* Large mega-panel */
.mega-menu__panel {
  width: max-content;
  min-width: 680px;
  padding: 28px;
  left: 0;
  transform: translateY(-8px);
}

.mega-menu__item:hover > .mega-menu__panel,
.mega-menu__item.is-stuck > .mega-menu__panel,
.mega-menu__item:focus-within > .mega-menu__panel {
  transform: translateY(0);
}

/* For panels that need to align differently */
.mega-menu__item:last-child .mega-menu__panel,
.mega-menu__item:nth-last-child(2) .mega-menu__panel {
  left: auto;
  right: 0;
  transform: translateY(-8px);
}
.mega-menu__item:last-child:hover .mega-menu__panel,
.mega-menu__item:nth-last-child(2):hover .mega-menu__panel {
  transform: translateY(0);
}

.mega-panel__grid {
  display: grid;
  gap: 0 32px;
}

.mega-panel__grid--4col { grid-template-columns: repeat(4, 1fr); }
.mega-panel__grid--3col { grid-template-columns: repeat(3, 1fr); }
.mega-panel__grid--2col { grid-template-columns: repeat(2, 1fr); }
.mega-panel__grid--1col { grid-template-columns: 1fr; }

.mega-panel__col { }

.mega-panel__col-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold);
}

.mega-panel__col ul { display: flex; flex-direction: column; gap: 2px; }

.mega-panel__col ul li a {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--slate);
  padding: 6px 8px;
  border-radius: 4px;
  transition: all var(--transition);
  line-height: 1.4;
}

.mega-panel__col ul li a:hover {
  background-color: var(--gold-light);
  color: var(--navy);
  padding-left: 12px;
}

/* Gold accent line on left */
.mega-panel__col ul li a::before {
  content: none;
}

/* ============================================================
   9. MOBILE NAV TOGGLE
   ============================================================ */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger-btn.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-btn.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Sidebar */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 100vw);
  height: 100vh;
  background: var(--navy);
  z-index: 2000;
  padding: 24px;
  overflow-y: auto;
  transition: right var(--transition-slow);
  flex-direction: column;
}

.mobile-nav.is-open {
  right: 0;
}

.mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.mobile-nav__close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 1.2rem;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.mobile-nav__link:hover, .mobile-nav__link.is-open {
  background: rgba(255,255,255,0.1);
  color: var(--gold);
}

.mobile-nav__submenu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0 8px 16px;
}
.mobile-nav__submenu.is-open { display: flex; }

.mobile-nav__submenu a {
  display: block;
  padding: 8px 12px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all var(--transition);
}
.mobile-nav__submenu a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--gold);
}

.mobile-nav__submenu-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 12px 0 6px;
  padding: 0 12px;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1999;
}
.mobile-overlay.is-open { display: block; }

/* ============================================================
   10. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--navy);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://lexanalytico.com/wp-content/uploads/2025/06/WhatsApp-Image-2025-06-03-at-3.49.04-PM.jpeg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  animation: heroKenBurns 20s ease-in-out infinite alternate;
  transform-origin: center center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(1, 33, 105, 0.88) 0%,
    rgba(1, 33, 105, 0.72) 60%,
    rgba(1, 33, 105, 0.55) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 60px 0;
}

.hero__overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.7s ease 0.2s forwards;
}

.hero__overline::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.7s ease 0.4s forwards;
}

.hero__title em {
  color: var(--gold);
  font-style: normal;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 580px;
  opacity: 0;
  animation: fadeInUp 0.7s ease 0.6s forwards;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.7s ease 0.8s forwards;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  opacity: 0;
  animation: fadeInUp 0.7s ease 1s forwards;
}

.hero__stat-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
  margin-top: 4px;
  display: block;
}

/* ============================================================
   11. CLIENTELE SECTION
   ============================================================ */
.clientele {
  padding: 60px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.clients-carousel-wrapper {
  overflow: hidden;
  position: relative;
  margin-top: 32px;
}

.clients-carousel-wrapper::before,
.clients-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.clients-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}
.clients-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.clients-row {
  display: flex;
  overflow: hidden;
  width: 100%;
}
.clients-row + .clients-row {
  margin-top: 30px;
}

.clients-track {
  display: flex;
  gap: 40px;
  width: max-content;
  flex-shrink: 0;
  padding-right: 40px; 
}
.clients-track-1 {
  animation: clientsScroll 20s linear infinite;
}
.clients-track-2 {
  animation: clientsScrollReverse 25s linear infinite;
}
.clients-track img {
  height: 100px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* ============================================================
   12. WHY WORK WITH US
   ============================================================ */
.why-us {
  padding: var(--section-py) 0;
  background: var(--pearl);
}

.why-us__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.why-us__media img {
  width: 100%;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   12b. ABOUT US
   ============================================================ */
.about-us {
  padding: var(--section-py) 0;
  background: var(--white);
}

.about-us__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-us__text p {
  color: var(--slate-light);
  line-height: 1.8;
  margin-top: 16px;
}

.about-us__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-us__gallery img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
  .about-us__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================================
   13. INDUSTRIES GRID
   ============================================================ */
.industries {
  padding: var(--section-py) 0;
  background: var(--white);
}

.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  gap: 16px;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
  background: var(--pearl);
}

.industry-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-light);
  border-radius: 12px;
  transition: all var(--transition);
}

.industry-card:hover .industry-card__icon {
  background: var(--gold);
}

.industry-card__icon svg {
  width: 28px;
  height: 28px;
  fill: var(--gold);
  transition: fill var(--transition);
}

.industry-card:hover .industry-card__icon svg {
  fill: var(--navy);
}

.industry-card__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

/* ============================================================
   14. KEY STATISTICS
   ============================================================ */
.stats-section {
  padding: var(--section-py) 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.07), transparent 60%);
  pointer-events: none;
}

.stats__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.stats__media img,
.stats__media gif {
  width: 100%;
  border-radius: var(--card-radius);
  max-width: 100%;
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stat-card {
  padding: 28px;
  border: 1px solid rgba(255, 204, 0, 0.2);
  border-radius: var(--card-radius);
  background: rgba(255,255,255,0.04);
  transition: all var(--transition);
}

.stat-card:hover {
  border-color: var(--gold);
  background: rgba(255, 204, 0, 0.06);
}

.stat-card__number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.stat-card__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.stat-card__desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ============================================================
   15. TESTIMONIALS CAROUSEL
   ============================================================ */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--pearl);
}

.testimonials__carousel {
  position: relative;
  margin-top: 48px;
  overflow: hidden;
}

.testimonials__track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-card {
  min-width: calc(50% - 12px);
  flex-shrink: 0;
  margin-right: 24px;
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--gold);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 16px;
  right: 28px;
  line-height: 1;
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.star {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

.testimonial-card__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--slate);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.testimonial-card__title {
  font-size: 0.8rem;
  color: var(--slate-light);
  font-style: italic;
}

.testimonials__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--gold);
}

.carousel-btn:hover {
  background: var(--gold);
  color: var(--navy);
}

.carousel-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-dot.is-active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   16. TEAM SECTION
   ============================================================ */
.team-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.team__carousel-outer {
  position: relative;
  margin-top: 48px;
}

.team__carousel-wrapper {
  overflow: hidden;
}

.team__track {
  display: flex;
  gap: 24px;
  transition: transform var(--transition-slow);
}

.team-card {
  min-width: calc(25% - 18px);
  flex-shrink: 0;
  border-radius: var(--card-radius);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 24px;
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--gold);
}

.team-card__img {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--pearl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow);
  display: block;
}

.team-card:hover .team-card__img {
  transform: scale(1.04);
}

.team-card__overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 16px;
}

.team-card__name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.team-card__role {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.team-card__links {
  display: flex;
  gap: 8px;
}

.team-card__link {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--pearl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.team-card__link:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.team-card__link svg {
  width: 13px;
  height: 13px;
  fill: var(--slate);
}

.team-card__link:hover svg {
  fill: var(--navy);
}

/* Placeholder for missing photos */
.team-card--placeholder .team-card__img {
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card--placeholder .team-card__initials {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 204, 0, 0.7);
}

.team__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* Arrow buttons on sides of carousel */
.team__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.team__btn:hover {
  background: var(--gold);
  color: var(--navy);
}

.team__btn svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  transition: fill var(--transition);
}

.team__btn:hover svg { fill: var(--navy); }

.team__btn--prev { left: -24px; }
.team__btn--next { right: -24px; }

/* ============================================================
   17. BLOGS SECTION
   ============================================================ */
.blogs {
  padding: var(--section-py) 0;
  background: var(--pearl);
}

.blogs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card__img-wrapper {
  overflow: hidden;
  aspect-ratio: 16/9;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card__img {
  transform: scale(1.06);
}

.blog-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  background: linear-gradient(135deg, var(--navy), var(--blue, #1a4b8c));
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card__img-placeholder {
  transform: scale(1.06);
}

.blog-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--slate-faint);
  font-weight: 500;
  margin-bottom: 12px;
}

.blog-card__meta span:first-child {
  color: var(--gold);
  font-weight: 600;
}

.blog-card__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color var(--transition);
}

.blog-card:hover .blog-card__title {
  color: var(--gold-dark);
}

.blog-card__excerpt {
  font-size: 0.85rem;
  color: var(--slate-light);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.02em;
  transition: gap var(--transition);
}

.blog-card:hover .blog-card__link { gap: 10px; }

/* ============================================================
   18. INSIGHTS PAGES
   ============================================================ */
.insights-feature {
  padding-bottom: 12px;
}

.insights-feature__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: var(--shadow-sm);
}

.insights-feature__box h2 {
  margin: 8px 0 8px;
  font-family: var(--font-serif);
  color: var(--navy);
}

.insights-feature__box p {
  color: var(--slate-light);
}

.insights-catalog {
  padding-top: 16px;
}

.insights-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  margin-bottom: 16px;
}

.insights-toolbar__search,
.insights-toolbar__sort {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.insights-toolbar label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.insights-toolbar input,
.insights-toolbar select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--slate);
}

.insights-toolbar input:focus,
.insights-toolbar select:focus {
  outline: 2px solid rgba(255, 204, 0, 0.25);
  border-color: var(--gold);
}

.insights-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.insights-filters button {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--slate-light);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.insights-filters button:hover,
.insights-filters button.is-active {
  border-color: var(--gold);
  color: var(--navy);
  background: rgba(255, 204, 0, 0.12);
}

.insights-headline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.insights-headline h2 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0;
}

.insights-headline p {
  color: var(--slate-light);
  font-size: 0.92rem;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.insight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.insight-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--slate-light);
  margin-bottom: 10px;
}

.insight-card__category {
  color: var(--gold-dark);
  font-weight: 700;
}

.insight-card__title {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.35;
}

.insight-card__topic {
  color: var(--slate);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.insight-card__excerpt {
  color: var(--slate-light);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.insight-card__toggle {
  border: none;
  background: transparent;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  padding: 0;
}

.insight-card__expanded {
  margin-top: 10px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  color: var(--slate-light);
  font-size: 0.88rem;
  line-height: 1.6;
}

.insights-empty {
  text-align: center;
  color: var(--slate-light);
  margin: 24px 0;
}

.insights-fallback {
  margin-top: 14px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: #fcfcfd;
  padding: 16px;
}

.insights-fallback__note {
  font-size: 0.85rem;
  color: var(--slate-light);
  margin-bottom: 8px;
}

.insights-fallback__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.insights-fallback__list li {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.5;
}

.insights-pagination {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.insights-page-btn {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--slate);
  min-width: 38px;
  height: 38px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.insights-page-btn.is-active,
.insights-page-btn:hover:not(:disabled) {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

.insights-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.thoughts-page {
  background: var(--pearl);
}

.thoughts-title {
  font-family: var(--font-serif);
  color: var(--navy);
  margin-bottom: 16px;
}

.cost-glance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.cost-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.cost-tile__value {
  font-family: var(--font-serif);
  color: var(--gold-dark);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.cost-tile h3 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 4px;
}

.cost-tile p {
  color: var(--slate-light);
  font-size: 0.88rem;
  margin: 2px 0;
}

.thought-article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.thought-article h2 {
  margin-top: 6px;
  color: var(--navy);
  font-family: var(--font-serif);
}

.thought-article h3 {
  color: var(--navy-light);
  margin-top: 20px;
}

.thought-article p,
.thought-article li {
  color: var(--slate-light);
  line-height: 1.75;
}

.thought-article ul {
  padding-left: 20px;
}

.thought-cta {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.1) 0%, rgba(1, 33, 105, 0.06) 100%);
  border: 1px solid rgba(255, 204, 0, 0.4);
  border-radius: 12px;
  padding: 22px;
}

@media (max-width: 1024px) {
  .cost-glance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .insights-feature__box {
    flex-direction: column;
    align-items: flex-start;
  }

  .insights-toolbar {
    grid-template-columns: 1fr;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .insights-headline {
    flex-direction: column;
    align-items: flex-start;
  }

  .cost-glance-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   19. FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
}

.footer-nav-bar {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
}

.footer-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}

.footer-nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 6px 14px;
  border-radius: 4px;
  transition: all var(--transition);
}

.footer-nav-links a:hover {
  color: var(--gold);
  background: rgba(255,255,255,0.05);
}

.footer-main {
  padding: 64px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
}

.footer-col__title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 204, 0, 0.3);
}

.footer-office {
  margin-bottom: 24px;
}

.footer-office h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-office p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}

.footer-office p strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social-icon:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.footer-social-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
  transition: fill var(--transition);
}

.footer-social-icon:hover svg {
  fill: var(--navy);
}

.newsletter-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

.newsletter-form input[type="email"] {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 11px 16px;
  font-size: 0.85rem;
  color: var(--white);
  width: 100%;
  transition: border-color var(--transition);
  outline: none;
  font-family: var(--font-sans);
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.35);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--gold);
}

.newsletter-form button[type="submit"] {
  background: var(--white);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 11px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  transition: all var(--transition);
  width: 100%;
  font-family: var(--font-sans);
  box-shadow: inset 0 -3px 0 var(--gold);
}

.newsletter-form button[type="submit"]:hover {
  background: var(--pearl);
}

.footer-disclaimer-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.footer-disclaimer-link:hover { color: var(--gold); }

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   19. SCROLL-TO-TOP BUTTON
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  border: none;
  z-index: 500;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.scroll-top-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--navy);
}

/* ============================================================
   20. SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   21. PAGE HEADER (for sub-pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--gold); }

.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ============================================================
   22. COMING SOON / STUB
   ============================================================ */
.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  text-align: center;
  padding: 80px 24px;
}

.coming-soon__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 24px;
  margin-bottom: 24px;
}

.coming-soon h2 {
  margin-bottom: 16px;
}

.coming-soon p {
  max-width: 460px;
  margin: 0 auto 32px;
  color: var(--slate-light);
}

/* ============================================================
   23. CONTACT FORM STYLES
   ============================================================ */
.contact-form {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--slate);
  background: var(--pearl);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.15);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ============================================================
   24. TEAM PAGE GRID
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.team-grid-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--card-radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.team-grid-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.team-grid-card__img-wrap {
  display: flex;
  justify-content: center;
  padding-top: 28px;
}

.team-grid-card__img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--pearl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow);
}

.team-grid-card:hover .team-grid-card__img {
  transform: scale(1.04);
}

.team-grid-card__placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border: 3px solid var(--pearl);
  box-shadow: var(--shadow-sm);
}

.team-grid-card__initials {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(255, 204, 0, 0.7);
}

.team-grid-card__info {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.team-grid-card__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-grid-card__role {
  font-size: 0.78rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.team-grid-card__bio {
  font-size: 0.8rem;
  color: var(--slate-light);
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-grid-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.team-grid-card__social {
  display: flex;
  gap: 8px;
}

.team-grid-card__social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pearl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.team-grid-card__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.team-grid-card__social a svg {
  width: 12px;
  height: 12px;
  fill: var(--slate);
  transition: fill var(--transition);
}

.team-grid-card__social a:hover svg { fill: var(--navy); }

.team-grid-card__readmore {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.team-grid-card__readmore:hover { color: var(--navy); }

/* ============================================================
   25. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-py: 70px;
  }

  .industries__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .team-card {
    min-width: calc(33.333% - 16px);
  }

  .stats__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .testimonial-card {
    min-width: calc(100% - 24px);
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 56px;
    --above-nav-h: 44px;
  }

  /* Hide desktop mega-menu, show hamburger */
  .primary-nav__inner {
    position: relative;
    justify-content: space-between;
    padding: 0 20px;
  }

  .mega-menu { display: none; }
  .hamburger-btn { display: flex; }
  .mobile-nav { display: flex; }

  /* Mobile logo in primary nav */
  .primary-nav__mobile-logo {
    display: flex;
    align-items: center;
  }
  .primary-nav__mobile-logo img {
    height: 30px;
    width: auto;
  }

  /* Above nav simplifications */
  .above-nav__contacts { display: none; }
  .above-nav__search { display: none; }
  .above-nav__logo { flex: 1; }

  /* Hero */
  .hero {
    min-height: 75vh;
  }

  .hero__stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  /* Why Us */
  .why-us__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Industries */
  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Stats */
  .stats__inner {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Team */
  .team-card {
    min-width: calc(50% - 12px);
  }

  .team__btn--prev { left: -16px; }
  .team__btn--next { right: -16px; }

  /* Blogs */
  .blogs__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-nav-links {
    gap: 2px;
  }

  /* Team grid page */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Contact form */
  .contact-form {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --section-py: 48px;
  }

  .hero__title { font-size: 2rem; }
  .hero__subtitle { font-size: 0.9rem; }

  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-card {
    min-width: calc(80% - 12px);
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* IP Services Page Layout */
.ip-services-layout { display: grid; grid-template-columns: 280px 1fr; gap: 60px; padding: 60px 0; align-items: start; }
@media (max-width: 992px) { .ip-services-layout { grid-template-columns: 1fr; gap: 40px; } }

.ip-sidebar { position: sticky; top: 120px; background: var(--white); padding: 24px; border-radius: var(--card-radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); z-index: 10; max-height: calc(100vh - 160px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--gold) var(--pearl); }
.ip-sidebar::-webkit-scrollbar { width: 4px; }
.ip-sidebar::-webkit-scrollbar-track { background: var(--pearl); border-radius: 4px; }
.ip-sidebar::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
.ip-sidebar h3 { font-family: var(--font-sans); font-size: 1.1rem; color: var(--navy); margin-bottom: 16px; border-bottom: 2px solid var(--pearl); padding-bottom: 12px; position: sticky; top: 0; background: var(--white); z-index: 1; }
.ip-sidebar-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.ip-sidebar-nav a { display: block; padding: 7px 12px; color: var(--slate); text-decoration: none; font-size: 0.88rem; border-radius: 4px; transition: all 0.3s ease; border-left: 3px solid transparent; scroll-behavior: smooth; }
.ip-sidebar-nav a:hover, .ip-sidebar-nav a.is-active { background: var(--pearl); color: var(--gold-dark); border-left-color: var(--gold); }

/* Content: left heading column + right subhead/body column, per section */
.ip-content-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  column-gap: 48px;
  row-gap: 20px;
  align-items: start;
  margin-bottom: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 140px;
}
.ip-content-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

/* Intro paragraphs with no heading span the full width */
.ip-content-section:not(:has(> h2)) { grid-template-columns: 1fr; }
.ip-content-section:not(:has(> h2)) > p { grid-column: 1; font-size: 1.1rem; }

.ip-content-section > h2 {
  grid-column: 1;
  grid-row: 1 / -1;
  position: sticky;
  top: 140px;
  align-self: start;
  margin: 0;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1.3;
}
.ip-content-section > h2 svg { width: 34px; height: 34px; color: var(--gold); flex-shrink: 0; }

.ip-content-section > h3 {
  grid-column: 2;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-dark);
}
.ip-content-section > h3:not(:first-of-type) { margin-top: 8px; }

.ip-content-section > p { grid-column: 2; margin: 0; font-size: 1.02rem; line-height: 1.8; color: var(--slate); }

.ip-content-section > ul { grid-column: 2; margin: 0; padding-left: 20px; color: var(--slate); line-height: 1.8; }
.ip-content-section > ul li { margin-bottom: 8px; }

@media (max-width: 768px) {
  .ip-content-section { grid-template-columns: 1fr; }
  .ip-content-section > h2 {
    grid-column: 1;
    grid-row: auto;
    position: static;
    border-left: none;
    border-bottom: 3px solid var(--gold);
    padding-left: 0;
    padding-bottom: 14px;
    font-size: 1.4rem;
  }
  .ip-content-section > h3,
  .ip-content-section > p,
  .ip-content-section > ul { grid-column: 1; }
}

.ip-cta-link {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: all var(--transition);
}
.ip-cta-link:hover { color: var(--gold-dark); gap: 10px; }
.ip-cta-link::after { content: '\2192'; }
@media (max-width: 768px) { .ip-cta-link { grid-column: 1; } }

/* --sub modifier: h3-only sections – single-column, no left sticky heading */
.ip-content-section--sub {
  grid-template-columns: 1fr;
}
.ip-content-section--sub > h3 {
  grid-column: 1;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ip-content-section--sub > h3 svg {
  width: 22px; height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}
.ip-content-section--sub > p,
.ip-content-section--sub > ul {
  grid-column: 1;
}
@media (max-width: 768px) {
  .ip-content-section--sub > h3 { font-size: 1.15rem; }
}

/* ============================================================
   26. INSIGHTS CAROUSEL (Single Page Display)
   ============================================================ */
.insights-carousel {
  position: relative;
  width: 100%;
  margin: 30px 0;
}
.insights-carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 24px;
  padding: 10px 4px 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--pearl);
}
.insights-carousel__track::-webkit-scrollbar {
  height: 6px;
}
.insights-carousel__track::-webkit-scrollbar-track {
  background: var(--pearl);
  border-radius: 4px;
}
.insights-carousel__track::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}
.insights-carousel__track .insight-card {
  min-width: 340px;
  max-width: 340px;
  scroll-snap-align: start;
  flex: 0 0 auto;
}
@media (max-width: 768px) {
  .insights-carousel__track .insight-card {
    min-width: 280px;
    max-width: 280px;
  }
}

/* ============================================================
   27. TRADEMARK REGISTRATION COSTS SECTION
   ============================================================ */
.tm-costs {
  background: var(--pearl);
  padding: var(--section-py) 0;
}
.tm-costs__header {
  text-align: center;
  margin-bottom: 48px;
}
.tm-costs__header h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--navy);
  margin-top: 10px;
}
.tm-costs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.tm-cost-card {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.tm-cost-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.tm-cost-card__price {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.tm-cost-card__type {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.tm-cost-card__desc {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.5;
}
@media (max-width: 992px) {
  .tm-costs__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .tm-costs__grid {
    grid-template-columns: 1fr;
  }
  .tm-costs__header h2 {
    font-size: 2rem;
  }
}

.tm-costs__details {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
}
.tm-costs__section {
  margin-bottom: 40px;
}
.tm-costs__section:last-child {
  margin-bottom: 0;
}
.tm-costs__section h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 204, 0, 0.3);
}
.tm-costs__section h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--navy-light);
  margin: 20px 0 10px;
}
.tm-costs__section p, .tm-costs__section ul {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.7;
}
.tm-costs__section ul {
  margin-bottom: 16px;
  padding-left: 20px;
}
.tm-costs__section ul li {
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .tm-costs__details {
    padding: 32px 24px;
  }
}

.tm-costs__cta {
  text-align: center;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--card-radius);
  padding: 48px 32px;
  box-shadow: var(--shadow-lg);
}
.tm-costs__cta h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 16px;
}
.tm-costs__cta p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 600px;
  margin-right: auto;
}

/* ============================================================
   28. ABOUT US PAGE COMPONENTS
   ============================================================ */

/* Pillars */
.about-pillars {
  padding: var(--section-py) 0 40px;
  background: var(--pearl);
}
.about-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.about-pillar-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--card-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 3px solid transparent;
}
.about-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--gold);
}
.about-pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 204, 0, 0.1);
  color: var(--gold);
  margin-bottom: 24px;
}
.about-pillar-icon svg {
  width: 32px;
  height: 32px;
}
.about-pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0;
}
@media (max-width: 992px) {
  .about-pillars__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .about-pillars__grid {
    grid-template-columns: 1fr;
  }
}

/* What We Do */
.about-text-section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.about-text-content {
  max-width: 800px;
  margin: 0 auto;
}
.about-text-content h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--navy);
  margin: 12px 0 32px;
}
.about-text-paragraphs p {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 24px;
}
.about-text-paragraphs p:last-child {
  margin-bottom: 0;
}

/* Vision */
.about-vision-section {
  padding: var(--section-py) 0;
  background: var(--pearl);
}
.about-vision-box {
  max-width: 800px;
  margin: 0 auto;
  background: var(--navy);
  color: var(--white);
  padding: 64px 48px;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.about-vision-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.about-vision-box .section-overline {
  color: var(--gold);
}
.about-vision-box h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--white);
  margin: 12px 0 32px;
}
.about-vision-box .about-text-paragraphs p {
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 768px) {
  .about-vision-box {
    padding: 40px 24px;
  }
}

/* Members & Association Grid */
.about-association-section {
  padding: var(--section-py) 0;
  background: var(--white);
}
.about-association-header {
  text-align: center;
  margin-bottom: 48px;
}
.about-association-header h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--navy);
  margin: 12px auto 0;
  max-width: 600px;
}
.association-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
}
.association-item {
  width: 160px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pearl);
  border-radius: 8px;
  padding: 16px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.association-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.association-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter var(--transition), opacity var(--transition);
}
.association-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
@media (max-width: 768px) {
  .association-item {
    width: 140px;
    height: 90px;
  }
}
@media (max-width: 480px) {
  .association-item {
    width: 120px;
    height: 80px;
  }
}

/* 26. SAMPLE WORK PAGE
   ============================================================ */
.sample-category {
  margin-bottom: 64px;
}
.sample-category-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.sample-category-desc {
  font-size: 1rem;
  color: var(--slate);
  margin-bottom: 32px;
  max-width: 800px;
  line-height: 1.5;
}
.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.sample-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
}
.sample-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.sample-card__img-wrap {
  aspect-ratio: 16/9;
  background: var(--pearl);
  overflow: hidden;
  position: relative;
}
.sample-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.sample-card:hover .sample-card__img {
  transform: scale(1.05);
}
.sample-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.sample-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 700;
}
.sample-card__subtitle {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 24px;
  line-height: 1.5;
}
.sample-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 1024px) {
  .sample-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .sample-grid {
    grid-template-columns: 1fr;
  }
}

/* 27. INSIGHTS PAGE
   ============================================================ */
.insights-toolbar {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.insights-toolbar__search,
.insights-toolbar__sort {
  display: flex;
  flex-direction: column;
}
.insights-toolbar label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.insights-toolbar input,
.insights-toolbar select {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
}
.insights-toolbar input {
  min-width: 300px;
}

.insights-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.insights-filters button {
  background: var(--pearl);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--navy);
}
.insights-filters button.is-active,
.insights-filters button:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.insights-headline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 12px;
}
.insights-headline h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--navy);
}
.insights-headline p {
  color: var(--slate);
  font-weight: 500;
}

.insights-carousel {
  position: relative;
  width: 100%;
}
.insights-carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 32px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--pearl);
}
.insights-carousel__track::-webkit-scrollbar {
  height: 8px;
}
.insights-carousel__track::-webkit-scrollbar-track {
  background: var(--pearl);
  border-radius: 4px;
}
.insights-carousel__track::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

.insights-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.insights-carousel__nav:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.insights-carousel__nav--prev {
  left: -8px;
}
.insights-carousel__nav--next {
  right: -8px;
}
@media (max-width: 768px) {
  .insights-carousel__nav {
    display: none;
  }
}

.insights-carousel__hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate-light);
  margin-top: -20px;
  margin-bottom: 8px;
}

.insight-card {
  min-width: 320px;
  max-width: 350px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  animation: fadeIn 0.4s ease forwards;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.insight-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.insight-card__meta {
  font-size: 0.8rem;
  color: var(--slate-light);
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.insight-card__category {
  color: var(--gold-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}
.insight-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.3;
}
.insight-card__topic {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 12px;
}
.insight-card__excerpt {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
