/* Renewal layer: shared public-facing refinements */

main.teceec-home,
main.page-shell,
main.page-shell-tight {
  display: block;
}

main.teceec-home > section,
main.page-shell > section,
main.page-shell-tight > section {
  position: relative;
}

main.teceec-home > section + section,
main.page-shell > section + section,
main.page-shell-tight > section + section {
  margin-top: 0;
}

.page-shell,
.page-shell-tight {
  padding-top: 0;
}

.page-surface {
  background:
    radial-gradient(circle at top right, rgba(56, 214, 255, 0.08), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 200, 77, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.92), rgba(239, 244, 251, 0.98));
}

.page-surface--soft {
  background:
    radial-gradient(circle at 18% 10%, rgba(27, 137, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.page-surface--dark {
  background:
    radial-gradient(circle at top left, rgba(56, 214, 255, 0.14), transparent 28%),
    linear-gradient(135deg, #071427 0%, #0b1f3a 48%, #0f315d 100%);
  color: #ffffff;
}

.page-hero-shell {
  padding: clamp(2.2rem, 5vw, 4.5rem) 0 clamp(1.6rem, 3vw, 2.4rem);
}

.page-hero-card {
  border: 1px solid rgba(17, 49, 92, 0.08);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 255, 0.92));
  box-shadow: 0 24px 56px rgba(11, 31, 58, 0.12);
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.page-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f3f86;
  background: rgba(27, 137, 255, 0.1);
  border: 1px solid rgba(27, 137, 255, 0.15);
}

.page-hero-title {
  margin-top: 0.9rem;
  font-family: var(--font-secondary);
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--azul-oscuro);
}

.page-hero-lead {
  margin-top: 0.9rem;
  max-width: 66ch;
  color: #4d607d;
  font-size: 1.04rem;
}

.page-stack {
  display: grid;
  gap: 1.25rem;
}

.page-card {
  border: 1px solid rgba(17, 49, 92, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(11, 31, 58, 0.1);
}

.page-card--glass {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.84);
}

.page-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.page-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.page-section {
  padding: clamp(2rem, 4vw, 3.25rem) 0;
}

.section-heading {
  max-width: 60rem;
  margin: 0 auto 1.4rem;
  text-align: center;
}

.section-heading h2,
.section-heading h3 {
  font-family: var(--font-secondary);
  color: var(--azul-oscuro);
  letter-spacing: -0.02em;
}

.section-heading p {
  color: #4d607d;
}

.surface-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(17, 49, 92, 0.12), transparent);
}

.page-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(27, 137, 255, 0.12), rgba(56, 214, 255, 0.18));
  color: #0f3f86;
  border: 1px solid rgba(27, 137, 255, 0.16);
  box-shadow: 0 12px 24px rgba(27, 137, 255, 0.12);
}

@media (max-width: 991px) {
  .page-grid-2,
  .page-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .page-hero-card {
    border-radius: 22px;
  }

  .page-hero-title {
    font-size: clamp(1.7rem, 8vw, 2.6rem);
  }
}
