/* MARU CORP — Home estratégico / conversión */

.page-home .home-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.page-home .home-section.home-section--hero,
.page-home .hero.home-section--hero {
  padding-top: calc(var(--header-offset, 118px) + 30px);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

@media (min-width: 992px) {
  .page-home .home-section.home-section--hero,
  .page-home .hero.home-section--hero {
    padding-top: calc(var(--header-offset, 118px) + 30px);
    padding-bottom: 4rem;
  }
}

@media (max-width: 991px) {
  .page-home .home-section.home-section--hero,
  .page-home .hero.home-section--hero {
    padding-top: calc(var(--header-offset, 72px) + 30px);
  }
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  align-items: center;
  margin-top: 0.25rem;
}

.page-home .hero-actions .btn-secondary {
  color: var(--graphite);
  border: 1.5px solid rgba(52, 61, 95, 0.35);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.page-home .hero-actions .btn-secondary:hover {
  background: var(--blue-soft);
  border-color: var(--blue-corp);
  color: var(--graphite);
}

.page-home .home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-light);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--gray-100);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.page-home .home-kicker__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* Hero bullets */
.page-home .hero-bullets {
  margin: 1.5rem 0 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: min(820px, 100%);
}

.page-home .hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.55;
}

.page-home .hero-bullets li span:first-child {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 800;
  margin-top: 0.1rem;
}

.page-home .hero-trust {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(12, 31, 74, 0.08);
  font-size: 0.88rem;
  color: var(--text-light);
  max-width: min(820px, 100%);
  line-height: 1.6;
  font-style: italic;
}

/* Problema */
.page-home .home-problem {
  background: var(--gray-50);
}

.page-home .home-problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.page-home .problem-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.page-home .problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 185, 35, 0.35);
}

.page-home .problem-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(12, 31, 74, 0.06), rgba(232, 185, 35, 0.15));
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.page-home .problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.page-home .problem-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Categoría */
.page-home .home-category {
  background: var(--white);
}

.page-home .home-category-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.page-home .home-category-copy p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  text-align: justify;
  hyphens: auto;
}

.page-home .home-quote-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2rem 2.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.page-home .home-quote-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
}

.page-home .home-quote-block p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
}

/* Modelo 3 columnas */
.page-home .home-model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.page-home .model-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.page-home .model-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.page-home .model-card__num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.page-home .model-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.page-home .model-card > p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.page-home .model-card ul {
  flex: 1;
  margin-bottom: 1.25rem;
}

.page-home .model-card ul li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.45rem;
  line-height: 1.45;
}

.page-home .model-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.page-home .model-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Riesgos */
.page-home .home-risks {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.page-home .risks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.page-home .risk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.45;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.page-home .risk-item:hover {
  border-color: rgba(201, 154, 15, 0.35);
  box-shadow: var(--shadow-sm);
}

.page-home .risk-item__mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(12, 31, 74, 0.06);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* Diagnóstico highlight */
.page-home .home-diagnostic {
  background: var(--navy);
  color: var(--white);
}

.page-home .home-diagnostic .section-header h2 {
  color: var(--white);
}

.page-home .home-diagnostic .section-header p {
  color: rgba(255, 255, 255, 0.88);
}

.page-home .home-diagnostic-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  align-items: stretch;
  margin-top: 1.5rem;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}

.page-home .home-diagnostic-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-home .home-diagnostic-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.page-home .home-diagnostic-step strong {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.page-home .home-diagnostic-step span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  padding-top: 0.35rem;
}

.page-home .home-diagnostic-cta {
  text-align: left;
  padding: 0;
}

.page-home .home-diagnostic-cta .btn-gold,
.page-home .home-diagnostic-cta__btn {
  width: auto;
  max-width: 100%;
}

/* Para quién */
.page-home .home-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.page-home .audience-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  box-shadow: var(--shadow-sm);
}

.page-home .audience-item::before {
  content: none;
}

/* Comparativo */
.page-home .home-compare {
  background: var(--gray-50);
  color: var(--text);
}

.page-home .home-compare .home-split-header h2 {
  color: var(--color-primary);
}

.page-home .compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.page-home .compare-col {
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--gray-100);
}

.page-home .compare-col--traditional {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.page-home .compare-col--maru {
  background: linear-gradient(155deg, var(--navy-dark) 0%, var(--color-primary) 55%, var(--navy-mid) 100%);
  border: 1px solid rgba(226, 174, 57, 0.45);
  box-shadow:
    0 16px 40px rgba(37, 43, 66, 0.22),
    0 0 28px rgba(226, 174, 57, 0.12);
  color: var(--color-white);
}

.page-home .compare-col h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--color-primary);
}

.page-home .compare-col--traditional h3 {
  color: var(--navy-light);
}

.page-home .compare-col--maru h3 {
  border-bottom-color: rgba(255, 255, 255, 0.18);
  color: var(--color-white);
}

.page-home .compare-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.page-home .compare-col--maru ul li {
  color: rgba(255, 255, 255, 0.95);
}

.page-home .compare-col ul li::before {
  content: '—';
  flex-shrink: 0;
  color: var(--gray-200);
  font-weight: 700;
}

.page-home .compare-col--maru ul li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 800;
}

/* Cierre + formulario */
.page-home .home-close.cta-section {
  background: var(--gradient-dark-soft);
  color: var(--text-on-dark);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.page-home .home-close.cta-section h2 {
  color: var(--white);
}

.page-home .home-close.cta-section p {
  max-width: none;
  margin: 0 0 1.5rem;
  opacity: 1;
  color: var(--text-muted-on-dark);
}

.page-home .home-close.cta-section .shape-gold {
  opacity: 0.06;
}

.page-home #cotizar,
.page-home #diagnostico,
.page-home #cierre {
  scroll-margin-top: calc(var(--header-offset, 72px) + 16px);
}

.page-home .home-close-inner {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-home .home-close-inner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.page-home .home-close-inner p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.page-home .home-close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Split layout helpers */
.page-home .home-split-header {
  max-width: 680px;
}

.page-home .home-problem .home-split-header {
  max-width: min(1240px, 100%);
}

.page-home .home-problem .home-split-header h2 {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.page-home .home-problem .home-split-header p {
  max-width: 68rem;
  line-height: 1.7;
}

.page-home .home-problem .home-subhead {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.page-home #modelo .home-split-header {
  max-width: min(1240px, 100%);
}

.page-home #modelo .home-split-header h2 {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.page-home #modelo .home-split-header p {
  max-width: 68rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.page-home #riesgos .home-split-header,
.page-home .home-risks .home-split-header {
  max-width: min(1240px, 100%);
}

.page-home #riesgos .home-split-header h2,
.page-home .home-risks .home-split-header h2 {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.page-home #riesgos .home-split-header p,
.page-home .home-risks .home-split-header p {
  max-width: 68rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.page-home #diagnostico .home-split-header,
.page-home .home-diagnostic .home-split-header {
  max-width: min(1240px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-home #diagnostico .home-split-header h2,
.page-home .home-diagnostic .home-split-header h2 {
  max-width: 48rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-home #diagnostico .home-split-header p,
.page-home .home-diagnostic .home-split-header p {
  max-width: 68rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  text-align: center;
}

.page-home #diagnostico .home-split-header .home-kicker,
.page-home .home-diagnostic .home-split-header .home-kicker {
  margin-left: auto;
  margin-right: auto;
  align-self: center;
}

.page-home .home-split-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.page-home #modalidades .home-split-header {
  max-width: min(1240px, 100%);
}

.page-home #modalidades .home-split-header p {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .page-home #modalidades .home-split-header h2 {
    white-space: nowrap;
  }
}

.page-home .home-split-header h2 {
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.page-home .home-split-header p {
  font-size: 0.98rem;
  color: var(--text-light);
  line-height: 1.65;
}

.page-home .section--navy .home-split-header h2,
.page-home .home-diagnostic .home-split-header h2 {
  color: var(--white);
}

.page-home .section--navy .home-split-header p,
.page-home .home-diagnostic .home-split-header p {
  color: rgba(255, 255, 255, 0.88);
}

/* Responsive */
@media (max-width: 991px) {
  .page-home .home-category-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .page-home .home-problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-model-grid {
    grid-template-columns: 1fr;
  }

  .page-home .home-diagnostic-box {
    grid-template-columns: 1fr;
  }

  .page-home .home-audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .compare-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .page-home .home-problem-grid {
    grid-template-columns: 1fr;
  }

  .page-home .risks-grid {
    grid-template-columns: 1fr;
  }

  .page-home .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-home .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .page-home .home-close-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-home .home-close-actions .btn {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════
   IMPACT — todas las secciones con presencia
   ═══════════════════════════════════════════ */

.page-home .home-section {
  position: relative;
  padding: clamp(3.5rem, 7vw, 5.75rem) 0;
  overflow: hidden;
}

.page-home .home-split-header h2 {
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.page-home .home-split-header p {
  font-size: 1.02rem;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-home #modelo .home-split-header p {
  max-width: 68rem;
}

.page-home #riesgos .home-split-header p,
.page-home .home-risks .home-split-header p {
  max-width: 68rem;
}

.page-home #diagnostico .home-split-header p,
.page-home .home-diagnostic .home-split-header p {
  max-width: 68rem;
}

.page-home #para-quien .home-split-header > p {
  max-width: 68rem;
}

.page-home #diferenciador .home-split-header,
.page-home .home-compare .home-split-header {
  max-width: min(1240px, 100%);
}

.page-home #diferenciador .home-split-header h2,
.page-home .home-compare .home-split-header h2 {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.page-home #diferenciador .home-split-header p,
.page-home .home-compare .home-split-header p {
  max-width: 68rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.page-home .home-kicker {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(226, 174, 57, 0.35);
  color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(37, 43, 66, 0.08);
}

/* —— Problema —— */
.page-home .home-problem {
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(226, 174, 57, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(131, 161, 212, 0.1), transparent 50%),
    var(--color-background);
}

.page-home .problem-card {
  position: relative;
  overflow: hidden;
  padding: 1.55rem 1.35rem 1.45rem;
  border: 1px solid rgba(52, 61, 95, 0.1);
  box-shadow: 0 10px 28px rgba(37, 43, 66, 0.07);
}

.page-home .problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--blue-corp));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home .problem-card:hover::before,
.page-home .home-cards-live.visible .problem-card::before {
  transform: scaleX(1);
}

.page-home .problem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(37, 43, 66, 0.14);
  border-color: rgba(226, 174, 57, 0.4);
}

.page-home .problem-card h3 {
  font-size: 1.05rem;
  color: var(--color-primary);
}

.page-home .problem-card p {
  color: var(--text-light);
}

.page-home .problem-card .icon-line,
.page-home .problem-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(226, 174, 57, 0.18), rgba(131, 161, 212, 0.16));
  border: 1px solid rgba(226, 174, 57, 0.28);
  color: var(--color-primary);
  margin-bottom: 1rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

/* Problem cards — color + motion */
.page-home .problem-card {
  --card-accent: var(--color-accent);
  --card-soft: color-mix(in srgb, var(--color-accent) 16%, white);
  --card-mid: color-mix(in srgb, var(--color-accent) 28%, transparent);
}

.page-home .problem-card--accent-gold {
  --card-accent: var(--color-accent);
  --card-soft: color-mix(in srgb, var(--color-accent) 18%, white);
  --card-mid: color-mix(in srgb, var(--color-accent) 32%, transparent);
}

.page-home .problem-card--accent-blue {
  --card-accent: var(--color-light-blue);
  --card-soft: color-mix(in srgb, var(--color-light-blue) 28%, white);
  --card-mid: color-mix(in srgb, var(--color-light-blue) 45%, transparent);
}

.page-home .problem-card--accent-navy {
  --card-accent: var(--color-primary);
  --card-soft: color-mix(in srgb, var(--color-secondary) 22%, white);
  --card-mid: color-mix(in srgb, var(--color-primary) 22%, transparent);
}

.page-home .problem-card--accent-secondary {
  --card-accent: var(--color-secondary);
  --card-soft: color-mix(in srgb, var(--color-secondary) 24%, white);
  --card-mid: color-mix(in srgb, var(--color-secondary) 40%, transparent);
}

.page-home .problem-card::before {
  height: 4px;
  background: linear-gradient(90deg, var(--card-accent), color-mix(in srgb, var(--card-accent) 40%, white));
  transform: scaleX(1);
}

.page-home .problem-card::after {
  content: '';
  position: absolute;
  inset: auto -20% -45% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--card-mid), transparent 70%);
  opacity: 0.55;
  pointer-events: none;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.page-home .home-problem-grid.home-cards-live .problem-card {
  background:
    linear-gradient(165deg, var(--card-soft) 0%, var(--color-white) 42%, var(--color-white) 100%);
  border-color: color-mix(in srgb, var(--card-accent) 22%, transparent);
  animation: problemCardIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-home .home-problem-grid.home-cards-live .problem-card:nth-child(1) { animation-delay: 0.05s; }
.page-home .home-problem-grid.home-cards-live .problem-card:nth-child(2) { animation-delay: 0.15s; }
.page-home .home-problem-grid.home-cards-live .problem-card:nth-child(3) { animation-delay: 0.25s; }
.page-home .home-problem-grid.home-cards-live .problem-card:nth-child(4) { animation-delay: 0.35s; }

@keyframes problemCardIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.page-home .problem-card .icon-line,
.page-home .problem-card .problem-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--card-soft), color-mix(in srgb, var(--card-accent) 18%, white));
  border-color: color-mix(in srgb, var(--card-accent) 35%, transparent);
  color: var(--color-primary);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--card-accent) 18%, transparent);
}

.page-home .problem-card .icon-line svg,
.page-home .problem-card__icon svg {
  width: 42px;
  height: 42px;
  display: block;
  overflow: visible;
  stroke: none;
  fill: unset;
  stroke-width: initial;
}

.page-home .problem-card--accent-gold .icon-line { color: color-mix(in srgb, var(--color-primary) 70%, var(--color-accent)); }
.page-home .problem-card--accent-blue .icon-line { color: color-mix(in srgb, var(--color-primary) 55%, var(--color-secondary)); }
.page-home .problem-card--accent-navy .icon-line { color: var(--color-primary); }
.page-home .problem-card--accent-secondary .icon-line { color: color-mix(in srgb, var(--color-primary) 40%, var(--color-secondary)); }

.page-home .problem-card:hover {
  transform: translateY(-10px);
  border-color: color-mix(in srgb, var(--card-accent) 55%, transparent);
  box-shadow:
    0 20px 44px color-mix(in srgb, var(--color-primary) 14%, transparent),
    0 0 0 1px color-mix(in srgb, var(--card-accent) 28%, transparent);
}

.page-home .problem-card:hover::after {
  transform: scale(1.35) translate(-12px, -8px);
  opacity: 0.9;
}

.page-home .problem-card:hover .icon-line,
.page-home .problem-card:hover .problem-card__icon {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--card-accent) 28%, transparent);
}

.page-home .problem-card h3 {
  transition: color 0.25s ease;
}

.page-home .problem-card:hover h3 {
  color: var(--color-primary);
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-problem-grid.home-cards-live .problem-card {
    animation: none;
  }

  .page-home .problem-card:hover {
    transform: none;
  }

  .page-home .problem-card:hover .icon-line,
  .page-home .problem-card:hover .problem-card__icon {
    transform: none;
  }
}

/* —— Categoría —— */
.page-home .home-category {
  background:
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(226, 174, 57, 0.18), transparent 55%),
    linear-gradient(155deg, var(--navy-dark) 0%, var(--color-primary) 48%, var(--color-primary) 100%);
}

.page-home .home-category-copy h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.page-home .home-category-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
}

.page-home .home-category .home-kicker {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(226, 174, 57, 0.4);
  color: var(--gold-light);
  box-shadow: none;
}

.page-home .home-quote-block {
  background: linear-gradient(145deg, rgba(226, 174, 57, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(226, 174, 57, 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
  padding: 2.25rem 2rem 2.25rem 2.5rem;
}

.page-home .home-quote-block p {
  color: var(--color-white);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

/* —— Categoría: más vida —— */
.page-home .home-category {
  position: relative;
  overflow: hidden;
}

.page-home .home-category-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

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

.page-home .home-category-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.35;
}

.page-home .home-category-orb--1 {
  width: 220px;
  height: 220px;
  top: 10%;
  right: 8%;
  background: rgba(226, 174, 57, 0.28);
  animation: categoryOrbDrift1 18s ease-in-out infinite;
}

.page-home .home-category-orb--2 {
  width: 160px;
  height: 160px;
  bottom: 12%;
  right: 28%;
  background: rgba(131, 161, 212, 0.3);
  animation: categoryOrbDrift2 22s ease-in-out infinite;
}

.page-home .home-category-orb--3 {
  width: 120px;
  height: 120px;
  top: 45%;
  left: 6%;
  background: rgba(169, 196, 214, 0.22);
  animation: categoryOrbDrift3 16s ease-in-out infinite;
}

.page-home .home-category-line {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(226, 174, 57, 0.08), transparent);
  animation: categorySweep 9s ease-in-out infinite;
}

@keyframes categoryOrbDrift1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 24px); }
}

@keyframes categoryOrbDrift2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(26px, -20px); }
}

@keyframes categoryOrbDrift3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -28px); }
}

@keyframes categorySweep {
  0% { left: -40%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 110%; opacity: 0; }
}

.page-home .home-category .home-kicker__dot {
  animation: categoryDotPulse 2s ease-in-out infinite;
}

@keyframes categoryDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226, 174, 57, 0.45); transform: scale(1); }
  50% { box-shadow: 0 0 0 8px rgba(226, 174, 57, 0); transform: scale(1.15); }
}

.page-home .home-quote-block {
  overflow: visible;
}

.page-home .home-quote-block__glow {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow:
    0 0 0 6px rgba(226, 174, 57, 0.2),
    0 0 28px 8px rgba(226, 174, 57, 0.45);
  animation: categoryGlowPulse 2.8s ease-in-out infinite;
  z-index: 2;
}

.page-home .home-quote-block__mark {
  position: absolute;
  top: 0.35rem;
  right: 1.1rem;
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(226, 174, 57, 0.28);
  font-family: Georgia, serif;
  pointer-events: none;
  animation: categoryMarkFloat 5s ease-in-out infinite;
}

.page-home .home-quote-block::before {
  width: 4px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-light));
  background-size: 100% 200%;
  animation: categoryBorderShine 3.5s linear infinite;
}

.page-home .home-category-inner.reveal.visible .home-quote-block {
  animation: homeQuoteFloat 5.5s ease-in-out infinite;
}

.page-home .home-quote-block:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(226, 174, 57, 0.55);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(226, 174, 57, 0.2);
}

@keyframes categoryGlowPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(226, 174, 57, 0.18), 0 0 24px 6px rgba(226, 174, 57, 0.4);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 0 12px rgba(226, 174, 57, 0.08), 0 0 36px 12px rgba(226, 174, 57, 0.55);
  }
}

@keyframes categoryMarkFloat {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(-6px); opacity: 1; }
}

@keyframes categoryBorderShine {
  0% { background-position: 0 0; }
  100% { background-position: 0 200%; }
}

@keyframes homeQuoteFloat {
  0%, 100% { transform: translateY(0); box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25); }
  50% { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(0, 0, 0, 0.3), 0 0 32px rgba(226, 174, 57, 0.12); }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-category-orb,
  .page-home .home-category-line,
  .page-home .home-category .home-kicker__dot,
  .page-home .home-quote-block__glow,
  .page-home .home-quote-block__mark,
  .page-home .home-quote-block::before,
  .page-home .home-category-inner.reveal.visible .home-quote-block {
    animation: none !important;
  }
}

/* —— Modelo —— */
.page-home #modelo.section--gray,
.page-home .section--gray {
  background:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(131, 161, 212, 0.12), transparent 60%),
    var(--color-background);
}

.page-home .home-model-grid {
  perspective: 1400px;
  gap: 1.5rem;
}

.page-home .model-card {
  --model-accent: var(--color-accent);
  --model-soft: rgba(226, 174, 57, 0.14);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 0 1.5rem;
  border: 1px solid rgba(52, 61, 95, 0.1);
  border-radius: 1.15rem;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 253, 0.95) 100%);
  box-shadow:
    0 18px 40px rgba(37, 43, 66, 0.1),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease;
  transform-style: preserve-3d;
}

.page-home .model-card::before {
  content: '';
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--model-accent), color-mix(in srgb, var(--model-accent) 35%, white));
  box-shadow: 0 0 18px color-mix(in srgb, var(--model-accent) 45%, transparent);
}

.page-home .model-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--model-accent), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.page-home .model-card--supervision {
  --model-accent: #83A1D4;
  --model-soft: rgba(131, 161, 212, 0.16);
}

.page-home .model-card--prevencion {
  --model-accent: var(--color-accent);
  --model-soft: rgba(226, 174, 57, 0.16);
  border-color: rgba(226, 174, 57, 0.42);
  box-shadow:
    0 18px 40px rgba(37, 43, 66, 0.12),
    0 0 0 1px rgba(226, 174, 57, 0.14),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
  z-index: 1;
}

.page-home .model-card--operacion {
  --model-accent: #343D5F;
  --model-soft: rgba(52, 61, 95, 0.1);
}

.page-home .model-card__shine {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    420px circle at var(--shine-x, 50%) var(--shine-y, 0%),
    rgba(255, 255, 255, 0.55),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.page-home .model-card.is-tilting .model-card__shine,
.page-home .model-card:hover .model-card__shine {
  opacity: 1;
}

.page-home .model-card__top,
.page-home .model-card h3,
.page-home .model-card__lead,
.page-home .model-card__label,
.page-home .model-card ul {
  position: relative;
  z-index: 1;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.page-home .model-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1.25rem 0 0.85rem;
  padding-top: 0;
  transform: translateZ(28px);
}

.page-home .model-card__icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  background: var(--model-soft);
  border: 1px solid color-mix(in srgb, var(--model-accent) 28%, transparent);
  box-shadow: 0 8px 18px rgba(37, 43, 66, 0.08);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: translateZ(40px);
}

.page-home .model-card__icon svg {
  width: 2rem;
  height: 2rem;
}

.page-home .model-card:hover .model-card__icon,
.page-home .model-card.is-tilting .model-card__icon {
  transform: translateZ(36px) scale(1.04) rotate(-2deg);
}

.page-home .model-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 40px rgba(37, 43, 66, 0.14),
    0 0 0 1px color-mix(in srgb, var(--model-accent) 28%, transparent);
  border-color: color-mix(in srgb, var(--model-accent) 40%, transparent);
}

.page-home .model-card--prevencion:hover {
  transform: translateY(-5px);
}

.page-home .model-card:hover::after {
  opacity: 1;
}

.page-home .model-card__num {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--model-accent) 80%, #343D5F);
  background: var(--model-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0;
  border: 1px solid color-mix(in srgb, var(--model-accent) 22%, transparent);
}

.page-home .model-card h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.3rem);
  color: var(--color-primary);
  margin-bottom: 0.55rem;
  transform: translateZ(22px);
}

.page-home .model-card__lead {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-light);
  margin-bottom: 0.35rem;
  transform: translateZ(16px);
}

.page-home .model-card ul li {
  color: var(--text-light);
  transition: color 0.25s ease, transform 0.25s ease;
}

.page-home .model-card:hover ul li {
  color: var(--text);
}

.page-home .model-card ul li::before {
  border-radius: 2px;
  background: var(--model-accent);
  width: 6px;
  height: 6px;
}

.page-home .model-card__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: calc(100% - 3rem);
  margin: auto 1.5rem 0;
  padding: 0.8rem 0.9rem 0.8rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 61, 95, 0.18);
  background: #fff;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(24px);
  box-shadow: 0 4px 14px rgba(37, 43, 66, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.page-home .model-card__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 70%
  );
  transform: translateX(-130%);
  transition: transform 0.55s ease;
}

.page-home .model-card__cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home .model-card__cta-text {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.page-home .model-card__cta-arrow {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  flex-shrink: 0;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease,
    color 0.3s ease;
}

.page-home .model-card__cta-arrow svg {
  width: 0.95rem;
  height: 0.95rem;
}

/* Hover de tarjeta: resalta el CTA sin agrandar ni perder contraste */
.page-home .model-card:hover .model-card__cta,
.page-home .model-card.is-tilting .model-card__cta {
  border-color: rgba(52, 61, 95, 0.28);
  box-shadow: 0 8px 18px rgba(37, 43, 66, 0.1);
  transform: translateZ(24px);
}

.page-home .model-card:hover .model-card__cta-arrow,
.page-home .model-card.is-tilting .model-card__cta-arrow {
  background: var(--model-accent);
  transform: translateX(3px);
}

/* Hover del botón: fill navy + texto blanco legible */
.page-home .model-card__cta:hover,
.page-home .model-card__cta:focus-visible {
  border-color: var(--color-primary);
  color: #fff;
  outline: none;
  box-shadow: 0 10px 22px rgba(37, 43, 66, 0.16);
  transform: translateZ(28px) translateY(-1px);
}

.page-home .model-card__cta:hover::before,
.page-home .model-card__cta:focus-visible::before {
  transform: translateX(130%);
}

.page-home .model-card__cta:hover::after,
.page-home .model-card__cta:focus-visible::after {
  transform: scaleX(1);
}

.page-home .model-card__cta:hover .model-card__cta-text,
.page-home .model-card__cta:focus-visible .model-card__cta-text {
  color: #fff;
}

.page-home .model-card__cta:hover .model-card__cta-arrow,
.page-home .model-card__cta:focus-visible .model-card__cta-arrow {
  background: #fff;
  color: var(--color-primary);
  transform: translateX(5px);
}

@media (max-width: 991px) {
  .page-home .model-card--prevencion {
    transform: none;
  }
}

/* —— Riesgos —— */
.page-home .home-risks {
  background:
    radial-gradient(ellipse 42% 38% at 12% 18%, rgba(226, 174, 57, 0.1), transparent 58%),
    radial-gradient(ellipse 48% 40% at 88% 8%, rgba(131, 161, 212, 0.12), transparent 55%),
    linear-gradient(180deg, var(--color-white) 0%, var(--color-background) 100%);
}

.page-home .home-risks .risks-grid {
  gap: 1rem;
  perspective: 1200px;
}

.page-home .risk-item {
  position: relative;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.3rem 1.2rem 1.35rem;
  border: 1px solid rgba(52, 61, 95, 0.1);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 253, 0.94));
  box-shadow:
    0 10px 26px rgba(37, 43, 66, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  font-weight: 600;
  color: var(--color-primary);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.3s ease;
}

.page-home .risk-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    280px circle at var(--shine-x, 18%) var(--shine-y, 20%),
    rgba(255, 255, 255, 0.55),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.page-home .risk-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 1rem 0 0 1rem;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  opacity: 0;
  transform: scaleY(0.45);
  transform-origin: center;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-home .risk-item__mark,
.page-home .risk-item__text {
  position: relative;
  z-index: 1;
}

.page-home .risk-item__text {
  flex: 1;
  line-height: 1.45;
}

.page-home .risk-item:hover,
.page-home .risk-item.is-tilting {
  border-color: rgba(226, 174, 57, 0.38);
  box-shadow:
    0 14px 30px rgba(37, 43, 66, 0.12),
    0 0 0 1px rgba(226, 174, 57, 0.12);
}

.page-home .risk-item:hover {
  transform: translateY(-3px) translateX(4px);
}

.page-home .risk-item:hover::before,
.page-home .risk-item.is-tilting::before {
  opacity: 1;
}

.page-home .risk-item:hover::after,
.page-home .risk-item.is-tilting::after {
  opacity: 1;
  transform: scaleY(1);
}

.page-home .risk-item__mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.7rem;
  background: linear-gradient(145deg, var(--color-primary), #252b42);
  color: var(--gold);
  font-size: 0.82rem;
  box-shadow:
    0 6px 14px rgba(37, 43, 66, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.page-home .risk-item:hover .risk-item__mark,
.page-home .risk-item.is-tilting .risk-item__mark {
  background: linear-gradient(145deg, var(--gold), #c99920);
  color: var(--color-primary);
  transform: translateZ(18px) scale(1.05);
  box-shadow: 0 8px 16px rgba(226, 174, 57, 0.28);
}

.page-home .home-closing-line--risks {
  position: relative;
  max-width: 46rem;
  margin-top: 2.35rem;
  padding: 1.15rem 1.5rem;
  border-radius: 1rem;
  background: rgba(226, 174, 57, 0.08);
  border: 1px solid rgba(226, 174, 57, 0.22);
  color: var(--color-primary);
  font-style: italic;
  font-weight: 600;
}

.page-home .home-closing-line--risks::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -0.55rem;
  width: 2.5rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-50%);
}

/* —— Diagnóstico —— */
.page-home .home-diagnostic {
  background:
    radial-gradient(ellipse 45% 50% at 15% 80%, rgba(226, 174, 57, 0.2), transparent 55%),
    linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary) 50%, var(--navy-dark) 100%);
}

.page-home .home-diagnostic .home-split-header h2 {
  color: var(--color-white);
}

.page-home .home-diagnostic .home-split-header p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 68rem;
}

.page-home .home-diagnostic-box {
  margin-top: 1.75rem;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.9fr);
  gap: 0;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 1.1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(226, 174, 57, 0.3);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.page-home .home-diagnostic-box__glow {
  pointer-events: none;
  position: absolute;
  right: -12%;
  top: -30%;
  width: 48%;
  height: 80%;
  background: radial-gradient(circle, rgba(226, 174, 57, 0.12), transparent 68%);
  z-index: 0;
  animation: diagnosticGlowFloat 9s ease-in-out infinite;
}

.page-home .home-diagnostic-box__copy,
.page-home .home-diagnostic-cta {
  position: relative;
  z-index: 1;
}

.page-home .home-diagnostic-box__copy {
  padding: 1.5rem 1.5rem 1.5rem 1.65rem;
}

.page-home .home-diagnostic-box .home-subhead--light {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  line-height: 1.25;
}

.page-home .home-diagnostic-box .home-check-list {
  gap: 0.15rem;
  margin-bottom: 0.85rem;
}

.page-home .home-diagnostic-box .home-check-list li {
  padding: 0.28rem 0.4rem 0.28rem 1.85rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  line-height: 1.4;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.page-home .home-diagnostic-box .home-check-list li::before {
  left: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.95rem;
  height: 0.95rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(226, 174, 57, 0.18);
  font-size: 0.62rem;
  line-height: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}

.page-home .home-diagnostic-box .home-check-list li:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(226, 174, 57, 0.22);
  transform: translateX(3px);
}

.page-home .home-diagnostic-box .home-check-list li:hover::before {
  background: rgba(226, 174, 57, 0.35);
  transform: translateY(-50%) scale(1.06);
}

.page-home .home-diagnostic-result {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  line-height: 1.5;
}

.page-home .home-diagnostic-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1.4rem;
  background:
    linear-gradient(165deg, rgba(226, 174, 57, 0.12), rgba(255, 255, 255, 0.03));
  border-left: 1px solid rgba(226, 174, 57, 0.22);
}

.page-home .home-diagnostic-cta__panel {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-home .home-diagnostic-cta__label {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.page-home .home-diagnostic-cta__btn {
  width: auto;
  max-width: 100%;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  padding: 0.7rem 0.75rem 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 236, 180, 0.55);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--color-primary);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, transparent 42%),
    linear-gradient(135deg, #f0c75a 0%, var(--color-accent) 45%, #c99418 100%);
  box-shadow:
    0 8px 20px rgba(226, 174, 57, 0.38),
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 -1px 0 rgba(160, 110, 20, 0.25) inset;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    filter 0.3s ease;
}

.page-home .home-diagnostic-cta__btn-text {
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1.2;
  flex: 0 1 auto;
  white-space: nowrap;
}

.page-home .home-diagnostic-cta__btn-arrow {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(52, 61, 95, 0.92);
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 3px 8px rgba(37, 43, 66, 0.25);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-home .home-diagnostic-cta__btn::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 48%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-diagnostic-cta__btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 25%,
    rgba(255, 255, 255, 0.55) 48%,
    transparent 70%
  );
  transform: translateX(-130%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.page-home .home-diagnostic-cta__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 12px 26px rgba(226, 174, 57, 0.48),
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 -1px 0 rgba(160, 110, 20, 0.22) inset;
}

.page-home .home-diagnostic-cta__btn:hover::after {
  transform: translateX(130%);
}

.page-home .home-diagnostic-cta__btn:hover .home-diagnostic-cta__btn-arrow {
  transform: translateX(2px);
  background: var(--color-primary);
}

@media (max-width: 420px) {
  .page-home .home-diagnostic-cta__btn-text {
    white-space: normal;
  }
}

.page-home .home-diagnostic-cta .home-microcopy {
  margin-top: 0.7rem;
  margin-bottom: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.page-home .home-diagnostic-cta .home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.7rem;
  font-size: 0.84rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.page-home .home-diagnostic-cta .home-text-link .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.page-home .home-diagnostic-cta .home-text-link:hover {
  color: var(--gold-light);
  border-bottom-color: rgba(226, 174, 57, 0.45);
}

.page-home .home-diagnostic-cta .home-text-link:hover .arrow {
  transform: translateX(4px);
}

@keyframes diagnosticGlowFloat {
  0%, 100% { transform: translate(0, 0); opacity: 0.85; }
  50% { transform: translate(-8%, 6%); opacity: 1; }
}

@media (max-width: 991px) {
  .page-home .home-diagnostic-box {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .page-home .home-diagnostic-cta {
    border-left: none;
    border-top: 1px solid rgba(226, 174, 57, 0.22);
    text-align: center;
    padding: 1.25rem 1.25rem 1.4rem;
  }

  .page-home .home-diagnostic-box__copy {
    padding: 1.25rem 1.25rem 1.1rem;
  }
}

/* —— Para quién —— */
.page-home #para-quien {
  background:
    radial-gradient(ellipse 60% 50% at 20% 100%, rgba(131, 161, 212, 0.12), transparent 55%),
    var(--color-white);
}

.page-home #para-quien .home-split-header {
  max-width: min(1240px, 100%);
}

.page-home #para-quien .home-split-header h2 {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.page-home #para-quien .home-split-header > p {
  max-width: 68rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.page-home .home-brand-mark {
  display: inline;
  position: relative;
  padding: 0;
  margin: 0 0.06em 0 0;
  border-radius: 0;
  font-family: var(--font-brand);
  font-weight: 800;
  font-style: normal;
  font-size: 1.02em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: baseline;
  color: var(--color-accent);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  box-shadow: none;
  text-shadow: none;
  transform-origin: center;
}

.page-home .home-brand-mark::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.55;
  transform: scaleX(0.4);
  transform-origin: left center;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.page-home .home-brand-mark::after {
  display: none;
}

.page-home #para-quien-title:hover .home-brand-mark::before,
.page-home .home-brand-mark:hover::before {
  transform: scaleX(1);
  opacity: 0.9;
}

.page-home .home-brand-mark--sm {
  font-size: 1em;
  padding: 0;
  box-shadow: none;
}

.page-home .home-brand-mark--inline {
  font-size: 0.98em;
  letter-spacing: 0.03em;
}

.page-home .home-brand-mark--inline::before {
  display: none;
}

.page-home .home-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.page-home .audience-item {
  --aud-accent: var(--color-accent);
  --aud-from: #E2AE39;
  --aud-to: #c99418;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.95rem;
  background: linear-gradient(145deg, var(--aud-from), var(--aud-to));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--aud-to) 35%, rgba(37, 43, 66, 0.2));
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    filter 0.3s ease;
}

.page-home .audience-item--gold {
  --aud-from: #E8BC4E;
  --aud-to: #C99920;
  --aud-accent: #E2AE39;
}

.page-home .audience-item--blue {
  --aud-from: #96B4DF;
  --aud-to: #5E86C4;
  --aud-accent: #83A1D4;
}

.page-home .audience-item--navy {
  --aud-from: #4A557A;
  --aud-to: #2C3452;
  --aud-accent: #343D5F;
}

.page-home .audience-item--sky {
  --aud-from: #B7D0DF;
  --aud-to: #7FA8BF;
  --aud-accent: #A9C4D6;
}

.page-home .audience-item::before {
  content: none;
}

.page-home .audience-item__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}

.page-home .audience-item__text {
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}

.page-home .audience-item:hover {
  transform: translateY(-4px);
  filter: brightness(1.05);
  box-shadow: 0 18px 36px color-mix(in srgb, var(--aud-to) 42%, rgba(37, 43, 66, 0.25));
  border-color: transparent;
}

.page-home .audience-item:hover .audience-item__icon {
  transform: scale(1.08) rotate(-6deg);
  background: rgba(255, 255, 255, 0.32);
}

.page-home .audience-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.page-home .audience-item:hover::after {
  transform: translateX(120%);
  opacity: 1;
}

@media (max-width: 991px) {
  .page-home .home-audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .page-home .home-audience-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Comparativo (paquetes de diferencia) —— */
.page-home .home-compare {
  background:
    radial-gradient(ellipse 48% 42% at 12% 20%, rgba(131, 161, 212, 0.16), transparent 58%),
    radial-gradient(ellipse 50% 40% at 88% 8%, rgba(226, 174, 57, 0.12), transparent 55%),
    var(--color-background);
}

.page-home .home-compare .home-split-header p {
  max-width: 58rem;
}

.page-home .compare-packages {
  max-width: 1100px;
  margin: 2.25rem auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: stretch;
}

.page-home .compare-packages__vs {
  align-self: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  background: linear-gradient(145deg, var(--color-accent), #c99418);
  box-shadow:
    0 10px 24px rgba(226, 174, 57, 0.42),
    0 0 0 8px rgba(226, 174, 57, 0.12);
  z-index: 1;
}

.page-home .compare-pack {
  display: flex;
  flex-direction: column;
  border-radius: 1.35rem;
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-home .compare-pack:hover {
  transform: translateY(-4px);
}

.page-home .compare-pack--trad {
  background: linear-gradient(165deg, #fff 0%, rgba(169, 196, 214, 0.22) 100%);
  border: 1px solid rgba(131, 161, 212, 0.4);
  box-shadow: 0 18px 42px rgba(37, 43, 66, 0.1);
}

.page-home .compare-pack--maru {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(226, 174, 57, 0.28), transparent 55%),
    linear-gradient(155deg, #2C3452 0%, #343D5F 55%, #3d486c 100%);
  border: 1px solid rgba(226, 174, 57, 0.5);
  box-shadow:
    0 20px 46px rgba(37, 43, 66, 0.24),
    0 0 32px rgba(226, 174, 57, 0.14);
}

.page-home .compare-pack__head {
  padding: 1.5rem 1.55rem 1.2rem;
  border-bottom: 1px solid rgba(131, 161, 212, 0.28);
}

.page-home .compare-pack--maru .compare-pack__head {
  border-bottom-color: rgba(226, 174, 57, 0.25);
}

.page-home .compare-pack__head h3 {
  margin: 0.65rem 0 0;
  font-size: clamp(1.25rem, 2.2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
  color: #4d638f;
}

.page-home .compare-pack--maru .compare-pack__head h3 {
  font-family: var(--font-brand);
  letter-spacing: 0.04em;
  color: var(--color-accent);
}

.page-home .compare-pack__list {
  list-style: none;
  margin: 0;
  padding: 1.1rem 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.page-home .compare-pack__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 0.85rem;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  transition: transform 0.25s ease, background 0.25s ease;
}

.page-home .compare-pack--trad .compare-pack__list li {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(131, 161, 212, 0.28);
  color: var(--color-primary);
}

.page-home .compare-pack--maru .compare-pack__list li {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(226, 174, 57, 0.22);
  color: #fff;
}

.page-home .compare-pack__list li::before {
  content: '';
  flex-shrink: 0;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.4rem;
  border-radius: 50%;
}

.page-home .compare-pack--trad .compare-pack__list li::before {
  background: #83A1D4;
  box-shadow: 0 0 0 4px rgba(131, 161, 212, 0.22);
}

.page-home .compare-pack--maru .compare-pack__list li::before {
  content: '✓';
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.08rem;
  display: grid;
  place-items: center;
  background: rgba(226, 174, 57, 0.22);
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: none;
}

.page-home .compare-pack__list li:hover {
  transform: translateX(3px);
}

.page-home .compare-col__badge {
  display: inline-flex;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6a88;
  background: rgba(131, 161, 212, 0.22);
  border: 1px solid rgba(131, 161, 212, 0.35);
}

.page-home .compare-col__badge--gold {
  color: #f3e2b0;
  background: rgba(226, 174, 57, 0.18);
  border-color: rgba(226, 174, 57, 0.4);
}

.page-home .home-compare-live.visible .compare-pack--trad {
  animation: homeFadeUp 0.55s ease both;
}

.page-home .home-compare-live.visible .compare-pack--maru {
  animation: homeFadeUp 0.55s ease 0.12s both;
}

.page-home .home-compare-live.visible .compare-packages__vs {
  animation: homeFadeUp 0.45s ease 0.08s both;
}

.page-home .home-compare-live.visible .compare-pack__list li {
  animation: homeFadeUp 0.4s ease both;
}
.page-home .home-compare-live.visible .compare-pack__list li:nth-child(1) { animation-delay: 0.16s; }
.page-home .home-compare-live.visible .compare-pack__list li:nth-child(2) { animation-delay: 0.22s; }
.page-home .home-compare-live.visible .compare-pack__list li:nth-child(3) { animation-delay: 0.28s; }
.page-home .home-compare-live.visible .compare-pack__list li:nth-child(4) { animation-delay: 0.34s; }
.page-home .home-compare-live.visible .compare-pack__list li:nth-child(5) { animation-delay: 0.4s; }

@media (max-width: 800px) {
  .page-home .compare-packages {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 480px;
  }

  .page-home .compare-packages__vs {
    justify-self: center;
    margin: 0.15rem 0;
  }
}

/* —— Formulario cotizar —— */
.page-home .home-quote {
  background:
    radial-gradient(ellipse 55% 45% at 0% 50%, rgba(131, 161, 212, 0.12), transparent 55%),
    linear-gradient(180deg, var(--color-white) 0%, var(--color-background) 100%);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.page-home .home-quote-intro h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.page-home .home-quote-intro p,
.page-home .home-quote-benefits li {
  color: var(--text-light);
}

.page-home .home-quote-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.page-home .home-quote-form {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(52, 61, 95, 0.1);
  box-shadow: 0 20px 48px rgba(37, 43, 66, 0.12);
  background: var(--color-white);
}

.page-home .home-quote-form .btn-primary {
  font-weight: 800;
  box-shadow: 0 6px 0 var(--gold), 0 12px 28px rgba(37, 43, 66, 0.18);
}

/* —— Cierre —— */
.page-home .home-close.cta-section {
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(226, 174, 57, 0.22), transparent 60%),
    linear-gradient(165deg, var(--color-primary) 0%, var(--color-primary) 45%, var(--navy-dark) 100%);
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.page-home .home-close-inner {
  max-width: 900px;
  margin-bottom: 0;
}

.page-home .home-close.cta-section .home-close-inner h2,
.page-home .home-close-inner h2 {
  color: var(--color-white) !important;
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  letter-spacing: -0.02em;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.page-home .home-close.cta-section .home-close-inner p,
.page-home .home-close-inner p {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 1.08rem;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.page-home .home-close-actions .btn-gold {
  font-weight: 800;
  font-size: 1rem;
  padding: 0.95rem 1.6rem;
  box-shadow: 0 8px 28px rgba(226, 174, 57, 0.4);
}

.page-home .home-close-actions .btn-secondary {
  color: var(--color-white) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.page-home .home-close-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: var(--gold) !important;
}

@media (max-width: 991px) {
  .page-home .compare-col--maru {
    transform: none;
  }
  .page-home .compare-col--maru:hover {
    transform: translateY(-4px);
  }
}

/* Proceso MARU CORP (seccion 3) */
.page-home .home-process-flow {
  list-style: none;
  margin: 0;
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  border-radius: 1.15rem;
  background: linear-gradient(145deg, rgba(226, 174, 57, 0.16), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(226, 174, 57, 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.page-home .home-process-flow__step {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.page-home .home-process-flow__step span {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.page-home .home-process-flow__step--gold {
  background: linear-gradient(145deg, rgba(226, 174, 57, 0.35), rgba(226, 174, 57, 0.18));
  border-color: rgba(226, 174, 57, 0.55);
}

.page-home .home-process-flow__step--gold span {
  color: #ffe9a8;
}

.page-home .home-process-flow__arrow {
  text-align: center;
  color: rgba(226, 174, 57, 0.9);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transform: rotate(90deg);
}

/* Modalidades (seccion 5) */
.page-home .home-modalities {
  background:
    radial-gradient(ellipse 42% 38% at 12% 18%, rgba(226, 174, 57, 0.1), transparent 58%),
    radial-gradient(ellipse 48% 40% at 88% 8%, rgba(131, 161, 212, 0.12), transparent 55%),
    linear-gradient(180deg, var(--color-white) 0%, var(--color-background) 100%);
}

.page-home .home-modalities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  perspective: 1200px;
}

.page-home .modality-card {
  position: relative;
  padding: 1.45rem 1.3rem 1.5rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(52, 61, 95, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 253, 0.94));
  box-shadow: 0 12px 28px rgba(37, 43, 66, 0.08);
  overflow: hidden;
}

.page-home .modality-card__num {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark, #c99920);
}

.page-home .modality-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
}

.page-home .modality-card p {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #5a627a;
}

.page-home .modality-card p:last-child {
  margin-bottom: 0;
}

.page-home .modality-card__lead {
  font-weight: 700 !important;
  color: var(--color-primary) !important;
}

.page-home .modality-card--1 { border-top: 3px solid #83A1D4; }
.page-home .modality-card--2 { border-top: 3px solid #E2AE39; }
.page-home .modality-card--3 { border-top: 3px solid #343D5F; }

.page-home .home-modalities-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Servicios por separado */
.page-home .home-services-note {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, #eef3f8 0%, #f7f9fc 100%);
}

.page-home .home-services-note__panel {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.25rem, 3vw, 2.25rem);
  border-radius: 1.15rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(226, 174, 57, 0.14), transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #f4f7fb 100%);
  border: 1px solid rgba(52, 61, 95, 0.1);
  box-shadow: 0 12px 28px rgba(37, 43, 66, 0.06);
}

.page-home .home-services-note__panel h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  margin: 0 0 0.85rem;
}

.page-home .home-services-note__panel p {
  margin: 0 auto 1.35rem;
  max-width: 40rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #4a5578;
}

.page-home .home-services-note__panel .btn {
  font-weight: 800;
}

/* Testimoniales (seccion 6) */
.page-home .home-testimonials {
  background:
    radial-gradient(ellipse 46% 40% at 90% 10%, rgba(226, 174, 57, 0.1), transparent 55%),
    radial-gradient(ellipse 40% 36% at 8% 90%, rgba(169, 196, 214, 0.14), transparent 55%),
    linear-gradient(180deg, #f4f7fb 0%, #eef3f8 100%);
}

.page-home .home-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.page-home .home-testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.1rem 1.35rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid rgba(52, 61, 95, 0.1);
  box-shadow: 0 14px 32px rgba(37, 43, 66, 0.08);
}

.page-home .home-testimonial-card__mark {
  position: absolute;
  top: 0.55rem;
  right: 1rem;
  font-size: 3rem;
  line-height: 1;
  color: rgba(226, 174, 57, 0.35);
  font-family: Georgia, serif;
  pointer-events: none;
}

.page-home .home-testimonial-card p {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #4a5578;
  flex: 1;
  text-align: justify;
  text-wrap: pretty;
  word-spacing: -0.02em;
  hyphens: auto;
}

.page-home .home-testimonial-card__author {
  display: grid;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(52, 61, 95, 0.08);
}

.page-home .home-testimonial-card__author strong {
  color: var(--color-primary);
  font-size: 0.92rem;
}

.page-home .home-testimonial-card__author span {
  color: #6b7390;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 1199px) {
  .page-home .home-modalities-grid,
  .page-home .home-testimonials-grid {
    grid-template-columns: 1fr;
  }
}
