/* =========================================================
   FORSÉNTICO — STYLES.CSS MAESTRO
   Dirección A: editorial centrada
   ========================================================= */

/* =========================
   1. FUENTES
   ========================= */

@font-face {
  font-family: "Geometria";
  src: url("../fonts/Geometria-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geometria";
  src: url("../fonts/Geometria-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geometria";
  src: url("../fonts/Geometria-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geometria";
  src: url("../fonts/Geometria-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geometria";
  src: url("../fonts/Geometria-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* =========================
   2. TOKENS
   ========================= */

:root {
  --color-primary: #061956;
  --color-accent: #275de1;
  --color-neutral: #989898;
  --color-white: #ffffff;

  --color-bg: #f3f5f9;
  --color-surface: #ffffff;
  --color-surface-soft: #eef2f8;
  --color-text: #061956;
  --color-text-soft: #465784;
  --color-border: rgba(6, 25, 86, 0.12);

  --shadow-soft: 0 10px 24px rgba(6, 25, 86, 0.05);
  --shadow-card: 0 18px 40px rgba(6, 25, 86, 0.08);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  --radius-brand-sm: 0 12px 12px 12px;
  --radius-brand-md: 0 16px 16px 16px;
  --radius-brand-lg: 0 20px 20px 20px;
  --radius-pill-brand: 0 999px 999px 999px;

  --container-width: 1320px;
  --container-narrow: 1120px;
  --container-editorial: 980px;

  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-18: 4.5rem;
  --space-20: 5rem;

  --font-family-base: "Geometria", Arial, sans-serif;
  --transition-fast: 180ms ease;
  --transition-base: 260ms ease;

  --texture-brand: url("../images/patterns/brand-texture.png");
}

/* =========================
   3. RESET
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family-base);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

section {
  position: relative;
  padding: var(--space-16) 0;
}

.container {
  width: min(calc(100% - 2rem), var(--container-width));
  margin: 0 auto;
}

::selection {
  background: rgba(39, 93, 225, 0.15);
  color: var(--color-primary);
}

/* =========================
   4. TIPOGRAFÍA
   ========================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--color-primary);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.65rem, 3.8vw, 4.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.95rem, 2.8vw, 3rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.18rem, 1.5vw, 1.55rem);
  font-weight: 700;
}

p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 1rem;
}

.section-heading {
  position: relative;
  display: grid;
  gap: var(--space-4);
}

.section-label,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.7rem 1rem 0.65rem;
  border: 1px solid rgba(39, 93, 225, 0.18);
  border-radius: var(--radius-brand-sm);
  background: rgba(39, 93, 225, 0.04);
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2 {
  position: relative;
}

.section-heading h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1.05rem;
  width: 66px;
  height: 3px;
  background: var(--color-accent);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.section-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  top: -0.55rem;
  width: 34px;
  height: 3px;
  background: var(--color-primary);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.section-heading p {
  max-width: 42ch;
  font-size: 1rem;
}

/* =========================
   5. BOTONES
   ========================= */

.btn-primary,
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill-brand);
  font-weight: 700;
  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--color-accent);
  box-shadow: var(--shadow-card);
}

.btn-whatsapp {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  background: rgba(39, 93, 225, 0.05);
  border-color: rgba(39, 93, 225, 0.24);
}

/* =========================
   6. HEADER
   ========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(243, 245, 249, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(6, 25, 86, 0.08);
}

.header-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-8);
  min-height: 88px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 66px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}

.nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

.nav a:hover {
  color: var(--color-accent);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header .btn-primary {
  white-space: nowrap;
  min-height: 50px;
  padding-inline: 1.55rem;
}

/* =========================
   7. HERO
   ========================= */

.hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background: linear-gradient(180deg, #f6f8fc 0%, #f2f5fa 100%);
}

.hero::before {
  content: "";
  position: absolute;
  left: -90px;
  top: 135px;
  width: 700px;
  height: 700px;
  background-image: url("../images/patterns/brand-texture.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.07;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(460px, 0.9fr);
  align-items: center;
  gap: 1.6rem;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.95rem;
  padding-right: 0.5rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero-text h1 {
  max-width: 13.2ch;
  margin: 0;
  font-size: clamp(2.15rem, 3.2vw, 3.35rem);
  line-height: 0.96;
  letter-spacing: -0.038em;
  color: var(--color-primary);
  text-wrap: balance;
}

.hero-text > p {
  max-width: 42ch;
  margin: 0.1rem 0 0;
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--color-text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.45rem;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  min-height: 52px;
  padding: 0.92rem 1.65rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.hero-actions .btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(10, 36, 99, 0.12);
}

.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(10, 36, 99, 0.16);
}

.hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-primary);
  border: 1px solid rgba(10, 36, 99, 0.12);
}

.hero-actions .btn-secondary:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: rgba(10, 36, 99, 0.22);
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.32rem;
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-primary);
}

.hero-benefits > span {
  color: var(--color-primary);
}

.hero-benefits-separator {
  color: var(--color-accent) !important;
  font-weight: 700;
  opacity: 0.9;
  margin: 0 0.1rem;
}

.hero-signature {
  margin: 0.1rem 0 0;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--color-accent);
  opacity: 0.9;
}

.hero-signature em {
  font-style: italic;
  font-weight: 500;
}

.hero-visual-frame {
  position: relative;
  justify-self: end;
  align-self: center;
  width: 100%;
  max-width: 620px;
  padding: 1rem;
  border: 1px solid rgba(6, 25, 86, 0.08);
  border-radius: var(--radius-brand-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  transform: translateX(-10px);
}

.hero-visual-frame::before,
.hero-visual-frame::after {
  content: "";
  position: absolute;
  right: -18px;
  width: 4px;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.hero-visual-frame::before {
  top: 19%;
  height: 110px;
  background: var(--color-accent);
}

.hero-visual-frame::after {
  top: calc(19% + 126px);
  height: 60px;
  background: var(--color-primary);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: var(--radius-brand-md);
  background: var(--color-primary);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 25, 86, 0.06), rgba(6, 25, 86, 0.20));
}

.hero-badge {
  position: absolute;
  left: 1.15rem;
  bottom: 1.15rem;
  max-width: 220px;
  padding: 0.72rem 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(10, 36, 99, 0.84);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  color: #ffffff;
  z-index: 2;
}

.hero-badge-label {
  display: inline-block;
  margin-bottom: 0.28rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero-badge strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.28;
  font-weight: 700;
}
/* =========================================
   8B. RETÍCULA COMPARTIDA + NOSOTROS CONSOLIDADO
   ========================================= */

.split-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.split-layout .section-heading {
  max-width: 300px;
}

.section-content {
  width: 100%;
}
.about-section > .container {
  position: relative;
}

.about-section > .container::after {
  content: "";
  position: absolute;
  right: 3%;
  top: 2rem;
  width: 330px;
  height: 330px;
  background-image: var(--texture-brand);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.045;
  pointer-events: none;
}

/* NOSOTROS */
/* NOSOTROS */
.about-section .section-heading {
  max-width: 300px;
  margin: 0;
}

.about-section .section-heading h2 {
  max-width: 6.6ch;
  font-size: clamp(1.65rem, 1.9vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.about-intro {
  width: 100%;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.about-intro p {
  max-width: 36ch;
  line-height: 1.7;
}

.about-intro p:first-child {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-primary);
}

.about-intro p:last-child {
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

/* GRID BASE QUE FALTABA */
.about-pillars {
  width: 100%;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.pillar-card {
  position: relative;
  min-height: 220px;
  padding: 2rem 1.5rem 1.45rem;
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: var(--radius-brand-md);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  width: 36px;
  height: 3px;
  background: var(--color-accent);
}

.pillar-card h3 {
  margin-top: 0.8rem;
  font-size: 1.2rem;
  line-height: 1.15;
  color: var(--color-primary);
}

.pillar-card p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--color-text-soft);
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(10, 36, 99, 0.08);
  border-color: rgba(39, 93, 225, 0.16);
}

.about-closing {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 1.4rem 1.6rem 1.35rem;
  border: 1px solid rgba(39, 93, 225, 0.14);
  border-radius: var(--radius-brand-md);
  background: rgba(39, 93, 225, 0.05);
}

.about-closing p {
  padding-top: 0.9rem;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.65;
  color: var(--color-primary);
  font-weight: 500;
}

/* RESPONSIVE CONSOLIDADO */
@media (max-width: 1100px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-layout .section-heading,
  .about-section .section-heading {
    max-width: 100%;
  }

  .about-intro,
  .about-pillars {
    grid-template-columns: 1fr;
  }

  .about-intro p {
    max-width: 100%;
  }
}
/* =========================
   9. CAPACITACIÓN / CONSULTORÍA
   ========================= */

.service-category {
  background: rgba(255, 255, 255, 0.24);
  padding-top: 3.6rem;
  padding-bottom: 3.4rem;
}

.service-category:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.42);
}

.service-category > .container {
  position: relative;
  display: grid;
  grid-template-columns: 260px minmax(700px, 1fr);
  align-items: start;
  gap: 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

#capacitacion::before,
#consultoria::before {
  content: "";
  position: absolute;
  right: 4%;
  top: 2rem;
  width: 300px;
  height: 300px;
  background-image: var(--texture-brand);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.04;
  pointer-events: none;
}

.service-category .section-heading {
  max-width: 260px;
}

.service-category .section-heading h2 {
  max-width: 8.2ch;
  font-size: clamp(1.75rem, 2vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

/* override SOLO para consultoría */
#consultoria .section-heading h2 {
  max-width: 7.6ch;
}

#consultoria .section-heading p {
  max-width: 23ch;
  line-height: 1.68;
}

#consultoria .section-content {
  width: 100%;
  display: flex;
  align-items: flex-start;
  grid-column: 2 / 3;
}
.consulting-top {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 2.4rem;
  align-items: start;
  margin-bottom: 2.4rem;
}

#consultoria .service-list--consulting {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 0.5rem;
  align-items: start;
}

.service-category .section-heading p {
  max-width: 26ch;
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--color-text-soft);
}

.service-list {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 1.4rem;
  margin-top: 0.4rem;
  align-self: start;
  justify-self: stretch;
}

.service-category .section-content {
  width: 100%;
  grid-column: 2 / 3;
}

.service-category > .container > *:nth-child(2) {
  width: 100%;
}

.service-category .section-heading {
  padding-right: 1rem;
}

.service-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-height: 210px;
  padding: 1.55rem 1.45rem 1.35rem;
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: var(--radius-brand-md);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  color: var(--color-primary);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background-color var(--transition-fast);
}

.service-item::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 1.5rem;
  width: 54px;
  height: 3px;
  background: var(--color-accent);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.service-item::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 150px;
  height: 150px;
  background-image: var(--texture-brand);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.service-item:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 93, 225, 0.18);
  box-shadow: 0 14px 34px rgba(10, 36, 99, 0.10);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.service-item:hover::after {
  opacity: 0.05;
}

.service-item-badge {
  width: 12px;
  height: 12px;
  margin-top: 2.4rem;
  background: var(--color-accent);
  clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
  flex-shrink: 0;
}

.service-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-top: 1.55rem;
  width: 100%;
}

.service-item-title {
  font-size: 1.22rem;
  line-height: 1.16;
  font-weight: 700;
  color: var(--color-primary);
}

.service-item-text {
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--color-text-soft);
  max-width: 30ch;
}

.service-item-link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.service-item-link::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.service-item:hover .service-item-link::after {
  transform: translateX(4px);
}

/* =========================
   BLOG
   ========================= */

.blog-section {
  padding: 4rem 0 4.4rem;
  background: transparent;
}

.blog-section > .container {
  max-width: 1280px;
}

.blog-wrapper {
  position: relative;
  background: linear-gradient(180deg, #f7f9fd 0%, #f2f6fb 100%);
  border: 1px solid rgba(10, 36, 99, 0.06);
  border-radius: 26px;
  padding: 2.5rem;
  overflow: hidden;
  box-shadow:
    0 12px 28px rgba(10, 36, 99, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.blog-wrapper::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -60px;
  width: 260px;
  height: 260px;
  background-image: url("../images/patterns/brand-texture.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.035;
  pointer-events: none;
}

.blog-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 2.2rem;
  align-items: start;
}

.blog-intro {
  max-width: 320px;
}

.blog-intro .section-heading {
  max-width: 320px;
}

.blog-intro .section-heading h2 {
  max-width: 7.8ch;
  font-size: clamp(1.95rem, 2.3vw, 2.7rem);
  line-height: 1.04;
}

.blog-intro .section-heading p {
  max-width: 24ch;
  line-height: 1.7;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}

.blog-card {
  background: #ffffff;
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(10, 36, 99, 0.08);
  border-color: rgba(39, 93, 225, 0.15);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.02);
}

.blog-card-content {
  padding: 1.3rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 100%;
}

.blog-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.blog-card h3 {
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--color-primary);
}

.blog-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-soft);
}

.blog-card a {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 1200px) {
  .blog-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.8rem;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .blog-intro,
  .blog-intro .section-heading,
  .blog-intro .section-heading h2,
  .blog-intro .section-heading p {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .blog-section {
    padding: 3.2rem 0 3.4rem;
  }

  .blog-wrapper {
    padding: 1.4rem 1.1rem;
    border-radius: 20px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card img {
    height: 200px;
  }
}
/* =========================
   11. CTA FINAL
   ========================= */

.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 2.2rem 1rem 2rem;
  color: var(--color-surface);
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 62%),
    url("../images/patterns/brand-texture.png") center/280px repeat,
    linear-gradient(135deg, #0a2463 0%, #081a4a 100%);
}

.cta-content {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.section-label--light {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.04);
}

.cta-section h2 {
  max-width: 11.2ch;
  margin: 0;
  font-size: clamp(1.55rem, 1.95vw, 2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-wrap: balance;
}

.cta-text {
  max-width: 44ch;
  margin: 0.1rem 0 0;
  font-size: 0.92rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.82);
}

.cta-contact-data {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1rem;
  margin-top: 0.2rem;
}

.cta-contact-item {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.cta-contact-item:hover {
  color: #ffffff;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.cta-section .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.82rem 1.55rem;
  font-size: 0.92rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.cta-section .btn-primary:hover {
  background: #f5f7fc;
  transform: translateY(-2px);
}

.btn-secondary--light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.82rem 1.55rem;
  font-size: 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.btn-secondary--light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}
/* =========================
   12. FOOTER
   ========================= */

.footer {
  padding: 1rem 0;
  background: #04123f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer p {
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
  font-size: 0.95rem;
}

/* =========================
   14. ACCESIBILIDAD
   ========================= */

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(39, 93, 225, 0.3);
  outline-offset: 3px;
}

/* =========================
   15. RESPONSIVE
   ========================= */

@media (max-width: 1200px) {
  .header-container {
    gap: var(--space-6);
  }

  .nav {
    gap: 1.25rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 500px) minmax(400px, 540px);
    gap: 2.25rem;
  }

  .service-category > .container {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 2rem;
  }

  .blog-list {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
}

@media (max-width: 980px) {
  .header {
    position: relative;
  }

  .header-container {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 1rem 0;
    min-height: auto;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: var(--space-8);
  }
  
  .hero-benefits {
    flex-wrap: wrap;
    white-space: normal;
  }

  .hero-badge {
    left: 1rem;
    bottom: 1rem;
    max-width: 220px;
  }
  .hero-text {
    max-width: 100%;
    align-items: flex-start;
    padding-right: 0;
  }

  .hero-text h1,
  .hero-text > p {
    max-width: 100%;
  }

  .hero-visual-frame {
    justify-self: center;
    transform: none;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    flex: 1 1 auto;
  }

  .hero-benefits {
    max-width: 100%;
  }

  .service-list {
    margin-top: 0;
    max-width: 100%;
  }

  .about-section .section-heading,
  .about-intro,
  .about-pillars,
  .about-closing,
  .service-category .section-heading,
  .blog-list {
    max-width: 100%;
  }

  .about-section > .container::after,
  #capacitacion::before,
  #consultoria::before {
    display: none;
  }

  .cta-section {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  section {
    padding: var(--space-12) 0;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container-width));
  }

  .logo img {
    height: 56px;
  }

  .nav {
    gap: 1rem;
  }

  .header .btn-primary,
  .hero-text .btn-primary,
  .cta-section .btn-primary,
  .btn-whatsapp {
    width: 100%;
  }
   .hero::before {
    left: -120px;
    top: 110px;
    width: 460px;
    height: 460px;
    opacity: 0.06;
  }

  .hero-text h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .hero-benefits {
    flex-wrap: wrap;
    white-space: normal;
    font-size: 0.88rem;
    gap: 0.3rem;
  }

  .hero-badge {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    max-width: none;
    padding: 0.75rem 0.85rem;
  }

  .hero-badge strong {
    font-size: 0.9rem;
  }

  .hero-text > p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
  }

  .hero-benefits {
    font-size: 0.84rem;
    gap: 0.35rem;
  }

  .hero-signature {
    font-size: 0.96rem;
  }
  
    /* CTA AJUSTES MOBILE */
   .cta-section {
    padding: 2.2rem 1rem 2rem;
    background:
      radial-gradient(circle at center, rgba(255, 255, 255, 0.04), transparent 62%),
      url("../images/patterns/brand-texture.png") center/220px repeat,
      linear-gradient(135deg, #0a2463 0%, #081a4a 100%);
  }

  .cta-section h2 {
    max-width: 100%;
  }

  .cta-text {
    max-width: 100%;
  }

  .cta-contact-data {
    flex-direction: column;
    gap: 0.45rem;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-actions .btn-primary,
  .cta-actions .btn-secondary--light {
    width: 100%;
  }
  
  .hero-text h1 {
    font-size: clamp(2.1rem, 8vw, 3rem);
    max-width: 10ch;
  }

  .hero-text p {
    max-width: 100%;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-visual-frame::before,
  .hero-visual-frame::after {
    display: none;
  }

  .section-heading h2 {
    max-width: 12ch;
  }
}

@media (max-width: 480px) {
  .section-label,
  .section-eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.13em;
  }

  .hero-text,
  .section-heading,
  .about-intro,
  .about-pillars,
  .service-list  {
    gap: var(--space-4);
  }

  .pillar-card,
  .about-closing,
  .service-item {
    padding: 1.15rem;
  }
}
/* =========================
   WHATSAPP FLOAT
   ========================= */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #25D366;
  background-image: url("../images/whatsapp-icon.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
    background-size: 24px 24px;
  }
}
/* =========================
   FORMULARIO DE CONTACTO
   ========================= */

.contact-page {
  position: relative;
  min-height: 100vh;
  padding: 7rem 0 5rem;
  background:
    radial-gradient(circle at 18% 28%, rgba(47,102,255,0.10), transparent 34%),
    linear-gradient(180deg, #07206b 0%, #061956 100%);
  overflow: hidden;
}

.contact-page {
  background:
    radial-gradient(circle at 20% 30%, rgba(47,102,255,0.15), transparent 40%),
    linear-gradient(180deg, #07206b 0%, #061956 100%);
}
.contact-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/patterns/brand-texture.png");
  background-repeat: repeat;
  background-size: 460px;
  opacity: 0.07;
  pointer-events: none;
}

.contact-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/patterns/brand-texture.png");
  background-repeat: repeat;
  background-size: 460px;
  opacity: 0.045;
  pointer-events: none;
}

.contact-page-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2.2rem;
  align-items: start;
}

.contact-page-info {
  position: relative;
  color: #ffffff;
  padding-top: 0.5rem;
}

.contact-page::after {
  content: "";
  position: absolute;
  left: -16rem;
  bottom: -18rem;
  width: 54rem;
  height: 54rem;
  background-image: url("../images/patterns/pattern-bow-blue-grey.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.16;
  pointer-events: none;
}

.contact-page-info::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: 1rem;
  width: 15rem;
  height: 15rem;
  background-image: url("../images/patterns/pattern-bow-blue.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
}

.contact-page-logo {
  display: inline-flex;
  margin-bottom: 1.5rem;
}

.contact-page-logo img {
  width: 280px;
  max-width: 100%;
  height: auto;
}

.contact-page-info h1 {
  margin: 1rem 0 1rem;
  max-width: 11ch;
  font-size: clamp(2.45rem, 4vw, 4.1rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.contact-page-text {
  max-width: 38ch;
  margin: 0 0 1.6rem;
  font-size: 1.02rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.84);
}

.contact-direct-card {
  position: relative;
  padding: 1.35rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.contact-direct-card::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 1.35rem;
  width: 42px;
  height: 3px;
  background: #2f66ff;
  border-radius: 999px;
}

.contact-direct-card h2 {
  margin: 0 0 1rem;
  padding-top: 0.8rem;
  font-size: 1.08rem;
  color: #ffffff;
}

.contact-direct-link {
  display: block;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
  line-height: 1.55;
  transition: color var(--transition-fast);
}

.contact-direct-link:last-child {
  margin-bottom: 0;
}

.contact-direct-link:hover {
  color: #ffffff;
}

.contact-direct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.contact-form-panel {
  position: relative;
  padding: 1.8rem;
  border-radius: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 24px 44px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
}

.contact-form-panel::before {
  content: "";
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 14rem;
  height: 14rem;
  background-image: url("../images/patterns/pattern-bow-blue.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.06;
  pointer-events: none;
}

.contact-form-panel h2 {
  position: relative;
  z-index: 1;
  margin: 1rem 0 1rem;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.04;
  color: #ffffff;
}

.contact-form {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin-top: 0.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: left;
}

.form-group-full {
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.96rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.form-group select {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.85) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.85) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 3rem;
}

.form-group select option {
  color: #0a2463;
  background: #ffffff;
}

@media (max-width: 980px) {
  .contact-page {
    padding: 6.5rem 0 4.5rem;
  }

  .contact-page::after {
    left: -14rem;
    bottom: -16rem;
    width: 46rem;
    height: 46rem;
    opacity: 0.22;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .contact-page-info h1 {
    max-width: 100%;
  }

  .contact-page-info::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .contact-page {
    padding: 6rem 0 4rem;
  }

  .contact-page::before {
    background-size: 320px;
    opacity: 0.06;
  }

  .contact-page::after {
    left: -10rem;
    bottom: -10rem;
    width: 30rem;
    height: 30rem;
    opacity: 0.18;
  }

  .contact-page-logo img {
    width: 220px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-panel {
    padding: 1.1rem;
    border-radius: 22px;
  }

  .contact-direct-actions {
    flex-direction: column;
  }

  .contact-direct-actions .btn-primary,
  .contact-direct-actions .btn-secondary--light,
  .cta-actions .btn-primary {
    width: 100%;
  }

.contact-page-info::before {
  content: "";
  position: absolute;
  left: -10rem;
  bottom: -10rem;
  width: 26rem;
  height: 26rem;
  background: url("../images/patterns/pattern-bow-blue.png") no-repeat;
  background-size: contain;
  opacity: 0.10;
  pointer-events: none;
}
}

/* =========================
   PROGRAMAS REDISEÑO
   ========================= */

.programs-hero-redesign {
  position: relative;
  padding: 7rem 0 5.5rem;
  background:
    radial-gradient(circle at 16% 24%, rgba(39, 93, 225, 0.08), transparent 34%),
    linear-gradient(180deg, #f7f9fd 0%, #eef3fa 100%);
  overflow: hidden;
}

.programs-hero-redesign::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/patterns/brand-texture.png");
  background-repeat: repeat;
  background-size: 440px;
  opacity: 0.035;
  pointer-events: none;
}

.programs-hero-redesign::after {
  content: "";
  position: absolute;
  right: -14rem;
  top: -8rem;
  width: 42rem;
  height: 42rem;
  background-image: url("../images/patterns/pattern-bow-blue-grey.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.16;
  pointer-events: none;
}

.programs-hero-redesign-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.8rem;
  align-items: center;
}

.programs-hero-redesign-text {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.programs-page-logo {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.4rem;
}

.programs-page-logo img {
  width: 220px;
  max-width: 100%;
  height: auto;
}

.programs-hero-redesign-text h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 4vw, 4.3rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  color: var(--color-primary);
}

.programs-hero-redesign-text p {
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-soft);
}

.programs-hero-redesign-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.programs-hero-redesign-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.8rem;
  margin-top: 0.6rem;
}

.programs-hero-redesign-benefits span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-brand-sm);
  background: rgba(39, 93, 225, 0.06);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.programs-hero-redesign-visual {
  position: relative;
  min-height: 460px;
  max-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-brand-lg);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.programs-hero-redesign-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

/* BLOQUES DE CATEGORÍA */

.program-category-block {
  position: relative;
  padding: 4.4rem 0;
  background: #f8fbff;
}

.program-category-block--alt {
  background: #eef3fa;
}
.program-category-block--wbt {
  background:
    linear-gradient(180deg, #f3f7fd 0%, #eaf1fb 100%);
}
.program-category-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.8rem;
  align-items: center;
  margin-bottom: 2.4rem;
}

.program-category-copy h2 {
  max-width: 15ch;
  font-size: clamp(1.95rem, 2.5vw, 2.7rem);
  line-height: 1.04;
  color: var(--color-primary);
}

.program-category-copy p {
  max-width: 48ch;
  margin-top: 0.85rem;
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--color-text-soft);
}

.program-category-image {
  position: relative;
  min-height: 220px;
  max-height: 240px;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(10, 36, 99, 0.08);
  box-shadow: 0 16px 34px rgba(10, 36, 99, 0.08);
}

.program-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}
.program-category-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 25, 86, 0.02), rgba(6, 25, 86, 0.10));
  pointer-events: none;
}
.program-category-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.program-category-block--wbt .program-category-image {
  border-color: rgba(39, 93, 225, 0.12);
  box-shadow: 0 18px 38px rgba(39, 93, 225, 0.10);
}

.program-category-block--wbt .program-category-image::after {
  background: linear-gradient(180deg, rgba(39, 93, 225, 0.04), rgba(6, 25, 86, 0.14));
}
/* CARDS */

.program-line-card {
  position: relative;
  min-height: 100%;
  padding: 1.7rem 1.5rem 1.45rem;
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 12px 26px rgba(10, 36, 99, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.program-line-card::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  width: 38px;
  height: 3px;
  background: var(--color-accent);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.program-line-card h3 {
  margin-top: 0.75rem;
  font-size: 1.08rem;
  line-height: 1.18;
  color: var(--color-primary);
}

.program-line-card p {
  font-size: 0.93rem;
  line-height: 1.62;
  color: var(--color-text-soft);
  max-width: 30ch;
}

.program-line-card ul {
  margin: 0.15rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.28rem;
}

.program-line-card li {
  color: var(--color-primary);
  font-size: 0.88rem;
  line-height: 1.4;
}

.program-line-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(10, 36, 99, 0.10);
  border-color: rgba(39, 93, 225, 0.16);
}

.program-card-link {
  margin-top: auto;
  padding-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
}

.program-card-link::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.program-line-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(10, 36, 99, 0.09);
  border-color: rgba(39, 93, 225, 0.15);
}

/* LMS */

.programs-lms-redesign {
  position: relative;
  padding: 5rem 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(39, 93, 225, 0.12), transparent 34%),
    linear-gradient(180deg, #07206b 0%, #061956 100%);
  overflow: hidden;
}

.programs-lms-redesign::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/patterns/brand-texture.png");
  background-repeat: repeat;
  background-size: 420px;
  opacity: 0.06;
  pointer-events: none;
}

.programs-lms-redesign::after {
  content: "";
  position: absolute;
  right: -10rem;
  bottom: -10rem;
  width: 34rem;
  height: 34rem;
  background-image: url("../images/patterns/pattern-bow-blue-grey.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.18;
  pointer-events: none;
}

.programs-lms-redesign-grid {
  position: relative;
  z-index: 1;
}

.programs-lms-redesign-copy {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.14);
}

.programs-lms-redesign-copy h2 {
  max-width: 14ch;
  color: #ffffff;
  font-size: clamp(1.95rem, 2.7vw, 2.7rem);
  line-height: 1.04;
}

.programs-lms-redesign-copy p {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.72;
}

.programs-lms-redesign-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin-top: 0.3rem;
}

.programs-lms-redesign-benefits span {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-brand-sm);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
}

/* CTA FINAL */

.programs-final-cta-redesign {
  position: relative;
  padding: 4.4rem 0 4.8rem;
  text-align: center;
  background: linear-gradient(180deg, #f7f9fd 0%, #eef3fa 100%);
  overflow: hidden;
}
.programs-final-cta-redesign::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/patterns/brand-texture.png");
  background-repeat: repeat;
  background-size: 420px;
  opacity: 0.03;
  pointer-events: none;
}
.programs-final-cta-redesign .container {
  position: relative;
  z-index: 1;
}
.programs-final-cta-redesign h2 {
  max-width: 16ch;
  margin: 0 auto 1rem;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.02;
  color: var(--color-primary);
}

.programs-final-cta-redesign p {
  max-width: 50ch;
  margin: 0 auto;
  line-height: 1.72;
  color: var(--color-text-soft);
}

.programs-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .programs-hero-redesign-grid,
  .program-category-header {
    grid-template-columns: 1fr;
  }

  .programs-hero-redesign-text,
  .program-category-copy {
    max-width: 100%;
  }

  .program-category-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .programs-hero-redesign {
    padding: 5.8rem 0 4.2rem;
  }

  .programs-hero-redesign::after {
    right: -16rem;
    top: -10rem;
    width: 32rem;
    height: 32rem;
    opacity: 0.12;
  }

  .programs-hero-redesign-visual {
    min-height: 360px;
  }

 .program-category-image {
  min-height: 210px;
  max-height: none;
}

  .program-category-cards {
    grid-template-columns: 1fr;
  }

  .programs-lms-redesign-copy h2,
  .programs-final-cta-redesign h2,
  .program-category-copy h2,
  .programs-hero-redesign-text h1 {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .programs-hero-redesign {
    padding: 5.2rem 0 3.8rem;
  }

  .programs-page-logo img {
    width: 200px;
  }

  .programs-hero-redesign-text h1 {
    font-size: clamp(2.15rem, 8vw, 3.2rem);
  }

  .programs-hero-redesign-actions,
  .programs-final-cta-actions {
    flex-direction: column;
  }

  .programs-hero-redesign-actions .btn-primary,
  .programs-hero-redesign-actions .btn-secondary,
  .programs-final-cta-actions .btn-primary,
  .programs-final-cta-actions .btn-secondary {
    width: 100%;
  }

  .programs-hero-redesign-benefits,
  .programs-lms-redesign-benefits {
    gap: 0.7rem;
  }

  .programs-hero-redesign-benefits span,
  .programs-lms-redesign-benefits span {
    width: 100%;
    justify-content: center;
  }
}

/* TABS */

.programs-tabs-section {
  padding: 4rem 0 4.5rem;
  background: linear-gradient(180deg, #f5f8fc 0%, #eef3fa 100%);
}

.programs-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.programs-tab {
  min-height: 50px;
  padding: 0.88rem 1.25rem;
  border: 1px solid rgba(6, 25, 86, 0.12);
  border-radius: var(--radius-pill-brand);
  background: rgba(255, 255, 255, 0.84);
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.programs-tab:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: rgba(39, 93, 225, 0.22);
  box-shadow: var(--shadow-soft);
}

.programs-tab.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-soft);
}

.programs-tab-panel {
  display: none;
}

.programs-tab-panel.active {
  display: block;
}

.programs-tab-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.8rem;
}

.programs-tab-intro h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 2.8vw, 2.9rem);
  line-height: 1.02;
}

.programs-tab-intro p {
  max-width: 50ch;
  margin-top: 0.85rem;
  line-height: 1.7;
}

.programs-tab-intro-image {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: var(--radius-brand-lg);
  box-shadow: var(--shadow-card);
}

.programs-tab-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TARJETAS DE PROGRAMAS */

.programs-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.program-card {
  position: relative;
  min-height: 100%;
  padding: 1.55rem 1.45rem 1.35rem;
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: var(--radius-brand-lg);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.program-card::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1.45rem;
  width: 42px;
  height: 3px;
  background: var(--color-accent);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.program-card h3 {
  margin-top: 0.8rem;
  font-size: 1.18rem;
  line-height: 1.14;
  color: var(--color-primary);
}

.program-card p {
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--color-text-soft);
}

.program-card ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

.program-card li {
  color: var(--color-primary);
  font-size: 0.92rem;
  line-height: 1.45;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(10, 36, 99, 0.10);
  border-color: rgba(39, 93, 225, 0.16);
}

.program-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
}

.program-card-link::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.program-card:hover .program-card-link::after {
  transform: translateX(4px);
}

/* BLOQUE LMS */

.programs-lms-section {
  position: relative;
  padding: 4.4rem 0;
  background:
    linear-gradient(180deg, #07206b 0%, #061956 100%);
  overflow: hidden;
}

.programs-lms-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/patterns/brand-texture.png");
  background-repeat: repeat;
  background-size: 420px;
  opacity: 0.06;
  pointer-events: none;
}

.programs-lms-section::after {
  content: "";
  position: absolute;
  right: -10rem;
  bottom: -10rem;
  width: 34rem;
  height: 34rem;
  background-image: url("../images/patterns/pattern-bow-blue-grey.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.18;
  pointer-events: none;
}

.programs-lms-grid {
  position: relative;
  z-index: 1;
}

.programs-lms-content {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.programs-lms-content h2 {
  max-width: 13ch;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}

.programs-lms-content p {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.72;
}

.programs-lms-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin-top: 0.3rem;
}

.programs-lms-benefits span {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-brand-sm);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
}

/* CTA FINAL */

.programs-final-cta {
  padding: 4rem 0 4.5rem;
  text-align: center;
  background: linear-gradient(180deg, #f7f9fd 0%, #eef3fa 100%);
}

.programs-final-cta h2 {
  max-width: 16ch;
  margin: 0 auto 1rem;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.02;
}

.programs-final-cta p {
  max-width: 50ch;
  margin: 0 auto;
  line-height: 1.7;
}

.programs-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

/* RESPONSIVE PROGRAMAS */

@media (max-width: 1200px) {
  .programs-page-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .programs-page-hero-text {
    max-width: 100%;
  }

  .programs-tab-intro {
    grid-template-columns: 1fr;
  }

  .programs-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .programs-page-hero {
    padding: 5.8rem 0 4rem;
  }

  .programs-page-hero::after {
    right: -14rem;
    top: -8rem;
    width: 32rem;
    height: 32rem;
    opacity: 0.12;
  }

  .programs-page-hero-visual {
    min-height: 360px;
  }

  .programs-cards-grid {
    grid-template-columns: 1fr;
  }

  .programs-lms-content h2,
  .programs-final-cta h2 {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .programs-page-hero {
    padding: 5.2rem 0 3.5rem;
  }

  .programs-page-logo img {
    width: 210px;
  }

  .programs-page-hero-text h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 8vw, 3.2rem);
  }

  .programs-page-hero-actions,
  .programs-final-cta-actions {
    flex-direction: column;
  }

  .programs-page-hero-actions .btn-primary,
  .programs-page-hero-actions .btn-secondary,
  .programs-final-cta-actions .btn-primary,
  .programs-final-cta-actions .btn-secondary {
    width: 100%;
  }

  .programs-tabs-nav {
    flex-direction: column;
  }

  .programs-tab {
    width: 100%;
  }

  .programs-tab-intro-image {
    min-height: 220px;
  }

  .programs-lms-section,
  .programs-final-cta,
  .programs-tabs-section {
    padding-left: 0;
    padding-right: 0;
  }
}
/* =========================
   CONSULTORÍA
   ========================= */

.service-category--consulting {
  background: transparent;
  padding-top: 4.2rem;
  padding-bottom: 4.2rem;
}

.service-category--consulting > .container {
  display: block;
  max-width: 1280px;
}

.consulting-wrapper {
  position: relative;
  background: linear-gradient(180deg, #f7f9fd 0%, #f2f6fb 100%);
  border: 1px solid rgba(10, 36, 99, 0.06);
  border-radius: 28px;
  padding: 2.8rem 2.5rem;
  overflow: hidden;
  box-shadow:
    0 14px 30px rgba(10, 36, 99, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.consulting-wrapper::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: url("../images/patterns/pattern-curve-azul.png") no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
}
.consulting-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(39, 93, 225, 0.10) 20%,
    rgba(39, 93, 225, 0.10) 80%,
    transparent 100%
  );
  pointer-events: none;
}
.consulting-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 2.6rem;
  align-items: center;
  margin-bottom: 2.2rem;
}

.service-category--consulting .section-heading {
  max-width: 320px;
  margin: 0;
  padding-right: 0;
}

.service-category--consulting .section-heading h2 {
  max-width: 8.2ch;
  font-size: clamp(2rem, 2.4vw, 2.8rem);
  line-height: 1.03;
}

.consulting-intro {
  max-width: 680px;
  display: grid;
  gap: 1rem;
  padding-top: 0.1rem;
}

.consulting-intro p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.74;
  color: var(--color-text-soft);
}

.consulting-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.consulting-card {
  position: relative;
  min-height: 100%;
  padding: 1.75rem 1.55rem 1.5rem;
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  box-shadow: 0 10px 22px rgba(10, 36, 99, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.consulting-card::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  width: 42px;
  height: 3px;
  background: var(--color-accent);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.consulting-card h3 {
  margin-top: 0.82rem;
  font-size: 1.08rem;
  line-height: 1.18;
  color: var(--color-primary);
}

.consulting-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--color-text-soft);
}

.consulting-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(10, 36, 99, 0.10);
  border-color: rgba(39, 93, 225, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.consulting-card:hover h3 {
  color: var(--color-accent);
}

@media (max-width: 1200px) {
  .consulting-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .consulting-top {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .service-category--consulting .section-heading,
  .service-category--consulting .section-heading h2,
  .consulting-intro {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .consulting-wrapper {
    padding: 1.5rem 1.15rem;
    border-radius: 20px;
  }

  .consulting-grid {
    grid-template-columns: 1fr;
  }
.consultoria-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.consultoria-intro-text {
  max-width: 520px;
}

.consultoria-cards {
  margin-top: 20px;
}

.consultoria-title h2 {
  line-height: 1.1;
  max-width: 420px;
}
.service-category--consulting {
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

.consulting-wrapper {
  padding: 1.45rem 1.1rem;
  border-radius: 20px;
}

.consulting-top {
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
/* =========================
   CONSULTORÍA — LANDING FINAL
   ========================= */

/* HERO */
.consulting-hero-page {
  position: relative;
  padding: 7rem 0 5rem;
  background:
    radial-gradient(circle at 16% 24%, rgba(39, 93, 225, 0.08), transparent 34%),
    linear-gradient(180deg, #f7f9fd 0%, #eef3fa 100%);
  overflow: hidden;
}

.consulting-hero-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/patterns/brand-texture.png");
  background-repeat: repeat;
  background-size: 440px;
  opacity: 0.035;
  pointer-events: none;
}

.consulting-hero-page::after {
  content: "";
  position: absolute;
  right: -14rem;
  top: -8rem;
  width: 42rem;
  height: 42rem;
  background-image: url("../images/patterns/pattern-bow-blue-grey.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.16;
  pointer-events: none;
}

.consulting-hero-page-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.8rem;
  align-items: center;
}

.consulting-hero-page-text {
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.consulting-hero-page-text h1 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--color-primary);
}

.consulting-hero-page-text p {
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-soft);
}

.consulting-hero-page .hero-actions {
  margin-top: 0.35rem;
}

.consulting-hero-page-points {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary);
}

.consulting-hero-page-points span {
  color: var(--color-primary);
}

.consulting-hero-page-points span:nth-child(2),
.consulting-hero-page-points span:nth-child(4) {
  color: var(--color-accent);
  font-weight: 700;
}

.consulting-hero-page-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(6, 25, 86, 0.08);
  border-radius: var(--radius-brand-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.consulting-hero-page-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consulting-hero-page-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 25, 86, 0.05), rgba(6, 25, 86, 0.22));
}

.consulting-hero-page-badge {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  max-width: 270px;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(10, 36, 99, 0.84);
  backdrop-filter: blur(8px);
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
  z-index: 2;
}

.consulting-hero-page-badge span {
  display: inline-block;
  margin-bottom: 0.28rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.consulting-hero-page-badge strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
  font-weight: 700;
}

/* ENFOQUE / PROBLEMA */
.about-section .section-content > p + p {
  margin-top: 1rem;
}

.about-section .section-content > p:last-child {
  font-weight: 700;
  color: var(--color-primary);
}

/* SERVICIOS */
.consulting-services-section {
  padding: 4.2rem 0 4.8rem;
  background: rgba(255, 255, 255, 0.34);
}

.consulting-services-section .section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.consulting-services-section .section-heading h2 {
  max-width: 12ch;
}

.consulting-services-section .section-heading p {
  max-width: 58ch;
}

.consulting-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.consulting-service-card {
  overflow: hidden;
  border: 1px solid rgba(10, 36, 99, 0.08);
  border-radius: var(--radius-brand-md);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.consulting-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 93, 225, 0.18);
  box-shadow: 0 14px 34px rgba(10, 36, 99, 0.10);
}

.consulting-service-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dfe7f5;
}

.consulting-service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consulting-service-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.4rem 1.3rem 1.45rem;
  min-height: 100%;
}

.consulting-service-card-content h3 {
  font-size: 1.18rem;
  line-height: 1.18;
  color: var(--color-primary);
}

.consulting-service-card-content p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-soft);
}

.consulting-service-card-content span {
  margin-top: auto;
  font-size: 0.86rem;
  line-height: 1.5;
  font-weight: 700;
  color: var(--color-accent);
}

/* CTA FINAL DE CONSULTORÍA */
.cta-section .cta-content {
  max-width: 640px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .consulting-hero-page-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .consulting-hero-page-text,
  .consulting-hero-page-text h1,
  .consulting-hero-page-text p {
    max-width: 100%;
  }

  .consulting-hero-page-media {
    min-height: 460px;
  }

  .consulting-services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .consulting-hero-page {
    padding: 6rem 0 3.8rem;
  }

  .consulting-hero-page::before {
    background-size: 320px;
    opacity: 0.04;
  }

  .consulting-hero-page::after {
    width: 24rem;
    height: 24rem;
    right: -8rem;
    top: -4rem;
    opacity: 0.14;
  }

  .consulting-hero-page-text h1 {
    max-width: 12ch;
    font-size: clamp(2.2rem, 8vw, 3.15rem);
    line-height: 1.02;
  }

  .consulting-hero-page-text p,
  .consulting-hero-page-points {
    max-width: 100%;
  }

  .consulting-hero-page .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .consulting-hero-page .hero-actions .btn-primary,
  .consulting-hero-page .hero-actions .btn-secondary {
    width: 100%;
  }

  .consulting-hero-page-media {
    min-height: 340px;
  }

  .consulting-hero-page-badge {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    max-width: none;
  }

  .consulting-services-section {
    padding: 3.2rem 0 3.4rem;
  }

  .consulting-services-grid {
    grid-template-columns: 1fr;
  }

  .consulting-service-card-content {
    padding: 1.2rem 1.1rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .consulting-hero-page-text h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .consulting-hero-page-points {
    font-size: 0.86rem;
  }

  .consulting-service-card-content h3 {
    font-size: 1.08rem;
  }
}