/* =========================================================
   Q12 Partners – CSS limpio y ordenado
   ========================================================= */

/* ========== Design tokens ========== */
:root {
  /* Paleta cliente */
  --ink: #474747;
  /* Color 1: textos base */
  --muted: #666666;
  /* gris secundario para párrafos/sutiles */
  --accent: #6E94F0;
  /* Color 2: títulos y resaltados */
  --accent-2: #6E94F0;
  /* mismo acento para consistencia */
  --brand-bg: #2E5F7F;
  /* Color 3: fondos de marca */

  /* superficies */
  --bg: #ffffff;
  /* fondo general (legibilidad) */
  --bg-soft: #E6EEF5;
  /* suave, derivado del brand-bg */
  --card: #f9fafb;
  /* tarjetas claras */
  --border: #e6eaf2;

  /* layout / misc */
  --container: 1200px;
  --radius: 12px;
  --header-h: 64px;
  --shadow-md: 0 14px 38px rgba(15, 23, 42, .10);
  --shadow-lg: 0 22px 60px rgba(15, 23, 42, .14);
  --grad-1: linear-gradient(135deg, #6E94F0 0%, #6E94F0 100%);
  /* primario plano */

  /* Tipografía */
  font-family: Arial, Helvetica, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", sans-serif;
}


/* ========== Reset + base ========== */
* {
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

@media (min-width:821px) {
  html {
    font-size: 18px;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  padding-top: var(--header-h);
  /* compensa header fijo */
  max-width: 100%;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding-inline: 20px;
}

@media (max-width:820px) {
  .container {
    padding-inline: 18px;
  }
}

@media (max-width:540px) {
  .container {
    padding-inline: 16px;
  }
}

/* ========== Header & Nav (fijo, claro) ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1002;
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  backdrop-filter: saturate(1.15) blur(8px);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand .logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-nav a {
  color: #0f172a;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  position: relative;
  transition: opacity .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transition: transform .25s ease, opacity .25s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  opacity: .8;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(2, 6, 23, .05);
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 6, 23, .08);
}

.icon-burger {
  display: block;
}

@media (max-width:820px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
  }
}

/* Asegurar cualquier estado “over-hero” previo */
.site-header--over-hero {
  background: #fff !important;
}

/* ========== Language toggle ========== */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--accent);
  font-weight: 700;
  background: transparent;
  border: 1px solid #e6eef8;
  border-radius: 10px;
  cursor: pointer;
}

.lang-toggle .flag {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

/* ========== Menú móvil (sheet) + Backdrop ========== */
#mobileMenu {
  display: none;
}

#mobileMenu.open {
  display: block;
}

#mobileMenu[hidden] {
  display: none !important;
}

.mobile-menu {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: calc(100dvh - var(--header-h));
  overflow: auto;
  background: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 -18px 40px rgba(2, 6, 23, .18);
  padding: 16px 20px max(24px, env(safe-area-inset-bottom));
  z-index: 1001;
  animation: menu-in .18s ease both;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.mobile-nav {
  display: grid;
  gap: 8px;
}

.mobile-nav a {
  display: block;
  padding: 12px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
}

.mobile-nav a:hover {
  background: rgba(2, 6, 23, .05);
}

.mobile-nav .btn-primary {
  color: #fff;
}

.menu-backdrop {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 10, 22, .45);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1000;
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-backdrop[hidden] {
  display: none;
}

/* ========== Botones ========== */
.btn {
  display: inline-block;
  padding: 12px 16px;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, filter .2s ease;
}

.btn-primary {
  background: var(--grad-1);
  color: #fff;
  border: none;
  box-shadow: 0 8px 18px rgba(0, 119, 204, .22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 119, 204, .28);
}

.btn-outline {
  background: #fff;
  border: 1px solid #e6eef8;
  color: #333;
}

.btn-outline:hover {
  background: #f1f5f9;
}

.btn-ghost {
  background: rgba(255, 255, 255, .10);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .36);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18) inset, 0 4px 16px rgba(0, 0, 0, .14);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .55);
}

.btn-outline--light {
  background: linear-gradient(180deg, #6E94F0, #6E94F0);
  color: #e6faff;
  border: 1px solid rgba(0, 179, 198, .65);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
  /* box-shadow: 0 10px 24px rgba(0, 179, 198, .18); */
}

.btn-outline--light:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(0, 179, 198, .36), rgba(0, 179, 198, .22));
  /* box-shadow: 0 16px 34px rgba(0, 179, 198, .22); */
}

/* accesibilidad foco sobre foto */
.btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .85);
  outline-offset: 2px;
}

.btn-outline--light:focus-visible {
  outline: 3px solid rgba(0, 179, 198, .8);
}

/* ========== Hero ========== */
.hero--consulting {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 10vh, 96px) 0;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.hero--consulting .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: radial-gradient(120% 100% at 80% 0%, #001a33 0%, #001123 50%, #000c1a 100%);
}

.hero--consulting .hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.55) contrast(1.05) saturate(.9);
  mix-blend-mode: normal;
  opacity: .95;
}

.hero--consulting::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .32) 30%, rgba(0, 0, 0, .16) 60%, rgba(0, 0, 0, 0) 100%),
    radial-gradient(60% 60% at 20% 20%, rgba(0, 179, 198, .18), transparent 60%);
}

.hero--consulting .hero-inner {
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  max-width: 1200px;
}

.hero-copy {
  max-width: 62ch;
  padding: clamp(12px, 1.8vw, 20px);
  border-radius: 16px;
  background: rgba(10, 20, 28, .28);
  backdrop-filter: blur(3px) saturate(1.1);
  /* box-shadow: 0 6px 30px rgba(0, 0, 0, .18); */
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  font-size: .85rem;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 10px;
}

.display {
  color: #fff;
  font-weight: 800;
  letter-spacing: -.015em;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  margin: 0 0 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.lead {
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 70ch;
}

.lead--contrast {
  color: #e8f1f6;
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 18px;
  line-height: 1.5;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ========== Secciones genéricas ========== */
.section {
  padding: 56px 0;
}

@media (max-width:540px) {
  .section {
    padding-block: 52px;
  }
}

.section-title {
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin: 0 0 10px;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.section-sub {
  color: var(--muted);
  text-align: center;
  margin: 0 auto 18px;
  max-width: 900px;
}

.section-visual {
  margin: 16px auto 0;
  border-radius: 12px;
}

/* fondos explícitos */
.section--soft {
  background: var(--bg-soft);
}

/* ========== Misión ========== */
.mission {
  background: var(--bg-soft);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
}

.mission-copy {
  max-width: 60ch;
}

.mission-lead {
  color: #475569;
  margin: 10px 0 14px;
  line-height: 1.6;
  text-align: left;
}

.mission-list {
  margin: 12px 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.mission-list li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
}

.mission-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #e6f8fb;
  border: 1px solid #b6e6ee;
  /* box-shadow: inset 0 0 0 2px #c9eef3; */
}

.mission-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: .55em;
  width: 10px;
  height: 6px;
  border: 2px solid #0891b2;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

.mission-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 6px 0 8px;
}

.kpi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: center;
  /* box-shadow: 0 6px 18px rgba(15, 23, 42, .06); */
}

.kpi__num {
  font-weight: 800;
  letter-spacing: -.01em;
  font-size: clamp(20px, 2.7vw, 24px);
  color: var(--accent);
}

.kpi__num span {
  font-size: .7em;
  opacity: .8;
  margin-left: 2px;
}

.kpi__label {
  color: var(--muted);
  font-size: .95rem;
  margin-top: 2px;
}

.mission-figure {
  margin: 0;
  border-radius: 16px;
  overflow: clip;
  /* box-shadow: var(--shadow-md); */
  border: 1px solid rgba(2, 6, 23, .06);
  aspect-ratio: 16 / 11;
}

.mission-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.1) contrast(1.02);
}

.mission-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

.mission-link:hover {
  opacity: .9;
}

@media (max-width:980px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .mission-copy {
    order: 2;
  }

  .mission-figure {
    order: 1;
  }
}

@media (max-width:540px) {
  .mission-kpis {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .kpi {
    padding: 10px;
  }
}

/* ========== Soluciones ========== */
.solutions-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width:1100px) {
  .solutions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width:820px) {
  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:540px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.sol-card {
  background: #fff;
  border: 1px solid var(--border);
  /* box-shadow: var(--shadow-md); */
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}

.sol-card:hover {
  transform: translateY(-6px);
  /* box-shadow: 0 18px 40px rgba(16, 24, 40, .10); */
}

.sol-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: radial-gradient(240px 140px at 10% 0%, rgba(0, 179, 198, .08), transparent 60%),
    radial-gradient(200px 120px at 90% 0%, rgba(0, 119, 204, .06), transparent 60%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.sol-card:hover::after {
  opacity: 1;
}

.sol-img {
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.sol-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 6px;
}

.sol-card p {
  margin: 0;
  color: #334155;
  font-size: .98rem;
}

/* ========== Equipo ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width:1100px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:540px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.person {
  background: #fff;
  border: 1px solid var(--border);
  /* box-shadow: var(--shadow-md); */
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}

.person:hover {
  transform: translateY(-3px);
  /* box-shadow: 0 12px 30px rgba(16, 24, 40, .08); */
}

.person::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: radial-gradient(200px 120px at 80% 0%, rgba(0, 179, 198, .06), transparent 65%);
  opacity: 0;
  transition: opacity .25s ease;
}

.person:hover::after {
  opacity: 1;
}

.person img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
  border: 3px solid #fff;
  margin: 0 auto 10px;
  /* box-shadow: 0 10px 28px rgba(2, 6, 23, .10); */
}

.person h3 {
  margin: 0 0 4px;
  font-weight: 800;
}

.muted {
  color: var(--muted);
}

.person .muted {
  font-size: 1rem;
}

.skills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.skills li {
  background: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: .95rem;
}

/* Ajustes específicos de la página de equipo */
#team-page .section-title {
  margin-bottom: 24px;
}

#team-page .team-grid {
  margin-top: 16px;
}

@media (min-width:900px) {
  #team-page .section-title {
    margin-bottom: 28px;
  }

  #team-page .team-grid {
    margin-top: 20px;
  }
}

/* ========== Chips / Asociados ========== */
.domains {
  margin-top: 24px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.domains h3 {
  text-align: center;
  margin: 0 0 4px;
  color: #0f172a;
}

.domains .small {
  margin: 0 0 12px;
  text-align: center;
}

.domains-grid {
  display: flex;
  justify-content: center;
}

.badge-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.badge {
  padding: 9px 14px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1e40af;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
}

.badge:hover {
  filter: brightness(.97);
}

/* ========== Contacto ========== */
.contact-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #eef2f7;
}

label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 600;
  font-size: .95rem;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  font-size: 1rem;
}

textarea {
  min-height: 120px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

/* ========== Footer ========== */
.site-footer {
  border-top: 1px solid #eee;
  background: #fafafa;
  padding: 18px 0;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}

/* ========== Reveal on scroll ========== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  animation: fade-up .6s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ========== Scroll progress ========== */
.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #00b3c6, #0077cc);
  z-index: 1003;
  transform-origin: left center;
}

/* ========== Utilities ========== */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ========== Motion preferences ========== */
@media (prefers-reduced-motion:reduce) {

  .btn,
  .sol-card,
  .person,
  .reveal {
    transition: none !important;
    animation: none !important;
  }
}


/* Títulos y resaltados al Color 2: */
.site-footer {
  background: #474747;
  /* pie */
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.site-footer small {
  color: #fff;
}

/* Títulos y resaltados al Color 2: */
.section-title,
.person h3,
.sol-card h3 {
  color: var(--accent);
}


a,
.mission-link {
  color: var(--accent);
  border-color: var(--accent);
}

/* Títulos y resaltados al Color 2: */
.section-title,
.person h3,
.sol-card h3 {
  color: var(--accent);
}


a,
.mission-link {
  color: var(--accent);
  border-color: var(--accent);
}

/* Fondos de marca (Uso del Color 3 sin perder legibilidad): */
/* Secciones suaves con “tinte” del brand */
.section--soft,
.mission {
  background: var(--bg-soft);
}

/* Hero con base de marca */
.hero--consulting .hero-bg {
  background: radial-gradient(120% 100% at 80% 0%, var(--brand-bg) 0%, #274b62 50%, #1e394c 100%);
}


/* Componentes que heredan la nueva paleta (botones, chips, métrica, checks, barra de progreso): */
.btn-primary {
  background: var(--grad-1);
}

.scroll-progress {
  background: linear-gradient(90deg, var(--accent), var(--accent));
}

.mission-list li::after {
  border-color: var(--accent);
}

/* tilde */
.kpi__num {
  color: var(--accent);
}

/* Badges/chips al acento */
.badge {
  background: rgba(110, 148, 240, .12);
  border: 1px solid rgba(110, 148, 240, .35);
  color: var(--accent);
}

/* Bullets redondos para la lista de misión */
.mission-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.mission-list li {
  position: relative;
  padding-left: 22px;
  /* espacio para el bullet */
  line-height: 1.6;
}

/* Punto redondo en color de acento (#6E94F0) */
.mission-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  /* centra verticalmente el punto */
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent, #6E94F0);
  /* si querés un anillo suave alrededor, descomentá: */
  /* box-shadow: 0 0 0 2px rgba(110,148,240,.18); */
}

/* Anula el tilde anterior si existiera */
.mission-list li::after {
  content: none !important;
}

/* ====== SOLUCIONES — ajustes pedido cliente ====== */

.section-title {
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin: 0 0 10px;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  color: var(--accent); /* azul en todos los títulos */
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  height: 4px;
  width: 140px;
  background: var(--accent); /* línea azul consistente */
  border-radius: 999px;
}

/* Tarjetas planas, sin sombras ni degradés y con borde #474747 */
.sol-card {
  border-color: #474747 !important;
  box-shadow: none !important;
}

.sol-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* El pseudo con “brillos” queda desactivado */
.sol-card::after {
  content: none !important;
}

/* Título de cada tarjeta en #2E5F7F */
.sol-card h3 {
  color: #2E5F7F !important;
}

/* ===== Partners (estilo oscuro con bullets) ===== */
.kicker {
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--ink);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width:1100px) {
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:540px) {
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}


.partner-card {
  background: var(--brand-bg);
  /* #2E5F7F */
  color: #fff;
  border: 1px solid #274f68;
  /* borde sobrio */
  border-radius: 14px;
  padding: 18px;
}

.partner-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  margin: 0 auto 12px;
}

.partner-card h3 {
  margin: 0 0 10px;
  text-align: center;
  color: #fff;
  /* título blanco */
  font-weight: 800;
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid #6E94F0;
  /* línea #6E94F0 bajo el nombre */
}

.partner-card .summary {
  color: rgba(255, 255, 255, .92);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 8px 0 10px;
  text-align: left;
}

.expertise {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.expertise li {
  position: relative;
  padding-left: 14px;
  margin: 6px 0;
  line-height: 1.5;
}

.expertise li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6E94F0;
  /* bullet circular en color de línea */
}

/* La línea bajo títulos de sección ya está en #6E94F0 */
.section-title::after {
  background: #6E94F0;
}

/* ===== Asociados: estilo sin chips, con bullets ===== */
.assoc-section {
  background: #fff;
}

/* limpio, sin degradés */

.assoc-title::after {
  background: #474747;
  /* línea pedida */
  box-shadow: none;
}

.assoc-card {
  background: #fff;
  border: 1px solid #474747;
  /* contorno 474747 */
  border-radius: 12px;
  padding: 16px;
}

.assoc-sub {
  margin: 0 0 10px;
  color: var(--ink);
  /* #474747 desde tokens */
  font-weight: 700;
  text-align: left;
}

.assoc-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 700px) {
  .assoc-columns {
    grid-template-columns: 1fr;
  }
}

.assoc-list {
  margin: 0;
  padding-left: 18px;
  /* bullets nativos */
  color: var(--ink);
}

.assoc-list li {
  margin: 6px 0;
}

/* === Fix botones Contacto === */

/* Hero: outline claro real, sin brillo raro */
.hero--consulting .btn-outline--light {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.75) !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
.hero--consulting .btn-outline--light:hover {
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.95) !important;
  transform: translateY(-1px);
}

/* Header: botón sólido más prolijo (menos glow) */
.site-header .btn-primary {
  background: var(--grad-1) !important; /* tu azul */
  color: #fff;
  box-shadow: 0 6px 14px rgba(15, 23, 42, .10) !important; /* más sutil */
}
.site-header .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, .14) !important;
}

/* Tacto: mismo padding y radio en ambos para coherencia visual */
.btn {
  padding: 12px 16px;
  border-radius: 12px;
}

/* === Botones de contacto unificados === */

/* Todos los botones primarios (Contacto / Contáctanos) */
.btn-primary,
.hero--consulting .btn-outline--light {
  background: #6E94F0 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 6px 14px rgba(110,148,240,.25) !important;
  text-shadow: none !important;
}

.btn-primary:hover,
.hero--consulting .btn-outline--light:hover {
  background: #587ad1 !important; /* un poco más oscuro en hover */
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(110,148,240,.32) !important;
}

/* Soluciones (botón secundario “Ver soluciones”) sigue como ghost */
.btn-ghost {
  background: rgba(255, 255, 255, .10);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .36);
  box-shadow: inset 0 6px 12px rgba(0,0,0,.08);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.55);
}

:root {
  --header-h: 80px; /* antes era 64px */
}

/* Logo más grande */
.brand .logo {
  height: 60px; /* antes 40px */
  width: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink); /* o var(--ink) si querés consistencia */
}

/* Equipo: centrar contenido en mobile */
@media (max-width: 540px) {
  .partner-card {
    text-align: center;
  }

  .partner-card .summary {
    text-align: center;
  }

  .expertise {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0; /* quita sangría */
  }

  .expertise li {
    padding-left: 0;
  }
  .expertise li::before {
    position: static; /* elimina bullet desplazado */
    margin-right: 6px; /* separa el puntito del texto */
    display: inline-block;
  }
}
