* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
/* ------------------------ */
/*FUENTES PERSONALIZADAS */
/* ------------------------ */
@font-face {
  font-family: "Poppins";
  src: url(../assets_x/font/Poppins/Poppins-Bold.ttf);
  font-weight: bold;
  font-style: bold;
}
@font-face {
  font-family: "Poppins";
  src: url(../assets_x/font/Poppins/Poppins-Thin.ttf);
  font-weight: 100;
  font-style: lighter;
}
@font-face {
  font-family: "Poppins";
  src: url(../assets_x/font/Poppins/Poppins-Regular.ttf);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Bimbo";
  src: url(../assets_x/font/Bimbo/BimboWhiteboardTrial.ttf);
  font-weight: bold;
  font-style: normal;
}
/* ------------------------------------------------------------------------------------- */
/* ------------------------ */
/* ★ ESTILO DE TIPOGRAFIAS ★ */
/* ------------------------ */
.bimbo {
  font-family: "Bimbo";
}

.titulo {
  font-size: 24px;
  font-family: "Poppins";
}
.subtitulo {
  font-size: 16px;
  font-family: "Poppins";
}
.parrafo {
  font-size: 14px;
  font-family: "Poppins";
}

/* ★ PESOS DE TIPOGRAFIAS ★ */
.bold {
  font-weight: bold;
}

.light {
  font-weight: lighter;
}

.normal {
  font-weight: normal;
}

/* ★ COLORES ★ */
.primary01 {
  color: #340773;
}

.primary02 {
  color: #583bbf;
}

.secundary03 {
  color: #d96690;
}

.secundary04 {
  color: white;
}

/* ------------------------ */
/* ★ HEADER ★ */
/* ------------------------ */
.navbar .container-fluid {
  padding-left: 32px;
  padding-right: 32px;
}

/*  LOGO  */
.logo {
  width: 140px !important;
  height: auto !important;
}

/*  MENU HAMBURGUESA  */
.navbar-toggler {
  border: none !important;
  box-shadow: none !important;
  padding: 4px 8px;
}

.navbar-toggler-icon {
  width: 20px;
  height: 20px;
}

.navbar-toggler:focus {
  outline: none !important;
  box-shadow: none !important;
}

/*  NAVBARLINKS FOOTER  */
.navbarlinks1 {
  font-family: "Poppins";
  font-weight: normal;
  font-size: 14px;
  color: #340773;
  text-decoration: none;
  transition: all 0.3s linear;
}

.navbarlinks1:hover {
  color: #d96690;
}

.navbarlinkseleccion1 {
  font-family: "Poppins";
  font-weight: bold;
  font-size: 14px;
  color: #340773;
  text-decoration: none;
  transition: all 0.3s linear;
}

.navbarlinkseleccion1:hover {
  color: #d96690;
}

/* ------------------------ */
/* FOOTER */
/* ------------------------ */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #340773;
  text-align: center;
  padding-top: 20px;
}

.star {
  width: 20px;
  height: 20px;
}

.footernavbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.footerp {
  font-family: "Poppins";
  font-weight: normal;
  font-size: 14px;
  color: white;
  padding-left: 32px;
  padding-right: 32px;
}

/*  NAVBARLINKS FOOTER  */
.navbarlinks {
  font-family: "Poppins";
  font-weight: normal;
  font-size: 14px;
  color: white;
  text-decoration: none;
  transition: all 0.3s linear;
}

.navbarlinks:hover {
  color: #d96690;
}

.navbarlinkseleccion {
  font-family: "Poppins";
  font-weight: bold;
  font-size: 14px;
  color: white;
  text-decoration: none;
  transition: all 0.3s linear;
}

.navbarlinkseleccion:hover {
  color: #d96690;
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* ★ INICIO // BANNER ★ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
.banner-intro {
  padding: 100px 24px;
  text-align: center;
  position: relative;
}

.contenido-banner {
  max-width: 400px;
  margin: 0 auto;
  position: relative;
  padding-top: 40px;
}

.banner-intro .star {
  width: 20px;
  height: 20px;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.bimbo {
  display: block;
  font-size: 24px;
  color: #3f0071;
  margin-top: 4px;
}
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* ★ INICIO // lISTON ★ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
.tira-servicios {
  overflow: hidden;
  background-color: #340773;
  padding: 4px;
}

.tira-scroll {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-horizontal 25s linear infinite;
  margin: 0 24px;
}

.tira-scroll li {
  display: inline-block;
  margin: 0 20px;
  font-weight: bold;
  color: white;
  font-size: 16px;
  position: relative;
}

.tira-scroll li::after {
  content: "✦";
  margin-left: 24px;
  color: white;
}

/* Animación */
@keyframes scroll-horizontal {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* ★ INICIO // PRESENTACIÓN ★ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
.presentacion {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  gap: 24px;
}

.texto-intro {
  text-align: left;
  background-color: #f3f4f4;
  border-radius: 20px;
  padding: 24px;
  width: 100%;
}

.yoemmayo {
  width: 280px;
  height: auto;
  border-radius: 20px;
}

.botones-inicio {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.boton01 {
  background-color: #340773;
  color: white;
  text-align: center;
  padding: 8px;
  border-radius: 40px;
  font-family: "Poppins";
  text-decoration: none;
  margin: 0;
  transition: all 0.3s linear;
}

.boton01:hover {
  background-color: #d96690;
  color: white;
  border: none;
}

.boton02 {
  border: 1px solid #340773;
  color: #340773;
  text-align: center;
  padding: 8px;
  border-radius: 40px;
  font-family: "Poppins";
  text-decoration: none;
  transition: all 0.3s linear;
}

.boton02:hover {
  background-color: #d96690;
  color: white;
  border: none;
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* ★ SERVICIOS ★ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
.servicio-descripcion,
.descripcion-portafolio {
  text-align: center;
  padding: 24px 16px;
  max-width: 720px;
  margin: 0 auto;
}

.servicio-descripcion .star {
  display: block;
  margin: 0 auto 16px auto; /* ← centrada + espacio abajo */
  width: 24px;
  height: 24px;
}

/* Contenedor de todas las cards (ya lo usas como section directamente) */
section > .servicio {
  background-color: #f8f9fa;
  border-radius: 16px;
  padding: 24px;
  margin: 20px 30px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Iconos centrados */
.icono_servicios {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
}

/* Título alineado al centro */
.servicio h2 {
  text-align: center;
  margin-bottom: 12px;
}

/* Descripción alineada a la izquierda */
.servicio .descripcion-portafolio {
  text-align: left;
  margin-bottom: 16px;
}

/* Botón centrado */
.boton-servicio {
  background-color: #340773;
  color: white;
  border-radius: 40px;
  font-family: "Poppins";
  padding: 10px 24px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  text-align: center;
  display: inline-block;
  align-self: flex-start; /* ← Añade esto */
  margin-top: 16px; /* Opcional: espacio entre texto y botón */
  width: 100%;
  transition: all 0.3s linear;
}

.boton-servicio:hover {
  background-color: #d96690;
  color: white;
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* ★ PROYECTOS ★ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
.starproyectos {
  background: #340773;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.proyectos {
  text-align: center;
  padding: 40px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.proyectos .star {
  width: 24px;
  height: 24px;
  margin-bottom: 16px;
}

.proyectos-descripcion {
  text-align: center;
  padding: 0 16px 40px;
  max-width: 720px;
  margin: 0 auto;
}

.proyectos {
  text-align: center;
  padding: 40px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.proyectos .star {
  width: 24px;
  height: 24px;
  margin-bottom: 16px;
}

.proyectos-descripcion {
  text-align: center;
  padding: 0 16px 40px;
  max-width: 720px;
  margin: 0 auto;
}

.proyectos-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 16px;
}

.proyecto {
  background-color: #f8f9fa;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(52, 7, 115, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.proyecto:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(52, 7, 115, 0.12);
}

.proyecto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #340773, #583bbf, #d96690);
}

.proyecto-header {
  position: relative;
  margin-bottom: 20px;
}

.proyecto-header .star {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: #340773;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
}

.proyecto-imagen-principal {
  width: 100%;
  height: 200px;
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proyecto-imagen-principal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.proyecto-contenido {
  text-align: left;
}

.proyecto-titulo {
  margin-bottom: 16px;
  text-align: center;
}

.proyecto-descripcion {
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: justify;
}

.proyecto-imagen-detalle {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  margin: 20px 0;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proyecto-imagen-detalle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.boton-proyecto {
  display: inline-block;
  background-color: #340773;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s linear;
}

.boton-proyecto:hover {
  background-color: #d96690;
  color: white;
}

main {
  padding-bottom: 60px;
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* ★ SOBRE MI  ★ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
li {
  font-family: "Poppins";
  font-weight: lighter;
  font-size: 16px;
  margin-right: 40px;
  color: #340773;
}

.sobre-mi {
  background-color: #f3f4f4;
  border-radius: 50px;
  padding: 40px;
  margin: 40px 40px 40px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sobremitexto {
  text-align: start;
  padding: 24px 16px;
  max-width: 720px;
}
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* ★ CONTACTAME  ★ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
.formulario-contacto {
  background-color: #f3f4f4;
  border-radius: 50px;
  padding: 40px;
  margin: 40px auto;
  max-width: 600px;
  width: 100%;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: "Poppins";
}

input,
textarea {
  font-size: 16px;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 20px;
  font-family: "Poppins";
}

label {
  font-weight: bold;
  color: #340773;
  font-size: 16px;
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

/* ------------------------ */
/* ★ ESTILO DE TIPOGRAFIAS ★ */
/* ------------------------ */

/* ★ TABLET ★ */
@media (min-width: 768px) {
  .titulo {
    font-size: 24px;
  }

  .subtitulo {
    font-size: 18px;
  }

  .parrafo {
    font-size: 14px;
  }
}

/* ★ DESKTOP ★ */
@media (min-width: 1024px) {
  .titulo {
    font-size: 30px;
  }

  .subtitulo {
    font-size: 20px;
  }

  .parrafo {
    font-size: 16px;
  }
}

/* ------------------------ */
/* ★ HEADER ★ */
/* ------------------------ */

/* ★ TABLET ★ */

/*  LOGO  */
@media (min-width: 768px) {
  .logo {
    width: 180px !important;
  }
}

/*  MENU HAMBURGUESA  */
@media (min-width: 768px) and (max-width: 1023px) {
  .navbar-toggler-icon {
    width: 32px;
    height: 32px;
  }
}

/*  TIPOGRAFIA  */
@media (min-width: 768px) {
  .navbarlinks1 {
    font-size: 17px;
  }
}

@media (min-width: 768px) {
  .navbarlinkseleccion1 {
    font-size: 17px;
  }
}

/* ★ DESKTOP ★ */

/*  LOGO  */
@media (min-width: 1024px) {
  .logo {
    width: 225px !important;
  }
}

/*  TIPOGRAFIA  */
@media (min-width: 1024px) {
  .navbarlinks1 {
    font-size: 18px;
  }
}

@media (min-width: 1024px) {
  .navbarlinkseleccion1 {
    font-size: 18px;
  }
}

/* ------------------------ */
/* ★ FOOTER ★ */
/* ------------------------ */

/* ★ TABLET ★ */
@media (min-width: 768px) {
  .footernavbar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .footerp {
    font-size: 15px;
    max-width: 600px;
  }

  .star {
    width: 24px;
    height: 24px;
  }
}

/* ★ DESKTOP ★ */
@media (min-width: 1024px) {
  .footernavbar {
    gap: 32px;
  }

  .footerp {
    font-size: 16px;
  }

  .star {
    width: 30px;
    height: 30px;
    margin-bottom: 16px;
  }
}
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* ★ INICIO // BANNER ★ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* ★ TABLET ★ */
@media (min-width: 390px) {
  .bannerfont {
    font-size: 18px;
  }
}
@media (min-width: 768px) {
  .bannerfont {
    font-size: 28px;
  }

  .bimbo {
    font-size: 40px;
    margin-top: 8px;
  }
}

.banner-intro {
  padding: 120px 48px;
}

.contenido-banner {
  max-width: 600px;
}

.banner-intro .star {
  width: 24px;
  height: 24px;
  top: -16px;
}

/* ★ DESKTOP ★ */
@media (min-width: 1024px) {
  .bannerfont {
    font-size: 40px;
  }

  .bimbo {
    font-size: 50px;
    margin-top: 12px;
  }

  .banner-intro {
    padding: 160px 80px;
  }

  .contenido-banner {
    max-width: 800px;
  }

  .banner-intro .star {
    width: 28px;
    height: 28px;
    top: -20px;
  }
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* ★ INICIO // PRESENTACIÓN ★ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

/* ★ TABLET ★ */
@media (min-width: 768px) {
  .presentacion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "texto imagen"
      "botones imagen";
    align-items: center;
    padding: 100px 80px;
    gap: 32px;
  }

  .texto-intro {
    grid-area: texto;
    background-color: transparent;
    padding: 0;
    width: 100%;
  }

  .imagen-intro {
    grid-area: imagen;
    display: flex;
    justify-content: center;
    align-self: start;
  }

  .botones-inicio {
    grid-area: botones;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
  }

  .yoemmayo {
    width: 348px;
    height: auto;
    border-radius: 20px;
  }

  .botones-inicio a {
    width: auto;
  }

  .botones-inicio a {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    font-size: 16px;
    white-space: nowrap;
  }

  .botones-inicio a {
    flex: 1;
    text-align: center;
  }
}

/* ★ DESKTOP ★ */

@media (min-width: 1024px) {
  .presentacion {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas:
      "texto imagen"
      "botones imagen";
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 120px;
    gap: 40px;
  }

  .yoemmayo {
    max-width: 400px;
    height: auto;
  }

  .texto-intro {
    display: flex;
    flex-direction: column;
    width: 100%;
    grid-area: texto;
  }

  .botones-inicio {
    display: flex;
    gap: 16px;
    width: 100%;
    margin-top: 24px;
    grid-area: botones;
  }

  .botones-inicio a {
    flex: 1;
    text-align: center;
    font-size: 16px;
    padding: 12px 0;
  }

  .imagen-intro {
    grid-area: imagen;
    display: flex;
    justify-content: center;
  }
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* ★ SERVICIOS ★ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* ★ TABLET ★ */
@media (min-width: 768px) {
  .servicios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 0 40px;
    justify-content: center;
    align-items: stretch; /* Asegura que todas las columnas tengan el mismo alto */
  }

  .servicios > .servicio {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Mantiene el botón abajo */
  }
  .servicio-cierre {
    margin-top: 48px;
    text-align: center;
    padding-bottom: 32px;
  }
}

/* ★ DESKTOP ★ */
@media (min-width: 1024px) {
  .servicios {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 60px;
    gap: 40px;
    align-items: stretch;
  }

  .servicios > .servicio {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .servicio-cierre {
    margin-top: 48px;
    text-align: center;
    padding-bottom: 32px;
  }
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* ★ PROYECTOS ★ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

@media (max-width: 767px) {
  .boton-proyecto {
    width: 100%;
    max-width: none;
    text-align: center;
  }

  .boton-proyecto {
    width: 100%;
  }
}
/* TABLET */
@media (min-width: 768px) {
  .titulo {
    font-size: 28px;
  }
  .subtitulo {
    font-size: 18px;
  }
  .parrafo {
    font-size: 16px;
  }

  .logo {
    width: 180px !important;
  }

  .star {
    width: 24px;
    height: 24px;
  }

  .proyectos {
    padding: 60px 40px;
  }

  .proyecto {
    padding: 32px;
    border-radius: 32px;
  }

  .proyecto-imagen-principal {
    height: 250px;
  }

  .proyecto-imagen-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .proyecto-imagen-detalle {
    height: 220px;
  }

  .proyecto-imagen-detalle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .proyecto:nth-child(even) .proyecto-contenido {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }

  .proyecto:nth-child(even) .proyecto-texto {
    order: 1;
  }

  .proyecto:nth-child(even) .proyecto-imagen-detalle {
    order: 2;
    margin: 0;
  }

  .proyecto:nth-child(odd) .proyecto-contenido {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }

  .proyecto:nth-child(odd) .proyecto-texto {
    order: 2;
  }

  .proyecto:nth-child(odd) .proyecto-imagen-detalle {
    order: 1;
    margin: 0;
  }
  main {
    padding-bottom: 80px;
  }
}

/* ★ DESKTOP  */
@media (min-width: 1024px) {
  .titulo {
    font-size: 32px;
  }
  .subtitulo {
    font-size: 20px;
  }
  .parrafo {
    font-size: 16px;
  }

  .logo {
    width: 225px !important;
  }

  .star {
    width: 30px;
    height: 30px;
    margin-bottom: 16px;
  }

  .proyectos {
    padding: 80px 60px;
  }

  .proyectos-cards {
    gap: 48px;
    padding: 0 32px;
  }

  .proyecto {
    padding: 40px;
    border-radius: 40px;
  }

  .proyecto-imagen-principal {
    height: 300px;
  }

  .proyecto-imagen-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .proyecto-imagen-detalle {
    height: 280px;
  }

  .proyecto-imagen-detalle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .proyecto-contenido {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .proyecto:nth-child(even) .proyecto-contenido {
    grid-template-columns: 1fr 1.2fr;
  }

  .proyecto:nth-child(even) .proyecto-texto {
    order: 2;
  }

  .proyecto:nth-child(even) .proyecto-imagen-detalle {
    order: 1;
  }

  .proyecto:nth-child(odd) .proyecto-texto {
    order: 1;
  }

  .proyecto:nth-child(odd) .proyecto-imagen-detalle {
    order: 2;
  }

  .boton-proyecto {
    padding: 14px 32px;
    font-size: 16px;
  }

  main {
    padding-bottom: 100px;
  }
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* ★ Animation ★ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

.star_animation {
  animation: parpadear 1.2s ease-in-out infinite alternate;
}

@keyframes parpadear {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.3;
    transform: scale(1.5);
  }
}

.scale_animation {
  transition: all 0.3s linear;
}

.scale_animation:hover {
  transform: scale(1.2);
}

.scale_proyectos {
  transition: all 0.3s linear;
}

.scale_proyectos:hover {
  transform: scale(1.1);
}
