/* ═══════════════════════════════════════════════════════════════
   AsuraTrust Insights — Shared Stylesheet
   ═══════════════════════════════════════════════════════════════ */

/* ── Cross-document View Transitions ──
   Replaces the white flash between pages with a smooth fade in
   browsers that support it (Chrome 126+/Edge). Other browsers
   ignore this rule and behave as before. */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 100ms;
  animation-timing-function: ease-out;
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

/* ── CSS Custom Properties ── */
:root {
  --navy:        #0d2354;
  --navy-light:  #142d64;
  --navy-dark:   #091a3d;
  --teal:        #2bbf9a;
  --teal-hover:  #24a885;
  --teal-light:  rgba(43, 191, 154, 0.12);
  --white:       #ffffff;
  --off-white:   #f8fcfa;
  --gray-100:    #f2f7f4;
  --gray-200:    #e3ece7;
  --gray-300:    #cbd6cf;
  --gray-500:    #6b7a99;
  --gray-700:    #3d4a63;
  --text-dark:   #1a2438;
  --text-body:   #4a5568;
  --text-light:  #8899b0;
  --shadow-sm:   0 1px 3px rgba(13, 35, 84, 0.08);
  --shadow-md:   0 4px 16px rgba(13, 35, 84, 0.10);
  --shadow-lg:   0 8px 32px rgba(13, 35, 84, 0.12);
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --max-width:   1200px;
  --transition:  0.2s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Navy canvas under the white body — only visible during the brief
     flash between page unload and the next page's body paint, so the
     transition reads as navy-on-navy instead of stark white. */
  background: var(--navy);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--white);
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 700;
}

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

/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.navbar {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
  border-bottom: 1px solid var(--gray-200);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

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

.navbar__logo {
  height: 68px;
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__link {
  color: var(--gray-700);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.navbar__link:hover {
  color: var(--teal);
  background: var(--gray-100);
}

.navbar__link--active {
  color: var(--teal);
  background: var(--gray-100);
}

/* Services dropdown */
.navbar__dropdown-wrap {
  position: relative;
  display: inline-block;
}

.navbar__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--white);
  border: 1.5px solid var(--teal);
  border-radius: var(--radius-md);
  padding: 8px 0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 1000;
}

.navbar__dropdown--end {
  left: auto;
  right: 0;
}

.navbar__dropdown-wrap:hover .navbar__dropdown,
.navbar__dropdown-wrap:focus-within .navbar__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar__dropdown-link {
  display: block;
  padding: 10px 18px;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}

.navbar__dropdown-link:hover {
  color: var(--teal);
  background: var(--gray-100);
}

.navbar__link--connect:hover {
  color: var(--teal-hover);
  background: var(--teal-light);
}

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--teal-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(43, 191, 154, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}


/* ═══════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════ */
.section {
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}


.section--gray {
  background:
    radial-gradient(ellipse 50% 80% at 0% 50%, rgba(43,191,154,0.04) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(43,191,154,0.04) 0%, transparent 65%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(43,191,154,0.04) 0%, transparent 65%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(43,191,154,0.04) 0%, transparent 65%),
    radial-gradient(ellipse 60% 100% at 0% 50%, rgba(0,0,0,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 100% at 100% 50%, rgba(0,0,0,0.04) 0%, transparent 60%),
    linear-gradient(180deg, #edf8f0 0%, #f6fef8 25%, #f6fef8 75%, #edf8f0 100%);
}

.section__header {
  text-align: center;
  margin-bottom: 48px;
}

.section__label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  margin-top: -40px;
}

.section__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section__desc {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   ARTICLE CARDS
   ═══════════════════════════════════════════════════════════════ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--teal);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(43,191,154,0.2);
  border-color: transparent;
}

.card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.3);
}

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

.card__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  width: fit-content;
}

.card__category--assurance {
  background: rgba(43, 191, 154, 0.1);
  color: var(--teal);
}

.card__category--ai {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

.card__category--controls {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.card__category--industry {
  background: rgba(13, 35, 84, 0.08);
  color: var(--navy);
}

.card__category--cpa-firms {
  background: rgba(43, 191, 154, 0.1);
  color: var(--teal);
}

.card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.card__title a:hover {
  color: var(--teal);
}

.card__excerpt {
  font-size: 14.5px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-light);
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}

.card__read-more {
  color: var(--teal);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card__read-more:hover {
  gap: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   CATEGORIES
   ═══════════════════════════════════════════════════════════════ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-card__icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.category-card__icon-badge {
  width: 72px;
  height: 72px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.category-card:hover .category-card__icon-badge {
  background: var(--teal-hover);
}

.category-card__icon-badge svg {
  width: 34px;
  height: 34px;
  color: var(--white);
}

.category-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.category-card__desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
}

.category-card__count {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-light);
  padding: 4px 12px;
  border-radius: 12px;
}

/* ═══════════════════════════════════════════════════════════════
   NEWSLETTER / CTA BANNER
   ═══════════════════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.cta-banner__title {
  font-size: 28px;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner__text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* Variant: CTA banner with image on the left */
.cta-banner.cta-banner--with-image {
  padding: 32px;
  text-align: left;
  display: grid;
  grid-template-columns: 279px 1fr;
  align-items: center;
  gap: 32px;
  min-height: 240px;
}
.cta-banner__image {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
  height: 100%;
  align-self: center;
}
.cta-banner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cta-banner__content {
  position: relative;
  z-index: 1;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.cta-banner--with-image .cta-banner__title,
.cta-banner--with-image .cta-banner__text {
  text-align: center;
}
@media (max-width: 768px) {
  .cta-banner.cta-banner--with-image {
    grid-template-columns: 1fr;
  }
  .cta-banner__image {
    height: 200px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .cta-banner__content {
    padding: 40px 32px;
    align-items: center;
    text-align: center;
  }
  .cta-banner--with-image .cta-banner__title,
  .cta-banner--with-image .cta-banner__text {
    text-align: center;
  }
}

.cta-banner__form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-banner__input {
  flex: 1;
  padding: 13px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}

.cta-banner__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.cta-banner__input:focus {
  border-color: var(--teal);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background:
    radial-gradient(ellipse 35% 100% at 0% 50%, rgba(43,191,154,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 35% 100% at 100% 50%, rgba(43,191,154,0.10) 0%, transparent 65%),
    var(--navy-dark);
  padding: 31px 0 20px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 2fr;
  gap: 32px;
  margin-bottom: 22px;
}

.footer__brand-name {
  font-size: 20px;
  font-weight: 700;
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--teal);
  margin-bottom: 11px;
  display: block;
  text-align: center;
  text-decoration: none;
  transition: opacity var(--transition);
}

.footer__brand-name:hover {
  opacity: 0.75;
}

.footer__brand-name span {
  color: var(--teal);
}

.footer__brand-desc {
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.footer__brand-word {
  transition: color 0.15s;
  cursor: default;
}
.footer__brand-word:hover {
  color: var(--teal);
}

.footer__social {
  display: flex;
  gap: 10px;
  align-items: center;
  grid-column: 3;
  justify-self: end;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.5);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.footer__social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.footer__social-link--linkedin:hover { background: #0077B5; border-color: #0077B5; color: #fff; }
.footer__social-link--facebook:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.footer__social-link--x:hover        { background: #fff;    border-color: #fff;    color: #000; }

.footer__social-link svg {
  width: 14px;
  height: 14px;
}

.footer__heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer__link {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 0;
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--teal);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 6px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 13px;
}
.footer__bottom-row {
  display: contents;
}
.footer__legal-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  grid-column: 2;
  grid-row: 1;
}

.footer__bottom-left > span:first-child {
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  grid-column: 1;
}
.footer__legal-sep {
  color: rgba(255, 255, 255, 0.20);
  font-size: 13px;
}
.footer__legal-link {
  background: transparent;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: color 0.15s;
}
.footer__legal-link:hover {
  color: var(--teal);
}
/* ═══════════════════════════════════════════════════════════════
   ABOUT — FIRM OVERVIEW
   ═══════════════════════════════════════════════════════════════ */
.about-overview {
  display: grid;
  grid-template-columns: 1fr 268px;
  gap: 60px;
  align-items: center;
}

.about-overview__title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--navy);
  margin-top: 0;
  margin-bottom: 22px;
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.about-overview__title em {
  font-style: normal;
  color: var(--teal);
}

.about-overview__text {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.78;
  margin-bottom: 16px;
}

.about-overview__text:last-of-type {
  margin-bottom: 0;
}

/* Firm stats — vertical timeline (Panel B) */
.firm-stats {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 8px 0 8px 28px;
}

/* vertical rail */
.firm-stats::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(13,35,84,0.15);
}

.firm-stats__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  padding-bottom: 26px;
}

.firm-stats__item:last-child {
  padding-bottom: 0;
}

.firm-stats__item + .firm-stats__item {
  border-top: none;
}

.firm-stats__icon {
  display: none;
}

/* dot — sits on the rail */
.firm-stats__accent {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  flex-shrink: 0;
  position: absolute;
  left: -28px;
  top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.firm-stats__accent::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.firm-stats__value {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 5px;
  letter-spacing: -0.005em;
}

.firm-stats__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .about-overview { grid-template-columns: 1fr; }
  .firm-stats { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT — SERVICES
   ═══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.services-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.services-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(43,191,154,0.2);
  border-color: var(--teal);
}

a.service-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card__icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

.service-card__icon svg {
  width: 38px;
  height: 38px;
  color: var(--teal);
  flex-shrink: 0;
}

.service-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  transition: color var(--transition);
}

.service-card:hover .service-card__name {
  color: var(--teal);
}

.service-card__desc {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-info__heading,
.contact-form__heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.contact-info__intro {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-form {
  background: var(--gray-100);
  padding: 27px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--teal);
  box-shadow: 0 0 20px 2px rgba(43,191,154,0.05);
}

.contact-form__heading {
  font-size: 18px;
}

.contact-form__group {
  margin-bottom: 15px;
}

.contact-form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-dark);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--teal);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--gray-300);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 90px;
}

/* ═══════════════════════════════════════════════════════════════
   ARTICLES — FILTER (filter UI removed; JS still toggles card--hidden)
   ═══════════════════════════════════════════════════════════════ */
.card--hidden {
  display: none;
}

.filter-empty {
  text-align: center;
  color: var(--gray-500);
  font-size: 16px;
  padding: 40px 0;
}

/* ═══════════════════════════════════════════════════════════════
   ARTICLE PAGE
   ═══════════════════════════════════════════════════════════════ */
.article-hero-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.article-hero-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  color: rgba(255, 255, 255, 0.25);
}

.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 0 72px;
}

.article-title {
  font-size: 38px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.25;
  margin-top: 16px;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.article-meta__item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.article-meta__divider {
  color: var(--gray-300);
}

.article-divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin-bottom: 36px;
}

.article-body p {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 22px;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--teal-light);
}

.article-back {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}

.article-back__link {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
  transition: gap var(--transition);
}

.article-back__link:hover {
  color: var(--teal-hover);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

/* Mobile */
@media (max-width: 768px) {
  .navbar__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }

  .navbar__links--open {
    display: flex;
  }

  .navbar__link {
    width: 100%;
    padding: 12px 16px;
  }

  .navbar__dropdown-wrap {
    width: 100%;
  }

  .navbar__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--teal-light);
    border-radius: 0;
    margin: 2px 0 4px 16px;
    padding: 4px 0;
    min-width: 0;
  }

  .navbar__dropdown-link {
    padding: 8px 16px;
    font-size: 13px;
  }

  .navbar__toggle {
    display: flex;
  }

  .section {
    padding: 48px 0;
  }

  .section__title {
    font-size: 28px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .article-hero-img {
    height: 220px;
  }

  .article-title {
    font-size: 28px;
  }

  .article-content {
    padding: 36px 0 48px;
  }

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

  .cta-banner {
    padding: 40px 24px;
  }

  .cta-banner__form {
    flex-direction: column;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }
  .footer__bottom-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  .footer__bottom-left {
    grid-column: unset;
    justify-content: center;
  }
  .footer__legal-row {
    grid-column: unset;
  }
  .footer__social {
    grid-column: unset;
    justify-self: unset;
  }
}

/* ═══════════════════════════════════════════════════════════════
   CONTENT MODAL (shared — used by footer "Why AsuraTrust?" etc.)
   ═══════════════════════════════════════════════════════════════ */
.content-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(9, 26, 61, 0.65);
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: modalFadeIn 0.25s ease;
}
.content-modal.is-open {
  display: flex;
}
.content-modal__panel {
  background: var(--white);
  border: 1.5px solid var(--teal);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px 40px;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}
.content-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--gray-400);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}
.content-modal__close:hover {
  color: var(--navy);
}
.content-modal__title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-right: 32px;
}
.content-modal__body {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
}
.content-modal__body p {
  margin-bottom: 16px;
}
.content-modal__body p:last-child {
  margin-bottom: 0;
}
.content-modal__footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.content-modal__footer-logo {
  display: block;
  height: 63.89px;
  width: auto;
  flex-shrink: 0;
}

/* ─── Why AsuraTrust Modal — Option D (Numbered Vertical Spread) ─── */
.content-modal__panel.why-d {
  max-width: 660px;
  padding: 0;
  border: none;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.why-d__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 36px 44px 18px;
  border-bottom: 1px solid var(--navy);
  flex-shrink: 0;
}
.why-d__title {
  font-family: 'Source Serif 4', 'DM Serif Display', Georgia, serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--navy);
  margin: 0;
  line-height: 1;
  letter-spacing: -0.02em;
}
.why-d__list {
  padding: 0 44px;
  overflow-y: auto;
  flex: 1;
}
.why-d__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px dashed rgba(11,27,61,0.10);
}
.why-d__item:last-child {
  border-bottom: none;
}
.why-d__item:hover .why-d__lead {
  color: var(--teal);
  transition: color var(--transition);
}
.why-d__num {
  font-family: 'Source Serif 4', 'DM Serif Display', Georgia, serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  font-variant-numeric: lining-nums;
}
.why-d__lead {
  font-family: 'Source Serif 4', 'DM Serif Display', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
  line-height: 1.25;
  transition: color var(--transition);
}
.why-d__body {
  font-size: 14px;
  line-height: 1.65;
  color: #5A6B85;
  margin: 0;
}
.content-modal__panel.why-d .content-modal__close {
  top: 18px;
  right: 20px;
  z-index: 2;
}
.content-modal__panel.why-d .content-modal__footer {
  padding: 20px 36px;
  margin-top: 0;
  flex-shrink: 0;
}

/* ─── General FAQs Modal — Option B (Categorized) ─── */
.content-modal__panel.faq-b {
  max-width: 720px;
  padding: 0;
  border: none;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.faq-b__header {
  padding: 36px 44px 20px;
  flex-shrink: 0;
}
.faq-b__title-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.faq-b__title {
  font-family: 'Source Serif 4', 'DM Serif Display', Georgia, serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--navy);
  margin: 0;
  line-height: 1;
  letter-spacing: -0.02em;
}
.faq-b__list {
  flex: 1;
  overflow: auto;
  padding: 12px 44px 28px;
}
.faq-b__cat {
  margin-top: 28px;
}
.faq-b__cat:first-child {
  margin-top: 8px;
}
.faq-b__cat-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--navy);
}
.faq-b__item {
  padding: 14px 0;
  border-bottom: 1px dashed rgba(11,27,61,0.10);
}
.faq-b__q {
  font-family: 'Source Serif 4', 'DM Serif Display', Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  transition: color var(--transition);
}
.faq-b__item:hover .faq-b__q {
  color: var(--teal);
}
.faq-b__a {
  font-size: 13.5px;
  line-height: 1.7;
  color: #5A6B85;
  margin: 0;
}
.content-modal__panel.faq-b .content-modal__close {
  top: 18px;
  right: 20px;
  z-index: 2;
}
.content-modal__panel.faq-b .content-modal__footer {
  padding: 20px 36px;
  margin-top: 0;
  flex-shrink: 0;
}

/* ─── Data Security Modal — Option D (Tabbed by Theme) ─── */
.content-modal__panel.sec-d {
  max-width: 720px;
  padding: 0;
  border: none;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sec-d__header {
  padding: 36px 44px 0;
  flex-shrink: 0;
}
.sec-d__eyebrow {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 8px;
}
.sec-d__title {
  font-family: 'Source Serif 4', 'DM Serif Display', Georgia, serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--navy);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.sec-d__intro {
  font-size: 13.5px;
  line-height: 1.7;
  color: #5A6B85;
  margin: 14px 0 0;
}
.sec-d__tabs {
  margin-top: 22px;
  padding: 0 44px;
  display: flex;
  gap: 4px;
  border-bottom: 1px solid rgba(11,27,61,0.10);
  flex-shrink: 0;
}
.sec-d__tab {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 14px 16px 13px;
  font-size: 12px;
  font-weight: 600;
  color: #5A6B85;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s, border-color 0.15s;
}
.sec-d__tab:hover {
  color: var(--navy);
}
.sec-d__tab.is-active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.sec-d__tab-icon {
  width: 14px;
  height: 14px;
  stroke: #8290A8;
  fill: none;
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  transition: stroke 0.15s;
  flex-shrink: 0;
}
.sec-d__tab.is-active .sec-d__tab-icon,
.sec-d__tab:hover .sec-d__tab-icon {
  stroke: var(--teal);
}
.sec-d__panels {
  flex: 1;
  overflow: auto;
  padding: 20px 44px 24px;
  display: grid;
}
.sec-d__panel {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.sec-d__panel.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.sec-d__item {
  padding: 16px 0;
  border-bottom: 1px dashed rgba(11,27,61,0.10);
}
.sec-d__item:last-child {
  border-bottom: none;
}
.sec-d__item-name {
  font-family: 'Source Serif 4', 'DM Serif Display', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
  line-height: 1.3;
  transition: color var(--transition);
}
.sec-d__item:hover .sec-d__item-name {
  color: var(--teal);
}
.sec-d__item-body {
  font-size: 13.5px;
  line-height: 1.7;
  color: #5A6B85;
  margin: 0;
}
.content-modal__panel.sec-d .content-modal__close {
  top: 18px;
  right: 20px;
  z-index: 2;
}
.content-modal__panel.sec-d .content-modal__footer {
  padding: 20px 36px;
  margin-top: 0;
  flex-shrink: 0;
}

/* ─── Privacy Policy Modal — Option A (Numbered Spread) ─── */
.content-modal__panel.priv-a {
  max-width: 720px;
  padding: 0;
  border: none;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.priv-a__header {
  padding: 36px 44px 18px;
  flex-shrink: 0;
}
.priv-a__title {
  font-family: 'Source Serif 4', 'DM Serif Display', Georgia, serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--navy);
  margin: 0 0 18px;
  line-height: 1;
  letter-spacing: -0.02em;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--navy);
}
.priv-a__intro {
  font-size: 14px;
  line-height: 1.7;
  color: #5A6B85;
  margin: 0;
}
.priv-a__list {
  padding: 4px 44px 24px;
  overflow-y: auto;
  flex: 1;
}
.priv-a__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px dashed rgba(11,27,61,0.10);
}
.priv-a__item:last-child {
  border-bottom: none;
}
.priv-a__num {
  font-family: 'Source Serif 4', 'DM Serif Display', Georgia, serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  font-variant-numeric: lining-nums;
}
.priv-a__lead {
  font-family: 'Source Serif 4', 'DM Serif Display', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.priv-a__body {
  font-size: 13.5px;
  line-height: 1.75;
  color: #5A6B85;
  margin: 0;
}
/* ── Privacy & Disclaimer modals — match the "Why AsuraTrust?" why-d format ── */
#modal-privacy .content-modal__panel,
#modal-disclaimer .content-modal__panel {
  border: none;
  box-shadow:
    0 -6px 18px rgba(11, 27, 61, 0.15),
    0 12px 32px rgba(11, 27, 61, 0.15),
    0 2px 8px rgba(11, 27, 61, 0.15);
}
/* Center the firm logo in the footer of the privacy and disclaimer modals */
#modal-privacy .content-modal__footer,
#modal-disclaimer .content-modal__footer {
  display: flex;
  justify-content: center;
  align-items: center;
}
#modal-privacy .priv-a__header,
#modal-disclaimer .priv-a__header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  position: relative;
  overflow: hidden;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
#modal-privacy .priv-a__header::before,
#modal-disclaimer .priv-a__header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
#modal-privacy .priv-a__header::after,
#modal-disclaimer .priv-a__header::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 180px 120px at 0% 0%, rgba(43, 191, 154, 0.22) 0%, transparent 70%),
    radial-gradient(ellipse 220px 90px at 25% 0%, rgba(43, 191, 154, 0.16) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
#modal-privacy .priv-a__header > *,
#modal-disclaimer .priv-a__header > * {
  position: relative;
  z-index: 1;
}
#modal-privacy .priv-a__title,
#modal-disclaimer .priv-a__title {
  color: #fff;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
#modal-privacy .priv-a__intro,
#modal-disclaimer .priv-a__intro {
  display: none;
}
#modal-privacy .priv-a__item:hover .priv-a__lead,
#modal-disclaimer .priv-a__item:hover .priv-a__lead {
  color: var(--teal);
  transition: color var(--transition);
}
#modal-privacy .content-modal__close,
#modal-disclaimer .content-modal__close {
  color: rgba(255, 255, 255, 0.7);
  z-index: 2;
}
#modal-privacy .content-modal__close:hover,
#modal-disclaimer .content-modal__close:hover {
  color: #fff;
}

.content-modal__panel.priv-a .content-modal__close {
  top: 18px;
  right: 20px;
  z-index: 2;
}
.content-modal__panel.priv-a .content-modal__footer {
  padding: 20px 36px;
  margin-top: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ─── Back to top link ─── */
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color var(--transition);
}
.back-to-top:hover {
  color: var(--teal-hover);
}
.back-to-top__wrap {
  text-align: left;
  margin-top: 8px;
}

/* ─── Common Audit Issues — Case File Grid (Option B) ─── */
.cfi-section {
  background: linear-gradient(135deg, #E8F2EB 0%, #EDF4ED 45%, #F2F6EE 100%);
  padding: 72px 80px 56px;
}
.cfi-inner {
  max-width: 1180px;
  margin: 0 auto;
}
/* Header Band */
.cfi-header {
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px solid #0B1B3D;
  margin-bottom: 36px;
}
.cfi-header__title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}
.cfi-header__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.cfi-header__title {
  font-family: 'Source Serif 4', 'DM Serif Display', Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #0B1B3D;
  margin: 0;
}
.cfi-header__summary {
  font-family: 'Source Serif 4', 'DM Serif Display', Georgia, serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.45;
  color: #5A6B85;
  max-width: 480px;
  margin: 14px 0 0;
}
/* Card Grid */
.cfi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
  align-items: stretch;
}
.cfi-card {
  background: #FBFCF9;
  border: 1.5px solid var(--teal);
  border-radius: 12px;
  padding: 26px 26px 24px;
  box-shadow: 0 1px 0 rgba(11,27,61,0.03), 0 8px 24px -16px rgba(11,27,61,0.18);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cfi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(43,191,154,0.08), 0 14px 32px -16px rgba(43,191,154,0.45);
}
.cfi-card__meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 18px;
}
.cfi-card__asc {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #0B1B3D;
  border: 1px solid rgba(45,207,166,0.45);
  background: rgba(45,207,166,0.10);
  padding: 4px 8px;
  border-radius: 4px;
}
.cfi-card__divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.cfi-card__dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: #2DCFA6;
  box-shadow: 0 0 0 4px rgba(45,207,166,0.18);
  flex-shrink: 0;
}
.cfi-card__rule {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(11,27,61,0.10) 0 4px, transparent 4px 8px);
}
.cfi-card__title {
  font-family: 'Source Serif 4', 'DM Serif Display', Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #0B1B3D;
  margin: 0 0 8px;
}
.cfi-card__tagline {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2bbf9a;
  margin: 0 0 14px;
}
.cfi-card__body {
  font-size: 14px;
  line-height: 1.7;
  color: #5A6B85;
  margin: 0;
}
/* Footer Band */
.cfi-footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(11,27,61,0.10);
}
.cfi-footer__back {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  transition: color var(--transition);
}
.cfi-footer__back:hover {
  color: var(--teal-hover);
}
@media (max-width: 960px) {
  .cfi-section { padding: 48px 24px 40px; }
  .cfi-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .cfi-header__title, .cfi-header__count { font-size: 40px; }
}
@media (max-width: 640px) {
  .cfi-grid { grid-template-columns: 1fr; }
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
