/* =========================================================
   CENTRO EVALUADOR MARD / CEMARD
   styles.css
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
  --primary: #083472;
  --primary-dark: #062756;
  --primary-alt: #1f376a;

  --secondary: #3571a3;
  --accent: #63a3c0;
  --accent-2: #50afcc;

  --soft: #e3ecf8;
  --soft-2: #eef4fa;
  --background: #f5f8fb;
  --white: #ffffff;

  --text: #172133;
  --text-soft: #5d6878;
  --border: #dfe8f1;

  --success: #25d366;

  --shadow-sm:
    0 8px 24px rgba(8, 52, 114, 0.08);

  --shadow-md:
    0 18px 45px rgba(8, 52, 114, 0.12);

  --shadow-lg:
    0 30px 70px rgba(8, 52, 114, 0.18);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;

  --container: 1180px;

  --transition: 0.3s ease;
}


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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

video {
  display: block;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

address {
  font-style: normal;
}

::selection {
  background: var(--accent);
  color: var(--white);
}


/* =========================================================
   UTILIDADES
   ========================================================= */

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 110px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 16px;

  color: var(--secondary);

  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow::before {
  content: "";

  width: 36px;
  height: 2px;

  border-radius: 20px;
  background: var(--accent-2);
}

.eyebrow--light {
  color: #d9f3ff;
}

.eyebrow--light::before {
  background: #d9f3ff;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 55px;

  text-align: center;
}

.section-heading--left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2 {
  margin-bottom: 18px;

  color: var(--primary);

  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.section-heading h2 span,
.practical-training__content h2 span,
.flexibility__content h2 span,
.about__content h2 span,
.scholarships__text h2 span {
  color: var(--accent);
}

.section-heading p {
  max-width: 670px;
  margin-inline: auto;

  color: var(--text-soft);
  font-size: 1rem;
}

.section-heading--left p {
  margin-inline: 0;
}


/* =========================================================
   BOTONES
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 50px;
  padding: 14px 22px;

  border-radius: 999px;

  font-size: 0.94rem;
  font-weight: 700;

  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

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

.btn--primary {
  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--secondary)
    );

  box-shadow:
    0 12px 28px rgba(8, 52, 114, 0.22);
}

.btn--primary:hover {
  box-shadow:
    0 16px 34px rgba(8, 52, 114, 0.30);
}

.btn--outline {
  color: var(--primary);
  background: transparent;

  border: 1px solid rgba(8, 52, 114, 0.22);
}

.btn--outline:hover {
  background: var(--soft);
  border-color: var(--accent);
}

.btn--whatsapp {
  color: var(--white);
  background: var(--success);

  box-shadow:
    0 12px 28px rgba(37, 211, 102, 0.22);
}

.btn--light {
  color: var(--primary);
  background: var(--white);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.14);
}

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

.btn--large {
  min-height: 58px;
  padding-inline: 28px;
}


/* =========================================================
   PRELOADER - CENTRADO FORZADO
   ========================================================= */

#preloader,
.preloader {
  position: fixed !important;

  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;

  width: 100vw !important;
  height: 100vh !important;
  height: 100svh !important;

  margin: 0 !important;
  padding: 0 !important;

  overflow: hidden !important;

  z-index: 999999 !important;

  background:
    radial-gradient(
      circle at center,
      #eef7fc 0%,
      #ffffff 68%
    );

  opacity: 1;

  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}


/* =========================================================
   CONTENIDO
   LO CLAVAMOS EXACTAMENTE AL CENTRO
   ========================================================= */

#preloader .preloader__content,
.preloader .preloader__content {
  position: absolute !important;

  top: 50% !important;
  left: 50% !important;

  right: auto !important;
  bottom: auto !important;

  width: 220px !important;
  max-width: 80vw !important;

  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;

  gap: 22px !important;

  text-align: center !important;

  transform: translate(-50%, -50%) !important;
}


/* =========================================================
   LOGO
   ========================================================= */

#preloader .preloader__logo,
.preloader .preloader__logo {
  position: static !important;

  display: block !important;

  width: 320px !important;
  max-width: 320px !important;

  height: auto !important;
  max-height: 200px !important;

  margin: 0 auto !important;
  padding: 0 !important;

  object-fit: contain !important;
  object-position: center center !important;

  transform: none !important;

  inset: auto !important;
}


/* =========================================================
   CÍRCULO DE CARGA
   ========================================================= */

#preloader .preloader__loader,
.preloader .preloader__loader {
  position: static !important;

  width: 42px !important;
  height: 42px !important;

  flex: 0 0 42px !important;

  margin: 0 auto !important;
  padding: 0 !important;

  border: 4px solid #e3ecf8 !important;
  border-top-color: #3571a3 !important;
  border-radius: 50% !important;

  transform: none;

  animation: preloaderSpin 0.8s linear infinite !important;
}


@keyframes preloaderSpin {

  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }

}


/* =========================================================
   OCULTAR PRELOADER
   ========================================================= */

#preloader.is-hidden,
.preloader.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

  #preloader,
  .preloader {
    width: 100vw !important;

    height: 100vh !important;
    height: 100svh !important;
  }

  #preloader .preloader__content,
  .preloader .preloader__content {
    top: 50% !important;
    left: 50% !important;

    width: 200px !important;

    transform: translate(-50%, -50%) !important;
  }

  #preloader .preloader__logo,
  .preloader .preloader__logo {
    width: 145px !important;
    max-width: 145px !important;

    margin: 0 auto !important;

    transform: none !important;
  }

}

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

.topbar {
  color: rgba(255, 255, 255, 0.9);
  background: var(--primary-dark);
}

.topbar__content {
  min-height: 42px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  font-size: 0.82rem;
}

.topbar__info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar a,
.topbar__schedule {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar a {
  transition: color var(--transition);
}

.topbar a:hover {
  color: #9fe0f4;
}


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

.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(8, 52, 114, 0.06);

  transition:
    box-shadow var(--transition),
    background var(--transition);
}

.header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header__content {
  min-height: 82px;

  display: flex;
  align-items: center;
  gap: 28px;
}

.header__logo {
  display: inline-flex;
  align-items: center;

  flex-shrink: 0;
}

.header__logo img {
  width: 145px;
  max-height: 58px;

  object-fit: contain;
  object-position: center;
}

.nav {
  margin-left: auto;

  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  position: relative;

  padding: 12px 0;

  color: var(--text);

  font-size: 0.83rem;
  font-weight: 700;

  transition: color var(--transition);
}

.nav a::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 5px;

  height: 2px;

  background: var(--accent);

  border-radius: 10px;

  transform: scaleX(0);
  transform-origin: center;

  transition: transform var(--transition);
}

.nav a:hover,
.nav a.is-active {
  color: var(--primary);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header__cta {
  flex-shrink: 0;

  min-height: 46px;
  padding-inline: 18px;

  font-size: 0.82rem;
}

.menu-toggle {
  display: none;

  width: 46px;
  height: 46px;

  padding: 0;

  background: transparent;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 26px;
  height: 2px;

  margin: 6px auto;

  border-radius: 50px;

  background: var(--primary);

  transition: var(--transition);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  isolation: isolate;

  min-height: 760px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #f8fbfd 0%,
      #edf5fa 48%,
      #e5eff8 100%
    );
}

.hero::before {
  content: "";

  position: absolute;

  z-index: -1;

  width: 500px;
  height: 500px;

  top: -180px;
  right: -120px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(80, 175, 204, 0.24),
      transparent 65%
    );
}

.hero::after {
  content: "";

  position: absolute;

  z-index: -1;

  width: 420px;
  height: 420px;

  bottom: -180px;
  left: -140px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(8, 52, 114, 0.14),
      transparent 68%
    );
}

.hero__background,
.hero__overlay {
  position: absolute;
  inset: 0;

  z-index: -2;
}

.hero__background {
  opacity: 0.18;

  background-image:
    linear-gradient(
      rgba(8, 52, 114, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(8, 52, 114, 0.06) 1px,
      transparent 1px
    );

  background-size: 48px 48px;

  -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7),
      transparent 95%
    );
  mask-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7),
      transparent 95%
    );
}

.hero__overlay {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.7),
      rgba(255, 255, 255, 0.12)
    );
}

.hero__content {
  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(0, 0.95fr);

  align-items: center;

  gap: 70px;

  padding-top: 85px;
  padding-bottom: 85px;
}

.hero__text {
  max-width: 650px;
}

.hero h1 {
  margin-bottom: 24px;

  color: var(--primary);

  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6vw, 5.6rem);

  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero__description {
  max-width: 610px;
  margin-bottom: 30px;

  color: var(--text-soft);

  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-bottom: 30px;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero__features span {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--primary-alt);

  font-size: 0.88rem;
  font-weight: 650;
}

.hero__features i {
  color: var(--accent);
}

.hero__image {
  position: relative;
}

.hero__image::before {
  content: "";

  position: absolute;

  inset: 7% -5% -5% 12%;

  z-index: -1;

  border-radius: 40px;

  background:
    linear-gradient(
      135deg,
      var(--accent-2),
      var(--primary)
    );

  opacity: 0.16;
}

.hero__image-card {
  position: relative;

  padding: 12px;

  border-radius: 32px;

  background: var(--white);

  box-shadow: var(--shadow-lg);

  transform: rotate(1.2deg);
}

.hero__image-card > img {
  aspect-ratio: 4 / 5;

  object-fit: cover;

  border-radius: 24px;
}

.hero__badge {
  position: absolute;

  left: 28px;
  right: 28px;
  bottom: 28px;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 16px 18px;

  border-radius: 18px;

  color: var(--white);

  background: rgba(8, 52, 114, 0.90);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow: var(--shadow-md);
}

.hero__badge i {
  color: #9fe7ff;

  font-size: 1.8rem;
}

.hero__badge strong,
.hero__badge span {
  display: block;
}

.hero__badge strong {
  font-size: 0.95rem;
}

.hero__badge span {
  margin-top: 2px;

  opacity: 0.8;

  font-size: 0.77rem;
}


/* =========================================================
   VIDEO PRESENTACIÓN
   ========================================================= */

.video-intro {
  position: relative;
  overflow: hidden;

  padding: 110px 0;

  background:
    radial-gradient(
      circle at 90% 15%,
      rgba(80, 175, 204, 0.18),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f3f8fc 55%,
      #edf5fa 100%
    );
}

.video-intro::before {
  content: "";

  position: absolute;

  left: -160px;
  bottom: -180px;

  width: 420px;
  height: 420px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(8, 52, 114, 0.10),
      transparent 68%
    );
}

.video-intro__grid {
  position: relative;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(300px, 0.72fr);

  align-items: center;

  gap: 90px;
}

.video-intro__content {
  max-width: 650px;
}

.video-intro__content h2 {
  margin-bottom: 22px;

  color: var(--primary);

  font-family: "Playfair Display", serif;
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);

  line-height: 1.05;
}

.video-intro__content h2 span {
  display: block;
  color: var(--accent);
}

.video-intro__content > p {
  max-width: 600px;

  margin-bottom: 30px;

  color: var(--text-soft);

  font-size: 1rem;
}

.video-intro__features {
  display: grid;
  gap: 14px;

  margin-bottom: 32px;
}

.video-intro__features > div {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 16px 18px;

  border: 1px solid rgba(8, 52, 114, 0.08);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.75);

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  box-shadow:
    0 10px 26px rgba(8, 52, 114, 0.06);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.video-intro__features > div:hover {
  transform: translateX(5px);

  box-shadow:
    0 16px 32px rgba(8, 52, 114, 0.11);
}

.video-intro__features i {
  width: 48px;
  height: 48px;

  flex: 0 0 48px;

  display: grid;
  place-items: center;

  border-radius: 15px;

  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--accent)
    );

  font-size: 1.15rem;
}

.video-intro__features span {
  display: block;

  color: var(--text-soft);

  font-size: 0.83rem;
}

.video-intro__features strong {
  display: block;

  margin-bottom: 2px;

  color: var(--primary);

  font-size: 0.92rem;
}

.video-intro__media {
  position: relative;

  display: flex;
  justify-content: center;
}

.video-phone {
  position: relative;

  z-index: 3;

  width: min(100%, 330px);

  padding: 10px;

  border-radius: 36px;

  background:
    linear-gradient(
      145deg,
      #0a2449,
      #07182f
    );

  box-shadow:
    0 35px 80px rgba(8, 52, 114, 0.28);
}

.video-phone::before {
  content: "";

  position: absolute;
  inset: 7px;

  pointer-events: none;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 29px;
}

.video-phone__top {
  position: absolute;

  top: 17px;
  left: 50%;

  z-index: 5;

  width: 70px;
  height: 18px;

  display: grid;
  place-items: center;

  border-radius: 999px;

  background: #06142a;

  transform: translateX(-50%);
}

.video-phone__top span {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #18385c;
}

.video-phone__video {
  width: 100%;

  aspect-ratio: 9 / 16;

  object-fit: cover;

  border-radius: 28px;

  background: #000;
}

.video-intro__decoration {
  position: absolute;

  border-radius: 50%;

  filter: blur(1px);
}

.video-intro__decoration--one {
  width: 300px;
  height: 300px;

  top: 8%;
  right: -15%;

  background: rgba(80, 175, 204, 0.17);
}

.video-intro__decoration--two {
  width: 220px;
  height: 220px;

  bottom: 0;
  left: -5%;

  background: rgba(8, 52, 114, 0.10);
}

.video-intro__badge {
  position: absolute;

  z-index: 4;

  left: 0;
  bottom: 55px;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 17px;

  border-radius: 17px;

  color: var(--white);

  background: rgba(8, 52, 114, 0.93);

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  box-shadow:
    0 18px 35px rgba(8, 52, 114, 0.22);
}

.video-intro__badge i {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: var(--primary);
  background: var(--white);
}

.video-intro__badge strong,
.video-intro__badge span {
  display: block;
}

.video-intro__badge strong {
  font-size: 0.82rem;
}

.video-intro__badge span {
  margin-top: 1px;

  opacity: 0.75;

  font-size: 0.69rem;
}


/* =========================================================
   QUICK SERVICES
   ========================================================= */

.quick-services {
  position: relative;

  z-index: 5;

  margin-top: -46px;
}

.quick-services__grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 16px;
}

.quick-card {
  min-height: 118px;

  display: flex;
  align-items: center;
  gap: 16px;

  padding: 22px;

  border: 1px solid rgba(8, 52, 114, 0.07);
  border-radius: var(--radius-md);

  background: var(--white);

  box-shadow: var(--shadow-md);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.quick-card:hover {
  transform: translateY(-6px);

  box-shadow: var(--shadow-lg);

  border-color: rgba(80, 175, 204, 0.40);
}

.quick-card__icon {
  width: 52px;
  height: 52px;

  flex: 0 0 52px;

  display: grid;
  place-items: center;

  border-radius: 16px;

  color: var(--primary);

  background:
    linear-gradient(
      135deg,
      var(--soft),
      #f7fbff
    );

  font-size: 1.35rem;
}

.quick-card h3 {
  margin-bottom: 4px;

  color: var(--primary);

  font-size: 1rem;
}

.quick-card p {
  margin: 0;

  color: var(--text-soft);

  font-size: 0.84rem;
}


/* =========================================================
   CERTIFICACIONES
   ========================================================= */

.certifications {
  background: var(--white);
}

.cert-category {
  margin-bottom: 54px;
}

.cert-category:last-child {
  margin-bottom: 0;
}

.cert-category__heading {
  display: flex;
  align-items: center;
  gap: 15px;

  margin-bottom: 22px;
}

.cert-category__icon {
  width: 54px;
  height: 54px;

  flex: 0 0 54px;

  display: grid;
  place-items: center;

  border-radius: 16px;

  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--secondary)
    );

  box-shadow:
    0 12px 24px rgba(8, 52, 114, 0.18);

  font-size: 1.3rem;
}

.cert-category__heading span {
  display: block;

  margin-bottom: 2px;

  color: var(--accent);

  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.cert-category__heading h3 {
  margin: 0;

  color: var(--primary);

  font-size: 1.25rem;
}

.cert-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;
}

.cert-card {
  position: relative;
  overflow: hidden;

  min-width: 0;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background:
    linear-gradient(
      180deg,
      var(--white),
      #fbfdff
    );

  box-shadow: var(--shadow-sm);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.cert-card::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;
  bottom: 0;

  z-index: 3;

  width: 4px;

  background:
    linear-gradient(
      to bottom,
      var(--accent-2),
      var(--primary)
    );

  opacity: 0;

  transition: opacity var(--transition);
}

.cert-card:hover {
  transform: translateY(-5px);

  border-color: rgba(80, 175, 204, 0.35);

  box-shadow: var(--shadow-md);
}

.cert-card:hover::before {
  opacity: 1;
}

.cert-card__image {
  width: 100%;

  aspect-ratio: 16 / 10;

  overflow: hidden;

  background: var(--soft);
}

.cert-card__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.6s ease;
}

.cert-card:hover .cert-card__image img {
  transform: scale(1.05);
}

.cert-card__content {
  flex: 1;

  display: flex;
  flex-direction: column;

  padding: 22px;
}

.cert-card__code {
  display: inline-flex;
  align-self: flex-start;

  margin-bottom: 16px;

  padding: 7px 11px;

  border-radius: 999px;

  color: var(--primary);
  background: var(--soft);

  font-size: 0.78rem;
  font-weight: 800;
}

.cert-card h4 {
  margin-bottom: 22px;

  color: var(--text);

  font-size: 1.02rem;
  line-height: 1.45;

  word-break: normal;
  overflow-wrap: normal;

  -webkit-hyphens: none;
  hyphens: none;
}

.cert-card a {
  margin-top: auto;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--secondary);

  font-size: 0.86rem;
  font-weight: 800;
}

.cert-card a i {
  transition: transform var(--transition);
}

.cert-card a:hover i {
  transform: translateX(4px);
}


/* =========================================================
   FORMACIÓN PRÁCTICA
   ========================================================= */

.practical-training {
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      var(--background),
      #edf5fa
    );
}

.practical-training__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 0.95fr);

  align-items: center;

  gap: 70px;
}

.practical-training__gallery {
  display: grid;

  grid-template-columns: 1.3fr 0.7fr;
  grid-template-rows: repeat(2, 215px);

  gap: 14px;
}

.practical-photo {
  overflow: hidden;

  margin: 0;

  border-radius: 22px;

  box-shadow: var(--shadow-md);
}

.practical-photo--large {
  grid-row: 1 / 3;
}

.practical-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.6s ease;
}

.practical-photo:hover img {
  transform: scale(1.04);
}

.practical-training__content h2,
.flexibility__content h2,
.about__content h2 {
  margin-bottom: 20px;

  color: var(--primary);

  font-family: "Playfair Display", serif;

  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.practical-training__content p,
.flexibility__content p,
.about__content p {
  margin-bottom: 25px;

  color: var(--text-soft);
}

.check-list {
  display: grid;
  gap: 13px;

  margin-bottom: 30px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--text);

  font-weight: 600;
}

.check-list i {
  width: 28px;
  height: 28px;

  flex: 0 0 28px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: var(--secondary);
  background: var(--soft);

  font-size: 0.76rem;
}


/* =========================================================
   LICENCIATURAS
   ========================================================= */

.degrees {
  background: var(--white);
}

.degrees__grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 28px;
}

.degree-program {
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: var(--white);

  box-shadow: var(--shadow-md);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.degree-program:hover {
  transform: translateY(-6px);

  box-shadow: var(--shadow-lg);
}

.degree-program--highlight {
  border-color: rgba(80, 175, 204, 0.38);

  background:
    linear-gradient(
      180deg,
      #ffffff,
      #f6fbfd
    );
}

.degree-program__image {
  position: relative;

  height: 270px;

  overflow: hidden;
}

.degree-program__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.7s ease;
}

.degree-program:hover .degree-program__image img {
  transform: scale(1.035);
}

.degree-program__badge {
  position: absolute;

  left: 20px;
  bottom: 20px;

  display: inline-flex;

  padding: 8px 14px;

  border-radius: 999px;

  color: var(--white);

  background: rgba(8, 52, 114, 0.92);

  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);

  font-size: 0.76rem;
  font-weight: 800;
}

.degree-program__content {
  padding: 30px;
}

.degree-program__label {
  display: block;

  margin-bottom: 8px;

  color: var(--accent);

  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.degree-program h3 {
  margin-bottom: 18px;

  color: var(--primary);

  font-size: 1.55rem;
}

.degree-program p {
  color: var(--text-soft);
}

.program-details {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 12px;

  margin-bottom: 22px;
}

.program-details > div {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px;

  border-radius: 16px;

  background: var(--soft-2);
}

.program-details i {
  color: var(--secondary);

  font-size: 1.05rem;
}

.program-details strong,
.program-details span {
  display: block;
}

.program-details strong {
  margin-bottom: 1px;

  color: var(--primary);

  font-size: 0.78rem;
}

.program-details span {
  color: var(--text-soft);

  font-size: 0.78rem;
}

.career-list {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 10px 16px;

  margin: 24px 0 28px;
}

.career-list li {
  position: relative;

  padding-left: 19px;

  color: var(--text);

  font-size: 0.88rem;
  font-weight: 600;
}

.career-list li::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0.62em;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--accent);
}

.program-platform {
  display: flex;
  align-items: center;
  gap: 14px;

  margin: 25px 0;

  padding: 16px;

  border-radius: 17px;

  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--secondary)
    );
}

.program-platform i {
  font-size: 1.4rem;
}

.program-platform small,
.program-platform strong {
  display: block;
}

.program-platform small {
  opacity: 0.75;

  font-size: 0.72rem;
}

.program-platform strong {
  font-size: 1rem;
}

.degree-program__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


/* =========================================================
   EDUCACIÓN
   ========================================================= */

.education {
  background:
    linear-gradient(
      180deg,
      #f8fbfd,
      var(--background)
    );
}

.education__grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.education-card {
  display: flex;
  flex-direction: column;

  padding: 32px;

  border: 1px solid var(--border);
  border-radius: 26px;

  background: var(--white);

  box-shadow: var(--shadow-sm);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.education-card:hover {
  transform: translateY(-5px);

  box-shadow: var(--shadow-md);
}

.education-card--featured {
  color: var(--white);

  border-color: transparent;

  background:
    linear-gradient(
      145deg,
      var(--primary),
      #0e4f8f
    );

  box-shadow:
    0 26px 55px rgba(8, 52, 114, 0.25);
}

.education-card__icon {
  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  margin-bottom: 22px;

  border-radius: 18px;

  color: var(--secondary);
  background: var(--soft);

  font-size: 1.45rem;
}

.education-card--featured .education-card__icon {
  color: var(--white);

  background: rgba(255, 255, 255, 0.12);
}

.education-card__type {
  display: block;

  margin-bottom: 6px;

  color: var(--accent);

  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.education-card--featured .education-card__type {
  color: #9fe5ff;
}

.education-card h3 {
  margin-bottom: 15px;

  color: var(--primary);

  font-size: 1.45rem;
}

.education-card--featured h3 {
  color: var(--white);
}

.education-card p {
  margin-bottom: 22px;

  color: var(--text-soft);
}

.education-card--featured p {
  color: rgba(255, 255, 255, 0.78);
}

.education-card ul {
  display: grid;
  gap: 12px;

  margin-bottom: 30px;
}

.education-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  font-size: 0.88rem;
}

.education-card li i {
  margin-top: 4px;

  color: var(--accent);
}

.education-card .btn {
  margin-top: auto;
}

.education-card--featured .btn--primary {
  color: var(--primary);
  background: var(--white);
}

.single-exam {
  margin-top: 24px;

  display: grid;

  grid-template-columns: auto 1fr auto;

  align-items: center;

  gap: 22px;

  padding: 26px;

  border: 1px solid var(--border);
  border-radius: 24px;

  background: var(--white);

  box-shadow: var(--shadow-sm);
}

.single-exam__icon {
  width: 62px;
  height: 62px;

  display: grid;
  place-items: center;

  border-radius: 18px;

  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--accent)
    );

  font-size: 1.45rem;
}

.single-exam__content span {
  display: block;

  color: var(--accent);

  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.single-exam h3 {
  margin: 3px 0 5px;

  color: var(--primary);
}

.single-exam p {
  margin: 0;

  color: var(--text-soft);
}


/* =========================================================
   REQUISITOS
   ========================================================= */

.requirements {
  background: var(--white);
}

.requirements__grid {
  display: grid;

  grid-template-columns: 0.85fr 1.15fr;

  align-items: center;

  gap: 75px;
}

.requirements__content h2 {
  margin-bottom: 20px;

  color: var(--primary);

  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);

  line-height: 1.08;
}

.requirements__content h2 span {
  color: var(--accent);
}

.requirements__content p {
  margin-bottom: 28px;

  color: var(--text-soft);
}

.requirements__list {
  display: grid;

  gap: 14px;
}

.requirement-item {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 20px 22px;

  border: 1px solid var(--border);
  border-radius: 18px;

  background: var(--background);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.requirement-item:hover {
  transform: translateX(5px);

  box-shadow: var(--shadow-sm);
}

.requirement-item i {
  width: 44px;
  height: 44px;

  flex: 0 0 44px;

  display: grid;
  place-items: center;

  border-radius: 14px;

  color: var(--primary);
  background: var(--soft);

  font-size: 1.05rem;
}

.requirement-item span {
  font-size: 0.90rem;
  font-weight: 600;
}


/* =========================================================
   BECAS
   ========================================================= */

.scholarships {
  position: relative;
  overflow: hidden;

  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--primary-dark),
      var(--primary) 45%,
      var(--secondary)
    );
}

.scholarships::before {
  content: "";

  position: absolute;

  width: 400px;
  height: 400px;

  right: -120px;
  top: -140px;

  border-radius: 50%;

  background: rgba(99, 163, 192, 0.16);
}

.scholarships__background {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    );

  background-size: 46px 46px;
}

.scholarships__content {
  position: relative;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 0.85fr);

  align-items: center;

  gap: 65px;
}

.scholarships__text h2 {
  margin-bottom: 22px;

  color: var(--white);

  font-family: "Playfair Display", serif;
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);

  line-height: 1.06;
}

.scholarships__text h2 span {
  display: block;

  color: #a7e6f8;
}

.scholarships__text p {
  margin-bottom: 28px;

  color: rgba(255, 255, 255, 0.82);

  font-size: 1rem;
}

.scholarships__features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-bottom: 30px;
}

.scholarships__features div {
  display: flex;
  align-items: center;
  gap: 9px;

  padding: 10px 14px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.07);

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  font-size: 0.82rem;
}

.scholarships__features i {
  color: #b8edff;
}

.scholarships__image {
  position: relative;
}

.scholarships__image::before {
  content: "";

  position: absolute;

  inset: 25px -20px -20px 25px;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
}

.scholarships__image img {
  position: relative;

  aspect-ratio: 4 / 3;

  object-fit: cover;

  border-radius: 28px;

  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.24);
}


/* =========================================================
   FLEXIBILIDAD
   ========================================================= */

.flexibility {
  background: var(--white);
}

.flexibility__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);

  align-items: center;

  gap: 70px;
}

.flexibility__image {
  position: relative;
}

.flexibility__image::after {
  content: "";

  position: absolute;

  inset: -18px 18px 18px -18px;

  z-index: -1;

  border-radius: 30px;

  background:
    linear-gradient(
      135deg,
      var(--soft),
      rgba(80, 175, 204, 0.26)
    );
}

.flexibility__image img {
  aspect-ratio: 4 / 3;

  object-fit: cover;

  border-radius: 28px;

  box-shadow: var(--shadow-lg);
}

.flexibility__options {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;

  margin: 28px 0;
}

.flexibility__options span {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 14px;

  border-radius: 999px;

  color: var(--primary);
  background: var(--soft);

  font-size: 0.82rem;
  font-weight: 700;
}

.flexibility__options i {
  color: var(--secondary);
}


/* =========================================================
   COMUNIDAD
   ========================================================= */

.community {
  background:
    linear-gradient(
      180deg,
      var(--background),
      #eff5fa
    );
}

.community__feature {
  overflow: hidden;

  display: grid;

  grid-template-columns: 1.15fr 0.85fr;

  border-radius: 30px;

  background: var(--white);

  box-shadow: var(--shadow-md);
}

.community__image {
  min-height: 430px;
}

.community__image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.community__content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 55px;
}

.community__content > span {
  margin-bottom: 10px;

  color: var(--accent);

  font-size: 0.77rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.community__content h3 {
  margin-bottom: 18px;

  color: var(--primary);

  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);

  line-height: 1.1;
}

.community__content p {
  color: var(--text-soft);
}

.community__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 18px;
}

.community__tags span {
  padding: 9px 13px;

  border-radius: 999px;

  color: var(--primary);
  background: var(--soft);

  font-size: 0.78rem;
  font-weight: 700;
}


/* =========================================================
   GALERÍA
   ========================================================= */

.gallery {
  background: var(--white);
}

.gallery__grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;

  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;

  padding: 0;

  border-radius: 18px;

  background: var(--soft);

  cursor: pointer;
}

.gallery-item::after {
  content: "\f00e";

  position: absolute;
  inset: 0;

  display: grid;
  place-items: center;

  color: var(--white);

  background: rgba(8, 52, 114, 0.55);

  font-family: "Font Awesome 6 Free";
  font-size: 1.6rem;
  font-weight: 900;

  opacity: 0;

  transition: opacity var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.055);
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}


/* =========================================================
   NOSOTROS
   ========================================================= */

.about {
  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #f9fcfe,
      var(--background)
    );
}

.about__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.05fr);

  align-items: center;

  gap: 75px;
}

.about__image {
  position: relative;
}

.about__image > img {
  aspect-ratio: 4 / 5;

  object-fit: cover;

  border-radius: 28px;

  box-shadow: var(--shadow-lg);
}

.about__logo {
  position: absolute;

  right: -24px;
  bottom: 30px;

  width: 190px;

  padding: 18px;

  border-radius: 22px;

  background: var(--white);

  box-shadow: var(--shadow-md);
}

.about__logo img {
  max-height: 65px;

  object-fit: contain;
}

.about__values {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 13px;

  margin-top: 28px;
}

.about__values div {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 15px;

  border: 1px solid var(--border);
  border-radius: 16px;

  background: var(--white);
}

.about__values i {
  width: 40px;
  height: 40px;

  flex: 0 0 40px;

  display: grid;
  place-items: center;

  border-radius: 12px;

  color: var(--primary);
  background: var(--soft);
}

.about__values span {
  color: var(--text);

  font-size: 0.82rem;
  font-weight: 700;
}


/* =========================================================
   REDES SOCIALES
   ========================================================= */

.social-section {
  overflow: hidden;

  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(80, 175, 204, 0.12),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f4f8fc 100%
    );
}

.social-section__intro {
  max-width: 760px;

  margin: 0 auto 50px;

  text-align: center;
}

.social-section__intro .eyebrow {
  justify-content: center;
}

.social-section__intro h2 {
  margin-bottom: 18px;

  color: var(--primary);

  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);

  line-height: 1.08;
}

.social-section__intro h2 span {
  display: block;

  color: var(--accent);
}

.social-section__intro p {
  max-width: 650px;

  margin: 0 auto;

  color: var(--text-soft);
}

.social-section__grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 18px;
}

.social-card {
  position: relative;
  overflow: hidden;

  min-height: 160px;

  display: grid;

  grid-template-columns: auto 1fr auto;

  align-items: center;

  gap: 20px;

  padding: 28px;

  border: 1px solid var(--border);
  border-radius: 24px;

  background: var(--white);

  box-shadow: var(--shadow-sm);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.social-card:hover {
  transform: translateY(-5px);

  border-color: rgba(80, 175, 204, 0.35);

  box-shadow: var(--shadow-md);
}

.social-card::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;
  bottom: 0;

  width: 5px;

  opacity: 0.9;
}

.social-card--facebook::before {
  background: #1877f2;
}

.social-card--instagram::before {
  background:
    linear-gradient(
      #833ab4,
      #fd1d1d,
      #fcb045
    );
}

.social-card--online::before {
  background: var(--accent-2);
}

.social-card--web::before {
  background: var(--primary);
}

.social-card__icon {
  width: 64px;
  height: 64px;

  flex: 0 0 64px;

  display: grid;
  place-items: center;

  border-radius: 18px;

  color: var(--primary);
  background: var(--soft);

  font-size: 1.7rem;
}

.social-card--facebook .social-card__icon {
  color: #1877f2;
}

.social-card--instagram .social-card__icon {
  color: #c13584;
}

.social-card__content span {
  display: block;

  margin-bottom: 3px;

  color: var(--text-soft);

  font-size: 0.75rem;
}

.social-card__content h3 {
  margin: 0 0 3px;

  color: var(--primary);

  font-size: 1.25rem;
}

.social-card__content p {
  margin: 0;

  color: var(--text-soft);

  font-size: 0.84rem;
}

.social-card__arrow {
  color: var(--accent);

  font-size: 1rem;

  transition: transform var(--transition);
}

.social-card:hover .social-card__arrow {
  transform: translate(3px, -3px);
}

.social-section__cta {
  margin-top: 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 25px;

  padding: 24px 26px;

  border-radius: 22px;

  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--primary-dark),
      var(--primary),
      var(--secondary)
    );

  box-shadow: var(--shadow-md);
}

.social-section__cta > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-section__cta > div > i {
  width: 46px;
  height: 46px;

  flex: 0 0 46px;

  display: grid;
  place-items: center;

  border-radius: 14px;

  color: #b9ecff;

  background: rgba(255, 255, 255, 0.12);
}

.social-section__cta span,
.social-section__cta strong {
  display: block;
}

.social-section__cta span {
  color: rgba(255, 255, 255, 0.76);

  font-size: 0.82rem;
}

.social-section__cta strong {
  margin-bottom: 2px;

  color: var(--white);

  font-size: 0.95rem;
}

.social-section__cta .btn {
  flex-shrink: 0;

  color: var(--primary);

  background: var(--white);

  box-shadow: none;
}


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

.contact {
  background: var(--white);
}

.contact__grid {
  display: grid;

  grid-template-columns: 1fr 0.8fr;

  gap: 30px;
}

.contact__cards {
  display: grid;

  gap: 14px;
}

.contact-card {
  display: grid;

  grid-template-columns: auto 1fr auto;

  align-items: center;

  gap: 15px;

  padding: 20px;

  border: 1px solid var(--border);
  border-radius: 18px;

  background: var(--background);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.contact-card:hover {
  transform: translateX(5px);

  border-color: rgba(80, 175, 204, 0.35);

  box-shadow: var(--shadow-sm);
}

.contact-card__icon {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  border-radius: 14px;

  color: var(--primary);
  background: var(--soft);

  font-size: 1.2rem;
}

.contact-card small,
.contact-card strong {
  display: block;
}

.contact-card small {
  margin-bottom: 2px;

  color: var(--text-soft);

  font-size: 0.74rem;
}

.contact-card strong {
  color: var(--primary);

  font-size: 0.94rem;
}

.contact-card > i {
  color: var(--accent);
}

.contact__location {
  display: flex;
  flex-direction: column;

  padding: 32px;

  border-radius: 28px;

  color: var(--white);

  background:
    linear-gradient(
      145deg,
      var(--primary-dark),
      var(--primary)
    );

  box-shadow: var(--shadow-lg);
}

.contact__location-icon {
  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  margin-bottom: 20px;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.10);

  font-size: 1.4rem;
}

.contact__location > span {
  color: #a7e6f8;

  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact__location h3 {
  margin: 6px 0 14px;

  font-size: 1.55rem;
}

.contact__location address {
  margin-bottom: 24px;

  color: rgba(255, 255, 255, 0.78);
}

.contact__schedule {
  display: flex;
  align-items: flex-start;
  gap: 14px;

  margin-bottom: 26px;

  padding: 16px;

  border-radius: 16px;

  background: rgba(255, 255, 255, 0.07);
}

.contact__schedule i {
  margin-top: 3px;

  color: #a7e6f8;
}

.contact__schedule small,
.contact__schedule strong {
  display: block;
}

.contact__schedule small {
  opacity: 0.72;
}

.contact__schedule strong {
  margin-top: 3px;
}

.contact__location .btn {
  margin-top: auto;

  align-self: flex-start;
}

.contact__social {
  margin-top: 34px;

  padding-top: 28px;

  border-top: 1px solid var(--border);
}

.contact__social > span {
  display: block;

  margin-bottom: 14px;

  color: var(--text-soft);

  font-size: 0.86rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 14px;

  border: 1px solid var(--border);
  border-radius: 999px;

  color: var(--primary);

  background: var(--background);

  font-size: 0.82rem;
  font-weight: 700;

  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.social-link:hover {
  transform: translateY(-2px);

  border-color: rgba(80, 175, 204, 0.35);

  background: var(--soft);
}


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

.final-cta {
  padding: 70px 0;

  color: var(--white);

  background:
    linear-gradient(
      135deg,
      var(--accent-2),
      var(--secondary) 38%,
      var(--primary) 100%
    );
}

.final-cta__content {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 35px;
}

.final-cta__content > div {
  max-width: 720px;
}

.final-cta span {
  display: block;

  margin-bottom: 7px;

  color: #d8f5ff;

  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.final-cta h2 {
  margin-bottom: 12px;

  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);

  line-height: 1.05;
}

.final-cta p {
  margin: 0;

  color: rgba(255, 255, 255, 0.82);
}


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

.footer {
  color: rgba(255, 255, 255, 0.75);

  background: #061c3b;
}

.footer__grid {
  display: grid;

  grid-template-columns:
    1.3fr
    0.7fr
    0.8fr
    1fr;

  gap: 45px;

  padding-top: 70px;
  padding-bottom: 55px;
}

.footer__brand img {
  width: 155px;
  max-height: 70px;

  margin-bottom: 20px;

  object-fit: contain;

  filter:
    brightness(0)
    invert(1);
}

.footer__brand p {
  max-width: 310px;

  font-size: 0.86rem;
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__column h3 {
  margin-bottom: 8px;

  color: var(--white);

  font-size: 0.92rem;
}

.footer__column a,
.footer__column p {
  margin: 0;

  color: rgba(255, 255, 255, 0.68);

  font-size: 0.82rem;

  transition: color var(--transition);
}

.footer__column a:hover {
  color: #a7e6f8;
}

.footer__bottom {
  padding: 18px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(0, 0, 0, 0.08);
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;

  gap: 20px;
}

.footer__bottom p {
  margin: 0;

  font-size: 0.72rem;
}

.footer__bottom a {
  color: #a7e6f8;
}


/* =========================================================
   WHATSAPP FLOTANTE
   ========================================================= */

.floating-whatsapp {
  position: fixed;

  right: 24px;
  bottom: 24px;

  z-index: 900;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 16px;

  border-radius: 999px;

  color: var(--white);
  background: var(--success);

  box-shadow:
    0 16px 35px rgba(37, 211, 102, 0.32);

  font-size: 0.84rem;
  font-weight: 800;

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.floating-whatsapp:hover {
  transform: translateY(-4px);

  box-shadow:
    0 20px 42px rgba(37, 211, 102, 0.40);
}

.floating-whatsapp i {
  font-size: 1.35rem;
}

.floating-whatsapp.is-pulsing {
  animation: whatsappPulse 1.2s ease;
}

@keyframes whatsappPulse {

  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.08);
  }

  70% {
    transform: scale(0.98);
  }

  100% {
    transform: scale(1);
  }

}


/* =========================================================
   BOTÓN SUBIR
   ========================================================= */

.scroll-top {
  position: fixed;

  right: 26px;
  bottom: 88px;

  z-index: 890;

  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: var(--white);
  background: var(--primary);

  box-shadow: var(--shadow-md);

  cursor: pointer;

  opacity: 0;
  visibility: hidden;

  transform: translateY(10px);

  transition:
    opacity var(--transition),
    visibility var(--transition),
    transform var(--transition);
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;

  transform: translateY(0);
}


/* =========================================================
   BARRA MÓVIL
   ========================================================= */

.mobile-actions {
  display: none;
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox {
  position: fixed;
  inset: 0;

  z-index: 5000;

  display: grid;
  place-items: center;

  padding: 30px;

  background: rgba(3, 16, 35, 0.92);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity var(--transition),
    visibility var(--transition);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__content {
  width: min(100%, 1100px);

  max-height: 85vh;
}

.lightbox__content img {
  width: 100%;
  max-height: 85vh;

  object-fit: contain;

  border-radius: 18px;
}

.lightbox__close {
  position: absolute;

  top: 24px;
  right: 24px;

  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  color: var(--white);

  background: rgba(255, 255, 255, 0.10);

  cursor: pointer;

  font-size: 1.3rem;
}


/* =========================================================
   ANIMACIONES
   ========================================================= */

[data-reveal] {
  opacity: 0;

  transform: translateY(28px);

  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

[data-reveal].is-visible {
  opacity: 1;

  transform: translateY(0);
}


/* =========================================================
   ACCESIBILIDAD FOCUS
   ========================================================= */

body:not(.using-keyboard) a:focus,
body:not(.using-keyboard) button:focus {
  outline: none;
}

.using-keyboard a:focus,
.using-keyboard button:focus {
  outline: 3px solid var(--accent-2);
  outline-offset: 4px;
}


/* =========================================================
   RESPONSIVE 1100px
   ========================================================= */

@media (max-width: 1100px) {

  .header__cta {
    display: none;
  }

  .nav {
    gap: 18px;
  }

  .nav a {
    font-size: 0.78rem;
  }

  .hero__content {
    gap: 45px;
  }

  .hero h1 {
    font-size: clamp(3rem, 6vw, 4.8rem);
  }

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

  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .education__grid {
    grid-template-columns: 1fr 1fr;
  }

  .education-card:last-child {
    grid-column: 1 / -1;
  }

  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }

  .footer__column:last-child {
    grid-column: 1 / -1;
  }

}


/* =========================================================
   TABLET / MOBILE 900px
   ========================================================= */

@media (max-width: 900px) {

  .section {
    padding: 85px 0;
  }

  .topbar__schedule {
    display: none;
  }

  .topbar__content {
    justify-content: center;
  }

  .header__content {
    min-height: 72px;
  }

  .header__logo img {
    width: 128px;
  }

  .menu-toggle {
    display: block;

    margin-left: auto;
  }

  .menu-toggle.is-active span:nth-child(1) {
    transform:
      translateY(8px)
      rotate(45deg);
  }

  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active span:nth-child(3) {
    transform:
      translateY(-8px)
      rotate(-45deg);
  }

  .nav {
    position: fixed;

    top: 72px;
    left: 0;
    right: 0;

    min-height: calc(100vh - 72px);

    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding: 24px;

    background: var(--white);

    transform: translateX(100%);

    transition: transform 0.35s ease;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav a {
    padding: 17px 4px;

    border-bottom: 1px solid var(--border);

    font-size: 0.95rem;
  }

  .nav a::after {
    display: none;
  }


  /* HERO */

  .hero {
    min-height: auto;
  }

  .hero__content {
    grid-template-columns: 1fr;

    gap: 50px;

    padding-top: 70px;
    padding-bottom: 90px;
  }

  .hero__text {
    max-width: 720px;

    margin-inline: auto;

    text-align: center;
  }

  .hero__text .eyebrow {
    justify-content: center;
  }

  .hero__actions,
  .hero__features {
    justify-content: center;
  }

  .hero__image {
    max-width: 620px;

    width: 100%;

    margin-inline: auto;
  }

  .hero__image-card > img {
    aspect-ratio: 16 / 10;
  }


  /* VIDEO */

  .video-intro {
    padding: 85px 0;
  }

  .video-intro__grid {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .video-intro__content {
    max-width: 720px;

    margin-inline: auto;

    text-align: center;
  }

  .video-intro__content .eyebrow {
    justify-content: center;
  }

  .video-intro__content > p {
    margin-inline: auto;
  }

  .video-intro__features {
    max-width: 650px;

    margin-inline: auto;
    margin-bottom: 30px;

    text-align: left;
  }

  .video-intro__media {
    max-width: 500px;

    margin-inline: auto;
  }


  /* GRID GENERAL */

  .practical-training__grid,
  .flexibility__grid,
  .about__grid,
  .requirements__grid,
  .scholarships__content,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .degrees__grid {
    grid-template-columns: 1fr;
  }

  .practical-training__grid,
  .flexibility__grid,
  .about__grid,
  .requirements__grid {
    gap: 50px;
  }

  .scholarships__content {
    gap: 45px;
  }

  .scholarships__image {
    max-width: 650px;
  }

  .community__feature {
    grid-template-columns: 1fr;
  }

  .community__image {
    min-height: 360px;
  }

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

  .gallery-item--large,
  .gallery-item--wide {
    grid-column: span 2;
  }

  .about__image {
    max-width: 620px;
  }

  .about__image > img {
    aspect-ratio: 16 / 10;
  }

  .social-section__grid {
    grid-template-columns: 1fr;
  }

  .social-section__cta {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer__column:last-child {
    grid-column: auto;
  }

}


/* =========================================================
   MÓVIL 700px
   CERTIFICACIONES
   ========================================================= */

@media (max-width: 700px) {

  .cert-category {
    width: 100%;

    margin-bottom: 55px;
  }

  .cert-grid {
    width: 100%;

    grid-template-columns: 1fr;

    gap: 20px;
  }

  .cert-card {
    width: 100%;

    min-width: 0;
    min-height: auto;

    height: auto;

    border-radius: 22px;
  }

  .cert-card__image {
    width: 100%;

    aspect-ratio: 16 / 9;

    height: auto;
  }

  .cert-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
  }

  .cert-card__content {
    width: 100%;

    padding: 22px 20px 24px;
  }

  .cert-card__code {
    margin-bottom: 14px;
  }

  .cert-card h4 {
    margin-bottom: 20px;

    font-size: 1rem;
    line-height: 1.45;

    word-break: normal;
    overflow-wrap: normal;

    -webkit-hyphens: none;
    hyphens: none;
  }

  .cert-card a {
    margin-top: 8px;
  }

}


/* =========================================================
   MÓVIL 640px
   ========================================================= */

@media (max-width: 640px) {

  body {
    padding-bottom: 70px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .practical-training__content h2,
  .flexibility__content h2,
  .about__content h2,
  .requirements__content h2 {
    font-size: 2.15rem;
  }

  .eyebrow {
    font-size: 0.72rem;
  }


  /* PRELOADER MOBILE */

  .preloader {
    width: 100%;

    min-height: 100vh;
    min-height: 100dvh;

    align-items: center;
    justify-content: center;
  }

  .preloader__content {
    width: 100%;
    max-width: 260px;

    margin: 0 auto;

    padding: 16px;
  }

  .preloader__logo {
    width: 150px;
    max-width: 70vw;

    height: auto;

    margin: 0 auto;

    object-position: center;
  }


  /* HEADER */

  .topbar {
    display: none;
  }

  .header__content {
    min-height: 68px;
  }

  .header__logo img {
    width: 118px;
  }

  .nav {
    top: 68px;

    min-height: calc(100vh - 68px);
  }


  /* HERO MOBILE */

  .hero {
    min-height: auto;
  }

  .hero__content {
    grid-template-columns: 1fr;

    gap: 28px;

    padding-top: 34px;
    padding-bottom: 48px;
  }

  .hero__text {
    max-width: 100%;

    margin-inline: auto;

    text-align: center;
  }

  .hero__text .eyebrow {
    justify-content: center;
  }

  .hero h1 {
    margin-bottom: 18px;

    font-size: 3rem;
  }

  .hero__description {
    margin-bottom: 20px;

    font-size: 0.97rem;
  }

  .hero__actions {
    flex-direction: column;

    gap: 12px;

    margin-bottom: 22px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__features {
    justify-content: center;

    gap: 10px;
  }

  .hero__features span {
    font-size: 0.78rem;
  }

  .hero__image {
    width: 100%;
    max-width: 340px;

    margin: 0 auto;
  }

  .hero__image::before {
    inset: 10px -8px -10px 10px;

    border-radius: 24px;
  }

  .hero__image-card {
    padding: 8px;

    border-radius: 22px;

    transform: none;
  }

  .hero__image-card > img {
    aspect-ratio: 4 / 5;

    object-fit: cover;
    object-position: center top;

    border-radius: 16px;
  }

  .hero__badge {
    left: 12px;
    right: 12px;
    bottom: 12px;

    gap: 10px;

    padding: 12px 14px;

    border-radius: 14px;
  }

  .hero__badge i {
    font-size: 1.3rem;
  }

  .hero__badge strong {
    font-size: 0.88rem;
  }

  .hero__badge span {
    font-size: 0.72rem;
  }


  /* VIDEO MOBILE */

  .video-intro {
    padding: 70px 0;
  }

  .video-intro__content h2 {
    font-size: 2.2rem;
  }

  .video-intro__content .btn {
    width: 100%;
  }

  .video-phone {
    width: min(90%, 315px);
  }

  .video-intro__badge {
    left: 2px;
    bottom: 38px;

    padding: 11px 13px;
  }

  .video-intro__badge strong {
    font-size: 0.75rem;
  }

  .video-intro__badge span {
    font-size: 0.64rem;
  }


  /* QUICK SERVICES */

  .quick-services {
    margin-top: -20px;
  }

  .quick-services__grid {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: auto;
  }


  /* CERTIFICACIONES */

  .cert-category__heading {
    align-items: flex-start;
  }


  /* FORMACIÓN */

  .practical-training__gallery {
    grid-template-columns: 1fr 1fr;

    grid-template-rows: 250px 160px;
  }

  .practical-photo--large {
    grid-column: 1 / -1;
    grid-row: auto;
  }


  /* LICENCIATURAS */

  .program-details,
  .career-list {
    grid-template-columns: 1fr;
  }

  .degree-program__image {
    height: 220px;
  }

  .degree-program__content {
    padding: 24px;
  }

  .degree-program__actions {
    flex-direction: column;
  }

  .degree-program__actions .btn {
    width: 100%;
  }


  /* EDUCACIÓN */

  .education__grid {
    grid-template-columns: 1fr;
  }

  .education-card:last-child {
    grid-column: auto;
  }

  .single-exam {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .single-exam__icon {
    margin-inline: auto;
  }

  .single-exam .btn {
    width: 100%;
  }


  /* REQUISITOS */

  .requirements__content {
    text-align: center;
  }

  .requirements__content .eyebrow {
    justify-content: center;
  }

  .requirement-item {
    align-items: flex-start;
  }


  /* BECAS */

  .scholarships__text {
    text-align: center;
  }

  .scholarships__text .eyebrow {
    justify-content: center;
  }

  .scholarships__features {
    justify-content: center;
  }

  .scholarships__text .btn {
    width: 100%;
  }


  /* COMUNIDAD */

  .community__content {
    padding: 30px 24px;
  }

  .community__image {
    min-height: 280px;
  }


  /* GALERÍA */

  .gallery__grid {
    grid-template-columns: 1fr 1fr;

    grid-auto-rows: 170px;
  }

  .gallery-item--large,
  .gallery-item--wide {
    grid-column: 1 / -1;
  }

  .gallery-item--large {
    grid-row: span 2;
  }


  /* NOSOTROS */

  .about__logo {
    width: 145px;

    right: 12px;
    bottom: 14px;
  }

  .about__values {
    grid-template-columns: 1fr;
  }


  /* REDES */

  .social-section__intro {
    margin-bottom: 35px;
  }

  .social-card {
    min-height: auto;

    grid-template-columns: auto 1fr;

    padding: 20px;
  }

  .social-card__icon {
    width: 52px;
    height: 52px;

    flex-basis: 52px;

    font-size: 1.35rem;
  }

  .social-card__arrow {
    display: none;
  }

  .social-section__cta {
    padding: 22px 20px;
  }

  .social-section__cta .btn {
    width: 100%;
  }


  /* CONTACTO */

  .contact-card {
    grid-template-columns: auto 1fr;
  }

  .contact-card > i:last-child {
    display: none;
  }

  .contact__location {
    padding: 26px 22px;
  }

  .social-links {
    display: grid;

    grid-template-columns: 1fr 1fr;
  }

  .social-link {
    justify-content: center;
  }


  /* CTA FINAL */

  .final-cta {
    padding: 55px 0;
  }

  .final-cta__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .final-cta__content .btn {
    width: 100%;
  }


  /* FOOTER */

  .footer__grid {
    grid-template-columns: 1fr;

    gap: 32px;

    padding-top: 55px;
    padding-bottom: 40px;
  }

  .footer__bottom .container {
    flex-direction: column;

    gap: 5px;

    text-align: center;
  }


  /* BOTONES FLOTANTES */

  .floating-whatsapp {
    display: none;
  }

  .scroll-top {
    right: 16px;
    bottom: 86px;
  }


  /* BARRA MOBILE */

  .mobile-actions {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1500;

    height: 68px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);

    background: var(--white);

    box-shadow:
      0 -8px 28px rgba(8, 52, 114, 0.10);
  }

  .mobile-actions a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 3px;

    color: var(--primary);

    font-size: 0.68rem;
    font-weight: 700;
  }

  .mobile-actions a:first-child {
    color: var(--success);
  }

  .mobile-actions i {
    font-size: 1.2rem;
  }


  /* LIGHTBOX */

  .lightbox {
    padding: 16px;
  }

  .lightbox__close {
    top: 14px;
    right: 14px;
  }

}


/* =========================================================
   MÓVILES PEQUEÑOS 420px
   ========================================================= */

@media (max-width: 420px) {

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero__features {
    flex-direction: column;
    align-items: center;
  }

  .hero__image {
    max-width: 300px;
  }

  .hero__badge {
    left: 10px;
    right: 10px;
    bottom: 10px;

    padding: 10px 12px;
  }

  .hero__badge strong {
    font-size: 0.80rem;
  }

  .hero__badge span {
    font-size: 0.66rem;
  }

  .video-intro__features > div {
    align-items: flex-start;
  }

  .video-intro__badge {
    left: -5px;
    bottom: 35px;
  }

  .quick-card {
    padding: 18px;
  }

  .practical-training__gallery {
    display: flex;
    flex-direction: column;
  }

  .practical-photo {
    height: 220px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;

    grid-auto-rows: 240px;
  }

  .gallery-item--large,
  .gallery-item--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .social-links {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   ACCESIBILIDAD / MOVIMIENTO REDUCIDO
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

}