* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100% !important;
  overflow-x: hidden !important;
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

body {
  background-color: #000;
  margin: 0;
}
/*
color de fondo:  #033860 AZUL OSCURO
color de texto:  #d1ff4f amarillo ------------#08b6fd
color de texto hover: #c5d7ff celestito -------------C9D1D9
color de fondo en contacto:  #E6D3A3
grizón: #272727

| Color          | Nombre sugerido  | HEX       | Uso recomendado                               |
| -------------- | ---------------- | --------- | --------------------------------------------- |
| ⚡ Celeste      | Primario         | `#08B6FD` | Identidad visual, íconos, acentos principales |
| ⚫ Negro        | Fondo base       | `#000000` | Fondo, header, footers                        |
| ⚪ Blanco       | Texto principal  | `#FFFFFF` | Texto principal, logos sobre fondo oscuro     |
| 🌫 Gris claro  | Neutro           | `#C9D1D9` | Texto secundario, bordes, íconos secundarios  |
| 🔹 Azul oscuro | Contraste/acento | `#0A2942` | Hover, sombreado, secciones destacadas        |


*/
/*intro*/
#logo-intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeOut 1s forwards;
  animation-delay: 3s;
}

#intro-logo {
  width: 200px;
  animation: heartbeat 1.5s ease-in-out infinite, fadeOut 1s forwards 3s;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* INICIA Barra de navegación */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #000;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 10px 20px;
}

.logotipo {
  display: block;
  width: 183px;
  height: 55px;
}
.top-nav {
  display: flex;
  align-items: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.navlist {
  text-align: center;
  align-items: center;
  padding: 1em 1em;
  margin: 1em;
  display: flex;
  color: #08b6fd;
  float: right;
  font-weight: 500;
  font-size: large;
  border: solid 2px #000;
  border-top: none;
  border-bottom: none;
  text-decoration: none;
}

.navlist:hover {
  color: #c9d1d9;
  border: solid 2px #000;
  border-top: none;
  border-bottom: none;
}

.navlist-contacto {
  text-align: center;
  padding: 0.5em 1em;
  margin: auto 1em;
  display: inline;
  float: right;
  color: #000;
  background: linear-gradient(45deg, #08b6fd, #00d4ff);
  border: 1px solid rgba(8, 184, 253, 0.3);
  border-radius: 0.6em;
  font-size: large;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0px 4px 12px rgba(8, 184, 253, 0.3);
}

.navlist-contacto:hover {
  color: #000;
  background: linear-gradient(45deg, #00d4ff, #08b6fd);
  box-shadow: 0px 6px 16px rgba(8, 184, 253, 0.4);
}

.nav-item {
  display: inline;
  list-style-type: none;
}

.hamburger-menu {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

@media (max-width: 767px) {
  .hamburger-menu {
    display: block;
  }

  .top-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #000;
    position: fixed;
    top: 60px;
    left: 0;
    transition: transform 0.3s ease-in-out;
    transform: translateY(-100%);
  }

  .top-nav.show {
    display: flex;
    transform: translateY(0);
    padding: 0;
    margin-top: 0;
  }

  .nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    width: 100%;
    list-style: none;
    font-size: 1.2em;
    color: #08b6fd;
    transition: color 0.3s ease;
  }

  .nav-item a.navlist {
    display: inline-block;
    width: auto;
    text-align: center;
    padding: 10px 20px;
    color: #08b6fd;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .nav-item a.navlist:hover {
    color: #c9d1d9;
  }

  .navlist-contacto {
    display: inline-block;
    width: auto;
    text-align: center;
    margin: 0;
    padding: 10px 20px;
    background-color: #08b6fd;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }

  .logotipo {
    width: 183px;
    height: 55px;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    background-color: #000;
  }
}
@media (max-height: 400px) {
  .nav-item {
    margin-top: 0px;
    margin-bottom: 0px;
  }
}
@media (min-width: 768px) and (max-width: 1920px) {
  .logotipo {
    width: 183px;
    height: 55px;
  }
  .navlist {
    padding: 1em 0.5em;
    margin: 0.5em;
  }
}
@media (min-width: 1200px) {
  .navbar {
    padding-left: 8vw;
    padding-right: 8vw;
  }
}
@media (min-width: 1921px) {
  .logotipo {
    width: 183px;
    height: 55px;
  }
  .navlist {
    padding: 1em 1em;
    margin: 1em;
    font-size: xx-large;
  }
  .navlist-contacto {
    font-size: xx-large;
  }
}
/* CIERRE barra de navegación*/

/* INICIA SCROLLBAR */

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #555;
}

::-webkit-scrollbar-thumb:hover {
  background: #333;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #555 #1a1a1a;
}

/* cierra scrollbar */

/*inicia css modulo informativo*/

.m-i-seccion-contenido {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Estilos específicos para la primera sección con imagen */
.m-i-seccion-contenido:first-of-type + .m-i-seccion-contenido {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.m-i-seccion-contenido:first-of-type
  + .m-i-seccion-contenido
  .m-i-imagen-texto-contenido {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 100%;
  z-index: 1;
}

.m-i-seccion-contenido:first-of-type
  + .m-i-seccion-contenido
  .m-i-imagen-texto-contenido
  img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  max-width: none;
}

.m-i-seccion-contenido:first-of-type
  + .m-i-seccion-contenido
  .m-i-texto-contenido {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 10px;
  color: white;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.m-i-seccion-contenido:first-of-type
  + .m-i-seccion-contenido
  .m-i-texto-contenido
  h2 {
  color: #08b6fd;
  margin-bottom: 15px;
}

.m-i-seccion-contenido:first-of-type
  + .m-i-seccion-contenido
  .m-i-texto-contenido
  p {
  color: white;
  margin: 0;
}

.m-i-seccion-contenido h1 {
  text-align: center;
  color: #08b6fd;
  display: block;
  padding: 2em 0em 0em 0em;
}
.m-i-texto-contenido {
  flex: 1;
  color: #c0c0c0;
  font-size: large;
  font-weight: 600;
  text-decoration: none;
  text-align: left;
  max-width: 500px;
}

.m-i-texto-contenido h2 {
  color: #08b6fd;
}

.proyecto-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.proyecto-link:hover {
  color: #00d4ff;
}

.subrayado-celeste {
  /* Subrayado removido */
}

.m-i-imagen-texto-contenido img {
  max-width: 100%;
  height: auto;
  max-width: 500px;
  margin: 0;
  border-radius: 1vw;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
}

/* Estilos específicos para la segunda sección (primera imagen) */
.m-i-seccion-contenido:nth-child(3) {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  overflow: hidden;
}

.m-i-seccion-contenido:nth-child(3) .m-i-imagen-texto-contenido {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 100%;
  z-index: 1;
}

.m-i-seccion-contenido:nth-child(3) .m-i-imagen-texto-contenido img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.m-i-seccion-contenido:nth-child(3) .m-i-texto-contenido {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.8);
  padding: 40px;
  border-radius: 15px;
  color: white;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.m-i-seccion-contenido:nth-child(3) .m-i-texto-contenido h2 {
  color: #08b6fd;
  margin-bottom: 20px;
  font-size: 2.2em;
}

.m-i-seccion-contenido:nth-child(3) .m-i-texto-contenido p {
  color: white;
  margin: 0;
  font-size: 1.2em;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .m-i-seccion-contenido {
    flex-direction: column;
    padding: 3em 0em 0em 0em;
  }

  .m-i-imagen-texto-contenido {
    order: 2;
  }

  .m-i-texto-contenido {
    order: 1;
    padding: 5vw;
  }
}

/*cierra css modulo informativo*/
/* INICIA CSS DE CONTACTO */

.form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #000;
}

.titulo-de-contacto {
  text-align: center;
  margin-top: 10em;
  margin-bottom: 4em;
  color: #08b6fd;
}

/* FIN CSS DE CONTACTO */

.contact-form {
  width: 500px;
  max-width: 100%;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 100px;
  padding: 20px;
  box-shadow: 0 15px 30px rgba(8, 184, 253, 0.2), 0 8px 16px rgba(0, 0, 0, 0.3);
  position: relative;
  font-family: "Poppins", sans-serif;
  border: 2px solid rgba(8, 184, 253, 0.4);
  border-radius: 2em;
}

.title-form {
  text-align: center;
  margin-top: 0;
  margin-bottom: 2em;
  color: #00d4ff;
  font-size: 1.8em;
  font-weight: 700;
}

.input-form,
.label-form,
.submit-form {
  display: block;
  width: 100%;
  font-size: 1.3em;
}

.input-form {
  padding: 20px;
  background: rgba(82, 82, 82, 0.719);
  border: 1px solid rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
  color: #c9d1d9;
  border-radius: 0.8em;
}

.input-form:focus {
  outline: 1px solid rgba(0, 0, 0, 0.7);
}

.input-form:focus + .label-form {
  margin-top: -138px;
}

.label-form {
  padding-left: 15px;
  position: absolute;
  margin-top: -85px;
  z-index: -20;
  color: #c9d1d9;
  transition: all 0.2s;
}

textarea {
  width: 100%;
  height: 120px;
  padding: 15px;
  margin-bottom: 15px;
  outline: none;
  resize: none;
  font-size: large;
  border: 1px solid rgba(0, 0, 0, 0.3);
  font-family: "Poppins", sans-serif;
  background-color: #505050;
  color: #dff8eb;
  border-radius: 0.8em;
}

textarea::placeholder {
  color: #08b6fd;
  opacity: 0.8;
}

.submit-form {
  background: linear-gradient(45deg, #08b6fd, #00d4ff);
  color: #000;
  padding: 15px 30px;
  cursor: pointer;
  border: none;
  font-family: "Poppins", sans-serif;
  border-radius: 1em;
  font-size: 1.2em;
  font-weight: 600;
  box-shadow: 0px 8px 20px rgba(8, 184, 253, 0.3);
  transition: all 0.3s ease;
}

.submit-form:hover {
  background: linear-gradient(45deg, #00d4ff, #08b6fd);
  transform: translateY(-2px);
  box-shadow: 0px 12px 25px rgba(8, 184, 253, 0.5);
}

.pinup {
  margin-top: -138px;
}

/* FIN CSS DE CONTACTO */

/* INICIO CSS servicios */

.contenedor-cajas {
  display: flex;
  justify-content: space-around;
  margin: 20em;
  margin-top: 10em;
}

.caja {
  background: linear-gradient(135deg, #0a2942 0%, #0d3a5a 50%, #0a2942 100%);
  padding: 1em;
  width: 32%;
  text-align: center;
  display: flex;
  flex-direction: column;
  border-radius: 2em;
  border: 1px solid rgba(8, 184, 253, 0.3);
  box-shadow: 0 15px 30px rgba(8, 184, 253, 0.2), 0 8px 16px rgba(0, 0, 0, 0.3);
  color: #dff8eb;
  margin: 2.5em;
  position: relative;
}

.caja h1 {
  font-size: 2em;
  text-align: center;
  margin: 0.2em;
  color: #00d4ff;
}

.caja ul {
  list-style-type: circle solid;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.caja ul li {
  margin: 1em 2.5em 1em 2.5em;
  font-size: large;
  font-weight: 600;
  text-decoration: none;
  text-align: left;
  padding-left: 0.5em;
}

.caja ul li a {
  color: #dff8eb;
  text-decoration: underline;
  font-weight: 400;
}

.boton-contacto {
  display: inline-block;
  padding: 1em 2em;
  background: linear-gradient(45deg, #08b6fd, #00d4ff);
  color: #000;
  text-decoration: none;
  border-radius: 1em;
  box-shadow: 0px 8px 20px rgba(8, 184, 253, 0.3);
  margin-top: auto;
  font-size: x-large;
  font-weight: 700;
}

/*inicio de responsive movil de servicios*/
@media (max-width: 768px) {
  .contenedor-cajas {
    flex-direction: column;
    align-items: center;
    margin: 2em;
    margin-top: 5em;
  }

  .caja {
    width: 300px;
  }

  .caja h1 {
    font-size: 2em;
    text-align: center;
    margin: 0.2em;
  }

  .caja ul li {
    font-size: medium;
  }

  .boton-contacto-central {
    padding: 0.8em 2em;
    font-size: 1.3em;
  }

  .divisor-horizontal {
    width: 90%;
    margin: 1.5em auto;
  }

  .divisor-panel {
    width: 80%;
    margin: 0.8em auto;
  }

  .divisor-redes {
    width: 80%;
    margin: 1.5em auto;
  }

  .redes-sociales {
    gap: 0.8em;
    max-width: 250px;
    margin: 0 auto;
  }

  .red-social {
    width: 45px;
    height: 45px;
    padding: 8px;
  }

  .red-social img {
    width: 25px;
    height: 25px;
  }
}

/* Responsive para tablets */
@media (min-width: 769px) and (max-width: 1023px) {
  .contenedor-cajas {
    flex-wrap: wrap;
    justify-content: center;
    margin: 2em;
    margin-top: 7em;
  }

  .caja {
    width: 300px;
    margin: 1em;
  }

  .caja h1 {
    font-size: 2em;
    text-align: center;
    margin: 0.2em;
  }
}

@media (min-width: 1024px) and (max-width: 2047px) {
  .contenedor-cajas {
    flex-wrap: wrap;
    justify-content: center;
    margin: 2em;
    margin-top: 10em;
  }
  .caja {
    width: 370px;
    margin: 1em;
  }
}
@media (min-width: 2048px) {
  .contenedor-cajas {
    flex-wrap: wrap;
    justify-content: center;
    margin: 2em;
    margin-top: 12em;
  }
  .caja {
    width: 470px;
  }
}

/* Divisor horizontal */
.divisor-horizontal {
  width: 80%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(8, 184, 253, 0.6) 20%,
    rgba(8, 184, 253, 0.8) 50%,
    rgba(8, 184, 253, 0.6) 80%,
    transparent 100%
  );
  margin: 2em auto;
  border-radius: 1px;
  box-shadow: 0 0 10px rgba(8, 184, 253, 0.3);
}

/* Divisor de panel */
.divisor-panel {
  width: 75%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(8, 184, 253, 0.4) 30%,
    rgba(8, 184, 253, 0.6) 50%,
    rgba(8, 184, 253, 0.4) 70%,
    transparent 100%
  );
  margin: 1em auto;
  border-radius: 0.5px;
  box-shadow: 0 0 5px rgba(8, 184, 253, 0.2);
}

/* Botón central de contacto */
.boton-central {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3em 0;
  width: 100%;
}

.boton-contacto-central {
  display: inline-block;
  padding: 0.8em 1.5em;
  background: linear-gradient(45deg, #08b6fd, #00d4ff);
  color: #000;
  text-decoration: none;
  border-radius: 1em;
  box-shadow: 0px 12px 30px rgba(8, 184, 253, 0.4);
  font-size: 1.5em;
  font-weight: 700;
  text-align: center;
  border: 2px solid rgba(8, 184, 253, 0.3);
}

/* Sección de redes sociales en contacto */
.titulo-de-contacto {
  text-align: center;
  margin-top: 10em;
  margin-bottom: 4em;
  color: #08b6fd;
}

.titulo-de-contacto h1 {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 1em;
  color: #00d4ff;
}

.divisor-redes {
  width: 60%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(8, 184, 253, 0.6) 20%,
    rgba(8, 184, 253, 0.8) 50%,
    rgba(8, 184, 253, 0.6) 80%,
    transparent 100%
  );
  margin: 2em auto;
  border-radius: 1px;
  box-shadow: 0 0 10px rgba(8, 184, 253, 0.3);
}

.redes-sociales {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5em;
  margin-top: 2em;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.red-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
  padding: 10px;
}

.red-social:hover {
  transform: scale(1.2);
}

.red-social img {
  width: 30px;
  height: 30px;
  filter: brightness(1.5) contrast(1.2);
}

/* FIN CSS servicios */

/* inicia css footer */

footer {
  width: 100%;
  padding: 10em 5em 1em 5em;
}

.contenedor-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lista-footer {
  display: flex;
  flex-direction: column;
  margin: 10px 0px;
}

.footer-link {
  color: #cdcdcd;
  font-weight: 400;
  font-size: medium;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #dff8eb;
}

.derechos {
  color: #cdcdcd;
  font-size: medium;
  font-weight: 400;
  text-align: center;
  margin-top: 0;
}

.derechos a {
  color: #08b6fd;
  font-style: italic;
  text-decoration: none;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-right: 50px;
}
.social-icons img {
  width: 30px;
  height: auto;
  transition: transform 0.3s ease;
}
.social-icons a:hover img {
  transform: scale(1.1);
}

@media (max-width: 767px) {
  footer {
    padding: 10em 1.5em 0.5em 1.5em;
  }
  .contenedor-footer {
    display: inline;
  }
  .social-icons {
    margin-right: 0px;
    margin-top: 20px;
    gap: 10px;
    justify-content: center;
  }
  .social-icons img {
    margin: 10px;
  }
  .lista-footer {
    margin: 10px 10px;
  }
  .footer-link:hover {
    color: #c0c0c0;
  }
  .derechos {
    margin-top: 15px;
  }
  .derechos a {
    color: #08b6fd;
    font-style: italic;
    text-decoration: none;
  }
}
/* cierra css footer */

/* Estilos para la sección de portada */
.m-i-seccion-portada {
  position: relative;
  width: 85%;
  height: calc(98vw * 0.4);
  margin: 120px auto 50px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #08b8fd33;
}

.m-i-imagen-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  border-radius: 14px;
  overflow: hidden;
}

.m-i-imagen-fondo img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: filter 0.3s;
}

.m-i-texto-portada {
  position: relative;
  z-index: 2;
  padding: clamp(30px, 4vw, 60px);
  border-radius: 20px;
  color: white;
  text-align: left;
  max-width: min(900px, 90vw);
}

.m-i-texto-portada h1 {
  color: #08b6fd;
  margin-bottom: clamp(15px, 2vw, 30px);
  font-size: clamp(2.2em, 5.5vw, 3.5em);
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.m-i-texto-portada h2 {
  color: #08b6fd;
  margin-bottom: clamp(10px, 1.5vw, 25px);
  font-size: clamp(1.5em, 4vw, 2.5em);
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.m-i-texto-portada p {
  color: white;
  margin: 0;
  font-size: clamp(1.2em, 3vw, 1.8em);
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Textos responsive para las secciones de contenido */
.m-i-texto-contenido {
  padding: clamp(20px, 3vw, 40px);
  max-width: min(600px, 85vw);
}

.m-i-texto-contenido h2 {
  color: #08b6fd;
  margin-bottom: clamp(10px, 1.5vw, 20px);
  font-size: clamp(1.3em, 3.5vw, 2.2em);
  font-weight: 700;
}

.m-i-texto-contenido p {
  color: white;
  margin: 0;
  font-size: clamp(0.9em, 2.2vw, 1.2em);
  line-height: 1.6;
  font-weight: 500;
}

/* Media queries para ajustes específicos */
@media (max-width: 768px) {
  .m-i-texto-portada {
    padding: 25px;
    max-width: 95vw;
  }

  .m-i-texto-contenido {
    padding: 20px;
    max-width: 95vw;
  }
}

@media (min-width: 1920px) {
  .m-i-texto-portada h1 {
    font-size: 4.5em;
  }

  .m-i-texto-portada h2 {
    font-size: 3.8em;
  }

  .m-i-texto-portada p {
    font-size: 2em;
  }

  .m-i-texto-contenido h2 {
    font-size: 2.5em;
  }

  .m-i-texto-contenido p {
    font-size: 1.4em;
  }
}

@media (min-width: 2560px) {
  .m-i-texto-portada h1 {
    font-size: 5.5em;
  }

  .m-i-texto-portada h2 {
    font-size: 4.5em;
  }

  .m-i-texto-portada p {
    font-size: 2.4em;
  }

  .m-i-texto-contenido h2 {
    font-size: 3em;
  }

  .m-i-texto-contenido p {
    font-size: 1.6em;
  }
}

@media (max-width: 600px) {
  .m-i-seccion-portada {
    height: 140vw;
    min-height: 440px;
    max-height: 110vh;
  }
  .img-horizontal {
    display: none;
  }
  .img-vertical {
    display: block;
  }
  .m-i-seccion-contenido .m-i-imagen-texto-contenido {
    margin-top: 18px;
    margin-bottom: 18px;
  }
}

/* Efecto de sobresalir para las imágenes de las secciones de contenido */
.m-i-seccion-contenido .m-i-imagen-texto-contenido {
  border-radius: 14px;
  border: none;
  box-shadow: 0 20px 40px rgba(8, 184, 253, 0.3), 0 10px 20px rgba(0, 0, 0, 0.2),
    0 5px 10px rgba(0, 0, 0, 0.1), inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  transform: translateY(-20px) rotateX(8deg) scale(1.03);
  transition: all 0.4s ease;
  perspective: 1000px;
}

.m-i-seccion-contenido .m-i-imagen-texto-contenido:hover {
  transform: translateY(-30px) rotateX(12deg) scale(1.06);
  box-shadow: 0 30px 60px rgba(8, 184, 253, 0.4), 0 15px 30px rgba(0, 0, 0, 0.3),
    0 8px 16px rgba(0, 0, 0, 0.2), inset 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.m-i-seccion-contenido .m-i-imagen-texto-contenido img {
  border-radius: 14px;
  display: block;
  width: 100%;
  height: auto;
}

.img-vertical {
  display: none;
}
.img-horizontal {
  display: block;
}

@media (max-width: 600px) {
  .img-horizontal {
    display: none;
  }
  .img-vertical {
    display: block;
  }
}

/* Estilos para mensajes de EmailJS */
.success-message {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  animation: slideIn 0.5s ease-out;
}

.error-message {
  background: linear-gradient(135deg, #f44336, #d32f2f);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-message p,
.error-message p {
  margin: 0;
  font-weight: 500;
  font-size: 16px;
}

/* Estilos para el botón de envío cuando está deshabilitado */
.submit-form:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background: linear-gradient(135deg, #666, #555);
}

/* Estilos para reCAPTCHA */
.recaptcha-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
  padding: 10px;
}

.g-recaptcha {
  transform: scale(0.9);
  transform-origin: center;
}

@media (max-width: 768px) {
  .g-recaptcha {
    transform: scale(0.8);
  }
}
