/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #f5f7fb;
  color: #0e224d;
  line-height: 1.6;
  font-size: 17px;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

/* THEME TOKENS */
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --border: #dde3f0;
  --primary: #0d3a78;
  --primary-soft: #e1ecff;
  --accent: #8B4753;
  --accent-gold: #C4A56B;
  --accent-light: #d8a8b8;
  --muted: #45516a;
  --heading: #0b1c3b;
  --body: #0e224d;
  --radius-card: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 16px 40px rgba(9, 30, 66, 0.12);
}

/* LAYOUT HELPERS */
/* Global content container — wider site layout for large screens */
.container {
  width: 92%;            /* wider inner width (desktop) */
  max-width: 1500px;     /* allow more horizontal space on very wide screens */
  margin: 0 auto;
  padding-inline: 1.5rem;
}

/* Make primary page containers a bit wider visually: 90% of viewport with a sane max
   This targets the main page content while keeping other uses of .container safe.
*/
main > .container {
  width: 90%;
  max-width: 1400px; /* limit for ultra-wide screens */
}

@media (max-width: 960px) {
  main > .container {
    width: 100%;
    padding-inline: 1.5rem;
  }
}

/* On smaller screens (tablet / mobile) keep full width container for readability */
@media (max-width: 960px) {
  .container {
    width: 100%;
    max-width: none;
    padding-inline: 1.25rem;
  }
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

.section--tight {
  padding: 3rem 0;
}

.section--spacious {
  padding: 5.5rem 0;
}

.section--alt {
  background: linear-gradient(135deg, #eef2fa 0%, #f5f3f1 100%);
}

.section--dark {
  background: linear-gradient(135deg, #0b1c3b 0%, #0d3a78 100%);
  color: #ffffff;
}

.section__heading {
  margin-bottom: 2.2rem;
  max-width: 750px;
  margin-left: 0;
}

.section__heading h1,
.section__heading h2 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--heading);
  line-height: 1.2;
}

.section__heading h1 {
  font-size: 2.8rem;
  letter-spacing: -0.5px;
}

.section__heading h2 {
  font-size: 2.2rem;
  letter-spacing: -0.3px;
}

.section__heading p {
  font-size: 1.1rem;
  color: #4b5a79;
  line-height: 1.7;
}

/* =========================================================
   PREMIUM PILLARS SECTION
   ======================================================= */

.pillars-section {
  position: relative;
}

.pillars-heading {
  max-width: 750px;
}

.pillars-heading__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7a9e;
  margin-bottom: 0.45rem;
}

/* Soft gradient shell behind the grid */
.pillars-shell {
  margin-top: 0;
  border-radius: 26px;
  padding: 1.4rem 1.6rem;
  background:
    radial-gradient(circle at 0 0, rgba(139, 71, 83, 0.14), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(13, 58, 120, 0.16), transparent 55%),
    #f6f8ff;
  border: 1px solid rgba(199, 210, 236, 0.9);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

/* Grid reused but tuned */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
}

/* Individual pillar card */
.pillar-card {
  position: relative;
  border-radius: 20px;
  padding: 1.5rem 1.4rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(203, 213, 235, 0.9);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 71, 83, 0.12), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.pillar-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  gap: 0.75rem;
}

.pillar-card__step {
  font-size: 0.78rem;
  font-weight: 600;
  color: #0d3a78;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(13, 58, 120, 0.08);
}

.pillar-card__tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #6b728f;
}

.pillar-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0b1c3b;
  margin-bottom: 0.25rem;
}

.pillar-card__body {
  font-size: 0.9rem;
  color: #4a5874;
}

/* Hover state */
.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 60px rgba(139, 71, 83, 0.12);
  border-color: rgba(139, 71, 83, 0.6);
}

.pillar-card:hover::before {
  opacity: 1;
}

/* Responsive */
@media (max-width: 960px) {
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pillars-shell {
    padding: 1.1rem 1rem;
  }

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

/* =========================================================
   HEADER & NAV – CLEAN + PREMIUM
   ======================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.header__inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Brand */
.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.85;
}

.logo__mark {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 8px 18px rgba(139, 71, 83, 0.22));
  transition: filter 0.3s ease;
}

.logo__text {
  display: flex;
  flex-direction: column;
}
.logo__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading);
}
.logo__tagline {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .logo__tagline {
    display: none;
  }
}

/* Nav base (desktop defaults) */
.nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  flex-shrink: 0;
}

.nav__link {
  position: relative;
  font-size: 0.98rem;
  font-weight: 500;
  color: #1b2f4d;
  padding: 0.55rem 0.3rem;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.18s ease;
}

/* Hover pill + underline */
.nav__link::before {
  content: "";
  position: absolute;
  inset: -0.12rem -0.8rem;
  border-radius: 999px;
  background: transparent;
  transition: background 0.18s ease, transform 0.18s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0d3a78, #8B4753);
  transition: width 0.22s ease;
}

.nav__link:hover {
  color: var(--primary);
}
.nav__link:hover::before {
  background: rgba(13, 58, 120, 0.06);
  transform: translateY(-1px);
}
.nav__link:hover::after {
  width: 22px;
}
.nav__link--active {
  color: #8B4753;
}
.nav__link--active::before {
  background: rgba(139, 71, 83, 0.08);
}
.nav__link--active::after {
  width: 22px;
  background: linear-gradient(90deg, #8B4753, #C4A56B) !important;
}

/* Dropdown trigger buttons */
.nav__link--toggle {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Dropdowns */
.nav-item--dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 420px;
  background: #ffffff;
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  box-shadow:
    0 18px 48px rgba(15, 23, 42, 0.18),
    0 4px 12px rgba(15, 23, 42, 0.12);
  border: 1px solid #dfe5f4;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 1200;
}

.dropdown__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.dropdown__item {
  border-radius: 12px;
  padding: 0.5rem 0.6rem;
  text-decoration: none;
  transition: background 0.16s ease, transform 0.16s ease;
}

.dropdown__item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0b1c3b;
}

.dropdown__item-desc {
  font-size: 0.8rem;
  color: #6a7892;
}

.dropdown__item:hover {
  background: #f2f5ff;
  transform: translateY(-1px);
}

/* Header CTAs */
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 1.6rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn--ghost {
  background: transparent;
  color: #8B4753;
  border-color: rgba(139, 71, 83, 0.35);
  transition: all 0.22s ease;
}
.btn--ghost:hover {
  background: rgba(139, 71, 83, 0.1);
  border-color: rgba(139, 71, 83, 0.6);
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, #8B4753 0%, #6d3744 100%);
  border-color: #8B4753;
  color: #fff;
  box-shadow: 0 8px 24px rgba(139, 71, 83, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(139, 71, 83, 0.5);
  background: linear-gradient(135deg, #7a3c47 0%, #5a2d37 100%);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* Mobile CTA wrapper inside nav */
.nav__mobile-cta {
  display: none;
}

/* Sexy hamburger button */
.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid #0d3a78;
  background: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover {
  background: #eaf2ff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
  transform: translateY(-1px);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  width: 20px;
  height: 2px;
  background: #0d3a78;
  border-radius: 999px;
  display: block;
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span::before {
  transform: translateY(-6px);
}
.nav-toggle span::after {
  transform: translateY(6px);
}

/* X animation when menu is open */
.nav-open .nav-toggle span {
  background: transparent;
}
.nav-open .nav-toggle span::before {
  transform: translateY(0) rotate(45deg);
}
.nav-open .nav-toggle span::after {
  transform: translateY(0) rotate(-45deg);
}

/* =========================================================
   HEADER – RESPONSIVE BEHAVIOUR
   ======================================================= */

/* Desktop: dropdowns open on hover, no burger */
@media (min-width: 1025px) {
  .nav__mobile-cta {
    display: none;
  }

  .nav {
    position: static;
    transform: none;
    flex-direction: row;
    align-items: center;
    padding: 0;
    box-shadow: none;
    border: none;
  }

  .dropdown {
    position: absolute;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .nav-item--dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Mobile + Tablet: burger + slide-down nav (up to 1024px) */
@media (max-width: 1024px) {
  .header__inner {
    min-height: 80px;
    gap: 1.5rem;
  }

  .logo__mark {
    height: 48px;
  }

  .header__actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset-inline: 0;
    top: 80px;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 2.25rem;
    gap: 1rem;
    transform: translateY(-140%);
    transition: transform 0.26s ease;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
    z-index: 1000;
  }

  body.nav-open .nav {
    transform: translateY(0);
  }

  .nav__link {
    font-size: 1rem;
    padding: 0.35rem 0;
    width: 100%;
  }

  .nav__link::before {
    inset: -0.1rem -0.4rem;
  }

  /* Accordion dropdowns */
  .nav-item--dropdown .dropdown {
    display: none;
    position: static;
    box-shadow: none;
    border-radius: 0;
    border: none;
    padding: 0.5rem 0 0.5rem 1rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: auto;
    background: transparent;
  }

  .nav-item--dropdown.open .dropdown {
    display: block;
  }

  .dropdown__cols {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .nav__mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }
}

/* Tablet tweaks */
@media (min-width: 768px) and (max-width: 1024px) {
  .header__inner {
    min-height: 86px;
    padding: 0 2rem;
  }

  .nav {
    top: 86px;
    padding: 1.5rem 2rem 2.5rem;
    gap: 1.25rem;
  }

  .nav__link {
    font-size: 1.02rem;
  }

  .dropdown__cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .nav__mobile-cta {
    flex-direction: row;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .nav__mobile-cta > * {
    flex: 1;
  }
}

/* Mobile tweaks */
@media (max-width: 767px) {
  .header {
    padding: 0.35rem 0;
  }

  .header__inner {
    min-height: 72px;
    padding: 0 1rem;
    gap: 1rem;
  }

  .nav {
    top: 72px;
    padding: 1rem 1.25rem 2rem;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .nav__link {
    font-size: 0.94rem;
    padding: 0.4rem 0;
  }

  .dropdown {
    padding: 0.4rem 0 0.4rem 0.75rem;
  }

  .dropdown__cols {
    gap: 0.75rem;
  }

  .nav__mobile-cta {
    gap: 0.625rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }
}

/* Extra small phones */
@media (max-width: 375px) {
  .header__inner {
    min-height: 64px;
    padding: 0 0.75rem;
    gap: 0.75rem;
  }

  .nav {
    top: 64px;
    padding: 0.75rem 1rem 1.5rem;
    max-height: calc(100vh - 64px);
  }

  .nav__link {
    font-size: 0.875rem;
    padding: 0.35rem 0;
  }

  .dropdown {
    padding: 0.3rem 0 0.3rem 0.5rem;
  }

  .nav__mobile-cta {
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
  }
}

/* =========================================================
   HERO (with premium variant)
   ======================================================= */
.hero {
  position: relative;
  padding: 5.5rem 0 6rem;
}

.hero--page {
  padding: 4.5rem 0 4rem;
}

.hero--image {
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(27, 29, 37, 0.82),
    rgba(7, 33, 80, 0.2)
  );
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(139, 71, 83, 0.15);
  border: 1px solid rgba(139, 71, 83, 0.3);
  color: #8B4753;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.hero__eyebrow span:first-child {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #C4A56B;
}

.hero__title {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.hero__subtitle {
  max-width: 560px;
  font-size: 1.05rem;
  color: #e6edff;
  margin-bottom: 2rem;
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.9rem;
  color: #d2defa;
  margin-top: 1.5rem;
}

.hero__highlight {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero__visual {
  position: relative;
  min-height: 260px;
}
.hero-figure {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid #1f3e7d;
}
.hero-badge {
  position: absolute;
  bottom: -14px;
  right: 14px;
  background: #8B4753;
  color: #fff;
  font-size: 0.7rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
/* ==========================
   PAGE HERO (Pricing / Solutions style)
   ========================== */

.hero--page {
  padding: 4.5rem 0 3.75rem;
  background:
    radial-gradient(circle at 0 0, rgba(139, 71, 83, 0.10), transparent 55%),
    #f5f7fb;
}

.hero__inner--page {
  position: relative;
  max-width: 960px;
  display: flex;
  align-items: flex-start;
  min-height: 260px;
}

/* shared page-hero typography */

.hero-page__eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7a9e;
  margin-bottom: 0.75rem;
}

.hero-page__title {
  font-size: 2.4rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #0b1c3b;
  max-width: 32rem;
  margin-bottom: 0.8rem;
}

.hero-page__subtitle {
  font-size: 1rem;
  color: #4b5a79;
  max-width: 34rem;
}

.hero-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.hero-page__btn-primary {
  padding-inline: 1.7rem;
  box-shadow: 0 10px 26px rgba(139, 71, 83, 0.26);
}

.hero-page__btn-ghost {
  border-color: rgba(139, 71, 83, 0.25);
  transition: all 0.2s ease;
}

.hero-page__btn-ghost:hover {
  background: rgba(139, 71, 83, 0.06);
  border-color: rgba(139, 71, 83, 0.5);
}

/* Solutions-specific tweak (slightly different tint than pricing) */
.hero--solutions {
  background:
    radial-gradient(circle at 0 0, rgba(139, 71, 83, 0.12), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(13, 58, 120, 0.06), transparent 55%),
    #f5f7fb;
}

/* Responsive */
@media (max-width: 960px) {
  .hero--page {
    padding: 3.5rem 0 3.25rem;
  }

  .hero__inner--page {
    max-width: none;
  }

  .hero-page__title {
    font-size: 2.1rem;
  }
}

@media (max-width: 720px) {
  .hero--page {
    padding: 3rem 0 2.6rem;
  }

  .hero-page__title {
    font-size: 1.9rem;
  }

  .hero-page__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-page__btn-primary,
  .hero-page__btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* PREMIUM HERO LAYOUT */

.hero--premium {
  padding: 5.5rem 0 5.5rem;
}

.hero__inner--premium {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 520px;
}

/* Glass card for hero content */
.hero__content-card {
  max-width: 620px;
  padding: 2.5rem 2.75rem;
  border-radius: 24px;
  background: radial-gradient(circle at 0 0, rgba(255,255,255,0.16), transparent 60%),
              rgba(9, 15, 40, 0.86);
  border: 1px solid rgba(151, 177, 230, 0.38);
  box-shadow: 0 32px 80px rgba(8, 16, 40, 0.85);
  backdrop-filter: blur(14px);
  animation: hero-card-in 0.6s ease-out forwards;
}

/* Slightly larger, tighter headline for hero */
.hero__title--large {
  font-size: clamp(2.3rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

/* Let subtitle breathe horizontally */
.hero__subtitle--wide {
  max-width: 36rem;
}

/* Eyebrow with glow */
.hero__eyebrow--glow {
  position: relative;
  overflow: hidden;
}

.hero__eyebrow--glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-120%);
  animation: hero-sheen 3.2s linear infinite;
}

/* Hero CTAs */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.6rem 0 1.2rem;
}

.hero__btn-primary {
  padding-inline: 1.6rem;
  box-shadow: 0 14px 40px rgba(139, 71, 83, 0.55);
  background-image: linear-gradient(120deg, #8B4753, #C4A56B, #8B4753);
  background-size: 220% 100%;
  transition: background-position 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.hero__btn-primary:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(139, 71, 83, 0.75);
}

.hero__btn-icon {
  margin-left: 0.4rem;
  font-size: 1rem;
  transform: translateX(0);
  transition: transform 0.18s ease;
}

.hero__btn-primary:hover .hero__btn-icon {
  transform: translateX(3px);
}

.hero__btn-ghost {
  border-color: rgba(196, 165, 107, 0.5);
  color: #faf8f7;
  background: rgba(139, 71, 83, 0.08);
  transition: all 0.2s ease;
}
.hero__btn-ghost:hover {
  background: rgba(139, 71, 83, 0.16);
  border-color: rgba(196, 165, 107, 0.8);
  color: #ffffff;
}

/* Meta inline row refinement */
.hero__meta--inline {
  margin-top: 0.8rem;
  gap: 0.9rem;
}

.hero__highlight span:first-child {
  background: #39d98a;
  box-shadow: 0 0 0 0 rgba(57, 217, 138, 0.5);
  animation: pulse-dot 1.8s ease-out infinite;
}

/* “Live snapshot” metrics strip */
.hero-metrics {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: radial-gradient(circle at 0 0, rgba(139, 71, 83, 0.16), transparent 60%),
              rgba(7, 20, 58, 0.88);
  border: 1px solid rgba(134, 181, 245, 0.55);
}

.hero-metric {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-metric__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a9b9e8;
}

.hero-metric__value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.hero-metric__value--positive {
  color: #4cf3aa;
}

.hero-metric__sub {
  font-size: 0.75rem;
  color: #c4d2ff;
}

/* Hero animations */
@keyframes hero-card-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-sheen {
  0% { transform: translateX(-120%); }
  55% { transform: translateX(140%); }
  100% { transform: translateX(140%); }
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(57, 217, 138, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(57, 217, 138, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(57, 217, 138, 0);
  }
}

/* Hero responsive */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .hero--premium {
    padding: 4.2rem 0 4.4rem;
  }

  .hero__inner--premium {
    min-height: 0;
  }

  .hero__content-card {
    padding: 2.1rem 1.9rem;
    max-width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 2.5rem;
  }

  .hero__title {
    font-size: 2.1rem;
  }

  .hero__title--large {
    font-size: 2rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__btn-primary,
  .hero__btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .hero__meta--inline {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   GRID & CARDS
   ======================================================= */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(203, 213, 235, 0.7);
  padding: 2.2rem 2rem;
  box-shadow: 0 12px 28px rgba(9, 30, 66, 0.08);
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8B4753, #C4A56B);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(139, 71, 83, 0.12);
  border-color: rgba(139, 71, 83, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card--premium {
  border: 1px solid rgba(139, 71, 83, 0.4);
  background: linear-gradient(135deg, #ffffff 0%, #faf8f7 100%);
}

.card--premium:hover {
  box-shadow: 0 28px 60px rgba(139, 71, 83, 0.15);
  border-color: rgba(139, 71, 83, 0.5);
}

.card__tag {
  font-size: 0.7rem;
  color: #8B4753;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: inline-block;
  background: rgba(139, 71, 83, 0.08);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  color: var(--heading);
  font-weight: 600;
  line-height: 1.3;
}

.card p {
  font-size: 0.95rem;
  color: #4a5874;
  line-height: 1.65;
}

ul.bullet-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

ul.bullet-list li {
  font-size: 0.9rem;
  color: #4a5874;
  margin-bottom: 0.6rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

ul.bullet-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #8B4753;
  font-weight: 600;
}
/* =========================================
   ULTRA PREMIUM SOLUTIONS GRID
   ========================================= */

.solutions-section {
  position: relative;
}

.solutions-heading {
  max-width: 720px;
}

.solutions-grid {
  display: grid;
  gap: 1.6rem;
}

/* Core row: 3 equal columns on desktop */
.solutions-grid--core {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 2rem;
}

/* Supporting row: 3 columns on wide, 2 on medium, 1 on small */
.solutions-grid--supporting {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Card shell */
.solutions-card {
  position: relative;
  border-radius: 20px;
  padding: 1.6rem 1.7rem 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(204, 212, 232, 0.95);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transform: translateY(0);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

/* Slight gradient wash on hover */
.solutions-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 0 0,
    rgba(139, 71, 83, 0.12),
    transparent 60%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.solutions-card--core {
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
}

.solutions-card--support {
  background: linear-gradient(180deg, #ffffff, #f9fbff);
}

/* Icon halo */
.solutions-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  box-shadow:
    0 6px 16px rgba(15, 23, 42, 0.18),
    0 0 0 4px rgba(209, 223, 255, 0.7);
}

/* Different color accents per family */
.solutions-card__icon--clinical {
  background: linear-gradient(135deg, #0d3a78, #8B4753);
}
.solutions-card__icon--ops {
  background: linear-gradient(135deg, #8B4753, #c4a56b);
}
.solutions-card__icon--financial {
  background: linear-gradient(135deg, #f97316, #ea580c);
}
.solutions-card__icon--access {
  background: linear-gradient(135deg, #8B4753, #C4A56B);
}
.solutions-card__icon--intel {
  background: linear-gradient(135deg, #6366f1, #8B4753);
}
.solutions-card__icon--population {
  background: linear-gradient(135deg, #16a34a, #8B4753);
}

/* Eyebrow + title + body */
.solutions-card__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #64748b;
  margin-bottom: 0.3rem;
}

.solutions-card__title {
  font-size: 1.08rem;
  font-weight: 600;
  color: #0b1c3b;
  margin-bottom: 0.4rem;
}

.solutions-card__body {
  font-size: 0.92rem;
  color: #4a5874;
  margin-bottom: 0.7rem;
}

/* Inline link */
.solutions-card__link {
  font-size: 0.86rem;
  font-weight: 500;
  color: #0d3a78;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.08rem;
}

.solutions-card__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, #0d3a78, #8B4753);
  transition: width 0.22s ease;
}

.solutions-card__link:hover::after {
  width: 100%;
}

/* Hover lift */
.solutions-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 52px rgba(139, 71, 83, 0.12);
  border-color: rgba(139, 71, 83, 0.6);
}
.solutions-card:hover::before {
  opacity: 1;
}

/* Responsive layout */
@media (max-width: 1024px) {
  .solutions-grid--core,
  .solutions-grid--supporting {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .solutions-grid--core,
  .solutions-grid--supporting {
    grid-template-columns: 1fr;
  }
}



/* =========================================================
   PREMIUM STATS SECTION
   ======================================================= */

.stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.stat {
  min-width: 140px;
}
.stat__value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--heading);
}
.stat__label {
  font-size: 0.8rem;
  color: var(--muted);
}

/* wrapper text */
.stats-section__header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}
.stats-section__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7a9e;
}
.stats-section__sub {
  font-size: 0.9rem;
  color: #4b5a79;
}

/* Premium stats bar */
.stats-bar--premium {
  background: linear-gradient(135deg, #ffffff 0%, #faf8f7 100%);
  border-radius: 20px;
  border: 1.5px solid rgba(139, 71, 83, 0.25);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  padding: 1.8rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: center;
  animation: stats-in 0.6s ease-out forwards;
  position: relative;
  overflow: hidden;
}

.stats-bar--premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(139, 71, 83, 0) 0%, rgba(196, 165, 107, 0.4) 50%, rgba(139, 71, 83, 0) 100%);
}

.stats-bar--premium .stat {
  position: relative;
  padding-inline: 1rem;
}

.stats-bar--premium .stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 0;
  width: 2px;
  height: 60%;
  background: linear-gradient(to bottom,
    rgba(184, 196, 224, 0), rgba(196, 165, 107, 0.5), rgba(184,196,224,0));
}

.stats-bar--premium .stat__value {
  font-size: 1.8rem;
  letter-spacing: -0.3px;
  color: #8B4753;
  font-weight: 700;
}
.stats-bar--premium .stat__label {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: #66729a;
  font-weight: 500;
}

@keyframes stats-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive stats */
@media (max-width: 960px) {
  .stats-bar--premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-bar--premium .stat:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .stats-bar--premium {
    grid-template-columns: 1fr 1fr;
    row-gap: 1.1rem;
    padding: 1.1rem 1.2rem;
  }
  .stats-bar--premium .stat__value {
    font-size: 1.4rem;
  }
}

/* =========================================================
   BREADCRUMB / FORMS / PRICING / FOOTER
   ======================================================= */

.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumb a {
  text-decoration: none;
  color: var(--muted);
}
.breadcrumb a:hover {
  color: var(--primary);
}

/* Forms */
.form {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid rgba(203, 213, 235, 0.8);
  padding: 2.2rem;
  box-shadow: 0 12px 28px rgba(9, 30, 66, 0.08);
}
.form__group {
  margin-bottom: 1.4rem;
}
.form__group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--heading);
  font-weight: 500;
}
.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  border-radius: 12px;
  border: 1.5px solid rgba(203, 213, 235, 0.8);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.15s ease;
  background-color: #fafbfc;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: #8B4753;
  box-shadow: 0 0 0 4px rgba(139, 71, 83, 0.15);
  background-color: #ffffff;
}
.form__group textarea {
  resize: vertical;
  min-height: 140px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.pricing-plan__price {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0.4rem 0;
  color: var(--heading);
}
.pricing-plan__tagline {
  font-size: 0.85rem;
  color: #4a5874;
  margin-bottom: 0.8rem;
}
/* =========================================
   PREMIUM PRICING GRID STYLES
   ========================================= */

.pricing-grid--premium {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
  border: 1.5px solid rgba(203, 213, 235, 0.9);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  position: relative;
  padding: 2.2rem;
  transition: all 0.22s ease;
}

.pricing-card:hover {
  border-color: rgba(139, 71, 83, 0.4);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.pricing-card__header {
  margin-bottom: 1.2rem;
}

.pricing-card__price-row {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pricing-card__meta {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}

.pricing-card__list {
  margin-top: 1rem;
}

.pricing-card__cta-row {
  margin-top: 1.6rem;
}

/* Featured / primary pricing card */
.pricing-card--featured {
  border: 2px solid #8B4753;
  box-shadow:
    0 24px 64px rgba(139, 71, 83, 0.18),
    0 0 0 1px rgba(196, 165, 107, 0.4);
  transform: translateY(-6px);
  background: linear-gradient(135deg, #ffffff 0%, #faf8f7 100%);
  position: relative;
}

.pricing-card--featured:hover {
  transform: translateY(-8px);
  box-shadow:
    0 28px 72px rgba(139, 71, 83, 0.25),
    0 0 0 1px rgba(196, 165, 107, 0.5);
}

.pricing-card--featured .card__tag {
  color: #8B4753;
  background: rgba(139, 71, 83, 0.12);
  border-color: rgba(139, 71, 83, 0.4);
}

.pricing-card__badge {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  background: rgba(139, 71, 83, 0.08);
  color: #8B4753;
  border: 1px solid rgba(196, 165, 107, 0.6);
}

/* Small note under pricing section */
.pricing-note {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: #4b5a79;
}
/* ============================
   PRICING HERO (LIGHT PREMIUM)
   ============================ */

.pricing-hero {
  position: relative;
  padding: 5rem 0 5.5rem;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f7faff 60%,
    #eef4ff 100%
  );
  border-bottom: 1px solid rgba(180, 195, 230, 0.35);
}

.pricing-hero__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.pricing-hero__content {
  max-width: 700px;
}

.pricing-hero__eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7a9e;
  display: inline-block;
  margin-bottom: 0.8rem;
}

.pricing-hero__title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  color: #0d1b3f;
  margin-bottom: 1rem;
}

.pricing-hero__subtitle {
  font-size: 1.05rem;
  color: #4b5a79;
  max-width: 560px;
  margin-bottom: 1.8rem;
}

.pricing-hero__actions {
  display: flex;
  gap: 1rem;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .pricing-hero {
    padding: 3.5rem 0 3.8rem;
  }

  .pricing-hero__title {
    font-size: 2rem;
  }

  .pricing-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}



/* Footer */
/* ============================================
   PREMIUM FOOTER – IMSS HEALTHCARE
   ============================================ */

.footer {
  background: linear-gradient(180deg, #ffffff 0%, #faf8f7 100%);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, rgba(139, 71, 83, 0.3), rgba(196, 165, 107, 0.2)) 0 0 1 0;
  margin-top: 4rem;
  padding: 3.5rem 0 2.5rem;
  position: relative;
}

/* Soft gradient + subtle top glow */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0 0, rgba(139, 71, 83, 0.15), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(13, 58, 120, 0.12), transparent 55%);
  opacity: 1;
  pointer-events: none;
}

/* Content wrapper stays above gradient */
.footer > .container {
  position: relative;
  z-index: 1;
}

.footer__top {
  display: grid;
  grid-template-columns: 2.2fr repeat(3, minmax(0, 1fr));
  gap: 3rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(139, 71, 83, 0.1);
}

/* Brand block */
.footer__brand p {
  font-size: 0.95rem;
  color: #4b556a;
  margin-top: 0.9rem;
  max-width: 22rem;
  line-height: 1.65;
}

/* Small tags under brand */
.footer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.footer-tag {
  font-size: 0.74rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #f8fafc;
  color: #4b5563;
}

/* Column headers & links */
.footer__col h4 {
  font-size: 0.98rem;
  margin-bottom: 1.1rem;
  color: #0b1c3b;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.footer__col ul {
  list-style: none;
  padding-left: 0;
}

.footer__col li + li {
  margin-top: 0.55rem;
}

.footer__col a {
  text-decoration: none;
  color: #4b556a;
  font-size: 0.9rem;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer__col a:hover {
  color: #8B4753;
  transform: translateX(2px);
}

/* Contact column */
.footer__col--contact .footer__contact-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0.6rem;
}

.footer__col--contact .footer__contact-list li {
  font-size: 0.86rem;
  color: #4b556a;
  margin-bottom: 0.25rem;
}

.footer__col--contact .footer__contact-list li span {
  font-weight: 500;
  color: #111827;
  margin-right: 0.25rem;
}

.footer__col--contact .footer__contact-list a {
  color: #8B4753;
  text-decoration: none;
}

.footer__col--contact .footer__contact-list a:hover {
  color: #C4A56B;
  text-decoration: underline;
}

.footer__region-note {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.3rem;
}

/* Bottom row */
.footer__bottom {
  margin-top: 2.1rem;
  font-size: 0.8rem;
  color: #6b7280;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.footer__bottom-links a {
  text-decoration: none;
  color: #4b556a;
  transition: color 0.18s ease;
}

.footer__bottom-links a:hover {
  color: var(--primary);
}

/* Responsive footer */
@media (max-width: 960px) {
  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 2.3rem 0 1.6rem;
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__brand p {
    max-width: none;
  }

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


/* =========================================================
   LEADERSHIP CARDS
   ======================================================= */

.leader__photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.leader-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.leadership-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.leadership-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ====== NEW: SECTION EYEBROW COMPONENT ====== */
.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7a9e;
  margin-bottom: 0.45rem;
}

/* ====== ABOUT SECTION SPECIFIC ====== */
.about-heading {
  max-width: 750px;
}

.about-content {
  align-items: start;
  margin-top: 2rem;
}

.about-subheading {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #0b1c3b;
  font-weight: 600;
}

.about-list {
  list-style: none;
  padding: 0;
}

.about-list li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: #4a5874;
  line-height: 1.6;
}

/* ====== CTA HEADING CENTERED ====== */
.cta-heading-center {
  text-align: left;
  max-width: 750px;
  margin: 0;
}

.cta-heading-center + .grid-3 {
  margin-top: 2rem;
}

/* ====== CARD LIST STYLING ====== */
.card-list {
  font-size: 0.9rem;
  margin-top: 1rem;
  padding-left: 1.5rem;
  list-style: none;
}

.card-list li {
  margin-bottom: 0.5rem;
  color: #4a5874;
}

/* ====== SERVICE CARD DESCRIPTIONS ====== */
.service-card-description {
  color: #4b5a79;
  margin: 1rem 0;
}

.service-card-list {
  padding-left: 1.5rem;
}

.service-card-ideal {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #0d3a78;
  font-weight: 600;
}

/* ====== SERVICE PACKAGE BOX ====== */
.service-package-box {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #f5f7fb;
  border-radius: 8px;
  border-left: 4px solid #8B4753;
}

.service-package-box h3 {
  margin-top: 0;
  color: #0d3a78;
  font-size: 1.1rem;
}

.service-package-box p {
  color: #4b5a79;
  margin-bottom: 0.5rem;
}

/* ====== SECURITY LIST ====== */
.security-list {
  margin-top: 1rem;
}

@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
  }
  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }
  .section {
    padding: 4.5rem 0;
  }
  h1 {
    font-size: 2.4rem;
  }
  h2 {
    font-size: 1.9rem;
  }
}

@media (max-width: 720px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .pricing-grid,
  .footer__top {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .section__heading {
    margin-bottom: 2.2rem;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }
  .hero {
    padding: 3.5rem 0 4rem;
  }
  .hero__title {
    font-size: 2.2rem;
  }
  .hero__subtitle {
    font-size: 0.95rem;
  }
  .btn {
    padding: 0.55rem 1.35rem;
    font-size: 0.9rem;
  }
  .card {
    padding: 1.8rem 1.6rem;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
}
/* ===========================
   PREMIUM SECURITY SECTION
   =========================== */

.security-section {
  position: relative;
}

.security-shell {
  border-radius: 26px;
  padding: 2.2rem 2.4rem;
  background:
    radial-gradient(circle at 0 0, rgba(139, 71, 83, 0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(13, 58, 120, 0.16), transparent 55%),
    #f4f6ff;
  border: 1px solid rgba(199, 210, 236, 0.9);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
}

.security-heading {
  margin-bottom: 1.8rem;
  max-width: 750px;
}

.security-heading__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7a9e;
  margin-bottom: 0.45rem;
}

/* Two-column layout: copy + badges */
.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.security-copy__lead {
  font-size: 0.95rem;
  color: #2a3654;
  margin-bottom: 0.9rem;
}

.security-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.security-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9rem;
  color: #4a5874;
}

.security-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

/* Badges card */
.security-badges {
  display: flex;
  justify-content: flex-end;
}

.security-badges__card {
  flex: 1;
  max-width: 360px;
  border-radius: 20px;
  padding: 1.3rem 1.4rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(203, 213, 235, 0.9);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

/* Polished CTA layout inside the badges card */
.security-badges__meta {
  margin-top: 0.45rem;
  color: #344155;
  font-size: 0.95rem;
  line-height: 1.45;
}

.security-badges__cta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.8rem;
}

.security-badges__cta .btn {
  flex: 1 1 auto; /* primary button takes available space */
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
}

.security-badges__links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 160px;
}

.security-badges__links .security-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.6rem;
  font-weight: 600;
}

/* On very narrow screens stack actions */
@media (max-width: 640px) {
  .security-badges__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .security-badges__links {
    flex-direction: row;
    justify-content: space-between;
    min-width: 0;
  }

  .security-badges__links .security-badge {
    flex: 1 1 auto;
  }
}

.security-badge {
  position: relative;
  padding: 0.45rem 0.6rem 0.45rem 1.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #25324c;
  background: linear-gradient(90deg, #f7f9ff, #eef3ff);
  border: 1px solid rgba(199, 210, 236, 0.8);
  overflow: hidden;
}

.security-badge::before {
  content: "✓";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, #4ade80, #16a34a);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

/* Subtle hover “lift” */
.security-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .security-shell {
    padding: 1.8rem 1.7rem;
  }

  .security-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .security-badges {
    justify-content: flex-start;
  }

  .security-badges__card {
    max-width: 100%;
  }
}

/* Local modifier: center items vertically for specific security-grid instances */
.security-grid--centered {
  align-items: center;
}

@media (max-width: 960px) {
  /* when layout collapses to single column, revert to top alignment */
  .security-grid--centered {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .security-shell {
    padding: 1.5rem 1.25rem;
  }

  .security-badges__card {
    padding: 1.1rem 1.1rem;
  }

  .security-badge {
    font-size: 0.82rem;
  }
}
/* ============================================
   PREMIUM HEALTH-PILL BULLET LIST (Option C)
   ============================================ */

.security-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem; /* perfect breathing space */
}

.security-list li {
  position: relative;
  padding-left: 2.6rem;
  font-size: 0.96rem;
  color: #2b3d63;
  line-height: 1.55;
  font-weight: 500;
}

/* Pill icon container */
.security-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d3a78, #8B4753);
  box-shadow:
    0 4px 10px rgba(0, 40, 90, 0.22),
    0 0 0 4px rgba(13, 58, 120, 0.05);
}

/* Checkmark inside pill */
.security-list li::after {
  content: "✓";
  position: absolute;
  left: 7.5px;
  top: 2px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
/* ============================================================
   PREMIUM FINAL CTA – LIGHT THEME (IMSS STYLE)
   ============================================================ */

.section--cta-final-light {
  padding: 4.5rem 0;
}

.section--cta-final-light .section__heading {
  max-width: 100%;
}

.section--cta-final-light .cta-heading-center {
  max-width: 100%;
  background: #ffffff;
  border-radius: 22px;
  padding: 2.4rem 2.6rem;
  border: 1px solid rgba(13, 58, 120, 0.15);
  box-shadow: 0 16px 45px rgba(13, 58, 120, 0.12),
              0 4px 12px rgba(13, 58, 120, 0.06);
  background-image:
    radial-gradient(circle at 0 0, rgba(139,71,83,0.08), transparent 65%),
    radial-gradient(circle at 100% 100%, rgba(13,58,120,0.08), transparent 65%);
}

.section--cta-final-light .cta-heading-center h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.22;
}

.section--cta-final-light .cta-heading-center p {
  font-size: 1rem;
  max-width: 32rem;
  margin-bottom: 1.1rem;
}

.section--cta-final-light .cta-final-light__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
  margin-bottom: 1.8rem;
}

.cta-final-light__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.cta-chip {
  padding: 0.25rem 0.75rem;
  background: #f5f7fb;
  color: #0e224d;
  border-radius: 999px;
  border: 1px solid rgba(13, 58, 120, 0.15);
  font-size: 0.78rem;
}

/* CTA buttons column */
.cta-final-light__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.cta-final-light__btn-primary {
  padding-inline: 1.8rem;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(139, 71, 83, 0.25);
}

.cta-final-light__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(139, 71, 83, 0.3);
}

.cta-final-light__btn-ghost {
  border-color: rgba(139, 71, 83, 0.3);
  transition: all 0.2s ease;
}

.cta-final-light__btn-ghost:hover {
  background: rgba(139, 71, 83, 0.06);
  border-color: rgba(139, 71, 83, 0.6);
}

/* Responsive */
@media (max-width: 960px) {
  .cta-final-light {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding: 2rem 1.8rem;
  }

  .cta-final-light__actions {
    align-items: stretch;
  }

  .cta-final-light__btn-primary,
  .cta-final-light__btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 960px) {
  .section--cta-final-light .cta-heading-center {
    padding: 2rem 2rem;
  }

  .cta-final-light__actions {
    margin-top: 1.5rem;
  }
}

@media (max-width: 640px) {
  .section--cta-final-light .cta-heading-center {
    padding: 1.7rem 1.4rem;
    border-radius: 18px;
  }

  .section--cta-final-light .cta-heading-center h2 {
    font-size: 1.6rem;
  }
}
/* ============================================================
   PREMIUM IMSS HEADER & NAV
   (Works with your existing HTML + JS)
   ============================================================ */

/* Base header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background:
    radial-gradient(circle at 0 0, rgba(139, 71, 83, 0.10), transparent 55%),
    linear-gradient(90deg, #ffffff 0%, #faf8f7 40%, #f5f3f1 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(139, 71, 83, 0.08);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
}


/* Inner bar */
.header__inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.25rem;
}

/* Brand */
.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.85;
}

.logo__mark {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 8px 18px rgba(139, 71, 83, 0.22));
  transition: filter 0.3s ease;
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0b1c3b;
}

.logo__tagline {
  font-size: 0.78rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

@media (max-width: 768px) {
  .logo__tagline {
    display: none;
  }
}

/* NAV – DESKTOP BASE */
.nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  flex-shrink: 0;
}

.nav__link {
  position: relative;
  font-size: 0.98rem;
  font-weight: 500;
  color: #1e293b;
  padding: 0.55rem 0.25rem;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.18s ease;
}

/* pill + underline hover */
.nav__link::before {
  content: "";
  position: absolute;
  inset: -0.1rem -0.7rem;
  border-radius: 999px;
  background: transparent;
  transition: background 0.18s ease, transform 0.18s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0d3a78, #8B4753);
  transition: width 0.22s ease;
}

.nav__link:hover {
  color: #0d3a78;
}
.nav__link:hover::before {
  background: rgba(13, 58, 120, 0.06);
  transform: translateY(-1px);
}
.nav__link:hover::after {
  width: 22px;
}

/* active state if you add .nav__link--active on pages */
.nav__link--active {
  color: #0d3a78;
}
.nav__link--active::before {
  background: rgba(13, 58, 120, 0.09);
}
.nav__link--active::after {
  width: 22px;
}

/* Dropdown trigger buttons */
.nav__link--toggle {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

/* DROPDOWN – DESKTOP */
.nav-item--dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 420px;
  background: #ffffff;
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  box-shadow:
    0 18px 48px rgba(15, 23, 42, 0.18),
    0 4px 14px rgba(15, 23, 42, 0.12);
  border: 1px solid #dfe5f4;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transform-origin: top left;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 1200;
}

.dropdown__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.dropdown__item {
  border-radius: 12px;
  padding: 0.5rem 0.6rem;
  text-decoration: none;
  transition: background 0.16s ease, transform 0.16s ease;
}

.dropdown__item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0b1c3b;
}
.dropdown__item-desc {
  font-size: 0.8rem;
  color: #6a7892;
}

.dropdown__item:hover {
  background: #f2f5ff;
  transform: translateY(-1px);
}

/* Show dropdown on hover – desktop only */
@media (min-width: 1025px) {
  .nav-item--dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* HEADER CTAs (desktop) */
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.header__actions .btn {
  font-size: 0.9rem;
  padding: 0.55rem 1.35rem;
}

.header__actions .btn--primary {
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(13, 58, 120, 0.3);
}

/* Buttons base (if not already styled) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 1.6rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn--ghost {
  background: transparent;
  color: #8B4753;
  border-color: rgba(139, 71, 83, 0.35);
}
.btn--ghost:hover {
  background: rgba(139, 71, 83, 0.1);
  border-color: rgba(139, 71, 83, 0.6);
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, #8B4753 0%, #6d3744 100%);
  border-color: #8B4753;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(139, 71, 83, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(139, 71, 83, 0.5);
  background: linear-gradient(135deg, #7a3c47 0%, #5a2d37 100%);
}
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(139, 71, 83, 0.45);
}

/* for mobile footer CTAs in nav */
.btn--full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   MOBILE & TABLET NAV BEHAVIOR
   (works with body.nav-open from main.js)
   ============================================================ */

/* Shared (up to 1024px) */
@media (max-width: 1024px) {
  /* hide desktop CTAs */
  .header__actions {
    display: none;
  }

  .nav {
    position: fixed;
    inset-inline: 0;
    top: 70px; /* header height on mobile/tablet */
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 2.2rem;
    gap: 1rem;
    transform: translateY(-140%);
    transition: transform 0.26s ease;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
    z-index: 999;
  }

  body.nav-open .nav {
    transform: translateY(0);
  }

  /* nav links full width in stack */
  .nav__link {
    width: 100%;
    font-size: 0.98rem;
    padding: 0.35rem 0;
  }
  .nav__link::before {
    inset: -0.1rem -0.4rem;
  }

  /* dropdowns become accordions */
  .nav-item--dropdown .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border-radius: 0;
    border: none;
    padding: 0.4rem 0 0.4rem 0.9rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: auto;
    background: transparent;
  }

  .nav-item--dropdown.open .dropdown {
    display: block;
  }

  .dropdown__cols {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Mobile CTAs inside nav */
  .nav__mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.45);
  }
}

/* Tablet specific (768–1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .header__inner {
    min-height: 80px;
    gap: 1.8rem;
  }

  .logo__mark {
    height: 46px;
  }

  .nav {
    top: 80px;
    padding-inline: 2rem;
  }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
  .header {
    padding-block: 0.2rem;
  }

  .header__inner {
    min-height: 70px;
    gap: 1.2rem;
  }

  .nav {
    top: 70px;
    padding: 1rem 1.3rem 2rem;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
}

/* ============================================================
   HAMBURGER BUTTON
   ============================================================ */

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid #0d3a78;
  background: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover {
  background: #eaf2ff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
  transform: translateY(-1px);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  width: 20px;
  height: 2px;
  background: #0d3a78;
  border-radius: 999px;
  display: block;
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span::before {
  transform: translateY(-6px);
}
.nav-toggle span::after {
  transform: translateY(6px);
}

/* X animation on open */
.nav-open .nav-toggle span {
  background: transparent;
}
.nav-open .nav-toggle span::before {
  transform: translateY(0) rotate(45deg);
}
.nav-open .nav-toggle span::after {
  transform: translateY(0) rotate(-45deg);
}

/* show burger only on <= 1024px */
@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex;
  }
}

/* DESKTOP RESET (>= 1025px) */
@media (min-width: 1025px) {
  .nav {
    position: static;
    transform: none;
    flex-direction: row;
    align-items: center;
    padding: 0;
    box-shadow: none;
    border: none;
  }

  .nav__mobile-cta {
    display: none;
  }
}

/* ==========================
   SERVICES PAGE
   ========================== */

/* Page hero tint for services */
.hero--services {
  background:
    radial-gradient(circle at 0 0, rgba(139,71,83,0.11), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(13,58,120,0.05), transparent 55%),
    #f5f7fb;
}

.hero-services__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.hero-services__chip {
  font-size: 0.78rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(248, 250, 252, 0.9);
  color: #475569;
}

/* Pillars section */
.services-pillars {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.services-pillars__heading {
  max-width: 620px;
}

.services-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.service-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 1.6rem 1.7rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card--primary {
  border-color: rgba(139, 71, 83, 0.75);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(139, 71, 83, 0.12);
  border-color: rgba(139, 71, 83, 0.8);
}

.service-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.9rem;
}

.service-card__icon--blue {
  background: linear-gradient(135deg, #0d3a78, #8B4753);
}
.service-card__icon--green {
  background: linear-gradient(135deg, #0f766e, #22c55e);
}
.service-card__icon--teal {
  background: linear-gradient(135deg, #8B4753, #c4a56b);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.service-card__text {
  font-size: 0.92rem;
  color: #4b5a79;
  margin-bottom: 0.75rem;
}

.service-card__list {
  list-style: none;
  padding-left: 0;
  font-size: 0.86rem;
  color: #4a5874;
}

.service-card__list li + li {
  margin-top: 0.25rem;
}

/* Service lines grid (6 cards) */
.services-lines__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-line-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  padding: 1.4rem 1.5rem 1.5rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-line-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 52px rgba(139, 71, 83, 0.12);
  border-color: rgba(139, 71, 83, 0.8);
}

.service-line-card__eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
}

.service-line-card h3 {
  font-size: 1.06rem;
  margin-bottom: 0.2rem;
}

.service-line-card p {
  font-size: 0.9rem;
  color: #4b5a79;
}

.service-line-card__list {
  list-style: none;
  padding-left: 0;
  font-size: 0.86rem;
  color: #4a5874;
  margin-top: 0.3rem;
}

.service-line-card__list li + li {
  margin-top: 0.2rem;
}

.service-line-card__link {
  margin-top: 0.7rem;
  font-size: 0.86rem;
  color: #0d3a78;
  font-weight: 500;
}

/* Detailed services grid & card style (matches service-line-card weight look) */
.services-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.service-detail {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  padding: 1.2rem 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-detail:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(139, 71, 83, 0.12);
  border-color: rgba(139, 71, 83, 0.75);
}

.service-detail h3 {
  font-size: 1.02rem;
  margin-bottom: 0.1rem;
}

.service-detail p {
  font-size: 0.92rem;
  color: #4b5a79;
}

.service-detail ul {
  list-style: none;
  padding-left: 0;
  color: #4a5874;
  font-size: 0.88rem;
  margin-top: 0.3rem;
}

.service-detail ul li + li {
  margin-top: 0.2rem;
}

@media (max-width: 960px) {
  .services-detail__grid { grid-template-columns: 1fr; }
}

/* Engagement steps */
.services-steps__header {
  max-width: 640px;
  margin-bottom: 1.8rem;
}

.services-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.services-step {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.4rem 1.5rem 1.5rem;
  border: 1px solid rgba(209, 213, 219, 0.95);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.services-step__badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d3a78, #8B4753);
  color: #ffffff;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
}

.services-step h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.services-step p {
  font-size: 0.88rem;
  color: #4b5a79;
  margin-bottom: 0.5rem;
}

.services-step ul {
  list-style: none;
  padding-left: 0;
  font-size: 0.84rem;
  color: #4a5874;
}

.services-step ul li + li {
  margin-top: 0.15rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-pillars__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-lines__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-steps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .services-pillars__grid,
  .services-lines__grid,
  .services-steps__grid {
    grid-template-columns: 1fr;
  }
}
/* =============================================
   PREMIUM TIMELINE – IMSS Healthcare
   ============================================= */

.section--timeline {
  position: relative;
}

.timeline-premium {
  position: relative;
  padding-left: 2.5rem;
  margin-top: 2.2rem;
  border-left: 2px solid rgba(13, 58, 120, 0.25);
}

/* Timeline item */
.timeline-premium__item {
  position: relative;
  margin-bottom: 2.2rem;
  padding-left: 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-premium__item:last-child {
  margin-bottom: 0;
}

/* Dot */
.timeline-premium__dot {
  position: absolute;
  left: -0.65rem;
  top: 0.35rem;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #0d3a78, #8B4753);
  border-radius: 50%;
  box-shadow:
    0 0 0 6px rgba(13, 58, 120, 0.15),
    0 4px 12px rgba(0, 20, 60, 0.22);
}

/* Content box */
.timeline-premium__content {
  background: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(210, 220, 240, 0.7);
  box-shadow: 0 8px 22px rgba(13, 58, 120, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-premium__year {
  font-size: 1.15rem;
  font-weight: 600;
  color: #0d3a78;
  margin-bottom: 0.35rem;
}

/* Hover effect */
.timeline-premium__item:hover .timeline-premium__content {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(13, 58, 120, 0.16);
}

.timeline-premium__item:hover .timeline-premium__dot {
  box-shadow:
    0 0 0 10px rgba(139, 71, 83, 0.15),
    0 6px 18px rgba(0, 20, 60, 0.35);
}

/* Responsive */
@media (max-width: 640px) {
  .timeline-premium {
    padding-left: 1.8rem;
  }

  .timeline-premium__content {
    padding: 1rem 1.1rem;
  }

  .timeline-premium__year {
    font-size: 1.05rem;
  }
}

/* =========================================================
   PREMIUM COMPANY BRANDING HERO
   ======================================================= */

.hero--branding {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f0f5fb 100%);
  position: relative;
  overflow: hidden;
}

.hero--branding::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 71, 83, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero--branding::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 58, 120, 0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__branding-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 1.5rem;
  align-items: center;
}

.hero__branding-content {
  max-width: 100%;
}

.hero__branding-eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0d3a78;
  margin-bottom: 1rem;
  display: block;
}

.hero__branding-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0b1c3b;
  margin-bottom: 1.5rem;
}

.hero__branding-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4b5a79;
  margin-bottom: 2rem;
  max-width: 550px;
}

.hero__branding-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-bottom: 2.2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(13, 58, 120, 0.1);
}

.hero__branding-stat {
  text-align: left;
  animation: slideInLeft 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: transform 0.22s ease;
}

.hero__branding-stat:hover {
  transform: translateX(8px);
}

.hero__branding-stat-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0d3a78;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #0d3a78 0%, #8B4753 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero__branding-stat:hover .hero__branding-stat-value {
  background: linear-gradient(135deg, #8B4753 0%, #0d3a78 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__branding-stat-label {
  font-size: 0.9rem;
  color: #6b7a9e;
  font-weight: 500;
  transition: color 0.32s ease;
}

.hero__branding-stat:hover .hero__branding-stat-label {
  color: #8B4753;
}

.hero__branding-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero__branding-btn-primary {
  padding: 0.7rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(139, 71, 83, 0.28);
  position: relative;
  overflow: hidden;
  transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(135deg, #8B4753 0%, #a85875 100%);
}

.hero__branding-btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.hero__branding-btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(139, 71, 83, 0.4),
              inset 0 1px 0 rgba(255,255,255,0.2);
}

.hero__branding-btn-primary:hover::before {
  left: 100%;
}

.btn--ghost-premium {
  background: transparent;
  color: #8B4753;
  border: 1.5px solid #8B4753;
  padding: 0.65rem 1.8rem;
  font-weight: 600;
  transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn--ghost-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #8B4753;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: -1;
}

.btn--ghost-premium:hover {
  color: #ffffff;
  border-color: #8B4753;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(139, 71, 83, 0.25);
}

.btn--ghost-premium:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}
}

.btn--ghost-premium:hover {
  background: #8B4753;
  color: white;
  box-shadow: 0 4px 12px rgba(139, 71, 83, 0.3);
}

.hero__branding-footnote {
  font-size: 0.85rem;
  color: #6b7a9e;
  font-style: italic;
}

/* Right visual section */
.hero__branding-visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: -1rem;
}

.hero__branding-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: 0 20px 60px rgba(13, 58, 120, 0.12);
  border: 1px solid rgba(13, 58, 120, 0.08);
  position: relative;
  max-width: 360px;
  transform: translateY(0);
  transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
}

.hero__branding-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(139, 71, 83, 0.1) 0%, transparent 60%);
  opacity: 0;
  border-radius: 24px;
  transition: opacity 0.32s ease;
  pointer-events: none;
}

.hero__branding-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 32px 80px rgba(13, 58, 120, 0.18),
              0 8px 24px rgba(13, 58, 120, 0.12),
              inset 0 1px 0 rgba(255,255,255,0.6);
  background: linear-gradient(135deg, #ffffff 0%, #faf8f9 100%);
}

.hero__branding-card:hover::after {
  opacity: 1;
}

.hero__branding-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0d3a78, #8B4753);
  border-radius: 24px 24px 0 0;
  transition: all 0.32s ease;
}

.hero__branding-card:hover::before {
  height: 6px;
  box-shadow: 0 2px 8px rgba(139, 71, 83, 0.2);
}

.hero__branding-card-content {
  position: relative;
}

.hero__branding-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #0d3a78;
  background: rgba(13, 58, 120, 0.08);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero__branding-card-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0b1c3b;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero__branding-card-content p {
  font-size: 0.95rem;
  color: #4b5a79;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hero__branding-card-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hero__branding-feature {
  font-size: 0.95rem;
  color: #0d3a78;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__branding-feature::before {
  content: "✓";
  color: #8B4753;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero--branding {
    padding: 4.5rem 0;
  }

  .hero__branding-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__branding-visual {
    order: -1;
  }

  .hero__branding-card {
    max-width: 100%;
  }

  .hero__branding-title {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  .hero--branding {
    padding: 3.5rem 0;
  }

  .hero__branding-title {
    font-size: 2rem;
  }

  .hero__branding-subtitle {
    font-size: 0.95rem;
  }

  .hero__branding-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .hero__branding-stat-value {
    font-size: 1.8rem;
  }

  .hero__branding-stat-label {
    font-size: 0.8rem;
  }

  .hero__branding-actions {
    flex-direction: column;
  }

  .hero__branding-btn-primary,
  .btn--ghost-premium {
    width: 100%;
    justify-content: center;
  }

  .hero__branding-card {
    padding: 2rem;
  }

  .hero__branding-card-content h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero--branding {
    padding: 2.5rem 0;
  }

  .hero__branding-title {
    font-size: 1.7rem;
  }

  .hero__branding-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-bottom: 1.5rem;
  }

  .hero__branding-stat-value {
    font-size: 1.6rem;
  }

  .hero__branding-eyebrow {
    font-size: 0.75rem;
  }

  .hero__branding-card {
    padding: 1.5rem;
  }
}

/* Support/Global Section Styles */
.support-box {
  margin-top: 2rem;
  padding: 2rem;
  background: #f5f7fb;
  border-radius: 8px;
  text-align: center;
}

.support-box h3 {
  margin-top: 0;
  color: #0d3a78;
}

.support-box p {
  margin-bottom: 1.5rem;
  color: #4b5a79;
}

.support-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.support-badge {
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #0d3a78;
  font-weight: 500;
}

.support-list {
  font-size: 0.9rem;
  margin-top: 1rem;
  padding-left: 1.5rem;
  list-style: none;
}

/* =========================================================
   PREMIUM VISUAL POLISH & EFFECTS
   ======================================================= */

/* Smooth scrolling throughout */
html {
  scroll-behavior: smooth;
}

/* Scroll-triggered fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(139, 71, 83, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(139, 71, 83, 0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotateBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatUp {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes softGlow {
  0%, 100% {
    filter: drop-shadow(0 4px 12px rgba(139, 71, 83, 0.15));
  }
  50% {
    filter: drop-shadow(0 8px 20px rgba(139, 71, 83, 0.25));
  }
}

/* Premium card hover effects */
.card {
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  background-size: 200% 200%;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 28px 70px rgba(139, 71, 83, 0.22), 
              0 0 1px rgba(139, 71, 83, 0.4);
  border-color: rgba(139, 71, 83, 0.2);
}

.card:hover::before {
  opacity: 1;
}

.card *:not(.card__tag) {
  position: relative;
  z-index: 2;
}

/* Enhanced button effects */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn--primary {
  box-shadow: 0 10px 28px rgba(139, 71, 83, 0.25),
              inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(139, 71, 83, 0.35),
              inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Service detail card premium effects */
.service-detail {
  transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
}

.service-detail::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, 
    transparent 30%, 
    rgba(139, 71, 83, 0.05) 50%, 
    transparent 70%);
  opacity: 0;
  transition: opacity 0.32s ease;
  border-radius: 14px;
  pointer-events: none;
}

.service-detail:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 24px 60px rgba(139, 71, 83, 0.18),
              0 8px 20px rgba(139, 71, 83, 0.12),
              inset 0 1px 0 rgba(255,255,255,0.5);
  border-color: rgba(139, 71, 83, 0.25);
  background: linear-gradient(135deg, #ffffff 0%, #fff5fa 100%);
}

.service-detail:hover::after {
  opacity: 1;
}

.service-detail h3 {
  transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(135deg, #0b1c3b 0%, #0d3a78 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-detail:hover h3 {
  background: linear-gradient(135deg, #8B4753 0%, #0d3a78 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateX(2px);
}

/* Badge glow effect */
.services-step__badge {
  transition: all 0.28s ease;
  background: linear-gradient(135deg, #8B4753 0%, #a85968 100%);
  box-shadow: 0 4px 15px rgba(139, 71, 83, 0.2);
}

.service-detail:hover .services-step__badge {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(139, 71, 83, 0.3);
}

/* Pillar card enhanced hover */
.pillar-card {
  transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 100%);
}

.pillar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 71, 83, 0.08) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none;
  border-radius: 20px;
  transition: opacity 0.32s ease;
}

.pillar-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 26px 65px rgba(139, 71, 83, 0.18),
              0 8px 24px rgba(139, 71, 83, 0.12),
              inset 0 1px 0 rgba(255,255,255,0.6);
  border-color: rgba(139, 71, 83, 0.3);
  background: linear-gradient(135deg, rgba(255,255,255,0.99) 0%, rgba(255,250,252,0.98) 100%);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-card:hover::after {
  opacity: 1;
}

/* Security list item effects */
.security-list li {
  transition: all 0.22s ease;
  position: relative;
}

.security-list li:hover {
  transform: translateX(4px);
  color: #0d3a78;
}

.security-list li::before {
  transition: all 0.22s ease;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
  border-radius: 50%;
}

/* Support badge effects */
.support-badge {
  transition: all 0.22s ease;
  position: relative;
}

.support-badge:hover {
  transform: scale(1.05);
  background: #fff;
  color: #8B4753;
  box-shadow: 0 4px 15px rgba(139, 71, 83, 0.2);
  border-color: #8B4753;
}

/* Glassmorphic overlay effects */
.hero--branding::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 71, 83, 0.02) 0%, rgba(13, 58, 120, 0.02) 100%);
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Enhanced section heading effects */
.section__heading {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.section__heading h2 {
  background: linear-gradient(135deg, #0b1c3b 0%, #0d3a78 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.28s ease;
}

.section__heading:hover h2 {
  background: linear-gradient(135deg, #8B4753 0%, #0d3a78 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Premium card tag styling */
.card__tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: linear-gradient(135deg, rgba(139, 71, 83, 0.15) 0%, rgba(139, 71, 83, 0.08) 100%);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8B4753;
  transition: all 0.22s ease;
  box-shadow: inset 0 1px 2px rgba(139, 71, 83, 0.1);
}

.card:hover .card__tag {
  background: linear-gradient(135deg, rgba(139, 71, 83, 0.2) 0%, rgba(139, 71, 83, 0.15) 100%);
  box-shadow: inset 0 1px 2px rgba(139, 71, 83, 0.15), 0 4px 12px rgba(139, 71, 83, 0.15);
}

/* CTA chips enhanced */
.cta-chip {
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.cta-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(139, 71, 83, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.cta-chip:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #8B4753 0%, #a85968 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(139, 71, 83, 0.3);
  border-color: #8B4753;
}

.cta-chip:hover::before {
  transform: translateX(100%);
}

/* Hero branding stats animation */
.hero__branding-stat {
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero__branding-stat:hover {
  transform: scale(1.08) translateY(-4px);
}

.hero__branding-stat-value {
  background: linear-gradient(135deg, #8B4753 0%, #0d3a78 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  transition: all 0.28s ease;
}

/* Smooth link underline effect */
a:not(.btn):not(.dropdown__item):not(.nav__link):not(.logo) {
  position: relative;
  transition: color 0.22s ease;
}

a:not(.btn):not(.dropdown__item):not(.nav__link):not(.logo)::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #8B4753, #0d3a78);
  transition: width 0.28s ease;
}

a:not(.btn):not(.dropdown__item):not(.nav__link):not(.logo):hover::after {
  width: 100%;
}

/* Header enhancement */
.header {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 71, 83, 0.1);
}

/* Section --alt background enhancement */
.section--alt {
  position: relative;
}

.section--alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(139, 71, 83, 0.08), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(13, 58, 120, 0.08), transparent 50%);
  pointer-events: none;
}

/* Elevated container effect */
.container {
  position: relative;
}

/* Enhanced input/form effects would go here for future forms */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #8B4753;
  box-shadow: 0 0 0 3px rgba(139, 71, 83, 0.1);
  transition: all 0.22s ease;
}

/* ===== PREMIUM TEXT EFFECTS ===== */

/* Enhanced heading gradient animation */
h1, h2, h3 {
  transition: all 0.28s ease;
}

/* List item enhanced hover */
ul li, ol li {
  transition: all 0.22s ease;
}

ul li:hover {
  color: #0d3a78;
  transform: translateX(2px);
}

/* Logo animation on hover */
.logo {
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover {
  transform: scale(1.02);
}

.logo__mark {
  transition: all 0.28s ease;
  filter: drop-shadow(0 4px 12px rgba(139, 71, 83, 0.15));
}

.logo:hover .logo__mark {
  filter: drop-shadow(0 8px 20px rgba(139, 71, 83, 0.25));
}

/* Navigation link premium effects */
.nav__link {
  transition: all 0.22s ease;
  position: relative;
}

.nav__link:hover {
  color: #8B4753;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #8B4753, transparent);
  transition: width 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav__link:hover::after {
  width: 100%;
}

/* Dropdown item enhancement */
.dropdown__item {
  transition: all 0.22s ease;
  position: relative;
  border-radius: 6px;
}

.dropdown__item:hover {
  background: rgba(139, 71, 83, 0.08);
  transform: translateX(4px);
}

/* Premium paragraph text effects */
p {
  transition: color 0.22s ease;
}

/* Hero eyebrow enhancement */
.hero__branding-eyebrow,
.section__eyebrow {
  transition: all 0.22s ease;
  position: relative;
  display: inline-block;
}

.section__heading:hover .section__eyebrow {
  color: #8B4753;
  transform: translateX(2px);
}

/* Service note styling enhancement */
.service-note {
  transition: all 0.22s ease;
  color: #6b7a9e;
  font-size: 0.9rem;
}

.service-detail:hover .service-note {
  color: #8B4753;
  font-weight: 500;
}

/* Ultra-premium background effects */
.hero--branding {
  position: relative;
  overflow: hidden;
}

.hero--branding::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(139, 71, 83, 0.06), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(13, 58, 120, 0.06), transparent 40%);
  animation: slowMoveBackground 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes slowMoveBackground {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -20px);
  }
}

/* Security section premium overlay */
.security-section {
  position: relative;
}

.security-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(139, 71, 83, 0.05), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(13, 58, 120, 0.05), transparent 50%);
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* CTA Final Light premium effects */
.section--cta-final-light .cta-heading-center {
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.section--cta-final-light .cta-heading-center:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(139, 71, 83, 0.15);
}

/* Enhanced link styling for better visual hierarchy */
.dropdown__item-title {
  transition: color 0.22s ease;
  font-weight: 600;
}

.dropdown__item:hover .dropdown__item-title {
  color: #8B4753;
}

/* Icon animations */
.hero__btn-icon {
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.btn--primary:hover .hero__btn-icon {
  transform: translateX(4px);
}

/* List bullet point animation */
.security-list li::before,
.about-list li::before,
.card-list li::before {
  transition: all 0.22s ease;
}

.security-list li:hover::before {
  background: #8B4753;
  box-shadow: 0 0 8px rgba(139, 71, 83, 0.3);
}

/* Premium focus states for accessibility */
*:focus-visible {
  outline: 2px solid #8B4753;
  outline-offset: 2px;
  border-radius: 4px;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(139, 71, 83, 0.2);
}

/* Responsive animation adjustments */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

