﻿:root {
  --brand-cyan: #68A6DD;
  --brand-blue: #1083E8;
  --brand-magenta: #C2007B;
  --brand-yellow: #FFF000;
  --brand-gold-dark: #0B6B3A;
  --brand-gold: #168C46;
  --brand-orange: #0F9F8D;
  --brand-red: #0E7C62;
  --brand-coral: #58B88A;
  --brand-green: #168C46;
  --brand-green-soft: #EAF7EF;
  --brand-teal: #0F9F8D;
  --brand-teal-soft: #E8F7F5;
  --brand-black: #000000;
  --brand-gray: #858688;
  --brand-white: #FFFFFF;
  --dark: #0F172A;
  --text-main: #102234;
  --text-muted: #5F7389;
  --surface: #FFFFFF;
  --surface-soft: #F6FAFD;
  --surface-blue: #EEF6FC;
  --surface-gold: #EAF7EF;
  --surface-orange: #E8F7F5;
  --border: rgba(16, 131, 232, 0.16);
  --border-neutral: rgba(15, 23, 42, 0.1);
  --shadow-soft: 0 8px 20px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 16px 34px rgba(15, 23, 42, 0.1);
  --radius: 4px;
  --container: 1160px;
  --nav-height: 76px;
  --leaf-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='340' viewBox='0 0 520 340'%3E%3Cg fill='none' stroke='%231083E8' stroke-opacity='.46' stroke-width='1.35'%3E%3Cpath d='M0 78L72 32L146 92L222 50L302 128L386 82L520 116'/%3E%3Cpath d='M34 214L118 160L204 218L292 176L382 238L498 188'/%3E%3Cpath d='M72 32L118 160L222 50M146 92L204 218L302 128M386 82L382 238M222 50L292 176M302 128L382 238'/%3E%3Cpath d='M-18 286L62 248L126 300L214 254L318 304L416 262L538 292' stroke-opacity='.28'/%3E%3C/g%3E%3Cg fill='%231083E8' fill-opacity='.72'%3E%3Ccircle cx='72' cy='32' r='3.2'/%3E%3Ccircle cx='146' cy='92' r='2.8'/%3E%3Ccircle cx='222' cy='50' r='3'/%3E%3Ccircle cx='302' cy='128' r='3.4'/%3E%3Ccircle cx='386' cy='82' r='2.8'/%3E%3Ccircle cx='118' cy='160' r='3'/%3E%3Ccircle cx='204' cy='218' r='2.7'/%3E%3Ccircle cx='292' cy='176' r='3'/%3E%3Ccircle cx='382' cy='238' r='3.2'/%3E%3Ccircle cx='498' cy='188' r='2.6'/%3E%3C/g%3E%3Cg fill='%2368A6DD' fill-opacity='.3'%3E%3Ccircle cx='88' cy='118' r='15'/%3E%3Ccircle cx='342' cy='104' r='18'/%3E%3Ccircle cx='248' cy='258' r='13'/%3E%3Ccircle cx='452' cy='248' r='10'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-leaves: var(--leaf-mark) center / 520px 340px repeat;
  --pattern-grid: var(--pattern-leaves);
  --pattern-lines: var(--pattern-leaves);
  --pattern-dots: var(--pattern-leaves);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text-main);
  background:
    radial-gradient(circle at 8% 8%, rgba(104, 166, 221, 0.13), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(22, 140, 70, 0.08), transparent 22%),
    var(--surface);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

.public-main {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 520ms cubic-bezier(0.16, 0.9, 0.24, 1), transform 520ms cubic-bezier(0.16, 0.9, 0.24, 1);
}

.public-main.is-ready {
  opacity: 1;
  transform: translateY(0);
}

.public-main.page-enter {
  animation: routeMainEntrance 280ms cubic-bezier(0.16, 0.9, 0.24, 1) both;
}

.public-main > .hero,
.public-main > .section {
  will-change: opacity, transform;
}

.public-main.page-prep > .hero,
.public-main.page-prep > .section {
  opacity: 0;
  transform: translateY(24px);
}

.hero-copy,
.section-heading,
.service-body,
.service-title-row,
.service-filter-bar button,
.hero-division-strip a {
  min-width: 0;
}

.hero h1,
.section-heading h2,
.service-title-row h3,
.service-filter-bar button strong,
.service-filter-bar button small,
.mini-services strong {
  overflow-wrap: anywhere;
}

.screen-prep {
  opacity: 0 !important;
  transform: translateY(24px);
}

.motion-prep {
  opacity: 0 !important;
  transform: translateY(18px);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: calc(100% - 32px);
  max-width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 46px 0 58px;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.public-main {
  min-height: 62vh;
}

.section-anchor {
  scroll-margin-top: calc(var(--nav-height) + 6px);
}

h1,
h2,
h3 {
  color: var(--text-main);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 580px;
  font-size: 36px;
  font-weight: 800;
}

h2 {
  font-size: 34px;
  font-weight: 780;
}

h3 {
  font-size: 18px;
  font-weight: 760;
}

p {
  color: var(--text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  position: relative;
  overflow: hidden;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn svg,
.eyebrow svg,
.nav-toggle svg,
.footer svg,
.service-icon svg,
.feature-card > svg,
.cert-card > svg,
.results-grid svg,
.contact-list svg,
.whatsapp-float svg {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

.whatsapp-mark {
  width: 1.18em;
  height: 1.18em;
  flex: 0 0 auto;
  fill: currentColor;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.28) 45%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 520ms ease;
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(130%);
}

.btn svg,
.service-link svg,
.mini-services a svg {
  transition: transform 180ms ease;
}

.btn:hover svg,
.service-link:hover svg,
.mini-services a:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), #0B6FC9);
}

.btn-outline {
  color: var(--brand-blue);
  background: #fff;
  border-color: var(--border);
}

.btn-light {
  color: var(--brand-blue);
  background: #fff;
}

.btn-whatsapp {
  color: #fff;
  background: #168C46;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid var(--border-neutral);
  box-shadow: 0 1px 0 rgba(16, 131, 232, 0.04);
  backdrop-filter: blur(16px);
  transition: box-shadow 220ms ease, background 220ms ease, border-color 220ms ease, min-height 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.navbar,
.navbar-inner {
  min-height: var(--nav-height);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.navbar-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 6px 12px 6px 6px;
  border: 1px solid rgba(16, 131, 232, 0.12);
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 247, 253, 0.82));
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.navbar-brand img {
  width: auto;
  height: 50px;
  object-fit: contain;
  transition: transform 220ms ease;
}

.navbar-brand:hover {
  border-color: rgba(16, 131, 232, 0.26);
  background: #fff;
  box-shadow: 0 12px 26px rgba(16, 131, 232, 0.09);
  transform: translateY(-1px);
}

.navbar-brand:hover img {
  transform: scale(1.03);
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-copy strong {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-copy small {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px;
  border: 1px solid rgba(16, 131, 232, 0.12);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255,255,255,.78);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 5px;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 760;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-links a:hover {
  color: var(--brand-blue);
  background: rgba(16, 131, 232, 0.08);
  transform: translateY(-1px);
}

.nav-links a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), #0B6FC9);
  box-shadow: 0 10px 22px rgba(16, 131, 232, 0.2), inset 0 1px 0 rgba(255,255,255,.22);
}

.nav-links a.active::after {
  display: none;
}

.nav-links a.active::before {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--brand-blue);
  background: #fff;
  font-size: 22px;
}

.theme-toggle {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-neutral);
  border-radius: 5px;
  color: var(--text-main);
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.theme-toggle:hover {
  border-color: var(--border);
  color: var(--brand-blue);
  background: var(--surface-blue);
  transform: rotate(-8deg);
}

.nav-cta {
  min-height: 38px;
  padding-inline: 15px;
  border-radius: 5px;
  border-color: rgba(16, 131, 232, 0.28);
  background: linear-gradient(135deg, var(--brand-blue), #0A72CF);
  box-shadow: 0 10px 22px rgba(16, 131, 232, 0.18);
}

.nav-cta:hover {
  background: linear-gradient(135deg, #0A72CF, var(--brand-cyan));
  box-shadow: 0 14px 28px rgba(16, 131, 232, 0.24);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: calc(100vh - var(--nav-height));
  align-items: center;
  padding: 42px 0 42px;
  overflow: hidden;
  background-color: #07111F;
  background-image:
    linear-gradient(110deg, rgba(7, 17, 31, 0.86) 0%, rgba(15, 34, 52, 0.76) 47%, rgba(16, 131, 232, 0.34) 100%),
    url("../../img/Home Fondo.webp");
  background-position: center, center 18%;
  background-repeat: no-repeat;
  background-size: cover, auto 112%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -6% -70px auto;
  z-index: -1;
  width: min(56vw, 720px);
  height: 190px;
  background: rgba(104, 166, 221, 0.26);
  transform: skewY(-7deg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 22%, rgba(104, 166, 221, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(7, 17, 31, 0) 62%, rgba(7, 17, 31, 0.18) 100%);
  pointer-events: none;
}

.hero-grid,
.split-grid,
.compact-grid,
.results-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-grid > *,
.split-grid > *,
.compact-grid > *,
.results-layout > *,
.contact-grid > * {
  min-width: 0;
}

.hero-copy p {
  max-width: 560px;
  margin-top: 13px;
  font-size: 15px;
}

.hero .eyebrow,
.hero h1,
.hero-copy p {
  color: #fff;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.84);
}

.hero h1 {
  font-size: clamp(27px, 3vw, 38px);
  max-width: 570px;
  line-height: 1.08;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
}

.hero .btn-outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.trust-row > span,
.trust-cert {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.26);
  font-size: 12px;
  font-weight: 800;
  cursor: default;
}

.trust-cert {
  justify-content: center;
  width: 54px;
  height: 38px;
  min-height: 38px;
  padding: 5px;
  font-family: inherit;
  cursor: zoom-in;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.trust-cert:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.16);
}

.trust-cert img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
}

.trust-cert span {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}

.trust-row > span:nth-child(2),
.trust-cert:nth-child(2) {
  border-color: rgba(22, 140, 70, 0.5);
  background: rgba(22, 140, 70, 0.16);
}

.trust-row > span:nth-child(4),
.trust-cert:nth-child(4) {
  border-color: rgba(15, 159, 141, 0.42);
  background: rgba(15, 159, 141, 0.14);
}

.hero-division-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 610px;
  margin-top: 14px;
}

.hero-division-strip a {
  display: grid;
  align-items: center;
  min-height: 56px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-left: 3px solid rgba(104, 166, 221, 0.95);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(8px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero-division-strip a:nth-child(2) {
  border-left-color: var(--brand-cyan);
}

.hero-division-strip a:nth-child(3) {
  border-left-color: var(--brand-green);
}

.hero-division-strip a:nth-child(4) {
  border-left-color: var(--brand-teal);
}

.hero-division-strip a:hover {
  transform: translateY(-2px);
  background: rgba(16, 131, 232, 0.22);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero-division-strip .division-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.hero-division-strip strong {
  display: block;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-division-strip small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9.8px;
  font-weight: 760;
  line-height: 1.05;
}

.hero-media {
  position: relative;
  padding-bottom: 0;
  animation: heroFloat 8s ease-in-out infinite;
}

.hero-media img {
  width: 100%;
  height: 386px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
  transition: transform 450ms ease, filter 450ms ease;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading p {
  margin-top: 12px;
  font-size: 15.5px;
}

.services-section .section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

.services-section .section-heading h2 {
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.18;
  font-size: clamp(30px, 3.15vw, 40px);
}

.services-section .section-heading p {
  max-width: 760px;
  margin: 16px auto 0;
  line-height: 1.68;
}

.section-copy h2 {
  margin-bottom: 16px;
}

.section-copy p + p {
  margin-top: 12px;
}

.about-section,
.process-section,
.achievements-section {
  background:
    linear-gradient(180deg, rgba(246, 250, 253, 0.42), rgba(255, 255, 255, 0.64)),
    var(--pattern-leaves),
    linear-gradient(180deg, var(--surface-soft), #fff);
}

.services-section,
.certifications-section,
.contact-section,
.events-section,
.results-section,
.process-section-rich,
.about-section,
.cta-section {
  position: relative;
  overflow: hidden;
}

.services-section::before,
.certifications-section::before,
.contact-section::before,
.events-section::before,
.results-section::before,
.process-section-rich::before {
  content: "";
  position: absolute;
  top: -46px;
  right: -8vw;
  width: 34vw;
  height: 110px;
  background:
    linear-gradient(90deg, rgba(16, 131, 232, 0.16), rgba(104, 166, 221, 0.06));
  transform: skewY(-7deg);
  pointer-events: none;
}

.about-section {
  padding: 42px 0 54px;
}

.process-section-rich {
  background:
    linear-gradient(180deg, rgba(247, 251, 254, 0.38), rgba(255, 255, 255, 0.62)),
    var(--pattern-lines),
    linear-gradient(90deg, rgba(104, 166, 221, 0.14), transparent 34%),
    linear-gradient(180deg, #F7FBFE 0%, #fff 100%);
}

.about-section::after,
.services-section::after,
.certifications-section::after,
.events-section::after,
.results-section::after,
.contact-section::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border: 38px solid rgba(104, 166, 221, 0.18);
  border-radius: 8px;
  transform: rotate(14deg);
  pointer-events: none;
}

.services-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.66)),
    radial-gradient(circle at 12% 18%, rgba(16, 131, 232, 0.1), transparent 22%),
    var(--pattern-leaves),
    #fff;
}

.about-panel {
  display: grid;
  gap: 12px;
}

.about-panel > div,
.feature-card,
.service-card,
.cert-card,
.process-card,
.results-grid article {
  border: 1px solid rgba(16, 131, 232, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.about-panel > div,
.feature-card,
.service-card,
.process-card,
.process-timeline article,
.results-grid article,
.results-visual,
.event-copy,
.event-highlights span,
.trust-row > span,
.values-list span,
.achievement-list span,
.cert-badges span,
.contact-list li {
  cursor: default;
}

.about-panel > div {
  padding: 20px;
}

.about-panel span {
  display: block;
  margin-bottom: 5px;
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-panel strong {
  font-size: 18px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.compact-mv-section {
  padding-top: 48px;
}

.mv-compact-grid {
  display: grid;
  gap: 16px;
}

.mv-compact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 24px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.mv-compact-card:nth-child(2) {
  border-left: 4px solid var(--brand-green);
}

.mv-compact-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.mv-image-frame {
  overflow: hidden;
  height: 206px;
  padding: 8px;
  border: 1px solid rgba(16, 131, 232, 0.22);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius);
  background: #F8FAFC;
}

.mv-compact-card:nth-child(2) .mv-image-frame {
  border-color: rgba(22, 140, 70, 0.28);
  border-left-color: var(--brand-green);
}

.mv-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: calc(var(--radius) - 3px);
  transition: transform 420ms ease, filter 420ms ease;
}

.mv-values-panel {
  padding: 20px 22px;
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface-blue), #fff 56%, var(--brand-green-soft));
}

.feature-card {
  padding: 22px;
  cursor: default;
  transition: border-color 180ms ease;
}

.feature-card > svg,
.cert-card > svg,
.results-grid svg {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand-blue);
  font-size: 21px;
}

.feature-card:nth-child(2) > svg,
.cert-card:nth-child(2n) > svg,
.results-grid article:nth-child(2n) svg {
  background: var(--brand-green);
}

.feature-card:nth-child(3) > svg,
.cert-card:nth-child(3n) > svg,
.results-grid article:nth-child(3n) svg {
  background: var(--brand-teal);
}

.feature-card p {
  margin-top: 10px;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.values-list span,
.achievement-list span {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 9px;
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius);
  color: var(--text-main);
  background: #fff;
  font-size: 12.5px;
  font-weight: 760;
  cursor: default;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.services-grid-featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.corporate-lines {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 28px;
}

.corporate-lines article {
  padding: 18px;
  border: 1px solid rgba(16, 131, 232, 0.14);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.corporate-lines article:nth-child(2) {
  border-left-color: var(--brand-green);
}

.corporate-lines article:nth-child(3) {
  border-left-color: var(--brand-cyan);
}

.corporate-lines article:nth-child(4) {
  border-left-color: var(--brand-teal);
}

.corporate-lines article:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 131, 232, 0.24);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.corporate-lines svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand-blue);
}

.corporate-lines article:nth-child(2) svg {
  background: var(--brand-green);
}

.corporate-lines article:nth-child(3) svg {
  background: var(--brand-cyan);
}

.corporate-lines article:nth-child(4) svg {
  background: var(--brand-teal);
}

.corporate-lines h3 {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.25;
}

.corporate-lines ul {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  list-style: none;
}

.corporate-lines li {
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 760;
  line-height: 1.35;
}

.service-filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 28px;
}

.service-filter-bar button {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid rgba(16, 131, 232, 0.18);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius);
  color: var(--text-main);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 253, 0.88)),
    #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.045);
  text-align: left;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.service-filter-bar button:nth-child(2) {
  border-left-color: var(--brand-cyan);
}

.service-filter-bar button:nth-child(3) {
  border-left-color: var(--brand-green);
}

.service-filter-bar button:nth-child(4) {
  border-left-color: var(--brand-teal);
}

.service-filter-bar button svg {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand-blue);
  transition: transform 180ms ease, background 180ms ease;
}

.service-filter-bar button:nth-child(2) svg {
  background: var(--brand-cyan);
}

.service-filter-bar button:nth-child(3) svg {
  background: var(--brand-green);
}

.service-filter-bar button:nth-child(4) svg {
  background: var(--brand-teal);
}

.service-filter-bar button:hover,
.service-filter-bar button.active {
  color: #fff;
  border-color: rgba(16, 131, 232, 0.28);
  background: linear-gradient(135deg, var(--brand-blue), #0B6FC9);
  box-shadow: 0 16px 32px rgba(16, 131, 232, 0.16);
  transform: translateY(-2px);
}

.service-filter-bar button:nth-child(2):hover,
.service-filter-bar button:nth-child(2).active {
  background: linear-gradient(135deg, var(--brand-cyan), #2E8ED3);
}

.service-filter-bar button:nth-child(3):hover,
.service-filter-bar button:nth-child(3).active {
  background: linear-gradient(135deg, var(--brand-green), #0F7A3A);
}

.service-filter-bar button:nth-child(4):hover,
.service-filter-bar button:nth-child(4).active {
  background: linear-gradient(135deg, var(--brand-teal), #087D72);
}

.service-filter-bar button:hover svg,
.service-filter-bar button.active svg {
  color: var(--brand-blue);
  background: #fff;
  transform: scale(1.04);
}

.service-filter-bar button:hover small,
.service-filter-bar button.active small {
  color: rgba(255, 255, 255, 0.82);
}

.service-card.is-hidden-by-filter {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .corporate-lines article,
  .service-card,
  .mini-services article,
  .results-grid article,
  .feature-card {
    position: relative;
  }

  .corporate-lines article {
    min-height: 128px;
    overflow: hidden;
  }

  .corporate-lines ul,
  .service-body p,
  .mini-services p,
  .process-timeline p,
  .results-grid p,
  .feature-card p {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    transition: max-height 240ms ease, margin 240ms ease, opacity 180ms ease, transform 220ms ease;
  }

  .corporate-lines article:hover ul,
  .service-card:hover .service-body p,
  .mini-services article:hover p,
  .process-timeline article:hover p,
  .results-grid article:hover p,
  .feature-card:hover p {
    max-height: 150px;
    opacity: 1;
    transform: translateY(0);
  }

  .corporate-lines article:hover ul {
    margin-top: 10px;
  }

  .service-card:hover .service-body p,
  .mini-services article:hover p,
  .feature-card:hover p {
    margin-top: 9px;
  }

  .results-grid article:hover p {
    margin-top: 3px;
  }

  .process-timeline article:hover p {
    margin-top: 5px;
  }
}

.service-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  overflow: hidden;
  cursor: default;
  border-top: 4px solid var(--brand-blue);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-card:nth-child(2n) {
  border-top-color: var(--brand-cyan);
}

.service-card:nth-child(3n) {
  border-top-color: var(--brand-green);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  background: var(--surface-blue);
  border-right: 1px solid var(--border-neutral);
  filter: saturate(0.94) contrast(1.02);
  transition: transform 420ms ease, filter 420ms ease;
}

.service-body {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.service-title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.service-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand-blue);
  font-size: 20px;
  transition: transform 180ms ease;
}

.service-body p {
  margin-top: 9px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 14px;
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 800;
}

.service-card .service-link {
  margin-top: auto;
  padding-top: 14px;
}

.other-services {
  padding-top: 54px;
}

.mini-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.mini-services article {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  cursor: default;
  border-top: 3px solid var(--brand-cyan);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.mini-services article:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.mini-service-media {
  display: flex;
  height: 142px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-bottom: 1px solid var(--border-neutral);
  background: #F8FAFC;
}

.mini-services img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: calc(var(--radius) - 3px);
  transition: transform 420ms ease, filter 420ms ease;
}

.mini-services div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}

.mini-services strong {
  color: var(--text-main);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.25;
}

.mini-services p {
  margin-top: 8px;
  font-size: 13.5px;
}

.mini-services a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: auto;
  padding-top: 14px;
  color: var(--brand-blue);
  font-size: 13.5px;
  font-weight: 800;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.process-card {
  padding: 24px;
  min-height: 224px;
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand-blue);
  font-weight: 900;
}

.process-card h3 {
  margin-bottom: 9px;
}

.process-grid-rich {
  gap: 18px;
}

.process-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 42px;
  align-items: center;
}

.process-timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 23px;
  width: 2px;
  background: linear-gradient(var(--brand-blue), var(--brand-cyan), var(--brand-green), var(--brand-teal));
}

.process-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 46px 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius);
  background: #fff;
  cursor: default;
  transition: border-color 180ms ease;
}

.process-timeline article:hover {
  border-color: rgba(16, 131, 232, 0.28);
}

.process-timeline article:nth-child(2) {
  background: var(--surface-gold);
}

.process-timeline article:nth-child(3) {
  background: var(--surface-orange);
}

.process-timeline span,
.process-timeline svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand-blue);
  transition: transform 180ms ease;
}

.process-timeline span {
  min-height: 38px;
  font-size: 13px;
  font-weight: 900;
}

.process-timeline svg {
  width: 38px;
  height: 38px;
  padding: 9px;
}

.process-timeline article:nth-child(2) span,
.process-timeline article:nth-child(2) svg {
  background: var(--brand-green);
}

.process-timeline article:nth-child(3) span,
.process-timeline article:nth-child(3) svg {
  background: var(--brand-teal);
}

.process-timeline h3 {
  margin-bottom: 5px;
}

.process-card-rich {
  overflow: hidden;
  padding: 0;
  min-height: 0;
}

.process-card-rich img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-neutral);
  filter: saturate(0.96) contrast(1.02);
}

.process-card-rich > div {
  position: relative;
  padding: 22px;
}

.process-card-rich > div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--brand-blue);
}

.process-card-rich:nth-child(2) > div::before,
.process-card-rich:nth-child(2) .process-number,
.process-card-rich:nth-child(2) > div > svg {
  background: var(--brand-green);
}

.process-card-rich:nth-child(3) > div::before,
.process-card-rich:nth-child(3) .process-number,
.process-card-rich:nth-child(3) > div > svg {
  background: var(--brand-teal);
}

.process-card-rich .process-number {
  display: inline-flex;
  width: auto;
  height: auto;
  min-height: 34px;
  padding: 7px 10px;
  margin: 0 10px 18px 0;
  background: var(--brand-blue);
  font-size: 13px;
}

.process-card-rich > div > svg {
  display: inline-flex;
  width: 34px;
  height: 34px;
  padding: 8px;
  margin-bottom: -11px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand-blue);
}

.certifications-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.84)),
    radial-gradient(circle at 84% 10%, rgba(104, 166, 221, 0.2), transparent 24%),
    linear-gradient(135deg, rgba(22, 140, 70, 0.08), transparent 36%),
    var(--pattern-leaves),
    #fff;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cert-card {
  overflow: hidden;
  min-height: 100%;
  padding: 0;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-filter-bar button span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.service-filter-bar button strong {
  display: block;
  font-size: 13px;
  line-height: 1.1;
}

.service-filter-bar button small {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.1;
  transition: color 180ms ease;
}

.cert-card.is-cert-selected {
  border-color: rgba(16, 131, 232, 0.72);
  box-shadow: 0 0 0 4px rgba(16, 131, 232, 0.14), 0 18px 40px rgba(16, 131, 232, 0.16);
  animation: certFocus 1.25s ease both;
}

@keyframes certFocus {
  0% {
    transform: translateY(0) scale(1);
  }
  28% {
    transform: translateY(-6px) scale(1.018);
  }
  58% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.cert-image-button {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.cert-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  object-position: center;
  background: var(--surface-soft);
  padding: 22px;
  border-bottom: 1px solid var(--border-neutral);
  transition: transform 460ms ease, filter 460ms ease;
}

.cert-icon-button {
  background:
    linear-gradient(135deg, rgba(16, 131, 232, 0.08), rgba(22, 140, 70, 0.08)),
    var(--surface-soft);
}

.cert-image-button:hover img {
  filter: saturate(1.04) contrast(1.04);
}

.cert-image-button span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: var(--radius);
  color: #fff;
  background: rgba(15, 23, 42, 0.78);
  font-size: 12px;
  font-weight: 800;
  transition: background-color 160ms ease, transform 160ms ease;
}

.cert-image-button:hover span {
  background: rgba(16, 131, 232, 0.9);
  transform: translateY(-2px);
}

.cert-card div {
  padding: 18px;
}

.cert-card p {
  margin-top: 9px;
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.cert-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius);
  color: var(--text-main);
  background: #fff;
  font-size: 13px;
  font-weight: 760;
  cursor: default;
}

.events-section {
  background:
    linear-gradient(180deg, rgba(246, 250, 253, 0.56), rgba(255, 255, 255, 0.82)),
    radial-gradient(circle at 8% 20%, rgba(16, 131, 232, 0.12), transparent 24%),
    var(--pattern-lines),
    linear-gradient(180deg, var(--surface-soft), #fff);
  padding: 36px 0 48px;
}

.event-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.event-copy {
  padding: 24px;
  border: 1px solid var(--border-neutral);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.event-copy h2 {
  font-size: 31px;
}

.event-copy p {
  margin-top: 13px;
}

.event-highlights {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.event-highlights span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 760;
}

.event-highlights svg {
  width: 18px;
  height: 18px;
  color: var(--brand-blue);
}

.event-carousel {
  position: relative;
  max-width: 100%;
  margin: 0;
}

.event-image-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  min-width: 42px;
  justify-content: center;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.event-showcase {
  display: grid;
  gap: 16px;
}

.event-card {
  display: none;
  border: 1px solid rgba(16, 131, 232, 0.16);
  border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
  overflow: hidden;
}

.event-card.is-active {
  display: flex;
  flex-direction: column;
  animation: componentPop 380ms cubic-bezier(0.18, 0.86, 0.25, 1) both;
}

.event-card .event-carousel,
.event-card .carousel-viewport,
.event-card .carousel-track {
  height: auto;
}

.carousel-viewport {
  overflow: hidden;
  border: 1px solid rgba(16, 131, 232, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.event-card .carousel-viewport {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.carousel-track {
  display: flex;
  transition: transform 360ms ease;
}

.event-slide {
  flex: 0 0 100%;
  display: grid;
  background: #fff;
}

.event-slide img {
  width: 100%;
  height: 300px;
  min-height: 0;
  object-fit: contain;
  background: #F8FAFC;
  transition: transform 520ms ease, filter 520ms ease;
}

.event-slide.is-image-missing img {
  display: none;
}

.event-slide.is-image-missing::before {
  content: "Imagen del evento no encontrada";
  display: grid;
  place-items: center;
  height: 300px;
  color: var(--text-muted);
  background: #F8FAFC;
  font-size: 14px;
  font-weight: 800;
}

.event-slide strong {
  display: block;
  padding: 13px 16px 4px;
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.35;
}

.event-slide p {
  padding: 0 16px 14px;
  font-size: 13px;
}

.event-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  align-self: stretch;
  padding: 10px;
  border: 1px solid rgba(16, 131, 232, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}

.event-pager > button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--brand-blue);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.event-pager > button:hover {
  color: #fff;
  background: var(--brand-blue);
  transform: translateY(-1px);
}

.event-pager-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.event-pager-dots button {
  width: 26px;
  height: 7px;
  border: 1px solid rgba(16, 131, 232, 0.2);
  border-radius: 2px;
  background: rgba(16, 131, 232, 0.12);
  transition: width 160ms ease, background 160ms ease, border-color 160ms ease;
}

.event-pager-dots button.active {
  width: 38px;
  border-color: var(--brand-blue);
  background: var(--brand-blue);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius);
  color: var(--brand-blue);
  background: #fff;
  transform: translateY(-50%);
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.carousel-btn:hover {
  border-color: var(--brand-blue);
  color: #fff;
  background: var(--brand-blue);
}

.carousel-prev:hover {
  transform: translate(-2px, -50%);
}

.carousel-next:hover {
  transform: translate(2px, -50%);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.results-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.84)),
    radial-gradient(circle at 78% 18%, rgba(22, 140, 70, 0.12), transparent 22%),
    var(--pattern-leaves),
    linear-gradient(135deg, rgba(16, 131, 232, 0.08), transparent 30%),
    #fff;
}

.results-section h2 {
  color: var(--text-main);
}

.results-section .eyebrow {
  color: var(--brand-blue);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.result-counters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.result-counters article {
  padding: 14px;
  border: 1px solid rgba(16, 131, 232, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
}

.result-counters strong {
  display: block;
  color: var(--brand-blue);
  font-size: 24px;
  line-height: 1;
}

.result-counters span {
  display: block;
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.results-rich-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: 42px;
  align-items: center;
}

.results-visual {
  overflow: hidden;
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.results-visual img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02);
  transition: transform 520ms ease, filter 520ms ease;
}

.results-visual div {
  padding: 20px;
  border-top: 4px solid var(--brand-green);
  background: var(--dark);
}

.results-visual strong,
.results-visual span {
  display: block;
}

.results-visual strong {
  color: #fff;
  font-size: 18px;
}

.results-visual span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.results-grid-rich {
  grid-template-columns: 1fr;
  margin-top: 26px;
}

.results-grid article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: auto;
  padding: 16px;
  border-left: 4px solid var(--brand-blue);
  transition: border-color 180ms ease;
}

.results-grid article:nth-child(2),
.results-grid article:nth-child(4) {
  border-left-color: var(--brand-green);
  background: var(--surface-gold);
}

.results-grid article:nth-child(3) {
  border-left-color: var(--brand-teal);
  background: var(--surface-orange);
}

.results-grid strong {
  display: block;
  color: var(--text-main);
  font-size: 16px;
}

.results-grid p {
  margin-top: 3px;
  font-size: 13.5px;
}

.achievement-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 40px;
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius);
  background: #fff;
}

.achievement-visual img {
  width: min(300px, 100%);
  height: auto;
}

.achievement-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.cta-section {
  padding: 50px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.84)),
    radial-gradient(circle at 18% 30%, rgba(22, 140, 70, 0.14), transparent 20%),
    var(--pattern-leaves),
    #fff;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 131, 232, 0.96), rgba(11, 111, 201, 0.94)),
    radial-gradient(circle at 88% 16%, rgba(22, 140, 70, 0.28), transparent 28%);
  box-shadow: 0 18px 42px rgba(16, 131, 232, 0.18);
}

.cta-card h2,
.cta-card .eyebrow {
  color: #fff;
}

.cta-card p {
  max-width: 760px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(246, 250, 253, 0.56), rgba(246, 250, 253, 0.82)),
    radial-gradient(circle at 88% 10%, rgba(16, 131, 232, 0.16), transparent 24%),
    var(--pattern-lines),
    var(--surface-soft);
}

.contact-grid {
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  align-items: start;
  padding: 13px;
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  cursor: default;
  transition: border-color 180ms ease;
}

.contact-list svg {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--brand-blue);
  background: rgba(16, 131, 232, 0.08);
  font-size: 18px;
}

.contact-list strong {
  display: block;
  color: var(--text-main);
}

.contact-list a {
  color: var(--brand-blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-list a:hover {
  color: #0B6FC9;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #fff, #fff),
    linear-gradient(135deg, rgba(16, 131, 232, 0.18), rgba(22, 140, 70, 0.18));
  background-clip: padding-box, border-box;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form:focus-within {
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.contact-form.is-highlighted {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(16, 131, 232, 0.14), 0 18px 36px rgba(15, 23, 42, 0.12);
  animation: quoteFocusPulse 760ms ease both;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--text-main);
  background: #fff;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(16, 131, 232, 0.1);
  transform: translateY(-1px);
}

.privacy-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  line-height: 1.45;
}

.privacy-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand-blue);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-security {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(16, 131, 232, 0.2);
  border-radius: var(--radius);
  color: var(--text-muted);
  background: rgba(16, 131, 232, 0.06);
  font-size: 13px;
  font-weight: 760;
}

.form-security svg {
  width: 18px;
  height: 18px;
  color: var(--brand-blue);
}

.is-invalid {
  border-color: #B42318;
}

.form-status {
  min-height: 20px;
  font-size: 13.5px;
  font-weight: 760;
}

.form-status.is-error {
  color: #B42318;
}

.form-status.is-success {
  color: #168C46;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #168C46;
  box-shadow: var(--shadow-soft);
  font-size: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.whatsapp-float .whatsapp-mark {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  background: #0F7A3A;
  box-shadow: 0 16px 30px rgba(22, 140, 70, 0.22);
  transform: translateY(-3px) scale(1.03);
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 899;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 131, 232, 0.2);
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), #0B6FC9);
  box-shadow: 0 14px 28px rgba(16, 131, 232, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background: linear-gradient(135deg, #0B6FC9, var(--brand-teal));
  box-shadow: 0 18px 34px rgba(15, 159, 141, 0.2);
  transform: translateY(-2px);
}

.footer {
  padding: 30px 0 16px;
  color: #fff;
  background: #07111F;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.footer h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 15px;
}

.footer p,
.footer li,
.footer a,
.footer-bottom span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.45;
}

.footer-brand img {
  width: 118px;
  height: auto;
  margin-bottom: 10px;
  display: block;
  border-radius: 0;
}

.footer-brand p {
  max-width: 290px;
  font-size: 14px;
  line-height: 1.45;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 6px;
  list-style: none;
}

.footer-contact li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.footer-social a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  font-size: 16px;
  line-height: 1;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  display: block;
}

.footer-social a:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.footer-social .social-facebook {
  background: #1877F2;
  border-color: #1877F2;
  color: #fff;
}

.footer-social .social-linkedin {
  background: #0A66C2;
  border-color: #0A66C2;
  color: #fff;
}

.footer-social .social-whatsapp {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 17, 31, 0.78);
  opacity: 0;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  display: flex;
  opacity: 1;
}

.lightbox-dialog {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(94vw, 980px);
  max-height: 92vh;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  transform: scale(0.98);
  transition: transform 180ms ease;
}

.lightbox.is-open .lightbox-dialog {
  transform: scale(1);
}

.lightbox-dialog img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #F8FAFC;
}

.lightbox-dialog strong {
  color: var(--text-main);
  font-size: 16px;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius);
  color: var(--text-main);
  background: #fff;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.lightbox-close:hover {
  color: #fff;
  background: var(--brand-blue);
  transform: rotate(90deg);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes subtlePulse {
  0%,
  100% {
    box-shadow: 0 8px 20px rgba(22, 140, 70, 0.18);
  }

  50% {
    box-shadow: 0 12px 26px rgba(22, 140, 70, 0.28);
  }
}

@keyframes quoteFocusPulse {
  0% {
    transform: translateY(0);
  }

  45% {
    transform: translateY(-4px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes screenEnter {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }

  60% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pageSoftFlash {
  0% {
    opacity: 0.72;
  }

  100% {
    opacity: 1;
  }
}

@keyframes routeMainEntrance {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes componentPop {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }

  70% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.public-main.page-enter .hero-media,
.public-main.page-enter .section-heading,
.public-main.page-enter .section-copy,
.public-main.page-enter .about-panel > div,
.public-main.page-enter .mv-compact-card,
.public-main.page-enter .mv-values-panel,
.public-main.page-enter .values-list span,
.public-main.page-enter .service-card,
.public-main.page-enter .mini-services article,
.public-main.page-enter .cert-card,
.public-main.page-enter .process-timeline article,
.public-main.page-enter .results-grid article,
.public-main.page-enter .result-counters article,
.public-main.page-enter .results-visual,
.public-main.page-enter .achievement-list span,
.public-main.page-enter .event-copy,
.public-main.page-enter .event-carousel,
.public-main.page-enter .contact-list li,
.public-main.page-enter .contact-form,
.public-main.page-enter .cta-card {
  animation: componentPop 320ms cubic-bezier(0.18, 0.86, 0.25, 1) both;
}

.public-main.page-enter .hero-copy {
  animation: none;
}

.public-main.page-enter .about-panel > div:nth-child(1),
.public-main.page-enter .service-card:nth-child(1),
.public-main.page-enter .mini-services article:nth-child(1),
.public-main.page-enter .cert-card:nth-child(1),
.public-main.page-enter .process-timeline article:nth-child(1),
.public-main.page-enter .results-grid article:nth-child(1),
.public-main.page-enter .contact-list li:nth-child(1) {
  animation-delay: 45ms;
}

.public-main.page-enter .about-panel > div:nth-child(2),
.public-main.page-enter .service-card:nth-child(2),
.public-main.page-enter .mini-services article:nth-child(2),
.public-main.page-enter .cert-card:nth-child(2),
.public-main.page-enter .process-timeline article:nth-child(2),
.public-main.page-enter .results-grid article:nth-child(2),
.public-main.page-enter .contact-list li:nth-child(2) {
  animation-delay: 80ms;
}

.public-main.page-enter .about-panel > div:nth-child(3),
.public-main.page-enter .service-card:nth-child(3),
.public-main.page-enter .mini-services article:nth-child(3),
.public-main.page-enter .cert-card:nth-child(3),
.public-main.page-enter .process-timeline article:nth-child(3),
.public-main.page-enter .results-grid article:nth-child(3),
.public-main.page-enter .contact-list li:nth-child(3) {
  animation-delay: 115ms;
}

@media (prefers-reduced-motion: no-preference) {
  .screen-in {
    animation: screenEnter 320ms cubic-bezier(0.18, 0.86, 0.25, 1) both;
    animation-delay: var(--screen-delay, 0ms);
  }

  .motion-in {
    animation: componentPop 280ms cubic-bezier(0.18, 0.86, 0.25, 1) both;
    animation-delay: calc(35ms + var(--motion-delay, 0ms));
  }

  .public-main.page-enter {
    animation: pageSoftFlash 220ms ease both;
  }

  .public-main.page-enter > .hero,
  .public-main.page-enter > .section {
    animation: screenEnter 320ms cubic-bezier(0.18, 0.86, 0.25, 1) both;
    animation-delay: var(--screen-delay, 0ms);
  }

  .public-main.page-enter .motion-item {
    opacity: 0;
    animation: componentPop 280ms cubic-bezier(0.18, 0.86, 0.25, 1) both;
    animation-delay: calc(35ms + var(--motion-delay, 0ms));
  }

  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 460ms ease var(--reveal-delay, 0ms),
      transform 460ms ease var(--reveal-delay, 0ms);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

[data-theme="dark"] {
  color-scheme: dark;
  --dark: #030712;
  --text-main: #E8F1FA;
  --text-muted: #A9B8C8;
  --surface: #0B1220;
  --surface-soft: #101B2D;
  --surface-blue: #13263B;
  --surface-gold: #0F172A;
  --surface-orange: #0F172A;
  --border: rgba(104, 166, 221, 0.28);
  --border-neutral: rgba(226, 232, 240, 0.13);
  --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.28);
  --shadow-hover: 0 18px 38px rgba(0, 0, 0, 0.34);
}

[data-theme="dark"] body {
  background: var(--surface);
  color: var(--text-main);
}

[data-theme="dark"] .site-header {
  background: rgba(11, 18, 32, 0.94);
  border-bottom-color: var(--border-neutral);
  box-shadow: 0 1px 0 rgba(104, 166, 221, 0.08);
}

[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(11, 18, 32, 0.98);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

[data-theme="dark"] .navbar-brand {
  border-color: rgba(104, 166, 221, 0.2);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(19, 38, 59, 0.7));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] .navbar-brand:hover {
  border-color: rgba(104, 166, 221, 0.36);
  background: rgba(19, 38, 59, 0.92);
}

[data-theme="dark"] .brand-copy strong {
  color: var(--text-main);
}

[data-theme="dark"] .brand-copy small {
  color: #7CC2F2;
}

[data-theme="dark"] .nav-menu {
  border-color: rgba(104, 166, 221, 0.2);
  background: rgba(3, 7, 18, 0.48);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,.06);
}

[data-theme="dark"] .hero,
[data-theme="dark"] .process-section-rich,
[data-theme="dark"] .results-section {
  background:
    linear-gradient(135deg, rgba(16, 131, 232, 0.1), rgba(11, 18, 32, 0.72) 42%),
    var(--pattern-lines),
    var(--surface);
}

[data-theme="dark"] .about-section,
[data-theme="dark"] .process-section,
[data-theme="dark"] .achievements-section,
[data-theme="dark"] .services-section,
[data-theme="dark"] .other-services,
[data-theme="dark"] .contact-section,
[data-theme="dark"] .events-section {
  background:
    linear-gradient(135deg, rgba(16, 131, 232, 0.1), rgba(16, 27, 45, 0.72) 42%),
    var(--pattern-leaves),
    var(--surface-soft);
}

[data-theme="dark"] .contact-section {
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.66), rgba(11, 18, 32, 0.78)),
    radial-gradient(circle at 88% 10%, rgba(16, 131, 232, 0.12), transparent 24%),
    var(--pattern-lines),
    #10243A;
}

[data-theme="dark"] .nav-links a {
  color: var(--text-muted);
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active {
  color: #fff;
}

[data-theme="dark"] .nav-links a:hover {
  background: rgba(104, 166, 221, 0.12);
}

[data-theme="dark"] .nav-links a.active {
  background: linear-gradient(135deg, var(--brand-blue), #0A5FB1);
  box-shadow: 0 10px 22px rgba(16, 131, 232, 0.18), inset 0 1px 0 rgba(255,255,255,.18);
}

[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .nav-toggle,
[data-theme="dark"] .btn-outline,
[data-theme="dark"] .trust-row > span,
[data-theme="dark"] .trust-cert,
[data-theme="dark"] .about-panel > div,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .cert-card,
[data-theme="dark"] .process-card,
[data-theme="dark"] .results-grid article,
[data-theme="dark"] .mv-compact-card,
[data-theme="dark"] .mv-values-panel,
[data-theme="dark"] .mini-services article,
[data-theme="dark"] .event-copy,
[data-theme="dark"] .event-card,
[data-theme="dark"] .contact-list li,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .carousel-viewport,
[data-theme="dark"] .event-slide,
[data-theme="dark"] .lightbox-dialog {
  background: #0F172A;
  border-color: var(--border-neutral);
  color: var(--text-main);
}

[data-theme="dark"] .form-security {
  background: rgba(104, 166, 221, 0.1);
  border-color: rgba(104, 166, 221, 0.24);
}

[data-theme="dark"] .privacy-consent {
  background: rgba(15, 23, 42, 0.82);
  border-color: var(--border-neutral);
}

[data-theme="dark"] .event-pager {
  border-color: rgba(104, 166, 221, 0.18);
  background: #0F172A;
}

[data-theme="dark"] .event-pager > button {
  color: #7CC2F2;
  background: #0B1220;
  border-color: rgba(104, 166, 221, 0.18);
}

[data-theme="dark"] .event-pager > button:hover {
  color: #fff;
  background: var(--brand-blue);
}

[data-theme="dark"] .service-card {
  background: linear-gradient(180deg, #0F172A, #0B1220);
  border-color: rgba(104, 166, 221, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .mini-services article:hover {
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

[data-theme="dark"] .service-card img {
  background: #111827;
  border-right-color: var(--border-neutral);
  filter: saturate(0.9) contrast(1.04) brightness(0.86);
}

[data-theme="dark"] .service-body p,
[data-theme="dark"] .mini-services p {
  color: var(--text-muted);
}

[data-theme="dark"] .service-link,
[data-theme="dark"] .mini-services a {
  color: #7CC2F2;
}

[data-theme="dark"] .service-link:hover,
[data-theme="dark"] .mini-services a:hover {
  color: #B9E2FF;
}

[data-theme="dark"] .corporate-lines article {
  border-color: rgba(104, 166, 221, 0.18);
  background: linear-gradient(180deg, #0F172A, #0B1220);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .corporate-lines li {
  color: var(--text-muted);
}

[data-theme="dark"] .service-filter-bar button {
  color: var(--text-main);
  border-color: rgba(104, 166, 221, 0.18);
  background: linear-gradient(180deg, #0F172A, #0B1220);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

[data-theme="dark"] .service-filter-bar button:hover,
[data-theme="dark"] .service-filter-bar button.active {
  color: #fff;
}

[data-theme="dark"] .service-filter-bar button small {
  color: rgba(203, 213, 225, 0.72);
}

[data-theme="dark"] .service-filter-bar button:hover small,
[data-theme="dark"] .service-filter-bar button.active small {
  color: rgba(255, 255, 255, 0.82);
}

[data-theme="dark"] .mini-services article {
  background: linear-gradient(180deg, #0F172A, #0B1220);
  border-color: rgba(104, 166, 221, 0.18);
}

[data-theme="dark"] .mini-services strong {
  color: var(--text-main);
}

[data-theme="dark"] .btn-outline,
[data-theme="dark"] .theme-toggle {
  color: #DDEBFA;
}

[data-theme="dark"] .btn-light {
  color: var(--brand-blue);
  background: #F8FAFC;
}

[data-theme="dark"] .cta-section {
  background:
    linear-gradient(180deg, rgba(11, 18, 32, 0.64), rgba(11, 18, 32, 0.74)),
    radial-gradient(circle at 18% 24%, rgba(16, 131, 232, 0.14), transparent 24%),
    radial-gradient(circle at 92% 28%, rgba(104, 166, 221, 0.12), transparent 22%),
    var(--pattern-lines),
    #10243A;
}

[data-theme="dark"] .cta-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(104, 166, 221, 0.18);
  background:
    linear-gradient(135deg, rgba(16, 131, 232, 0.74), rgba(12, 82, 145, 0.66)),
    radial-gradient(circle at 88% 16%, rgba(104, 166, 221, 0.14), transparent 28%),
    #10243A;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .cta-card p {
  color: rgba(221, 235, 250, 0.82);
}

[data-theme="dark"] .cta-card .btn-light {
  color: #EAF6FF;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.78);
}

[data-theme="dark"] .cta-card .btn-light:hover {
  color: #fff;
  background: rgba(11, 18, 32, 0.95);
}

[data-theme="dark"] .values-list span,
[data-theme="dark"] .achievement-list span,
[data-theme="dark"] .cert-badges span {
  background: rgba(15, 23, 42, 0.92);
  border-color: var(--border-neutral);
  color: var(--text-main);
}

[data-theme="dark"] .trust-row > span:nth-child(2),
[data-theme="dark"] .process-timeline article:nth-child(2) {
  background: #0F172A;
}

[data-theme="dark"] .trust-row > span:nth-child(4),
[data-theme="dark"] .process-timeline article:nth-child(3) {
  background: #0F172A;
}

[data-theme="dark"] .process-timeline article,
[data-theme="dark"] .results-grid article,
[data-theme="dark"] .cert-card,
[data-theme="dark"] .cert-badges span {
  background: #0F172A;
  color: var(--text-main);
}

[data-theme="dark"] .process-timeline article:first-child,
[data-theme="dark"] .results-grid article:first-child {
  border-color: rgba(16, 131, 232, 0.42);
}

[data-theme="dark"] .process-timeline article:nth-child(2),
[data-theme="dark"] .results-grid article:nth-child(2),
[data-theme="dark"] .results-grid article:nth-child(4) {
  border-color: rgba(22, 140, 70, 0.44);
}

[data-theme="dark"] .process-timeline article:nth-child(3),
[data-theme="dark"] .results-grid article:nth-child(3) {
  border-color: rgba(15, 159, 141, 0.42);
}

[data-theme="dark"] .results-section,
[data-theme="dark"] .certifications-section {
  background:
    linear-gradient(135deg, rgba(16, 131, 232, 0.14), rgba(11, 18, 32, 0.72) 42%),
    radial-gradient(circle at 84% 10%, rgba(104, 166, 221, 0.12), transparent 24%),
    var(--pattern-lines),
    var(--surface);
}

[data-theme="dark"] .cert-card div,
[data-theme="dark"] .cert-card h3,
[data-theme="dark"] .results-grid strong,
[data-theme="dark"] .process-timeline h3 {
  color: var(--text-main);
}

[data-theme="dark"] .cert-card p,
[data-theme="dark"] .results-grid p,
[data-theme="dark"] .process-timeline p {
  color: var(--text-muted);
}

[data-theme="dark"] .cert-image-button span {
  background: rgba(3, 7, 18, 0.86);
}

[data-theme="dark"] .cert-icon-button {
  background:
    linear-gradient(135deg, rgba(104, 166, 221, 0.14), rgba(34, 197, 94, 0.12)),
    #0B1220;
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background: #0B1220;
  color: var(--text-main);
  border-color: var(--border-neutral);
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: rgba(226, 232, 240, 0.52);
}

[data-theme="dark"] .cert-card img,
[data-theme="dark"] .service-card img,
[data-theme="dark"] .mv-image-frame,
[data-theme="dark"] .mini-service-media,
[data-theme="dark"] .event-slide img,
[data-theme="dark"] .lightbox-dialog img {
  background: #111827;
}

[data-theme="dark"] .footer {
  background: #030712;
}

@media (max-width: 1120px) {
  h1 {
    font-size: 31px;
  }

  .hero h1 {
    font-size: clamp(28px, 4vw, 38px);
  }

  h2 {
    font-size: 31px;
  }

  .nav-menu {
    gap: 8px;
  }

  .nav-links a {
    padding-inline: 7px;
  }

  .services-grid,
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .corporate-lines,
  .service-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 210px;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border-neutral);
  }

  .mini-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-layout {
    grid-template-columns: 1fr;
  }

  .event-copy h2 {
    font-size: 29px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .section {
    padding: 42px 0 52px;
  }

  .navbar-brand img {
    height: 48px;
  }

  .brand-copy {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 42px;
    margin-left: auto;
  }

  .nav-menu {
    position: fixed;
    inset: var(--nav-height) 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--border-neutral);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
    z-index: 1001;
  }

  [data-theme="dark"] .nav-menu {
    background: #0F172A;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a,
  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-grid,
  .split-grid,
  .compact-grid,
  .results-layout,
  .results-rich-layout,
  .process-split,
  .contact-grid,
  .cta-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mv-compact-card {
    grid-template-columns: 1fr;
  }

  .mv-image-frame {
    height: 210px;
  }

  .hero {
    min-height: auto;
    padding: 38px 0 46px;
  }

  .hero-copy,
  .hero .eyebrow,
  .hero h1,
  .hero-copy p,
  .section-heading,
  .section-heading h2,
  .section-heading p {
    max-width: 100%;
  }

  .hero-media img {
    height: 340px;
    object-position: center;
  }

  .mission-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 72px;
  }

  .container {
    width: 100%;
    max-width: 100vw;
    padding-inline: 12px;
    margin-left: 0;
    margin-right: 0;
  }

  .navbar-inner,
  .hero-grid,
  .hero-copy,
  .hero-media,
  .section-heading,
  .services-grid,
  .service-filter-bar,
  .mini-services,
  .trust-row,
  .hero-division-strip {
    width: 100%;
    max-width: min(100%, 366px);
    min-width: 0;
  }

  body {
    font-size: 15px;
  }

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 27px;
  }

  .section {
    padding: 36px 0 46px;
  }

  .services-section {
    padding-top: 24px;
  }

  .services-section .section-heading {
    margin-bottom: 18px;
    text-align: left;
  }

  .services-section .section-heading h2 {
    font-size: 24px;
    line-height: 1.12;
  }

  .services-section .section-heading p {
    font-size: 13.5px;
    line-height: 1.45;
  }

  .hero {
    padding: 24px 0 36px;
  }

  .hero h1 {
    font-size: clamp(22px, 6.6vw, 25px);
    line-height: 1.08;
    width: 100%;
    max-width: 366px;
    text-wrap: auto;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero-copy p {
    font-size: 13.5px;
    line-height: 1.5;
    width: 100%;
    max-width: 366px;
    overflow-wrap: break-word;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-row > span,
  .trust-cert {
    justify-content: center;
  }

  .hero-media img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .hero-division-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  .hero-division-strip a {
    min-height: 54px;
    padding: 9px 10px;
  }

  .hero-division-strip strong {
    font-size: 11.5px;
  }

  .hero-division-strip small {
    font-size: 9.2px;
  }

  .services-grid,
  .corporate-lines,
  .service-filter-bar,
  .cert-grid,
  .mini-services,
  .results-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .service-filter-bar button {
    width: 100%;
    padding: 9px 10px;
  }

  .service-title-row {
    align-items: flex-start;
  }

  .service-title-row h3 {
    font-size: 16px;
    line-height: 1.18;
  }

  .mini-services {
    margin-top: 22px;
  }

  .mini-services img {
    height: 100%;
  }

  .mini-service-media {
    height: 154px;
  }

  .cert-card img {
    height: 260px;
  }

  .event-slide img {
    height: 260px;
  }

  .results-visual img {
    height: 300px;
  }

  .process-card-rich img {
    height: 150px;
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }

  .scroll-top {
    right: 14px;
    bottom: 82px;
    width: 42px;
    height: 42px;
  }

  .cta-card {
    padding: 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
