@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
  --deepBlack: #0d1221;
  --prussianBlue: #1d2d44;
  --payneGrey: #3e5c76;
  --blueSilverLake: #748CAB;
  --eggShell: #f0ebd8;
  --deepSkyBlue: #008CBA;
  --darkGray: #333333;
  --headerBackground: #0E2954;
  --menuLinkColor: #B4C0D4;
  --heroGradientStart: #001f3f;
  --heroGradientEnd: #003366;
  --heroSubtitleColor: #ADD8E6;
  --highlightYellow: #FFD700;
  --subtituloColor: #E0E0E0;
  --sectionBackground: #1a3a60;
  --mainTextColor: #f0f0f0;
  --secondaryTextColor: #ADD8E6;
  --tertiaryTextColor: #cccccc;
  --imageBorderColor: #008CBA;
  --opinionCardBackground: #0E223D;
  --footerBackground: #0E223D;
  --buttonPrimary: #007bff;
  --buttonPrimaryHover: #0056b3;
  --bubbleBackground: #1d2d44;
  --bubbleBorderHover: #008CBA;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  border: none;
  outline: none;
  transition: .2s linear;
  color: var(--eggShell);
  font-size: 1rem;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--deepBlack);
}

header {
  background-color: var(--headerBackground);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1000;
  height: 100px;
}

.logo-izquierdo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-right: 60px;
}

.logo-izquierdo img {
  height: 5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.logo-mobile {
  display: none;
}

.logo-desktop {
  display: block;
}

.logo-capitt {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  padding: 5px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-capitt img {
  height: 5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.inicio {
  font-size: 0.7rem;
}

nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-left: 60px;
}

.menu-opciones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.menu-opciones li {
  margin-left: 0;
  position: relative;
}

.menu-opciones li a {
  color: var(--menuLinkColor);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 5px 0px;
  display: block;
  transition: color 0.3s ease;
}

.menu-opciones li a:hover {
  color: var(--eggShell);
}

.menu-opciones li a i {
  margin-left: 5px;
  font-size: 0.8rem;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--headerBackground);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 220px;
  z-index: 1000;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

.submenu li {
  margin: 0;
}

.submenu li a {
  color: var(--menuLinkColor);
  padding: 8px 20px;
  display: block;
  white-space: nowrap;
  font-size: 1rem;
}

.submenu li a:hover {
  background-color: var(--prussianBlue);
  color: var(--eggShell)
}

.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--menuLinkColor);
}

.has-submenu:hover .submenu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s;
}

.has-submenu:hover>a i {
  transform: rotate(180deg);
}

.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--menuLinkColor);
}

.fullscreen-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.fullscreen-menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.fullscreen-menu li {
  margin: 25px 0;
}

.fullscreen-menu a {
  color: var(--eggShell);
  font-size: 2rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.fullscreen-menu a:hover {
  color: var(--highlightYellow);
}

.menu-close-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 3rem;
  color: var(--eggShell) !important;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 99999;
}

.menu-close-icon:hover {
  color: var(--deepSkyBlue) !important;
}

.hero {
  background: linear-gradient(to right, rgba(0, 31, 63, 0.85), rgba(0, 51, 102, 0.85));
  color: var(--deepBlack);
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 1;
}

.hero .contenedor {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  background-color: transparent;
}

.nombre_oficina_1 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--heroSubtitleColor);
}

.titulo_principal {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: var(--eggShell);
  font-size: 1.4rem;
}

.titulo_principal span {
  color: var(--eggShell);
}

.titulo_principal .destacar_1 {
  color: var(--highlightYellow);
  font-size: 1.4rem;
}

.destacar_2 {
  color: var(--heroSubtitleColor);
}

.titulo_principal .nombre_oficina_1 {
  margin-top: 1rem;
  color: var(--heroSubtitleColor);
  font-size: 1.4rem;
}

.titulo_principal .nombre_oficina_2 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--heroSubtitleColor);
  display: block;
}

.titulo_principal .nombre_universidad {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--eggShell);
  font-weight: 800;
}

.linea {
  width: 100%;
  max-width: 900px;
  height: 1px;
  background-color: var(--eggShell);
  margin: 0px auto 30px auto;
}

.university {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 1.5rem 0 1.5rem 0;
  filter: brightness(1.2);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.subtitulo {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: var(--subtituloColor);
}

.subtitulo_1 {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--eggShell);
  margin-top: 0.5rem;
  font-weight: bold;
}

.subtitulo_2 {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--eggShell);
}

.inicial_boton {
  background-color: var(--buttonPrimary);
  color: var(--eggShell);
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.inicial_boton:hover {
  background-color: var(--eggShell);
  color: var(--buttonPrimary);
}

.contenedor_contenido {
  background-color: var(--sectionBackground);
  padding: 40px 20px;
  color: var(--mainTextColor);
  margin-bottom: -1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contenedor_contenido .principal {
  max-width: 900px;
  text-align: center;
}

.contenedor_contenido .servicios {
  font-size: 2rem;
  font-weight: 700;
  color: var(--eggShell);
  margin-bottom: 15px;
}

.contenedor_contenido .menbrete {
  font-size: 1.3rem;
  color: var(--secondaryTextColor);
  line-height: 1.6;
}

.seccion_asesoramiento_burbujas {
  background-color: var(--sectionBackground);
  padding: 40px 20px;
  color: var(--mainTextColor);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.seccion_asesoramiento_burbujas .titulo-asesoramiento-burbujas {
  max-width: 900px;
  margin-bottom: 40px;
}

.seccion_asesoramiento_burbujas .titulo-asesoramiento-burbujas h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--eggShell);
  margin-bottom: 15px;
}

.burbujas-contenedor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  width: 100%;
  margin-bottom: 40px;
  padding: 0 15px;
}

.burbuja-servicio {
  background-color: var(--bubbleBackground);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  flex: 1 1 300px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
}

.burbuja-servicio:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  border-color: var(--bubbleBorderHover);
}

.burbuja-servicio img {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(1.2);
}

.burbuja-servicio .pia {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(1.2);
}

.burbuja-servicio .dudas {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(1.2);
}

.burbuja-servicio span {
  font-weight: bold;
  color: var(--deepSkyBlue);
}

.burbuja-servicio h3 {
  font-size: 1.2rem;
  color: var(--mainTextColor);
  margin-bottom: 15px;
  font-weight: 700;
}

.burbuja-servicio p {
  font-size: 0.95rem;
  color: var(--tertiaryTextColor);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
  text-align: justify;
}

.boton-burbuja {
  background-color: var(--deepSkyBlue);
  color: var(--eggShell);
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: auto;
}

.boton-burbuja:hover {
  background-color: var(--buttonPrimaryHover);
  transform: translateY(-2px);
}

.imagen-asesoramiento-lateral-contenedor {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

.imagen-asesoramiento-lateral {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--imageBorderColor);
}

/* --- NUEVA SECCIÓN: Frase Final (como franja) --- */
.frase_final_franja {
  background-color: var(--headerBackground);
  padding: 40px 5%;
  text-align: center;
  color: var(--eggShell);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.frase_final_franja p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--eggShell);
}

.opinion-section {
  background-color: rgba(13, 18, 33, 0.6);
  padding: 60px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.opinion-card {
  background-color: var(--opinionCardBackground);
  color: var(--eggShell);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid #1a3c5a;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

.opinion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
  border-color: var(--bubbleBorderHover);
}

.opinion-card h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--eggShell);
}

.opinion-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--tertiaryTextColor);
}

.boton-iniciar-sesion-opinion {
  background-color: var(--buttonPrimary);
  color: var(--eggShell);
  border: none;
  padding: 15px 25px;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.boton-iniciar-sesion-opinion:hover {
  background-color: var(--buttonPrimaryHover);
}

.contenedor_footer {
  background-color: var(--footerBackground);
  color: var(--eggShell);
  padding: 30px 20px;
  text-align: center;
}

.contenedor_footer .titulo_footer {
  font-size: 1.3rem;
  margin-bottom: 15px;
  line-height: 1.4;
  color: var(--eggShell);
}

.contenedor_footer .info_contacto {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--tertiaryTextColor);
}

.contenedor_footer .logo_footer {
  margin-bottom: 20px;
}

.contenedor_footer .logo_footer img {
  max-width: 80px;
  height: auto;
}

.contenedor_footer .linea_footer {
  width: 80%;
  height: 1px;
  background-color: var(--deepSkyBlue);
  margin: 20px auto;
}

.contenedor_footer .copyright {
  font-size: 0.8rem;
  color: var(--deepSkyBlue);
}

.modal-pia {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

body.modal-open {
  overflow-y: hidden;
  position: fixed;
  width: 100%;
}

.modal-content-pia {
  background-color: var(--prussianBlue);
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
  transition: padding-top 0.3s ease;
}

.modal-content-pia.with-image {
  padding-top: 80px;
}

.modal-pia-image {
  display: none;
  position: absolute;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: 25%;
  height: auto;
  border-radius: 50%;
  object-fit: contain;
}

.close-button-pia {
  color: var(--eggShell);
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button-pia:hover,
.close-button-pia:focus {
  color: var(--deepSkyBlue);
}

.modal-message-text {
  font-size: 1rem;
  color: var(--eggShell);
  margin-bottom: 20px;
}

.modal-action-button-pia {
  background-color: var(--deepSkyBlue);
  color: var(--eggShell);
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.modal-action-button-pia:hover {
  background-color: var(--buttonPrimaryHover);
}

.inicial_boton,
.boton-burbuja,
.boton-iniciar-sesion-opinion,
.modal-action-button-pia {
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.inicial_boton:hover,
.boton-burbuja:hover,
.boton-iniciar-sesion-opinion:hover,
.modal-action-button-pia:hover {
  box-shadow: 0 0 15px rgba(0, 140, 186, 0.6);
  transform: translateY(-2px);
}

.inicial_boton:focus,
.boton-burbuja:focus,
.boton-iniciar-sesion-opinion:focus,
.modal-action-button-pia:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 140, 186, 0.4), 0 0 15px rgba(0, 140, 186, 0.6);
}

@media(min-width: 1025px) {
  header {
    padding: 5px 2% !important;
    /* Optimización de espacio lateral */
    height: 85px !important;
  }

  .logo-izquierdo {
    padding-right: 20px !important;
  }

  nav {
    padding-left: 20px !important;
  }

  .logo-izquierdo img,
  .logo-capitt img {
    height: 3.5rem !important;
    /* Reducción para acomodar zoom */
  }

  .logo-desktop {
    display: block !important;
  }

  .logo-mobile {
    display: none !important;
  }

  .hero {
    padding: 40px 15px !important;
    min-height: 500px !important;
  }

  .menu-opciones {
    gap: 15px !important;
    /* Reducción de gap entre elementos */
  }

  .menu-opciones li a {
    color: var(--menuLinkColor);
    text-decoration: none;
    font-size: 0.75rem;
    padding: 5px 0px;
    display: block;
    transition: color 0.3s ease;
  }

  .hero .contenedor {
    padding: 0 10px;
  }

  .titulo_principal {
    font-size: 1.4rem !important;
    line-height: 1.3;
  }

  .titulo_principal .destacar_1 {
    font-size: 1.4rem !important;
  }

  .titulo_principal .nombre_oficina_2 {
    font-size: 1.2rem !important;
  }

  .titulo_principal .nombre_universidad {
    font-size: 1.4rem !important;
  }

  .university {
    width: 100%;
    max-width: 425px;
    height: auto;
  }

  .subtitulo {
    font-size: 1rem !important;
    margin-bottom: 0rem;
    line-height: 1.4;
  }

  .subtitulo_1,
  .subtitulo_2 {
    font-size: 1rem !important;
    line-height: 1.4;
  }

  .nombre_oficina_1 {
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .seccion_asesoramiento_burbujas .titulo-asesoramiento-burbujas h2 {
    font-size: 1.4rem !important;
  }

  .burbuja-servicio h3 {
    font-size: 1rem;
  }

  .frase_final_franja p {
    font-size: 1.2rem;
  }

  .opinion-card h3 {
    font-size: 1.2rem;
  }

  .opinion-card p {
    font-size: 1rem;
  }

  .contenedor_footer {
    padding: 30px 15px !important;
  }

  .contenedor_footer .titulo_footer {
    font-size: 1.1rem !important;
  }

  .contenedor_footer .info_contacto {
    font-size: 0.95rem !important;
  }

  .contenedor_footer .logo_footer img {
    max-width: 60px;
  }

  .contenedor_footer .copyright {
    font-size: 0.8rem;
  }
}

/* --- Soporte preventivo para Zoom (1150px) --- */
@media (max-width: 1150px) {
  nav .menu-opciones {
    display: none !important;
  }

  .menu-icon {
    display: block !important;
  }

  /* Asegurar que el menú responsive funcione desde aquí */
  .fullscreen-menu {
    display: none;
    /* Se activa por JS */
  }
}

@media(max-width: 1024px) {
  header {
    padding: 5px 3% !important;
    height: 85px !important;
  }

  .logo-izquierdo {
    padding-right: 20px !important;
  }

  nav {
    padding-left: 20px !important;
  }

  .logo-izquierdo img,
  .logo-capitt img {
    height: 3.5rem !important;
  }

  .logo-desktop {
    display: none !important;
  }

  .logo-mobile {
    display: block !important;
  }

  nav .menu-opciones {
    display: none !important;
  }
  
  .fullscreen-menu a {
    font-size: 1.5rem;
  }

  .menu-close-icon {
    top: 15px;
    right: 10px;
    font-size: 3rem;
  }

  .menu-icon {
    display: block !important;
  }

  .hero {
    padding: 40px 15px !important;
    min-height: 500px !important;
  }

  .hero .contenedor {
    padding: 0 10px;
  }

  .titulo_principal {
    font-size: 1.2rem !important;
    line-height: 1.3;
  }

  .titulo_principal .destacar_1 {
    font-size: 1.2rem !important;
  }

  .titulo_principal .nombre_oficina_2 {
    font-size: 1rem !important;
  }

  .titulo_principal .nombre_universidad {
    font-size: 1.2rem !important;
  }

  .university {
    width: 100%;
    max-width: 400px;
    height: auto;
  }

  .subtitulo {
    font-size: 1rem !important;
    margin-bottom: 0rem;
    line-height: 1.4;
  }

  .subtitulo_1,
  .subtitulo_2 {
    font-size: 0.95rem !important;
    line-height: 1.4;
  }

  .nombre_oficina_1 {
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .hero br {
    display: none;
  }

  .seccion_asesoramiento_burbujas .titulo-asesoramiento-burbujas h2 {
    font-size: 1.2rem !important;
  }

  .burbuja-servicio h3 {
    font-size: 1rem;
  }

  .frase_final_franja p {
    font-size: 1.1rem;
  }

  .opinion-card h3 {
    font-size: 1.1rem;
  }

  .opinion-card p {
    font-size: 0.9rem;
  }

  .contenedor_footer {
    padding: 30px 15px !important;
  }

  .contenedor_footer .titulo_footer {
    font-size: 1.1rem !important;
  }

  .contenedor_footer .info_contacto {
    font-size: 0.95rem !important;
  }

  .contenedor_footer .logo_footer img {
    max-width: 60px;
  }

  .contenedor_footer .copyright {
    font-size: 0.8rem;
  }
}

@media(max-width: 768px) {
  header {
    padding: 5px 3% !important;
    height: 85px !important;
  }

  .logo-izquierdo {
    padding-right: 20px !important;
  }

  nav {
    padding-left: 20px !important;
  }

  .logo-izquierdo img,
  .logo-capitt img {
    height: 3.5rem !important;
  }

  .logo-desktop {
    display: none !important;
  }

  .logo-mobile {
    display: block !important;
  }

  nav .menu-opciones {
    display: none !important;
  }

  .fullscreen-menu a {
    font-size: 1.5rem;
  }

  .menu-close-icon {
    top: 15px;
    right: 10px;
    font-size: 3rem;
  }

  .menu-icon {
    display: block !important;
  }

  .hero {
    padding: 40px 15px !important;
    min-height: 500px !important;
  }

  .hero .contenedor {
    padding: 0 10px;
  }

  .titulo_principal {
    font-size: 1.2rem !important;
    line-height: 1.3;
  }

  .titulo_principal .destacar_1 {
    font-size: 1.2rem !important;
  }

  .titulo_principal .nombre_oficina_2 {
    font-size: 1rem !important;
  }

  .titulo_principal .nombre_universidad {
    font-size: 1.2rem !important;
  }

  .university {
    width: 100%;
    max-width: 350px;
    height: auto;
  }

  .subtitulo {
    font-size: 1rem !important;
    margin-bottom: 0rem;
    line-height: 1.4;
  }

  .subtitulo_1,
  .subtitulo_2 {
    font-size: 0.95rem !important;
    line-height: 1.4;
  }

  .nombre_oficina_1 {
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .hero br {
    display: none;
  }

  .seccion_asesoramiento_burbujas .titulo-asesoramiento-burbujas h2 {
    font-size: 1.2rem !important;
  }

  .burbuja-servicio h3 {
    font-size: 1rem;
  }

  .frase_final_franja p {
    font-size: 1.1rem;
  }

  .opinion-card h3 {
    font-size: 1.1rem;
  }

  .opinion-card p {
    font-size: 0.9rem;
  }

  .contenedor_footer {
    padding: 30px 15px !important;
  }

  .contenedor_footer .titulo_footer {
    font-size: 1.1rem !important;
  }

  .contenedor_footer .info_contacto {
    font-size: 0.95rem !important;
  }

  .contenedor_footer .logo_footer img {
    max-width: 60px;
  }

  .contenedor_footer .copyright {
    font-size: 0.8rem;
  }
}

@media(max-width: 480px) {
  header {
    padding: 5px 3% !important;
    height: 85px !important;
  }

  .logo-izquierdo {
    padding-right: 20px !important;
  }

  nav {
    padding-left: 20px !important;
  }

  .logo-izquierdo img,
  .logo-capitt img {
    height: 3.5rem !important;
  }

  .logo-desktop {
    display: none !important;
  }

  .logo-mobile {
    display: block !important;
  }

  nav .menu-opciones {
    display: none !important;
  }

  .fullscreen-menu a {
    font-size: 1.5rem;
  }

  .menu-close-icon {
    top: 15px;
    right: 10px;
    font-size: 3rem;
  }

  .menu-icon {
    display: block !important;
  }

  .hero {
    padding: 40px 15px !important;
    min-height: 500px !important;
  }

  .hero .contenedor {
    padding: 0 10px;
  }

  .titulo_principal {
    font-size: 1.2rem !important;
    line-height: 1.3;
  }

  .titulo_principal .destacar_1 {
    font-size: 1.2rem !important;
  }

  .titulo_principal .nombre_oficina_2 {
    font-size: 1rem !important;
  }

  .titulo_principal .nombre_universidad {
    font-size: 1.2rem !important;
  }

  .university {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .subtitulo {
    font-size: 1rem !important;
    margin-bottom: 0rem;
    line-height: 1.4;
  }

  .subtitulo_1,
  .subtitulo_2 {
    font-size: 0.95rem !important;
    line-height: 1.4;
  }

  .nombre_oficina_1 {
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .seccion_asesoramiento_burbujas .titulo-asesoramiento-burbujas h2 {
    font-size: 1.2rem !important;
  }

  .burbuja-servicio h3 {
    font-size: 1rem;
  }

  .frase_final_franja p {
    font-size: 1.1rem;
  }

  .opinion-card h3 {
    font-size: 1.1rem;
  }

  .opinion-card p {
    font-size: 0.9rem;
  }

  .contenedor_footer {
    padding: 30px 15px !important;
  }

  .contenedor_footer .titulo_footer {
    font-size: 1.1rem !important;
  }

  .contenedor_footer .info_contacto {
    font-size: 0.95rem !important;
  }

  .contenedor_footer .logo_footer img {
    max-width: 60px;
  }

  .contenedor_footer .copyright {
    font-size: 0.8rem;
  }
}