/* Genex — PPT theme + Genex page.png layout + UI/UX polish */
@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
  --navy: #0c1b3a;
  --navy-mid: #1a2b4a;
  --navy-deep: #091428;
  --navy-soft: #162040;
  --teal: #00a99d;
  --teal-bright: #00c4b6;
  --teal-dark: #007a72;
  --cyan: #00b4d8;
  --amber: #f5a623;
  --surface: #e8ecf2;
  --surface-2: #f5f7fb;
  --text: #0c1b3a;
  --muted: #3a4154;
  --muted-2: #5c6578;
  --white: #ffffff;
  --line: #d0d7e4;
  --focus: #00a99d;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 16px 48px rgba(12, 27, 58, 0.12);
  --shadow-soft: 0 8px 28px rgba(12, 27, 58, 0.08);
  --container: 1180px;
  --font-display: "Lexend", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 240ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

a:hover {
  color: var(--teal);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.skip-link:focus {
  top: 1rem;
  color: var(--white);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.25;
  margin: 0 0 0.55em;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.35rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
  max-width: 68ch;
}

ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
  color: var(--muted);
}

.prose p,
.prose li,
.content-block p,
.content-block li,
.description p,
.description li {
  max-width: 68ch;
  line-height: 1.75;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container {
    width: min(100% - 2.5rem, var(--container));
  }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.7rem;
}

.section {
  padding: 5rem 0;
}

.section-surface {
  background: var(--surface-2);
}

.section-dark {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, 0.82);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 2.75rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  margin-bottom: 0.4rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
}

/* ===== Header (light template) ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(12, 27, 58, 0.06);
  box-shadow: 0 2px 18px rgba(12, 27, 58, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand img {
  width: 44px;
  height: auto;
}

.brand span {
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  opacity: 0.65;
  margin-top: 0.15rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--navy);
  min-width: 44px;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav > ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.1rem;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav > ul > li {
  position: relative;
}

.site-nav > ul > li > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  color: var(--navy-mid);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
}

.site-nav > ul > li > a:hover,
.site-nav > ul > li > a.active {
  color: var(--teal-dark);
  background: rgba(0, 169, 157, 0.08);
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.45rem;
  list-style: none;
  margin: 0;
  box-shadow: var(--shadow);
}

.site-nav li:hover > .submenu,
.site-nav li:focus-within > .submenu {
  display: block;
}

.submenu a {
  display: block;
  padding: 0.65rem 0.85rem;
  color: var(--navy-mid);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.submenu a:hover {
  background: rgba(0, 169, 157, 0.1);
  color: var(--teal-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
  touch-action: manipulation;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-teal,
.btn-primary {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  color: var(--white);
  box-shadow: 0 10px 28px rgba(0, 169, 157, 0.35);
}

.btn-teal:hover,
.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.btn-navy,
.btn-cta {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 0.7rem 1.15rem;
  font-size: 0.88rem;
  box-shadow: 0 8px 20px rgba(12, 27, 58, 0.2);
}

.btn-navy:hover,
.btn-cta:hover {
  background: var(--navy-mid);
  color: var(--white);
}

.btn-amber {
  background: var(--amber);
  color: var(--navy-deep);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}

.btn-outline-dark:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.btn-arrow::after {
  content: "→";
  font-weight: 400;
}

/* ===== Hero (template) ===== */
.hero-wrap {
  position: relative;
  padding-bottom: 4.5rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 50% at 78% 45%, rgba(0, 169, 157, 0.28), transparent 60%),
    radial-gradient(ellipse 40% 45% at 15% 80%, rgba(33, 150, 196, 0.18), transparent 55%),
    linear-gradient(135deg, #060e1c 0%, var(--navy-deep) 35%, var(--navy) 70%, #12304f 100%);
  color: var(--white);
  padding: 5.5rem 0 7.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 90%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 18%;
  width: min(320px, 38vw);
  height: min(320px, 38vw);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 196, 182, 0.35), transparent 55%),
    radial-gradient(circle at 50% 50%, transparent 42%, rgba(0, 169, 157, 0.45) 43%, rgba(0, 169, 157, 0.45) 52%, transparent 53%);
  box-shadow: 0 0 80px rgba(0, 169, 157, 0.25);
  pointer-events: none;
  opacity: 0.85;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.1rem;
}

.hero-kicker img {
  width: 28px;
  background: #fff;
  border-radius: 6px;
  padding: 3px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.hero h1 .accent {
  color: var(--teal-bright);
}

.hero p.lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 38rem;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.card-icon {
  display: none;
}

.stat-item .stat-icon {
  display: none;
}

.section-dark .reason-card p {
  color: rgba(255, 255, 255, 0.86);
  max-width: none;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  max-width: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
}

.practice-label {
  color: var(--amber);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.service-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
  margin: 0 0 1.25rem;
}

.service-hero-top .breadcrumb {
  margin: 0;
}

.service-switcher {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  max-width: none;
  margin-left: auto;
}

.service-switcher label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.service-switcher select {
  flex: 0 1 auto;
  min-width: 14rem;
  max-width: min(100%, 20rem);
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.service-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
}

.service-hero-icon.icon-badge {
  margin-top: 0.2rem;
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(0, 169, 157, 0.18), rgba(0, 169, 157, 0.06));
  border: 1px solid rgba(0, 169, 157, 0.28);
  color: var(--teal-bright);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.icon-badge svg,
.icon-badge i {
  width: 1.55rem;
  height: 1.55rem;
  stroke-width: 1.75;
  display: block;
}

.icon-badge-lg {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.15rem;
}

.icon-badge-lg svg,
.icon-badge-lg i {
  width: 2.1rem;
  height: 2.1rem;
}

.icon-badge-on-dark {
  background: linear-gradient(145deg, rgba(0, 196, 182, 0.22), rgba(255, 255, 255, 0.06));
  border-color: rgba(0, 196, 182, 0.35);
  color: var(--teal-bright);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Service pages: hero + card icons at ~2/3 size, consistent alignment */
.service-hero-icon.icon-badge,
.service-card .icon-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
}

.service-hero-icon.icon-badge svg,
.service-hero-icon.icon-badge i,
.service-card .icon-badge svg,
.service-card .icon-badge i {
  width: 1.4rem;
  height: 1.4rem;
}

.service-hero h1 {
  margin-bottom: 0.45rem;
}

.service-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 48rem;
  margin: 0;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright), transparent 85%);
  opacity: 0.85;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(12, 27, 58, 0.14);
  border-color: rgba(0, 169, 157, 0.4);
}

.service-card-media {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-height: 3.85rem;
  padding: 1.2rem 1.35rem 0.25rem;
  background: linear-gradient(180deg, #f3fbfa 0%, #ffffff 100%);
}

.service-card-media .icon-badge {
  margin: 0;
}

.service-card-media img {
  display: none;
}

.service-card-body {
  padding: 0.85rem 1.35rem 1.45rem;
  flex: 1;
}

.service-card-body h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}

.service-card-body p {
  margin: 0;
  max-width: none;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

.practice-card .card-visual {
  height: auto;
  min-height: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1rem;
  background: transparent;
  padding: 0;
}

.practice-card .card-visual img {
  display: none;
}

.practice-card {
  padding: 1.45rem 1.35rem 1.3rem;
  border-radius: 18px;
}

.practice-card .card-go {
  margin-top: auto;
}

.hero-pill {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  min-height: 64px;
}

.hero-pill img {
  display: none;
}

.hero-pill .icon-badge {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
}

.hero-pill .icon-badge svg {
  width: 1.2rem;
  height: 1.2rem;
}

.hero-pill span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.card-icon,
.stat-item .stat-icon,
.service-tile img {
  display: none;
}

.card .icon-badge,
.stat-item .icon-badge,
.service-tile .icon-badge {
  margin-bottom: 0.85rem;
}

.service-tile .icon-badge {
  margin-bottom: 0;
}

.contact-item .icon-badge,
.office-card .icon-badge {
  margin-bottom: 0;
  flex-shrink: 0;
}

.office-card .icon-badge {
  margin-bottom: 0.75rem;
}

.stat-item .icon-badge {
  width: 2.4rem;
  height: 2.4rem;
  margin: 0 auto 0.55rem;
  border-radius: 0.75rem;
}

.stat-item .icon-badge svg {
  width: 1.15rem;
  height: 1.15rem;
}

.service-tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.service-tile .icon-badge {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .service-hero {
    grid-template-columns: 1fr;
  }

  .service-card-media {
    padding: 1.15rem 1.15rem 0.25rem;
  }

  .service-card-body {
    padding: 0.75rem 1.15rem 1.25rem;
  }
}

.practice-card .card-visual img {
  display: none;
}

.hero-pill img {
  display: none;
}

.card-icon {
  display: none;
}

.stat-item .stat-icon {
  display: none;
}

.service-tile img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  background: linear-gradient(145deg, #0c1b3a, #1a2b4a);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 2px 10px rgba(12, 27, 58, 0.06);
}

.service-card-body {
  padding: 1.2rem 1.25rem 1.35rem;
  flex: 1;
}

.service-card-body h3 {
  margin-bottom: 0.45rem;
}

.service-card-body p {
  margin: 0;
  max-width: none;
  font-size: 0.95rem;
}

.service-tile img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
  background: linear-gradient(145deg, #0c1b3a, #1a2b4a);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 2px 10px rgba(12, 27, 58, 0.06);
}

@media (max-width: 640px) {
  .service-hero {
    grid-template-columns: 1fr;
  }

  .service-hero-icon.icon-badge {
    width: 3rem;
    height: 3rem;
  }

  .service-hero-top {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .service-switcher {
    margin-left: 0;
    width: 100%;
  }

  .service-switcher select {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

.hero-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hero-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  min-height: 96px;
}

.hero-pill img {
  display: none;
}

.hero-pill span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

/* Floating stats bar */
.stats-bar {
  position: relative;
  z-index: 2;
  margin-top: -4.25rem;
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  background: var(--white);
  border-radius: 18px;
  padding: 1.35rem 1.1rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(12, 27, 58, 0.06);
}

.stat-item {
  text-align: center;
  padding: 0.5rem 0.35rem;
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
}

.stat-item span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.stat-item .stat-icon {
  display: none;
}

/* Practice cards (template) */
.practice-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem 1.2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
  color: inherit;
}

.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 169, 157, 0.35);
  color: inherit;
}

.practice-card .card-visual {
  height: auto;
  min-height: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1rem;
  background: transparent;
  padding: 0;
}

.practice-card .card-visual img {
  display: none;
}

.practice-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.practice-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
  max-width: none;
}

.practice-card .card-go {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: background var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.practice-card:hover .card-go {
  background: var(--teal);
}

/* About page — fill container so content isn’t stuck left */
.about-body > p,
.about-body .value-list {
  max-width: none;
  width: 100%;
}

.about-body .value-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5rem;
}

.about-body .value-list li:nth-child(odd):nth-last-child(1),
.about-body .value-list li:nth-child(n + 3) {
  border-bottom: none;
}

@media (max-width: 640px) {
  .about-body .value-list {
    grid-template-columns: 1fr;
  }

  .about-body .value-list li:nth-child(n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .about-body .value-list li:last-child {
    border-bottom: none;
  }
}

/* Value bullets */
.value-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.value-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.7rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.value-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0.7rem;
  color: var(--teal);
  font-size: 0.85rem;
}

/* Industries strip — only PDF industries */
.industries-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.industry-item {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
  box-shadow: var(--shadow-soft);
}

.industry-item .glyph {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.85rem;
  border-radius: 12px;
  background: rgba(0, 169, 157, 0.1);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
}

.industry-item .icon-badge {
  margin: 0 auto 0.85rem;
}

.reason-card .icon-badge {
  margin-bottom: 0.9rem;
}

.section-dark .reason-card .icon-badge {
  background: linear-gradient(145deg, rgba(0, 196, 182, 0.22), rgba(255, 255, 255, 0.06));
  border-color: rgba(0, 196, 182, 0.35);
  color: var(--teal-bright);
}


.industry-item h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.industry-item p {
  margin: 0;
  font-size: 0.88rem;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(145deg, var(--navy-deep), var(--navy-mid));
  color: var(--white);
  padding: 3.25rem 0 2.75rem;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.4rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: 42rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.88rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumb li::after {
  content: "/";
  margin-left: 0.4rem;
  color: rgba(255, 255, 255, 0.35);
}

.breadcrumb li:last-child::after {
  content: none;
}

.breadcrumb .current {
  color: var(--teal-bright);
}

/* Shared cards / content */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 169, 157, 0.35);
}

.card-icon {
  display: none;
}

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.service-tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.service-tile img {
  display: none;
}

.service-tile h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.service-tile p {
  margin: 0;
  font-size: 0.92rem;
}

.reason-card {
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.reason-card .code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 169, 157, 0.18);
  color: var(--teal-bright);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.reason-card h3 {
  color: var(--white);
  font-size: 1.08rem;
}

.quote-block {
  background: var(--surface);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 1.5rem;
}

.quote-block cite {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-style: normal;
  color: var(--muted);
  font-family: var(--font-body);
}

.pill-row,
.partner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 169, 157, 0.1);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(0, 169, 157, 0.25);
}

.metric-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.metric-strip span {
  background: rgba(245, 166, 35, 0.12);
  color: var(--navy);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.office-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.office-card h3 {
  color: var(--teal-dark);
  margin-bottom: 0.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-meta {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--surface-2);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.contact-item .badge {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--teal-bright);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
}

.contact-item strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-display);
  margin-bottom: 0.15rem;
}

.contact-item p,
.contact-item a {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group label span {
  color: #d9534f;
}

.form-group input,
.form-group textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  min-height: 44px;
  font: inherit;
  color: var(--text);
  background: var(--surface-2);
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(0, 169, 157, 0.35);
  border-color: var(--teal);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
}

table.courseDetails {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

table.courseDetails td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: top;
}

table.courseDetails tr.heading td {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
}

.content-block h3 {
  margin-top: 1.75rem;
}

.cta-band {
  background:
    radial-gradient(ellipse at right, rgba(0, 169, 157, 0.25), transparent 50%),
    linear-gradient(120deg, var(--navy-deep), var(--navy-mid));
  padding: 3.75rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--teal-bright);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: rise 0.7s var(--ease-out) both;
}

.reveal-delay-1 { animation-delay: 0.08s; }
.reveal-delay-2 { animation-delay: 0.16s; }
.reveal-delay-3 { animation-delay: 0.24s; }

.stat-item,
.practice-card,
.industry-item,
.reason-card,
.card {
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .stat-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1100px) {
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-bar-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 0.5rem;
  }

  .site-nav > ul > li > a {
    font-size: 0.84rem;
    padding: 0.5rem 0.55rem;
  }
}

@media (max-width: 980px) {
  .hero-inner,
  .grid-4,
  .contact-grid,
  .footer-grid,
  .office-grid,
  .industries-strip {
    grid-template-columns: 1fr 1fr;
  }

  .grid-5 {
    grid-template-columns: 1fr 1fr;
  }

  .hero::after {
    opacity: 0.28;
    width: min(240px, 50vw);
    height: min(240px, 50vw);
  }

  .header-actions .btn-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 0.75rem 1rem 1.25rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav > ul > li > a {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav > ul > li > a::after {
    content: "";
  }

  .site-nav > ul > li:has(.submenu) > a::after {
    content: "▾";
    opacity: 0.55;
  }

  .submenu {
    position: static;
    display: none;
    box-shadow: none;
    margin: 0.25rem 0 0.5rem 0.5rem;
    border: none;
    background: var(--surface-2);
  }

  .site-nav li.open > .submenu {
    display: block;
  }

  .submenu a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .hero-inner,
  .grid-3,
  .grid-2,
  .grid-5,
  .grid-4,
  .stats-bar-inner,
  .industries-strip,
  .form-row,
  .hero-pills,
  .contact-grid,
  .footer-grid,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 0 5.5rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }

  .hero p.lead {
    font-size: 1rem;
  }

  .btn-row {
    width: 100%;
  }

  .btn-row .btn {
    width: 100%;
  }

  .stats-bar {
    margin-top: -3.25rem;
  }

  .stats-bar-inner {
    padding: 0.75rem;
    border-radius: 16px;
  }

  .stat-item {
    border-bottom: 1px solid var(--line);
    text-align: left;
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    align-items: center;
    padding: 0.85rem 0.5rem;
  }

  .stat-item .icon-badge {
    grid-row: 1 / span 2;
    margin: 0;
    width: 2.4rem;
    height: 2.4rem;
  }

  .stat-item strong {
    font-size: 1.35rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .section-head {
    margin-bottom: 1.75rem;
  }

  .page-hero {
    padding: 2.5rem 0 2rem;
  }

  .form-card,
  .card,
  .practice-card,
  .office-card {
    padding: 1.15rem;
  }

  .table-wrap {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-inline: 0.25rem;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .brand span {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.5rem;
  }
}
