/* ===== RESET / BASE ===== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: #10233e;
  background: #ffffff;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* ===== TOPBAR ===== */

.topbar {
  background: #0b132b;
  color: #dbe6f3;
  font-size: 0.92rem;
}

.topbar__inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.topbar__right a {
  color: #ffffff;
  font-weight: 600;
}

.dot {
  opacity: 0.65;
}

/* ===== HEADER ===== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2ebf5;
}

.header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #0b4ea2, #00a6c7);
  box-shadow: 0 10px 24px rgba(11, 78, 162, 0.28);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 1rem;
}

.brand__text small {
  color: #5f738d;
  font-size: 0.82rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.nav a {
  color: #31455f;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #0b4ea2;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--large {
  min-height: 54px;
  padding: 0 1.4rem;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #0b4ea2, #00a6c7);
  box-shadow: 0 14px 30px rgba(11, 78, 162, 0.22);
}

.btn--primary:hover {
  box-shadow: 0 18px 34px rgba(11, 78, 162, 0.28);
}

.btn--secondary {
  color: #0b4ea2;
  background: #fff;
  border-color: #c8ddf3;
}

.btn--secondary:hover {
  background: #f7fbff;
}

.btn--ghost {
  color: #10233e;
  background: #fff;
  border-color: #d8e4ef;
}

.btn--ghost:hover {
  background: #f8fbfd;
}

.btn--light {
  color: #0b132b;
  background: #fff;
  box-shadow: 0 14px 30px rgba(11, 19, 43, 0.16);
}

.btn--light:hover {
  box-shadow: 0 18px 36px rgba(11, 19, 43, 0.22);
}

/* ===== PAGE CURSO EXCEL / POWER BI ===== */

.course-hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(11, 78, 162, 0.1), transparent 26%),
    radial-gradient(circle at 100% 0%, rgba(0, 166, 199, 0.1), transparent 24%),
    linear-gradient(180deg, #f8fbfd 0%, #eef5fa 100%);
}

.course-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0)
  );
}

.course-hero .container {
  position: relative;
  z-index: 1;
}

.course-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: center;
}

.course-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8f7fb, #eef6fb);
  color: #0a7288;
  border: 1px solid rgba(0, 166, 199, 0.12);
  box-shadow: 0 8px 24px rgba(11, 19, 43, 0.05);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
}

.course-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 4.6vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #10233e;
  max-width: 11ch;
}

.course-hero__lead {
  margin: 0 0 1.7rem;
  max-width: 62ch;
  font-size: 1.12rem;
  line-height: 1.75;
  color: #53677f;
}

.course-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.course-hero .btn {
  min-height: 56px;
  padding: 0 1.45rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  border: 1px solid transparent;
}

.course-hero__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
  max-width: 620px;
}

.course-hero__list li {
  position: relative;
  padding-left: 1.9rem;
  color: #1f3552;
  font-size: 1.02rem;
  font-weight: 600;
}

.course-hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b4ea2, #00a6c7);
  box-shadow: 0 0 0 6px rgba(11, 78, 162, 0.1);
}

/* ===== CARD METODOLOGÍA ===== */

.course-hero__card {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(248, 251, 253, 0.96)
  );
  border: 1px solid rgba(216, 226, 236, 0.95);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow:
    0 20px 60px rgba(11, 19, 43, 0.1),
    0 8px 24px rgba(11, 19, 43, 0.05);
  overflow: hidden;
}

.course-hero__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #0b4ea2, #00a6c7);
}

.course-hero__card h3 {
  margin: 0.5rem 0 0.85rem;
  font-size: 1.08rem;
  color: #10233e;
  font-weight: 800;
}

.course-hero__card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.course-hero__card ul li {
  font-size: 0.97rem;
  color: #31455f;
  font-weight: 500;
  line-height: 1.5;
}

.course-hero__card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.course-hero__card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #10233e;
}

.course-hero__card-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #eaf3fb;
  color: #0b4ea2;
  font-size: 0.8rem;
  font-weight: 800;
}

.course-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.course-hero__stat {
  padding: 1rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e1eaf2;
  box-shadow: 0 8px 20px rgba(11, 19, 43, 0.04);
}

.course-hero__stat strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.25rem;
  line-height: 1;
  color: #10233e;
}

.course-hero__stat span {
  color: #61758d;
  font-size: 0.92rem;
  font-weight: 600;
}

.course-hero__note {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff7fb, #f3fafd);
  border: 1px solid #d9e8f4;
  color: #38506b;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===== SECCIONES GENERALES ===== */

.section {
  padding: 72px 0;
}

.section--soft {
  background: linear-gradient(180deg, #f8fbfd 0%, #f2f7fb 100%);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #edf5fb;
  color: #0b4ea2;
  font-size: 0.82rem;
  font-weight: 800;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.section-heading h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #10233e;
}

.section-heading p {
  margin: 0;
  color: #5d7188;
  font-size: 1.02rem;
  line-height: 1.75;
}

/* ===== GRIDS ===== */

.learn-grid,
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
  justify-content: center;
  gap: 24px;
}

.learn-card,
.program-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border: 1px solid #dbe5ee;
  border-radius: 24px;
  padding: 1.35rem;
  box-shadow: 0 14px 34px rgba(11, 19, 43, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.learn-card:hover,
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(11, 19, 43, 0.08);
  border-color: #c9d8e6;
}

.learn-card h3,
.program-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.06rem;
  color: #10233e;
}

.learn-card p,
.program-card p {
  margin: 0;
  color: #60748b;
  line-height: 1.7;
}

.program-level {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.38rem 0.7rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: #edf5fb;
  color: #0b4ea2;
  font-size: 0.82rem;
  font-weight: 800;
}

.program-card ul {
  margin: 0.3rem 0 1rem 1rem;
  padding: 0;
  color: #5c7086;
  line-height: 1.7;
}

.program-hours {
  margin-top: auto;
  font-weight: 800;
  color: #10233e;
  padding-top: 1rem;
}

.program-card__actions {
  margin-top: 1.2rem;
}

/* ===== CTA FINAL ===== */

.section--dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(0, 166, 199, 0.16), transparent 22%),
    radial-gradient(circle at left bottom, rgba(11, 78, 162, 0.18), transparent 28%),
    linear-gradient(135deg, #0b132b, #12305b);
  color: #fff;
}

.cta-section {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cta-section h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.cta-section p {
  margin: 0 0 1.4rem;
  color: #d4deea;
  line-height: 1.75;
}

/* ===== CONTACTO ===== */

.contact {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.contact__content h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact__content p {
  margin: 0;
  color: #5d7188;
  line-height: 1.75;
}

.contact-form {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border: 1px solid #dbe5ee;
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: 0 16px 40px rgba(11, 19, 43, 0.06);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  margin-bottom: 0.45rem;
  font-size: 0.94rem;
  font-weight: 700;
  color: #31455f;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #d6e1ec;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: #fff;
  color: #10233e;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #8bc8d8;
  box-shadow: 0 0 0 4px rgba(0, 166, 199, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

/* ===== FOOTER ===== */

.footer {
  border-top: 1px solid #e2ebf5;
  background: #fff;
}

.footer__bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__bottom p {
  margin: 0;
  color: #61758d;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1100px) {
  .header__inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 0.25rem;
  }

  .course-hero__grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .learn-grid,
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-hero h1 {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .topbar__inner,
  .header__inner {
    justify-content: center;
    text-align: center;
  }

  .topbar__left,
  .topbar__right,
  .header__actions {
    justify-content: center;
  }

  .course-hero {
    padding: 52px 0 42px;
  }

  .course-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .course-hero .btn,
  .header__actions .btn,
  .contact-form .btn {
    width: 100%;
  }

  .course-hero__stats,
  .learn-grid,
  .program-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .course-hero__card {
    padding: 1.2rem;
    border-radius: 22px;
  }

  .section {
    padding: 56px 0;
  }

  .nav {
    gap: 0.9rem;
  }
}

.learn-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px;
}


