:root {
  --primary: #262B67;
  --primary-deep: #11143A;
  --primary-mid: #1B1F55;
  --primary-card: #20245E;
  --primary-card-2: #2D3274;
  --accent: #7C83E6;
  --accent-2: #A7ACFF;
  --white: #FFFFFF;
  --text: #F7F8FF;
  --muted: #D8DAF2;
  --muted-2: #C2C6EA;
  --ink: #101331;
  --paper: #F7F8FF;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --shadow: 0 24px 70px rgba(4, 7, 30, 0.34);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--primary-deep);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.mobile-menu-open { overflow: hidden; }

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; }

:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.skip-link:focus { top: 16px; }

.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 20, 58, 0.92);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img { width: 48px; height: 48px; border-radius: 12px; }

.brand-text { display: grid; gap: 0; line-height: 1.1; }

.brand-name { color: #fff; font-size: 1.05rem; font-weight: 900; letter-spacing: 0.04em; }

.brand-subtitle { color: var(--muted); font-size: 0.72rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }

.desktop-nav { display: flex; align-items: center; gap: 6px; }

.nav-link, .nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-link:hover, .nav-link:focus, .nav-link.is-active { color: #fff; background: rgba(124, 131, 230, 0.16); }

.nav-cta {
  margin-left: 4px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, var(--accent), #565DCA 56%, var(--primary-card-2));
  box-shadow: 0 12px 28px rgba(38, 43, 103, 0.36);
}

.nav-cta:hover, .nav-cta:focus { color: #fff; transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.36); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel { display: none; padding: 0 0 18px; }

.mobile-panel.is-open { display: grid; }

.mobile-panel a {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: #fff;
  font-weight: 800;
}

.mobile-panel-head, .mobile-panel-close, .mobile-panel-brand { display: none; }

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(124, 131, 230, 0.34), transparent 28%),
    radial-gradient(circle at 16% 82%, rgba(111, 117, 216, 0.22), transparent 34%),
    linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 48%, #0A0D2B 100%);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.56;
  filter: saturate(0.92) contrast(1.06);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(17, 20, 58, 0.95) 0%, rgba(38, 43, 103, 0.78) 48%, rgba(10, 13, 43, 0.92) 100%),
    radial-gradient(circle at 76% 18%, rgba(124, 131, 230, 0.26), transparent 32%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 54px 54px, 54px 54px;
  background-repeat: no-repeat, no-repeat, repeat, repeat;
}

.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: clamp(80px, 13vw, 150px);
  background: linear-gradient(180deg, rgba(17, 20, 58, 0), var(--primary-deep));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
  padding: 84px 0 112px;
}

.hero-card {
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  box-shadow: var(--shadow);
}

.hero-card-grid { display: grid; gap: 14px; }

.metric-card, .mini-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(17, 20, 58, 0.72);
}

.metric-card strong { display: block; color: #fff; font-size: clamp(1.5rem, 4vw, 2.3rem); line-height: 1; }

.metric-card span, .mini-card p { color: var(--muted); }

.mini-card h3 { margin-bottom: 6px; font-size: 1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.55rem, 6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h3 { margin-bottom: 10px; color: #fff; font-size: 1.15rem; line-height: 1.25; }

.lead { max-width: 760px; margin-bottom: 28px; color: rgba(255,255,255,0.84); font-size: clamp(1.05rem, 2vw, 1.24rem); }

.section-lead { max-width: 780px; color: var(--muted); font-size: 1.05rem; }

.section-contrast h2, .section-contrast h3 { color: #fff; }

.section-contrast .section-lead { color: var(--muted); }

.panel .lead { color: var(--muted); }

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover, .button:focus { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button:disabled, .button[aria-disabled="true"] { cursor: not-allowed; opacity: 0.58; transform: none; box-shadow: none; }

.button-primary { color: #fff; background: linear-gradient(135deg, var(--accent), #5D64CF 54%, var(--primary)); box-shadow: 0 18px 40px rgba(124, 131, 230, 0.28); }
.button-primary:hover, .button-primary:focus { color: #fff; background: linear-gradient(135deg, #8D93F0, #646BD8 54%, #2F3475); box-shadow: 0 22px 48px rgba(124, 131, 230, 0.36); }

.button-secondary { color: #fff; border-color: rgba(255,255,255,0.26); background: rgba(255,255,255,0.08); }
.button-secondary:hover, .button-secondary:focus { color: #fff; border-color: rgba(167,172,255,0.64); background: rgba(124,131,230,0.2); box-shadow: 0 18px 38px rgba(4, 7, 30, 0.22); }

.button-outline { color: var(--primary); border-color: rgba(38, 43, 103, 0.18); background: #fff; }

.button-outline:hover, .button-outline:focus { color: var(--primary); border-color: rgba(38, 43, 103, 0.38); box-shadow: 0 16px 34px rgba(38, 43, 103, 0.12); }

.section { padding: 88px 0; color: var(--text); background: linear-gradient(180deg, var(--primary-deep), #151949); }

.section-dark { color: var(--text); background: linear-gradient(180deg, var(--primary-deep), #151949); }

.section-contrast { color: var(--text); background: linear-gradient(180deg, #151847, #0B0D2E); }

.section-light { color: #11143A; background: #FFFFFF; }

.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) { color: #11143A; background: #FFFFFF; }

.section-soft { color: #11143A; background: linear-gradient(180deg, #F7F8FF, #EEF0FF); }

.section-light h2,
.section-light h3,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) h2,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) h3,
.section-soft h2,
.section-soft h3 { color: var(--ink); }

.section-light p,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) p,
.section-soft p,
.section-light .section-lead,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .section-lead,
.section-soft .section-lead { color: #52607A; }

.section-light .eyebrow,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .eyebrow,
.section-soft .eyebrow { color: var(--primary); }

.section-light .button-secondary,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .button-secondary,
.section-soft .button-secondary { color: var(--primary); border-color: rgba(38, 43, 103, 0.18); background: #fff; box-shadow: 0 14px 32px rgba(38, 43, 103, 0.1); }

.section-light .button-secondary:hover,
.section-light .button-secondary:focus,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .button-secondary:hover,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .button-secondary:focus,
.section-soft .button-secondary:hover,
.section-soft .button-secondary:focus { color: var(--primary); border-color: rgba(38, 43, 103, 0.34); background: #F0F2FF; box-shadow: 0 18px 38px rgba(38, 43, 103, 0.14); }

.section-light .card,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .card,
.section-soft .card,
.section-light .panel,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .panel,
.section-soft .panel,
.section-light .blog-card,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .blog-card,
.section-soft .blog-card { border-color: rgba(38,43,103,0.12); background: #fff; box-shadow: 0 20px 52px rgba(38, 43, 103, 0.1); }

.section-light .card:hover,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .card:hover,
.section-soft .card:hover,
.section-light .blog-card:hover,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .blog-card:hover,
.section-soft .blog-card:hover { border-color: rgba(38, 43, 103, 0.24); box-shadow: 0 24px 68px rgba(38, 43, 103, 0.14); }

.section-light .card p,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .card p,
.section-soft .card p,
.section-light .panel p,
.section-light .panel li,
.section-light .panel .section-lead,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .panel p,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .panel li,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .panel .section-lead,
.section-soft .panel p,
.section-soft .panel li,
.section-soft .panel .section-lead,
.section-light .blog-card p,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .blog-card p,
.section-soft .blog-card p { color: #52607A; }

.section-light .panel h1,
.section-light .panel h2,
.section-light .panel h3,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .panel h1,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .panel h2,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .panel h3,
.section-soft .panel h1,
.section-soft .panel h2,
.section-soft .panel h3,
.section-light .blog-card h3,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .blog-card h3,
.section-soft .blog-card h3 { color: var(--ink); }

.section-light .service-card,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .service-card,
.section-soft .service-card { border-color: rgba(255,255,255,0.14); background: linear-gradient(180deg, rgba(17,20,58,0.96), rgba(32,36,94,0.96)); box-shadow: 0 22px 62px rgba(38, 43, 103, 0.18); }

.section-light .service-card h3,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .service-card h3,
.section-soft .service-card h3 { color: #fff; }

.section-light .service-card p,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .service-card p,
.section-soft .service-card p { color: var(--muted); }

.section-light .card-link,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .card-link,
.section-soft .card-link,
.section-light .blog-card-link,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .blog-card-link,
.section-soft .blog-card-link,
.section-light .related-list a,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .related-list a,
.section-soft .related-list a { color: var(--primary); }

.section-light .card-link:hover,
.section-light .card-link:focus,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .card-link:hover,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .card-link:focus,
.section-soft .card-link:hover,
.section-soft .card-link:focus,
.section-light .blog-card-link:hover,
.section-light .blog-card-link:focus,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .blog-card-link:hover,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .blog-card-link:focus,
.section-soft .blog-card-link:hover,
.section-soft .blog-card-link:focus,
.section-light .related-list a:hover,
.section-light .related-list a:focus,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .related-list a:hover,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .related-list a:focus,
.section-soft .related-list a:hover,
.section-soft .related-list a:focus { color: var(--primary-card-2); }

.section-light .service-card .card-link,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .service-card .card-link,
.section-soft .service-card .card-link { color: var(--accent-2); }

.section-light .service-card .card-link:hover,
.section-light .service-card .card-link:focus,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .service-card .card-link:hover,
.page-hero + .section:not(.section-soft):not(.section-contrast):not(.feature-band) .service-card .card-link:focus,
.section-soft .service-card .card-link:hover,
.section-soft .service-card .card-link:focus { color: #fff; }

.section-header { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }

.section-header > div { max-width: 820px; }

.continuity-bar {
  position: relative;
  z-index: 2;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, var(--primary), var(--primary-card-2) 52%, var(--accent));
}

.continuity-inner { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }

.continuity-inner p { margin: 0; color: #fff; font-weight: 900; font-size: clamp(1rem, 2vw, 1.18rem); }

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

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.055));
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card:hover { transform: translateY(-4px); border-color: rgba(167, 172, 255, 0.55); box-shadow: var(--shadow); }

.card p { color: var(--muted); }

.card-link { display: inline-flex; margin-top: 8px; color: var(--accent-2); font-weight: 900; }
.card-link:hover, .card-link:focus { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--primary-card-2));
  font-weight: 950;
}

.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.055));
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover { transform: translateY(-4px); border-color: rgba(167, 172, 255, 0.55); box-shadow: var(--shadow); }

.service-card-media {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  background: #0B0D2E;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.service-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.service-card-body p { flex: 1; }

.pain-list { display: grid; gap: 12px; }

.pain-item {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(38,43,103,0.13);
  border-radius: var(--radius-sm);
  background: #fff;
}

.pain-item strong { display: block; margin-bottom: 3px; color: var(--ink); }
.pain-item p { margin-bottom: 0; color: #52607A; }

.mark {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
}

.process { counter-reset: process; }
.process .card { position: relative; padding-top: 56px; }
.process .card::before {
  counter-increment: process;
  content: "0" counter(process);
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--accent-2);
  font-weight: 950;
}
.section-soft .process .card::before, .section-light .process .card::before { color: var(--primary); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr); gap: 36px; align-items: center; }

.panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.055)); box-shadow: 0 18px 50px rgba(4, 7, 30, 0.2); }
.panel h1, .panel h2, .panel h3 { color: #fff; }
.panel p, .panel li, .panel .section-lead { color: var(--muted); }

.feature-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(124, 131, 230, 0.32), transparent 34%),
    linear-gradient(135deg, var(--primary), var(--primary-deep));
}

.check-list { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }

.check-list li { position: relative; padding-left: 34px; color: inherit; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 17px; height: 17px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--accent)); box-shadow: 0 0 0 4px rgba(124,131,230,0.14); }

.page-hero {
  position: relative;
  padding: 86px 0 78px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(124, 131, 230, 0.34), transparent 28%),
    linear-gradient(135deg, var(--primary-deep), var(--primary) 54%, #0A0D2B);
}

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

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: rgba(255,255,255,0.74); font-size: 0.9rem; }
.breadcrumb a { color: #fff; font-weight: 800; }

.contact-grid { display: grid; grid-template-columns: 0.78fr 1fr; gap: 28px; align-items: start; }

.contact-method {
  display: block;
  padding: 18px;
  border: 1px solid rgba(38,43,103,0.13);
  border-radius: var(--radius-sm);
  background: #fff;
  color: #52607A;
}
.contact-method strong { color: var(--ink); }
.contact-method + .contact-method { margin-top: 12px; }
.contact-method:hover, .contact-method:focus { border-color: rgba(38, 43, 103, 0.34); color: var(--primary); background: #F0F2FF; }

.legal-content { display: grid; gap: 18px; }
.legal-content h2 { margin: 14px 0 4px; font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -0.02em; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content a { color: var(--accent-2); font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.section-light .legal-content a, .section-soft .legal-content a { color: var(--primary); }
.legal-content ul { margin: 0; padding-left: 1.25rem; }

.blog-grid { align-items: stretch; }
.blog-card {
  min-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.055));
  box-shadow: 0 24px 70px rgba(4, 7, 30, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.blog-card:hover { transform: translateY(-5px); border-color: rgba(167, 172, 255, 0.46); box-shadow: 0 30px 90px rgba(4, 7, 30, 0.34); }
.blog-card-media,
.blog-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(124, 131, 230, 0.18), rgba(38, 43, 103, 0.08));
}
.blog-card-media img, .blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted-2); font-size: 0.82rem; font-weight: 850; }
.blog-tag, .blog-card-tag { width: max-content; display: inline-flex; align-items: center; border: 1px solid rgba(124, 131, 230, 0.38); border-radius: 999px; padding: 6px 11px; color: #fff; background: rgba(124, 131, 230, 0.2); font-size: 0.82rem; font-weight: 900; }
.blog-card h3 { margin: 0; color: #fff; font-size: 1.16rem; line-height: 1.26; letter-spacing: -0.018em; }
.blog-card p { flex: 1; margin: 0; color: var(--muted); }
.blog-card-link { display: inline-flex; align-items: center; width: max-content; margin-top: 6px; color: var(--accent-2); font-weight: 950; }
.blog-card-link:hover, .blog-card-link:focus { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.section-light .blog-card-tag, .section-soft .blog-card-tag { color: var(--primary); background: #EEF0FF; border-color: rgba(38, 43, 103, 0.16); }
.article-hero { padding-bottom: 46px; }
.article-featured { margin-top: -24px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--primary-card); box-shadow: var(--shadow); }
.article-featured img { width: 100%; max-height: 430px; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.article-content { max-width: 820px; padding: 34px; }
.article-content h2 { margin-top: 38px; color: #fff; }
.article-content h2:first-child { margin-top: 0; }
.article-content p { color: var(--muted); font-size: 1.04rem; line-height: 1.84; }
.article-sidebar { position: sticky; top: 96px; display: grid; gap: 16px; }
.article-sidebar .panel { padding: 22px; }
.related-list { display: grid; gap: 10px; }
.related-list a { color: var(--accent-2); font-weight: 850; }
.related-list a:hover, .related-list a:focus { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.article-cta { margin-top: 36px; padding: 28px; border: 1px solid rgba(167,172,255,0.28); border-radius: 22px; background: linear-gradient(135deg, rgba(124, 131, 230, 0.24), rgba(38, 43, 103, 0.82)); box-shadow: 0 20px 50px rgba(4, 7, 30, 0.22); }
.article-cta h2, .article-cta p { color: #fff; }
.section-light .article-featured, .section-soft .article-featured { border-color: rgba(38, 43, 103, 0.14); background: #fff; box-shadow: 0 22px 62px rgba(38, 43, 103, 0.14); }
.section-light .article-content h2, .section-soft .article-content h2 { color: var(--ink); }
.section-light .article-content p, .section-soft .article-content p { color: #3F4A60; }
.section-light .article-sidebar .panel h3, .section-soft .article-sidebar .panel h3 { color: var(--ink); }
.section-light .article-cta h2, .section-light .article-cta p, .section-soft .article-cta h2, .section-soft .article-cta p { color: #fff; }
.article-cta .actions { margin-top: 18px; }
.legal-meta { display: grid; gap: 4px; margin-bottom: 8px; color: #52607A; font-weight: 750; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field.full { grid-column: 1 / -1; }
label { display: block; margin-bottom: 6px; color: #fff; font-weight: 850; }
.section-light label, .section-soft label { color: var(--ink); }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid rgba(38,43,103,0.18);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(124,131,230,0.18); outline: 0; }
textarea { min-height: 132px; resize: vertical; }
.form-note, .form-status { margin: 12px 0 0; color: #52607A; font-size: 0.92rem; }
.form-status { min-height: 24px; font-weight: 850; }

.faq-list { display: grid; gap: 12px; }
.faq-item { overflow: hidden; border: 1px solid rgba(38,43,103,0.13); border-radius: var(--radius-sm); background: #fff; }
.faq-question { width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 0; color: var(--ink); background: transparent; cursor: pointer; text-align: left; font-weight: 900; }
.faq-question::after { content: "+"; color: var(--primary); font-size: 1.35rem; }
.faq-item.is-open .faq-question::after { content: "-"; }
.faq-answer { display: none; padding: 0 18px 18px; color: #52607A; }
.faq-item.is-open .faq-answer { display: block; }

.service-list { display: grid; gap: 14px; }
.service-row { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 18px; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm); background: rgba(255,255,255,0.055); }
.service-row p { margin-bottom: 0; color: var(--muted); }

.service-detail-list .container { display: grid; gap: 28px; }

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
  padding-top: 18px;
  scroll-margin-top: 104px;
}

.service-detail + .service-detail {
  padding-top: 38px;
  border-top: 1px solid rgba(38, 43, 103, 0.12);
}

.service-detail .panel .check-list { margin-bottom: 22px; }

.service-detail .panel h3:not(:first-child) { margin-top: 22px; }

.error-section { min-height: calc(100svh - 78px - 264px); display: grid; align-items: center; }

.error-card { max-width: 760px; margin: 0 auto; text-align: center; }

.error-card .eyebrow { justify-content: center; }

.error-card .eyebrow::before { display: none; }

.leadership-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 131, 230, 0.24), transparent 34%),
    linear-gradient(180deg, #0D1030 0%, var(--primary-deep) 54%, #080B25 100%);
}

.leadership-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.78), transparent 88%);
  pointer-events: none;
}

.leadership-section > .container {
  position: relative;
  z-index: 1;
}

.leadership-header {
  max-width: 860px;
  margin: 0 auto 42px;
  text-align: center;
}

.leadership-header .eyebrow {
  justify-content: center;
}

.leadership-header .eyebrow::before {
  display: none;
}

.leadership-header h2 {
  margin-bottom: 18px;
}

.leadership-header h2 span {
  color: var(--accent-2);
  text-shadow: 0 0 34px rgba(124, 131, 230, 0.38);
}

.leadership-header p {
  max-width: 740px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.06rem;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.leader-card {
  min-height: 100%;
  padding: 10px 10px 0;
  text-align: center;
}

.team-photo {
  width: clamp(130px, 14vw, 190px);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  border: 2px solid rgba(124, 131, 230, 0.55);
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 22px 54px rgba(4, 7, 30, 0.34), 0 0 0 10px rgba(124, 131, 230, 0.08);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-photo--alexander img {
  object-position: center 26%;
}

.team-photo--lorena img {
  object-position: center 24%;
}

.team-photo--rafael img {
  object-position: center 24%;
}

.team-photo--carlos img {
  object-position: center 24%;
}

.leader-card h3 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 1.08rem;
}

.leader-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.site-footer { padding: 58px 0 28px; color: rgba(255,255,255,0.76); background: #0D1030; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 28px; }
.footer-logo-wrap { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo { width: 48px; height: 48px; border-radius: 12px; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1rem; }
.footer-links { display: grid; gap: 9px; }
.footer-links a:hover, .footer-links a:focus { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.9rem; }

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-block; }
  .mobile-menu-open #wa-fab, .mobile-menu-open #wa-panel, .mobile-menu-open #wa-tooltip { display: none; }
  .mobile-panel {
    position: fixed;
    top: 12px;
    right: 12px;
    bottom: auto;
    left: auto;
    z-index: 120;
    width: min(390px, calc(100vw - 24px));
    max-width: none;
    max-height: calc(100svh - 24px);
    margin: 0;
    padding: 14px;
    overflow: auto;
    border: 1px solid rgba(38, 43, 103, 0.16);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(4, 7, 30, 0.28);
  }
  .mobile-panel.is-open { display: grid; gap: 8px; }
  .mobile-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(38, 43, 103, 0.12);
  }
  .mobile-panel-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 950;
  }
  .mobile-panel-brand img { width: 34px; height: 34px; border-radius: 9px; object-fit: contain; }
  .mobile-panel-close {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 11px;
    border: 1px solid rgba(38, 43, 103, 0.16);
    border-radius: 999px;
    color: var(--primary);
    background: #F7F8FF;
    cursor: pointer;
    font-weight: 850;
  }
  .mobile-panel-close:hover, .mobile-panel-close:focus { background: #EEF0FF; }
  .mobile-panel a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 900;
  }
  .mobile-panel a:hover, .mobile-panel a:focus { border-color: rgba(38, 43, 103, 0.16); background: #F0F2FF; }
  .mobile-panel .mobile-panel-cta {
    justify-content: center;
    margin-top: 8px;
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), #5D64CF 54%, #262B67);
    box-shadow: 0 16px 34px rgba(38, 43, 103, 0.18);
  }
  .mobile-panel .mobile-panel-cta:hover, .mobile-panel .mobile-panel-cta:focus { color: #fff; background: linear-gradient(135deg, #6F75D8, #262B67); }
  .hero-grid, .grid-2, .grid-3, .grid-4, .grid-5, .split, .contact-grid, .footer-grid, .service-detail, .article-layout { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-sidebar { position: static; }
  .leadership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-photo { width: clamp(140px, 18vw, 170px); }
  .section-header, .continuity-inner { display: block; }
  .section-header .actions, .continuity-inner .actions { margin-top: 18px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--container)); }
  .nav-wrap { min-height: 68px; }
  .brand img, .footer-logo { width: 44px; height: 44px; }
  .brand-subtitle { display: none; }
  .hero { min-height: auto; }
  .hero-video { display: none; }
  .hero-grid { padding: 72px 0 86px; }
  .hero-card { padding: 18px; }
  .section { padding: 64px 0; }
  .page-hero { padding: 64px 0 58px; }
  .actions, .actions .button { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .article-content { padding: 22px; }
  .article-featured { margin-top: -12px; }
  .blog-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; gap: 28px; }
  .team-photo { width: clamp(120px, 44vw, 150px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
