.elementor-23814 .elementor-element.elementor-element-47768d4{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}

/* Start custom CSS *//* ============================================================
   FSRM — ESCUELAS OFICIALES
   CSS personalizado para Elementor Pro
   Pegar en: Elementor > Personalizar > CSS adicional
   O en: Ajustes de la sección > CSS personalizado

   Paleta corporativa FSRM:
   Azul:     #1553E4
   Naranja:  #F85021
   Verde:    #099804
   Amarillo: #FFC300
   ============================================================ */

/* ──────────────────────────────────────────────────────────
   RESET & BASE SCOPE
   ────────────────────────────────────────────────────────── */
.fsrm-escuelas-oficiales *,
.fsrm-escuelas-oficiales *::before,
.fsrm-escuelas-oficiales *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ──────────────────────────────────────────────────────────
   SECCIÓN PRINCIPAL
   ────────────────────────────────────────────────────────── */
.fsrm-escuelas-oficiales {
  background-color: #f4f6fb;
  padding: 80px 0 100px;
  width: 100%;
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.fsrm-eo-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ──────────────────────────────────────────────────────────
   CABECERA
   ────────────────────────────────────────────────────────── */
.fsrm-eo-header {
  text-align: center;
  margin-bottom: 64px;
}

.fsrm-eo-supertitulo {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1553E4;
  background-color: rgba(21, 83, 228, 0.08);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.fsrm-eo-titulo {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  color: #0d1b3e;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.fsrm-eo-titulo-accent {
  color: #1553E4;
  position: relative;
}

.fsrm-eo-intro {
  font-size: 17px;
  line-height: 1.7;
  color: #4a5568;
  max-width: 660px;
  margin: 0 auto 32px;
  font-weight: 400;
}

.fsrm-eo-header-linea {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, #1553E4, #F85021);
  margin: 0 auto;
  border-radius: 2px;
}

/* ──────────────────────────────────────────────────────────
   GRID DE CARDS
   ────────────────────────────────────────────────────────── */
.fsrm-eo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* ──────────────────────────────────────────────────────────
   CARD BASE
   ────────────────────────────────────────────────────────── */
.fsrm-eo-card {
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(13, 27, 62, 0.07), 0 8px 32px rgba(13, 27, 62, 0.04);
  transition: transform 0.32s cubic-bezier(0.25, 0.8, 0.25, 1),
              box-shadow 0.32s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(21, 83, 228, 0.06);
}

.fsrm-eo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(13, 27, 62, 0.12), 0 24px 64px rgba(13, 27, 62, 0.08);
}

/* ──────────────────────────────────────────────────────────
   IMAGEN DE CARD
   ────────────────────────────────────────────────────────── */
.fsrm-eo-card-imagen-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  flex-shrink: 0;
}

.fsrm-eo-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fsrm-eo-card:hover .fsrm-eo-card-img {
  transform: scale(1.05);
}

.fsrm-eo-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 27, 62, 0.08) 0%,
    rgba(13, 27, 62, 0.55) 100%
  );
  pointer-events: none;
}

/* ── Chip de ubicación sobre imagen ── */
.fsrm-eo-card-ubicacion {
  position: absolute;
  bottom: 14px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.95);
  color: #0d1b3e;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.fsrm-eo-icon-pin {
  width: 12px;
  height: 12px;
  color: #F85021;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────
   CUERPO DE CARD
   ────────────────────────────────────────────────────────── */
.fsrm-eo-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 28px 24px;
  gap: 0;
}

/* ── Nombre + Badge ── */
.fsrm-eo-card-nombre-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.fsrm-eo-card-nombre {
  font-size: 22px;
  font-weight: 800;
  color: #0d1b3e;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.fsrm-eo-card-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #099804;
  background-color: rgba(9, 152, 4, 0.09);
  border: 1px solid rgba(9, 152, 4, 0.2);
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  margin-top: 3px;
}

/* ── Descripción ── */
.fsrm-eo-card-desc {
  font-size: 14.5px;
  line-height: 1.68;
  color: #5a6a80;
  margin-bottom: 22px;
  flex-grow: 1;
}

/* ──────────────────────────────────────────────────────────
   CONTACTO
   ────────────────────────────────────────────────────────── */
.fsrm-eo-card-contacto {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
  padding: 16px 18px;
  background-color: #f7f9ff;
  border-radius: 12px;
  border: 1px solid rgba(21, 83, 228, 0.08);
}

.fsrm-eo-contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  color: #2d3748;
  transition: color 0.2s ease;
  cursor: default;
}

a.fsrm-eo-contacto-item {
  cursor: pointer;
}

a.fsrm-eo-contacto-item:hover {
  color: #1553E4;
}

a.fsrm-eo-contacto-item:hover .fsrm-eo-contacto-icono {
  color: #1553E4;
}

.fsrm-eo-contacto-icono {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(21, 83, 228, 0.08);
  border-radius: 8px;
  color: #1553E4;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.fsrm-eo-contacto-icono svg {
  width: 14px;
  height: 14px;
}

.fsrm-eo-contacto-texto {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  padding-top: 6px;
  word-break: break-word;
}

/* ──────────────────────────────────────────────────────────
   FOOTER DE CARD (redes + CTA)
   ────────────────────────────────────────────────────────── */
.fsrm-eo-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

/* ── Iconos de redes sociales ── */
.fsrm-eo-sociales {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.fsrm-eo-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: #f0f2f8;
  color: #4a5568;
  text-decoration: none;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
  flex-shrink: 0;
}

.fsrm-eo-social-link svg {
  width: 16px;
  height: 16px;
}

.fsrm-eo-social-link:hover {
  background-color: #1553E4;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ── Botón CTA ── */
.fsrm-eo-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #F85021;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  padding: 11px 20px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 4px 14px rgba(248, 80, 33, 0.3);
  flex-shrink: 0;
}

.fsrm-eo-cta:hover {
  background-color: #d93e15;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248, 80, 33, 0.42);
}

.fsrm-eo-cta-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.22s ease;
}

.fsrm-eo-cta:hover .fsrm-eo-cta-arrow {
  transform: translateX(3px);
}

/* ──────────────────────────────────────────────────────────
   RESPONSIVE — TABLET (≤ 1024px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .fsrm-escuelas-oficiales {
    padding: 60px 0 80px;
  }

  .fsrm-eo-container {
    padding: 0 24px;
  }

  .fsrm-eo-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fsrm-eo-card {
    flex-direction: row;
    min-height: 240px;
  }

  .fsrm-eo-card-imagen-wrap {
    width: 280px;
    height: auto;
    min-height: 240px;
    flex-shrink: 0;
  }

  .fsrm-eo-card-body {
    padding: 22px 24px 20px;
  }

  .fsrm-eo-card-nombre {
    font-size: 20px;
  }
}

/* ──────────────────────────────────────────────────────────
   RESPONSIVE — MÓVIL (≤ 768px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .fsrm-escuelas-oficiales {
    padding: 48px 0 64px;
  }

  .fsrm-eo-container {
    padding: 0 16px;
  }

  .fsrm-eo-header {
    margin-bottom: 40px;
  }

  .fsrm-eo-intro {
    font-size: 15px;
  }

  .fsrm-eo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* En móvil, las cards vuelven a ser verticales */
  .fsrm-eo-card {
    flex-direction: column;
  }

  .fsrm-eo-card-imagen-wrap {
    width: 100%;
    height: 220px;
    min-height: unset;
  }

  .fsrm-eo-card-body {
    padding: 20px 18px 18px;
  }

  .fsrm-eo-card-nombre {
    font-size: 18px;
  }

  .fsrm-eo-card-desc {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .fsrm-eo-card-contacto {
    padding: 12px 14px;
    gap: 8px;
    margin-bottom: 18px;
  }

  .fsrm-eo-contacto-texto {
    font-size: 13px;
  }

  .fsrm-eo-card-footer {
    flex-wrap: wrap;
    gap: 10px;
  }

  .fsrm-eo-cta {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
    order: -1;
  }

  .fsrm-eo-sociales {
    order: 1;
  }

  .fsrm-eo-card-nombre-wrap {
    flex-direction: column;
    gap: 8px;
  }
}

/* ──────────────────────────────────────────────────────────
   RESPONSIVE — MÓVIL PEQUEÑO (≤ 480px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .fsrm-eo-titulo {
    font-size: 30px;
  }

  .fsrm-eo-card-imagen-wrap {
    height: 190px;
  }

  .fsrm-eo-container {
    padding: 0 12px;
  }
}/* End custom CSS */
