:root {
  /* Paleta derivada del logotipo ConsultOrg */
  --navy-950: #0d1f33;
  --navy-900: #142c47;
  --navy-800: #1c3a5e;
  --azul-marca: #2a5287;
  --azul-medio: #3d6ba8;
  --azul-claro: #5f7da5;
  --rojo-marca: #b02a37;
  --dorado: #d9a441;
  --fondo-suave: #f6f8fb;
  --borde: #e4e9f1;
  --texto: #2c3a4a;
  --texto-suave: #64748b;
  --blanco: #ffffff;
  --sombra-sm: 0 2px 8px rgba(13, 31, 51, .07);
  --sombra-md: 0 8px 28px rgba(13, 31, 51, .12);
  --sombra-lg: 0 18px 48px rgba(13, 31, 51, .18);
  --radio: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', Arial, Helvetica, sans-serif;
  color: var(--texto);
  background: var(--blanco);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3 { font-family: 'Questrial', sans-serif; font-weight: 400; }

/* Etiqueta pequeña sobre títulos de sección */
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rojo-marca);
  margin-bottom: 12px;
}

/* ---------- BOTONES ---------- */
.btn-primario, .btn-secundario, .btn-claro {
  display: inline-block;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .3px;
  padding: 14px 34px;
  border-radius: 40px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-primario { background: var(--rojo-marca); color: #fff; }
.btn-primario:hover { background: #97202c; transform: translateY(-2px); box-shadow: var(--sombra-md); }
.btn-secundario { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-secundario:hover { background: rgba(255,255,255,.14); border-color: #fff; transform: translateY(-2px); }
.btn-claro { background: var(--azul-marca); color: #fff; }
.btn-claro:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: var(--sombra-md); }

/* ---------- HEADER ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borde);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img { height: 54px; width: auto; }

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a {
  font-size: 15px;
  font-weight: 400;
  color: var(--texto);
  padding: 9px 16px;
  border-radius: 24px;
  transition: color .18s, background .18s;
}
nav a:hover { color: var(--azul-marca); background: var(--fondo-suave); }
nav a.active { color: var(--azul-marca); background: #e8eef7; font-weight: 500; }

/* Submenú Servicios */
.has-sub { position: relative; }
.has-sub > a::after { content: " ▾"; font-size: 10px; opacity: .7; }
.submenu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 8px;
  background: #fff;
  box-shadow: var(--sombra-md);
  border: 1px solid var(--borde);
  border-radius: 12px;
  min-width: 180px;
  padding: 8px;
  z-index: 10;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { display: block; }
.submenu li { padding: 0; }
.submenu a { display: block; padding: 10px 14px; font-size: 14px; border-radius: 8px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 400;
}
.login { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--texto-suave); transition: color .18s; }
.login:hover { color: var(--azul-marca); }
.login .avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--azul-marca), var(--azul-claro));
  color: #fff; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.cart { position: relative; cursor: pointer; font-size: 21px; }
.cart .badge {
  position: absolute; top: -6px; right: -10px;
  background: var(--rojo-marca); color: #fff;
  font-size: 10px; font-weight: 600; border-radius: 50%;
  width: 17px; height: 17px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- HERO PORTADA ---------- */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px;
  background:
    linear-gradient(160deg, rgba(13,31,51,.82) 0%, rgba(20,44,71,.66) 45%, rgba(42,82,135,.45) 100%),
    url("assets/hero-home.jpg") center / cover no-repeat;
}

.hero .kicker { color: var(--dorado); }

.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  color: #ffffff;
  letter-spacing: .5px;
  max-width: 950px;
  line-height: 1.12;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}

.hero .subtitulo {
  margin-top: 22px;
  max-width: 640px;
  font-size: 19px;
  font-weight: 300;
  color: #dbe4f0;
  line-height: 1.6;
}

.hero .acciones {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* compatibilidad con el botón anterior */
.hero .cta {
  background: var(--rojo-marca);
  color: #fff;
  border: none;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 14px 34px;
  border-radius: 40px;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.hero .cta:hover { background: #97202c; transform: translateY(-2px); box-shadow: var(--sombra-md); }

/* ---------- BANDA DE VALORES (Experiencia / Capacitación / Innovación) ---------- */
.valores {
  max-width: 1200px;
  margin: -70px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.valor-card {
  background: #fff;
  border-radius: var(--radio);
  box-shadow: var(--sombra-md);
  padding: 34px 30px;
  text-align: left;
  border-top: 4px solid var(--azul-marca);
  transition: transform .2s ease, box-shadow .2s ease;
}
.valor-card:nth-child(2) { border-top-color: var(--rojo-marca); }
.valor-card:nth-child(3) { border-top-color: var(--dorado); }
.valor-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-lg); }

.valor-card .icono {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--fondo-suave);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.valor-card h3 { font-size: 22px; color: var(--navy-900); margin-bottom: 10px; }
.valor-card p { font-size: 15px; font-weight: 300; color: var(--texto-suave); }

/* ---------- VISTA PREVIA DE SERVICIOS (portada) ---------- */
.servicios-preview {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px 40px;
  text-align: center;
}
.servicios-preview h2 { font-size: clamp(30px, 4vw, 42px); color: var(--navy-900); margin-bottom: 14px; }
.servicios-preview .intro { max-width: 620px; margin: 0 auto 50px; color: var(--texto-suave); font-weight: 300; }

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  text-align: left;
}

.preview-card {
  position: relative;
  border-radius: var(--radio);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--sombra-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.preview-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-lg); }
.preview-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.preview-card:hover img { transform: scale(1.06); }
.preview-card .velo {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,31,51,.88) 0%, rgba(13,31,51,.28) 55%, rgba(13,31,51,.05) 100%);
}
.preview-card .contenido {
  position: relative;
  padding: 26px 24px;
  color: #fff;
}
.preview-card h3 { font-size: 22px; margin-bottom: 6px; }
.preview-card p { font-size: 14px; font-weight: 300; color: #cfdaea; margin-bottom: 12px; }
.preview-card .enlace { font-size: 14px; font-weight: 500; color: var(--dorado); }
.preview-card .enlace::after { content: " →"; transition: margin-left .18s; }
.preview-card:hover .enlace::after { margin-left: 6px; }

/* ---------- CLIENTES ---------- */
.clientes {
  background: var(--fondo-suave);
  margin-top: 90px;
  padding: 90px 24px 100px;
  text-align: center;
}

.clientes h2 {
  font-size: clamp(30px, 4vw, 42px);
  color: var(--navy-900);
  margin-bottom: 14px;
}
.clientes .intro { max-width: 560px; margin: 0 auto 56px; color: var(--texto-suave); font-weight: 300; }

.logos-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  justify-items: stretch;
  align-items: stretch;
}

.logos-grid a, .logos-grid .logo-item {
  background: #fff;
  border-radius: var(--radio);
  border: 1px solid var(--borde);
  padding: 14px 16px;
  min-height: 164px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.logos-grid a:hover { transform: translateY(-5px); box-shadow: var(--sombra-md); border-color: transparent; }
.logos-grid img {
  width: 100%;
  max-width: 190px;
  height: 136px;
  object-fit: contain;
  filter: grayscale(45%);
  opacity: .85;
  transition: filter .25s, opacity .25s;
}
/* Logos con mucho espacio en blanco propio: se agrandan para llenar más la caja */
.logos-grid img[alt="Magnolab"],
.logos-grid img[alt="FiskAudita"] {
  transform: scale(1.35);
}
.logos-grid a:hover img, .logos-grid .logo-item:hover img { filter: grayscale(0); opacity: 1; }

/* ---------- BANDA DE ESTADÍSTICAS ---------- */
.stats-band {
  background:
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  padding: 66px 24px;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  text-align: center;
}
.stat { position: relative; padding: 8px 16px; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 54px;
  width: 1px;
  background: rgba(255,255,255,.14);
}
.stat .num {
  display: block;
  font-family: 'Questrial', sans-serif;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1;
  color: var(--dorado);
  margin-bottom: 8px;
}
.stat .label {
  display: block;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: .3px;
  color: #cdd8e6;
}
@media (max-width: 620px) {
  .stat + .stat::before { display: none; }
}

/* ---------- NOSOTROS ---------- */
.nosotros-intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 24px 30px;
  text-align: center;
}
.nosotros-intro .kicker { color: var(--rojo-marca); }
.nosotros-intro h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--navy-900); margin-bottom: 20px; }
.nosotros-intro p { font-size: 17px; font-weight: 300; line-height: 1.8; color: var(--texto); margin-bottom: 16px; }

.nosotros-cols {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 24px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.nosotros-card {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra-sm);
  padding: 34px 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nosotros-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-lg); }
.nosotros-card .icono {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--fondo-suave);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.nosotros-card h3 { font-size: 22px; color: var(--navy-900); margin-bottom: 10px; }
.nosotros-card p { font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--texto-suave); }

.responsable {
  max-width: 900px;
  margin: 30px auto 90px;
  padding: 0 24px;
}
.responsable-inner {
  background: var(--fondo-suave);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 40px 38px;
  display: flex;
  gap: 28px;
  align-items: center;
}
.responsable .avatar-lg {
  flex: 0 0 auto;
  width: 92px; height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azul-marca), var(--azul-claro));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Questrial', sans-serif;
  font-size: 34px;
}
.responsable h3 { font-size: 21px; color: var(--navy-900); margin-bottom: 4px; }
.responsable .cargo { font-size: 14px; color: var(--rojo-marca); font-weight: 500; margin-bottom: 12px; }
.responsable p { font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--texto-suave); }

/* ---------- CONTACTO ---------- */
.contacto-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 24px 90px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contacto-info h2 { font-size: 28px; color: var(--navy-900); margin-bottom: 16px; }
.contacto-info > p { font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--texto-suave); margin-bottom: 28px; }
.contacto-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contacto-item .ic {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--fondo-suave);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.contacto-item .dato strong { display: block; font-weight: 500; font-size: 15px; color: var(--navy-900); margin-bottom: 2px; }
.contacto-item .dato a, .contacto-item .dato span { font-size: 14px; font-weight: 300; color: var(--texto-suave); }
.contacto-item .dato a:hover { color: var(--azul-marca); }

.form-card {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra-md);
  padding: 38px 36px;
}
.form-card h3 { font-size: 22px; color: var(--navy-900); margin-bottom: 6px; }
.form-card .sub { font-size: 14px; font-weight: 300; color: var(--texto-suave); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--texto); }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd6df;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color .18s, box-shadow .18s;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--azul-marca);
  box-shadow: 0 0 0 3px rgba(42,82,135,.14);
}
.form-card .btn-enviar {
  width: 100%;
  margin-top: 6px;
  padding: 15px 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: var(--rojo-marca);
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: background .2s, transform .18s, box-shadow .18s;
}
.form-card .btn-enviar:hover { background: #97202c; transform: translateY(-2px); box-shadow: var(--sombra-md); }
.form-card .nota { font-size: 12px; font-weight: 300; color: var(--texto-suave); margin-top: 14px; text-align: center; }

@media (max-width: 860px) {
  .contacto-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .responsable-inner { flex-direction: column; text-align: center; }
}

/* ---------- BANDA CTA ---------- */
.cta-band {
  background:
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 60%, var(--azul-marca) 100%);
  padding: 90px 24px;
  text-align: center;
  color: #fff;
}
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); max-width: 760px; margin: 0 auto 16px; }
.cta-band p { color: #b9c8dc; font-weight: 300; max-width: 560px; margin: 0 auto 36px; }
.cta-band .acciones { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- BANDA DE TÍTULO (páginas internas) ---------- */
.page-band {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 24px;
  background:
    linear-gradient(160deg, rgba(13,31,51,.86) 0%, rgba(28,58,94,.72) 100%),
    url("assets/hero-servicios.jpg") center / cover no-repeat;
}

.page-band h1 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #ffffff;
}

.page-band p.lema {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 300;
  color: var(--dorado);
  letter-spacing: 2px;
}

/* ---------- TARJETAS DE SERVICIOS (página Servicios) ---------- */
.servicios-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.servicio-card {
  background: #fff;
  border-radius: var(--radio);
  border: 1px solid var(--borde);
  box-shadow: var(--sombra-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.servicio-card:hover { transform: translateY(-6px); box-shadow: var(--sombra-lg); }

.servicio-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.servicio-card .card-body {
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}

.servicio-card h3 {
  font-size: 23px;
  color: var(--navy-900);
  margin-bottom: 12px;
}

.servicio-card p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--texto-suave);
  flex: 1;
  margin-bottom: 8px;
}

.servicio-card .btn {
  margin-top: 18px;
  align-self: flex-start;
  background: var(--azul-marca);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 28px;
  border-radius: 40px;
  transition: background .2s, transform .18s, box-shadow .18s;
}
.servicio-card .btn:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: var(--sombra-md); }

/* ---------- PÁGINA DE DETALLE (Impuestos / Contabilidad) ---------- */
.detalle {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  display: grid;
  grid-template-columns: 300px 1fr 300px;
  gap: 44px;
  align-items: stretch;
}

.detalle .col-img { border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra-md); }
.detalle .col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detalle .col-texto h2 {
  font-size: 25px;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.detalle .col-texto .sub {
  font-size: 16px;
  font-weight: 500;
  color: var(--rojo-marca);
  margin: 28px 0 10px;
}

.detalle ul {
  list-style: none;
  margin-top: 14px;
}

.detalle ul li {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px solid var(--borde);
}
.detalle ul li::before {
  content: "✓";
  color: #fff;
  background: var(--azul-marca);
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  position: absolute;
  left: 0; top: 12px;
}

/* ---------- CURSOS (tienda) ---------- */
.tienda {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 24px 100px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 48px;
  align-items: start;
}

.filtros {
  background: var(--fondo-suave);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: 26px 22px;
  position: sticky;
  top: 100px;
}
.filtros h3 { font-size: 19px; color: var(--navy-900); margin-bottom: 16px; }
.filtros .grupo { border-top: 1px solid var(--borde); padding: 16px 0; }
.filtros .grupo strong { font-weight: 500; font-size: 14px; display: block; margin-bottom: 10px; color: var(--texto); }
.filtros label { display: block; font-size: 14px; font-weight: 300; padding: 4px 0; cursor: pointer; color: var(--texto-suave); }
.filtros input { margin-right: 8px; accent-color: var(--azul-marca); }
.ordenar { display: flex; justify-content: flex-end; margin-bottom: 26px; font-size: 14px; font-weight: 300; }
.ordenar select {
  margin-left: 8px; padding: 8px 12px; font-family: inherit;
  border: 1px solid var(--borde); border-radius: 8px; color: var(--texto);
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 26px;
}

.producto {
  text-align: left;
  position: relative;
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra-sm);
  padding-bottom: 22px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.producto:hover { transform: translateY(-6px); box-shadow: var(--sombra-lg); }
.producto::before {
  content: "OFERTA";
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: var(--rojo-marca);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 20px;
}
.producto .vista-rapida {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  background: rgba(255,255,255,.94);
  font-size: 12px;
  font-weight: 500;
  color: var(--azul-marca);
  padding: 6px 14px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
  box-shadow: var(--sombra-sm);
}
.producto:hover .vista-rapida { opacity: 1; }
.producto img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 16px;
  transition: transform .35s ease;
}
.producto:hover img { transform: scale(1.03); }
.producto h3 { font-size: 15px; font-weight: 500; font-family: 'Work Sans', sans-serif; margin: 0 18px 10px; line-height: 1.45; color: var(--texto); }
.producto h3 a:hover { color: var(--azul-marca); }
.producto .precio-normal { margin: 0 18px; color: #9aa7b5; text-decoration: line-through; font-size: 13px; font-weight: 300; display: inline-block; }
.producto .precio-oferta { margin: 2px 18px 4px; color: var(--rojo-marca); font-size: 20px; font-weight: 600; }
.producto .iva { margin: 0 18px; font-size: 12px; color: var(--texto-suave); font-weight: 300; }

/* ---------- DETALLE DE CURSO (product-page) ---------- */
.breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 0;
  font-size: 13px;
  font-weight: 300;
  color: var(--texto-suave);
}
.breadcrumb a { color: var(--azul-marca); }
.breadcrumb a:hover { text-decoration: underline; }

.producto-detalle {
  max-width: 1100px;
  margin: 0 auto;
  padding: 34px 24px 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
}

.producto-detalle .foto {
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra-md);
}
.producto-detalle .foto img { width: 100%; }

.compra {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra-sm);
  padding: 34px 32px;
}
.compra h1 { font-size: 25px; font-family: 'Work Sans', sans-serif; font-weight: 500; line-height: 1.4; margin-bottom: 18px; color: var(--navy-900); }
.compra .precio-normal { color: #9aa7b5; text-decoration: line-through; font-size: 16px; font-weight: 300; }
.compra .precio-oferta { color: var(--rojo-marca); font-size: 30px; font-weight: 600; margin: 4px 0 2px; }
.compra .iva { font-size: 13px; color: var(--texto-suave); font-weight: 300; margin-bottom: 26px; }

.compra label { display: block; font-size: 13px; font-weight: 500; margin: 16px 0 6px; color: var(--texto); }
.compra input[type="text"], .compra input[type="email"], .compra input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd6df;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color .18s, box-shadow .18s;
}
.compra input:focus { outline: none; border-color: var(--azul-marca); box-shadow: 0 0 0 3px rgba(42,82,135,.14); }
.compra input[type="number"] { width: 100px; }

.compra .btn-carrito, .compra .btn-comprar {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 14px 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 40px;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}
.compra .btn-carrito { background: #fff; color: var(--azul-marca); border: 2px solid var(--azul-marca); }
.compra .btn-carrito:hover { background: #eef3fa; transform: translateY(-2px); }
.compra .btn-comprar { background: var(--rojo-marca); color: #fff; border: 2px solid var(--rojo-marca); }
.compra .btn-comprar:hover { background: #97202c; transform: translateY(-2px); box-shadow: var(--sombra-md); }

.desc-curso {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 24px 60px;
}
.desc-curso h2 {
  font-size: 21px;
  color: var(--navy-900);
  margin: 38px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--rojo-marca);
}
.desc-curso p { font-size: 15px; font-weight: 300; line-height: 1.75; margin-bottom: 12px; color: var(--texto); }
.desc-curso ul { margin: 10px 0 10px 4px; list-style: none; }
.desc-curso ul li {
  font-size: 15px; font-weight: 300; line-height: 1.7; margin-bottom: 6px;
  padding-left: 26px; position: relative;
}
.desc-curso ul li::before { content: "•"; color: var(--rojo-marca); font-size: 20px; position: absolute; left: 8px; top: -2px; }

.acordeon {
  max-width: 1100px;
  margin: 0 auto 90px;
  padding: 0 24px;
}
.acordeon details {
  border: 1px solid var(--borde);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
  background: var(--fondo-suave);
  transition: background .2s;
}
.acordeon details[open] { background: #fff; box-shadow: var(--sombra-sm); }
.acordeon summary { font-size: 16px; font-weight: 500; cursor: pointer; color: var(--navy-900); }
.acordeon .contenido { padding-top: 16px; }
.acordeon p, .acordeon li { font-size: 14px; font-weight: 300; line-height: 1.7; }
.acordeon ul { margin: 8px 0 8px 22px; }

/* ---------- BLOG ---------- */
.blog-wrap { max-width: 960px; margin: 0 auto; padding: 60px 24px 100px; }
.sin-resultados { text-align: center; color: var(--texto-suave); font-weight: 300; padding: 40px 0; }

.blog-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 46px;
  font-size: 14px;
  font-weight: 400;
}
.blog-tabs a {
  padding: 9px 20px;
  color: var(--texto-suave);
  border: 1px solid var(--borde);
  border-radius: 30px;
  transition: all .18s;
}
.blog-tabs a.active { color: #fff; background: var(--azul-marca); border-color: var(--azul-marca); }
.blog-tabs a:hover:not(.active) { color: var(--azul-marca); border-color: var(--azul-marca); }

.post {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  box-shadow: var(--sombra-sm);
  padding: 38px 42px;
  margin-bottom: 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post:hover { transform: translateY(-4px); box-shadow: var(--sombra-lg); }
.post-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.post-badge.alerta { background: #fdeceb; color: var(--rojo-marca); }
.post-badge.articulo { background: #e8eef7; color: var(--azul-marca); }
.post .meta { font-size: 13px; color: var(--texto-suave); font-weight: 300; margin-bottom: 12px; }
.post h2 {
  font-size: 27px;
  color: var(--navy-900);
  margin-bottom: 14px;
  line-height: 1.3;
}
.post h2 a:hover { color: var(--azul-marca); }
.post p { font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--texto-suave); }
.post .pie {
  margin-top: 20px;
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--texto-suave);
  font-weight: 300;
  border-top: 1px solid var(--borde);
  padding-top: 16px;
}

/* ---------- ENTRADA DE BLOG (post) ---------- */
.post-full {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 60px;
}
.post-full .meta { font-size: 13px; color: var(--texto-suave); font-weight: 300; margin-bottom: 14px; }
.post-full .post-badge { margin-bottom: 16px; }
.post-full h1 {
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.25;
  color: var(--navy-900);
  margin-bottom: 28px;
}
.post-full h2 {
  font-size: 22px;
  color: var(--navy-900);
  margin: 36px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--rojo-marca);
}
.post-full p { font-size: 16px; font-weight: 300; line-height: 1.8; margin-bottom: 15px; }
.post-full ul { margin: 10px 0 18px 4px; list-style: none; }
.post-full ul li {
  font-size: 16px; font-weight: 300; line-height: 1.75; margin-bottom: 8px;
  padding-left: 28px; position: relative;
}
.post-full ul li::before { content: "•"; color: var(--rojo-marca); font-size: 22px; position: absolute; left: 8px; top: -3px; }
.post-full a { color: var(--azul-marca); }
.post-full a:hover { text-decoration: underline; }
.post-full table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: 14px; font-weight: 300; }
.post-full th, .post-full td { border: 1px solid var(--borde); padding: 12px 14px; text-align: left; vertical-align: top; line-height: 1.55; }
.post-full th { background: var(--navy-900); color: #fff; font-weight: 500; }
.post-full tr:nth-child(even) td { background: var(--fondo-suave); }
.post-full .tabla-scroll { overflow-x: auto; border-radius: 10px; }
.post-full .aviso { font-size: 13px; color: var(--texto-suave); border-top: 1px solid var(--borde); padding-top: 16px; margin-top: 28px; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 10px; }
.tags span {
  background: #e8eef7;
  color: var(--azul-marca);
  font-size: 13px;
  font-weight: 400;
  padding: 6px 16px;
  border-radius: 20px;
}

.post-nav {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.post-nav h3 { font-size: 20px; color: var(--navy-900); margin-bottom: 16px; }
.post-nav a {
  display: block;
  font-size: 15px;
  font-weight: 400;
  padding: 14px 18px;
  margin-bottom: 10px;
  color: var(--texto);
  background: var(--fondo-suave);
  border: 1px solid var(--borde);
  border-radius: 12px;
  transition: all .18s;
}
.post-nav a:hover { color: var(--azul-marca); border-color: var(--azul-marca); background: #fff; transform: translateX(4px); }

/* ---------- COMPARTIR (posts) ---------- */
.share {
  max-width: 800px;
  margin: 0 auto;
  padding: 6px 24px 46px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--borde);
  padding-top: 26px;
  margin-top: 10px;
}
.share-label { font-size: 14px; font-weight: 500; color: var(--navy-900); margin-right: 4px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  padding: 9px 18px;
  border-radius: 30px;
  transition: transform .16s ease, opacity .16s ease, box-shadow .16s ease;
}
.share-btn svg { width: 15px; height: 15px; fill: currentColor; }
.share-btn:hover { transform: translateY(-2px); opacity: .95; box-shadow: var(--sombra-sm); }
.share-btn.fb { background: #1877f2; }
.share-btn.x { background: #14171a; }
.share-btn.in { background: #0a66c2; }
.share-btn.wa { background: #25d366; }
.share-btn.mail { background: var(--azul-marca); }

/* ---------- PRIVACIDAD ---------- */
.legal {
  max-width: 840px;
  margin: 0 auto;
  padding: 70px 24px 100px;
}
.legal h1 {
  font-size: clamp(30px, 4vw, 40px);
  color: var(--navy-900);
  margin-bottom: 40px;
  text-align: center;
}
.legal h2 {
  font-size: 21px;
  color: var(--navy-900);
  margin: 38px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--rojo-marca);
}
.legal p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 14px;
  color: var(--texto);
}

/* ---------- FOOTER ---------- */
footer.site-footer {
  background: var(--navy-950);
  padding: 66px 24px 36px;
  text-align: center;
  font-size: 15px;
  font-weight: 300;
  color: #b9c8dc;
}
.footer-tagline {
  font-family: 'Questrial', sans-serif;
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 6px;
}
.footer-triad {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
footer .contacto p { margin-bottom: 12px; }
footer .contacto a { color: #e6edf6; font-weight: 400; transition: color .18s; }
footer a:hover { color: var(--dorado); }

.social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 30px 0;
}
.social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background .2s, transform .18s, border-color .2s;
}
.social a:hover { background: var(--rojo-marca); border-color: var(--rojo-marca); color: #fff; transform: translateY(-3px); }

.copy { margin-top: 14px; font-size: 13px; color: #6d7f95; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ---------- BOTÓN FLOTANTE WHATSAPP ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.28);
  transition: transform .18s ease, box-shadow .18s ease;
}
.wa-float:hover { transform: scale(1.09); box-shadow: 0 10px 30px rgba(0,0,0,.34); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- ANIMACIÓN DE ENTRADA ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero .subtitulo, .hero .acciones, .hero .kicker { animation: fadeUp .7s ease both; }
.hero .subtitulo { animation-delay: .15s; }
.hero .acciones { animation-delay: .3s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1020px) {
  .detalle { grid-template-columns: 1fr; }
  .detalle .col-img { max-height: 320px; }
  .tienda { grid-template-columns: 1fr; }
  .filtros { position: static; }
}

@media (max-width: 860px) {
  header.site-header { position: static; }
  nav ul { gap: 2px; flex-wrap: wrap; justify-content: center; }
  .header-inner { flex-wrap: wrap; justify-content: center; row-gap: 8px; padding: 12px 20px; }
  .logo img { height: 44px; }
  .hero { min-height: 540px; }
  .valores { margin-top: -50px; }
  .producto-detalle { grid-template-columns: 1fr; }
  .post { padding: 28px 24px; }
}
