/* ============================================================
   FIDESEO® — Brand Design System
   Colors: Purple #645E9C | Teal #5E9B9C | Blue #5E7B9C
   Font: Lato (Google Fonts)
   ============================================================ */

:root {
  --purple-dark:  #645E9C;
  --purple-mid:   #918DBA;
  --purple-light: #CBC7DF;
  --teal-dark:    #5E9B9C;
  --teal-mid:     #8CB9BA;
  --teal-light:   #CBDEE0;
  --blue-dark:    #5E7B9C;
  --blue-mid:     #8DA2BA;
  --blue-light:   #CAD2DF;
  --black:        #000000;
  --dark:         #1A1A2E;
  --dark-alt:     #3D3D3D;
  --gray:         #9E9E9E;
  --gray-light:   #DDDDDD;
  --off-white:    #F7F7FA;
  --white:        #FFFFFF;
  --text-body:    #2D2D2D;
  --text-muted:   #6B6B6B;

  --font:         'Lato', sans-serif;
  --max-width:    1200px;
  --radius:       6px;
  --radius-lg:    12px;
  --transition:   0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1 { font-size: 2.67rem; font-weight: 400; line-height: 1.2; }
h2 { font-size: 2rem;    font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.6rem;  font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.2rem;  font-weight: 700; line-height: 1.35; }
h5 { font-size: 1rem;    font-weight: 700; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }
em     { font-style: italic; }

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

.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 112px 0; }

.section--off-white { background: var(--off-white); }
.section--dark      { background: var(--dark); color: var(--white); }
.section--purple    { background: var(--purple-dark); color: var(--white); }
.section--teal      { background: var(--teal-dark); color: var(--white); }

.text-center { text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--purple-dark);
  color: var(--white);
  border-color: var(--purple-dark);
}
.btn-primary:hover {
  background: #524e82;
  border-color: #524e82;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
}

.btn-outline {
  background: transparent;
  color: var(--purple-dark);
  border-color: var(--purple-dark);
}
.btn-outline:hover {
  background: var(--purple-dark);
  color: var(--white);
}

.btn-teal {
  background: var(--teal-dark);
  color: var(--white);
  border-color: var(--teal-dark);
}
.btn-teal:hover {
  background: #4e8283;
}

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-light);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  flex-shrink: 0;
}

.nav__logo img {
  height: 38px;
  width: auto;
  display: block;
}

.nav__logo-symbol {
  width: 42px;
  height: 42px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-body);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.nav__link:hover, .nav__link.active {
  color: var(--purple-dark);
  background: var(--off-white);
}

.nav__link svg { width: 14px; height: 14px; flex-shrink: 0; }

.nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 6px;
  z-index: 100;
}

.nav__item:hover .nav__dropdown { display: block; }

.nav__dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--text-body);
  border-radius: 4px;
  transition: var(--transition);
}

.nav__dropdown a:hover {
  background: var(--off-white);
  color: var(--purple-dark);
}

.nav__cta {
  margin-left: 16px;
}

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

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Hero — light theme with brand parallelogram accents ---- */
.hero {
  background: var(--off-white);
  color: var(--dark);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Parallelogram accent shapes — brand colors via clip-path */
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -100px;
  width: 480px; height: 360px;
  background: var(--purple-light);
  opacity: 0.5;
  clip-path: polygon(12% 0%, 100% 0%, 88% 100%, 0% 100%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 5%;
  width: 320px; height: 200px;
  background: var(--teal-light);
  opacity: 0.45;
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  background: rgba(100,94,156,0.1);
  color: var(--purple-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(100,94,156,0.25);
}

.hero__headline {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 740px;
  color: var(--dark);
}

.hero__sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 600px;
  font-style: italic;
}

.hero__body {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 680px;
  margin-bottom: 40px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* ---- Section Headers ---- */
.section-header {
  margin-bottom: 56px;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-dark);
  margin-bottom: 10px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
}
.section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.card__icon--purple { background: var(--purple-light); }
.card__icon--teal   { background: var(--teal-light); }
.card__icon--blue   { background: var(--blue-light); }

.card__icon svg { width: 24px; height: 24px; }

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p  { color: var(--text-muted); font-size: 0.95rem; }

/* ---- Grid ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* ---- Capabilities Grid (3-across) ---- */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---- Capability Badges ---- */
.capability-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.capability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}

.capability-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--purple-dark);
  flex-shrink: 0;
}

/* ---- List Checks ---- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1rem;
}

.check-list li::before {
  content: '';
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--teal-light);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235E9B9C'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---- Bold List (services detail) ---- */
.bold-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bold-list li {
  display: flex;
  gap: 12px;
  padding-left: 0;
}

.bold-list li::before {
  content: '';
  width: 3px;
  min-height: 100%;
  background: var(--purple-dark);
  border-radius: 2px;
  flex-shrink: 0;
}

.bold-list li strong { display: block; }

/* ---- FAQ ---- */
.faq-list {
  max-width: 780px;
}

.faq-item {
  border-bottom: 1px solid var(--gray-light);
}

.faq-item:first-child {
  border-top: 1px solid var(--gray-light);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-body);
  padding: 20px 40px 20px 0;
  cursor: pointer;
  position: relative;
  display: block;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--purple-dark);
  font-weight: 400;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition);
}

.faq-item.open .faq-question::after { content: '−'; }

.faq-answer {
  display: none;
  padding: 0 0 20px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* ---- CTA Band ---- */
.cta-band {
  background: var(--purple-dark);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -40px; right: -80px;
  width: 340px; height: 260px;
  background: rgba(255,255,255,0.06);
  clip-path: polygon(12% 0%, 100% 0%, 88% 100%, 0% 100%);
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  bottom: -50px; left: -60px;
  width: 280px; height: 200px;
  background: rgba(94,155,156,0.2);
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
  pointer-events: none;
}

.cta-band h2 { margin-bottom: 14px; position: relative; z-index: 1; }
.cta-band p  { font-size: 1.1rem; opacity: 0.85; margin-bottom: 36px; position: relative; z-index: 1; }
.cta-band .btn { position: relative; z-index: 1; }

.cta-band .btn-secondary {
  border-color: rgba(255,255,255,0.6);
}

/* ---- Stats Row ---- */
.stats-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

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

.stat__number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--purple-dark);
  line-height: 1;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 160px;
}

/* ---- Service Pages Hero variant ---- */
.hero--service {
  padding: 72px 0 64px;
}

.hero--service .hero__headline {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
}

/* ---- Two-col layout ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.two-col--flip { direction: rtl; }
.two-col--flip > * { direction: ltr; }

/* ---- Highlight box ---- */
.highlight-box {
  background: var(--off-white);
  border-left: 4px solid var(--purple-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 28px 0;
}

.highlight-box p { color: var(--text-body); font-size: 1.05rem; font-style: italic; }

/* ---- Who It's For ---- */
.who-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.who-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.who-list li::before {
  content: '→';
  color: var(--teal-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- Team Cards ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.team-card__initial {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 16px;
}

.team-card__name  { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.team-card__title { font-size: 0.85rem; color: var(--purple-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.team-card p      { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; }

/* ---- Contact Form ---- */
.contact-form {
  max-width: 580px;
}

.contact-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status:empty { display: none; }
.form-status--error { color: #9b2525; }
.form-status--success { color: var(--teal-dark); }
.contact-form button:disabled { opacity: 0.65; cursor: not-allowed; }

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-body);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text-body);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple-dark);
  box-shadow: 0 0 0 3px rgba(100,94,156,0.12);
}

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

.form-optional {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 400;
  margin-left: 4px;
}

/* ---- Blog / Insights ---- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.insight-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.insight-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.insight-card__thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--teal-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.insight-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insight-card__body {
  padding: 24px;
}

.insight-card__cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-dark);
  margin-bottom: 8px;
}

.insight-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.insight-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ---- Footer ---- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}

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

.footer__brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__brand-name .footer__logo-symbol {
  width: 32px; height: 32px;
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer__contact a {
  color: var(--teal-light);
  font-size: 0.9rem;
}

.footer__contact a:hover {
  color: var(--white);
}

.footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.footer__links a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer__bottom a {
  color: rgba(255,255,255,0.5);
}
.footer__bottom a:hover { color: var(--white); }

/* ---- Breadcrumb ---- */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--purple-dark); }
.breadcrumb span::before { content: ' / '; }

/* ---- Location banner ---- */
.location-banner {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.85rem;
}

.location-banner a {
  color: var(--teal-light);
  font-weight: 700;
}

/* ---- Mobile Nav ---- */
.nav__mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  overflow-y: auto;
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}

.nav__mobile.open { display: flex; }

.nav__mobile a {
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-body);
  border-radius: var(--radius);
  border-bottom: 1px solid var(--gray-light);
}

.nav__mobile a:hover { color: var(--purple-dark); }
.nav__mobile a.section-title { font-weight: 700; color: var(--gray); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; padding: 20px 16px 6px; border-bottom: none; }

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

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .section { padding: 56px 0; }
  .section--lg { padding: 72px 0; }

  .hero { padding: 64px 0 56px; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }

  .two-col,
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; gap: 32px; }

  .two-col--flip { direction: ltr; }

  .stats-row { gap: 28px; }

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

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .services-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__inner { padding: 0 16px; }
  h1 { font-size: 1.8rem; }

  /* Hide parallelogram accents on small screens to prevent text overlap */
  .hero::before,
  .hero::after { display: none; }
}

/* ---- Service Hero — brand purple gradient, keeps white text ---- */
.service-hero {
  background: linear-gradient(135deg, #4d4880 0%, var(--purple-dark) 50%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 380px; height: 280px;
  background: rgba(255,255,255,0.07);
  clip-path: polygon(12% 0%, 100% 0%, 88% 100%, 0% 100%);
  pointer-events: none;
}

.service-hero::after {
  content: '';
  position: absolute;
  bottom: -50px; left: -40px;
  width: 260px; height: 200px;
  background: rgba(94,155,156,0.2);
  clip-path: polygon(8% 0%, 100% 0%, 92% 100%, 0% 100%);
  pointer-events: none;
}

.service-hero .container { position: relative; z-index: 1; }

.service-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 16px;
  max-width: 760px;
}

.service-hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  line-height: 1.65;
}

/* ---- Eyebrow (standalone) ---- */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-dark);
  margin-bottom: 10px;
}

/* ---- btn-full ---- */
.btn-full { width: 100%; text-align: center; }

/* ---- Form Row ---- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---- Contact Info Block ---- */
.contact-info-block {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail:last-child { margin-bottom: 0; }

.contact-detail svg {
  width: 20px; height: 20px;
  color: var(--purple-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-detail a { color: var(--purple-dark); font-weight: 700; }
.contact-detail a:hover { text-decoration: underline; }

/* ---- Form Success State ---- */
.form-success {
  background: var(--teal-light);
  border: 1px solid var(--teal-dark);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  color: var(--dark);
}

/* ---- Topic Link (Insights) ---- */
.topic-link {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  color: var(--text-body);
}

.topic-link:hover {
  border-color: var(--purple-mid);
  box-shadow: 0 4px 16px rgba(100,94,156,0.12);
  transform: translateY(-2px);
}

.topic-link h4 { margin-bottom: 8px; color: var(--dark); }
.topic-link p  { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; }

/* ---- Insight Card Meta (actual HTML uses these classes) ---- */
.insight-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.insight-card__category {
  display: inline-block;
  background: var(--purple-light);
  color: var(--purple-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
}

.insight-card > h3 {
  padding: 12px 24px 8px;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--dark);
}

.insight-card > p {
  padding: 0 24px 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.insight-card__link {
  display: inline-block;
  padding: 0 24px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--purple-dark);
}

.insight-card__link:hover { text-decoration: underline; }

/* ---- Team Card (corrected class names from HTML) ---- */
.team-card__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 16px;
}

.team-card__info { /* wrapper */ }

.team-card__name  { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.team-card__title { font-size: 0.85rem; color: var(--purple-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 14px; }
.team-card__bio   { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; }

/* ---- Breadcrumb in service-hero ---- */
.service-hero .breadcrumb {
  padding: 0 0 14px;
  color: rgba(255,255,255,0.55);
}

.service-hero .breadcrumb a { color: rgba(255,255,255,0.72); }
.service-hero .breadcrumb a:hover { color: var(--white); }
.service-hero .breadcrumb span { color: rgba(255,255,255,0.35); }

/* ---- Mobile nav section-title (span, not a) ---- */
.nav__mobile .section-title,
.nav__mobile span.section-title {
  font-weight: 700;
  color: var(--gray);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 20px 16px 6px;
  border-bottom: none;
  display: block;
}

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

/* ---- Photo Feature Sections ---- */
.photo-section {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
}

.photo-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.photo-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,26,46,0.82) 0%, rgba(26,26,46,0.45) 100%);
  z-index: 1;
}

.photo-section__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 72px 0;
}

.photo-section__content h2,
.photo-section__content p { color: inherit; }

.photo-section__content p { opacity: 0.85; font-size: 1.1rem; max-width: 560px; }

/* ---- GRCDefense Product Block ---- */
.grc-product-block {
  background: var(--off-white);
  border: 1px solid var(--purple-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.grc-product-block::before {
  content: '';
  position: absolute;
  top: -30px; right: -50px;
  width: 220px; height: 160px;
  background: var(--purple-light);
  opacity: 0.3;
  clip-path: polygon(12% 0%, 100% 0%, 88% 100%, 0% 100%);
  pointer-events: none;
}

.grc-product-logo {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

/* ---- Awards Strip ---- */
.awards-strip {
  background: var(--off-white);
  border-top: 1px solid var(--gray-light);
  padding: 56px 0;
}

.awards-strip .section-header {
  margin-bottom: 40px;
}

.awards-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: stretch;
}

.award-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  flex: 1;
  min-width: 280px;
}

.award-card__logo {
  height: 72px;
  width: auto;
  flex-shrink: 0;
  border-radius: var(--radius);
  object-fit: contain;
}

.award-card__info { display: flex; flex-direction: column; gap: 4px; }

.award-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.award-card__detail {
  font-size: 0.88rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .awards-grid { flex-direction: column; }
  .award-card { min-width: unset; }
}

/* ============================================================
   ARTICLE BODY — long-form article layout
   ============================================================ */

.article-body {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
}

.article-body p {
  margin-bottom: 1.4em;
}

.article-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 2.4em;
  margin-bottom: 0.6em;
  line-height: 1.3;
}

.article-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 2em;
  margin-bottom: 0.5em;
}

.article-body ul,
.article-body ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}

.article-body li {
  margin-bottom: 0.5em;
}

.article-body strong {
  font-weight: 700;
  color: var(--dark);
}

@media (max-width: 640px) {
  .article-body {
    font-size: 1rem;
  }
  .article-body h2 {
    font-size: 1.2rem;
  }
}

/* Shared component styles extracted from page markup. */

.nav__mobile .nav__mobile-cta {
  color: #645E9C;
  font-weight: 700;
  margin-top: 16px;
}

.eyebrow.eyebrow--light {
  color: var(--teal-light);
}

.section--dark .heading--light {
  color: var(--white);
}

.card.card--dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

.card .card__heading--light {
  color: var(--white);
  margin-bottom: 8px;
}

.card .card__copy--light {
  color: rgba(255,255,255,0.65);
}

.footer__contact .footer__location {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.footer__trademarks {
  color: rgba(255,255,255,0.35);
}

.service-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.article-hero__meta {
  margin-bottom: 16px;
}

.article-hero__date {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.two-col.two-col--top {
  align-items: flex-start;
}

.contact-form__heading {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.section-intro {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-sidebar {
  padding-top: 16px;
}

.contact-info__heading {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--dark);
}

.mt-32 {
  margin-top: 32px;
}

.contact-coverage__heading {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--dark);
}

.contact-coverage__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-coverage__primary {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}

.contact-coverage__divider {
  color: var(--gray-light);
}

.contact-coverage__secondary {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card.card--centered {
  text-align: center;
}

.process-step__number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-mid);
  margin-bottom: 12px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-band .btn--translucent {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: transparent;
}

.stats-row.stats-row--stacked {
  flex-direction: column;
  gap: 32px;
}

.section--dark .heading--light-spaced {
  color: var(--white);
  margin-bottom: 20px;
}

.section--dark .section-copy--light {
  color: rgba(255,255,255,0.8);
}

.feature-card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}

.card .service-card__link {
  color: var(--purple-dark);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 12px;
  display: inline-block;
}

h2.section-heading--compact {
  margin-bottom: 8px;
}

.card .service-card__title-link {
  color: inherit;
  text-decoration: none;
}

.stats-row.stats-row--compact {
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.stat__number.stat__number--large {
  font-size: 3.5rem;
}

.vendor-stat__description {
  margin-top: 24px;
  font-size: 1.05rem;
}

.vendor-stat__heading {
  font-size: 1.6rem;
}

/* Keep mobile navigation scroll behavior in the stylesheet. */
body.nav-open {
  overflow: hidden;
}

/* Cookie choices remain separate from essential site and contact security. */
.cookie-banner {
  position: fixed;
  inset: auto 24px 24px auto;
  z-index: 1100;
  width: min(620px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid var(--purple-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text-body);
  box-shadow: 0 8px 40px rgba(26,26,46,0.2);
}

.cookie-banner[hidden], .cookie-settings[hidden] { display: none; }

.cookie-banner h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.cookie-banner p { font-size: 0.95rem; }
.cookie-banner__note { color: var(--text-muted); }
.cookie-banner a { color: var(--purple-dark); text-decoration: underline; }
.cookie-banner__status:empty { display: none; }

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner__button {
  flex: 1 1 220px;
  padding: 12px 16px;
  border: 2px solid var(--purple-dark);
  border-radius: var(--radius);
  background: var(--purple-dark);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-banner__button:hover { background: #524e82; border-color: #524e82; }
.cookie-banner__button:disabled { opacity: 0.6; cursor: default; }

.cookie-settings {
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--teal-light);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-settings:hover { color: var(--white); }
.cookie-banner__button:focus-visible, .cookie-settings:focus-visible, .cookie-banner a:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .cookie-banner {
    inset: auto 12px 12px;
    width: auto;
    max-height: calc(100dvh - 24px);
    padding: 20px;
  }
}

/* Privacy statement and notices. */
.privacy-updated { margin-top: 20px; color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.privacy-content { overflow-wrap: anywhere; }
.privacy-content a, .contact-form__privacy a { color: var(--purple-dark); text-decoration: underline; }
.privacy-content a:focus-visible, .contact-form__privacy a:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 3px;
}
.privacy-content h2 { scroll-margin-top: 96px; }
.privacy-content ul { list-style: disc; }
.privacy-content code { font-size: 0.9em; }
.privacy-toc { padding: 24px 0; border-block: 1px solid var(--gray-light); }
.privacy-toc ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.privacy-toc li { margin: 0; }
.contact-form__privacy { font-size: 0.9rem; color: var(--text-muted); }
.footer__bottom .footer__privacy { color: var(--teal-light); text-decoration: underline; }
.footer__bottom .footer__privacy:hover { color: var(--white); }
@media (max-width: 640px) {
  .privacy-toc ul { grid-template-columns: 1fr; }
}
