html, body {
    width: 100vw;
    background-color: #EBEBEB;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: white;
}

body::-webkit-scrollbar-thumb {
    background-color: #0ea5e9;
    border-radius: 20px;
    border: 3px solid white;
}

* {
    box-sizing: border-box;
}

.container {
  width: 90%;
  margin: 0 auto;
}

/*Header Section*/
.header {
  position: static;
  top: 0;
  z-index: 10;
  margin-bottom: 10px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  background: #f9fafb;
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-image {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  gap: 2.5rem;

  a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  a:hover {
    color: #0ea5e9;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;

  i {
    font-size: 1.2em;
    color: #393939;
  }
}

.social-link {
  i {
    color: #393939;
    font-size: 1.5rem;
    transition: color 0.3s ease;

  }
}

.social-link i:hover {
  color: #0ea5e9;
}

.mobile-menu {
  display: none;
}

#openMenu-btn {
  display: none;
}

/*Hero Section*/

.hero {
  padding-top: 2rem;
  background: #EBEBEB;
}

.hero-container {
  height: 500px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: end;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
  background: white;
  padding: 15px 30px;
  gap: 5%;
}

#titular-logo {
  width: 50%;
  margin-top: 8%;
  z-index: 5;
}

#unite-logo {
  width: 5%;
  z-index: 5;
}

.hero-overlay {
  width: 55%;
  padding: 20px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  border-radius: 0 1rem 1rem 0;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 2;
  animation: slideShow 30s infinite;
}

.hero-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 150px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.8) 30%,
    rgba(255, 255, 255, 0.4) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

@keyframes slideShow {
    0% {
        background-image: url('./assets/images/Brouwer-1024x760.jpeg');
      }
      16.67% {
        background-image: url('./assets/images/foto-juzgado-blanco.jpg');
      }
      33.33% {
        background-image: url('./assets/images/Foto-en-el-juzgado.jpg');
      }
      50% {
        background-image: url('./assets/images/Foto-mesa-blanca.jpg');
      }
      66.67% {
        background-image: url('./assets/images/Foto-mi-historia.jpg');
      }
      83.33% {
        background-image: url('./assets/images/titular-de-pagina.jpg');
      }
      100% {
        background-image: url('./assets/images/Brouwer-1024x760.jpeg');
      }
}

/* Slider Convenciona Constituyente Section */

#carrusel-caja { 
  height: 650px; 
  width: 1200%;
  animation: automatizacion 60s infinite;
  /* transition: all 0.2s ease; */
  border-radius: 10px;
}

#carrusel-contenido {
  margin: 0 auto;
  overflow: hidden;
  text-align: left;
  border-radius: 10px;
}

.carrusel-elemento {
  float: left;
  width: calc(100% / 12);
}

.imagenes{
  height: 650px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

@keyframes automatizacion {
  0% { margin-left: 0; }
  2% { margin-left: 0; }

  6.3% { margin-left: -100%; }
  8.3% { margin-left: -100%; }

  14.6% { margin-left: -200%; }
  16.6% { margin-left: -200%; }

  22.6% { margin-left: -300%; }
  24.6% { margin-left: -300%; }

  31.2% { margin-left: -400%; }
  33.2% { margin-left: -400%; }

  39.5% { margin-left: -500%; }
  41.5% { margin-left: -500%; }

  47.8% { margin-left: -600%; }
  49.8% { margin-left: -600%; }

  56.1% { margin-left: -700%; }
  58.1% { margin-left: -700%; }

  64.4% { margin-left: -800%; }
  66.4% { margin-left: -800%; }

  72.7% { margin-left: -900%; }
  74.7% { margin-left: -900%; }

  81% { margin-left: -1000%; }
  83% { margin-left: -1000%; }

  89.3% { margin-left: -1100%; }
  91.3% { margin-left: -1100%; }

  100% { margin-left: 0; }
}



/* Trabajos Section*/

.section-banner {
  background: #38bdf8;
  color: white;
  text-align: center;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
  
  h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
  }
}

.trabajo-section {
  background: #EBEBEB;
}

.trabajo-general-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.trabajo-container {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: end;
  padding: 2rem 1rem 1rem 1rem;
  gap: 20px;

  img {
    width: 12%;
  }
}

.trabajo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  place-items: center;
}

.trabajo-image {
  width: 90%;
  height: 100%;
  box-shadow: inset 0px 0px 8px 5px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#first-project {
  background-image: url(./assets/images/Trabajos-Legislativos/Beatriz-Brouwer.jpeg);
}

#second-project {
  background-image: url(./assets/images/Trabajos-Legislativos/imagen-proyecto.png);
}

#third-project {
  background-image: url(./assets/images/Trabajos-Legislativos/imagen-obispo.png);
}

.trabajo-text {

  h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
  }

  h4 {
    font-weight: 700;
    color: #1f2937;
    margin: 1rem 0 0.5rem 0;
  }

  p {
    color: #6b7280;
    margin-bottom: 1rem;
    line-height: 1.7;
  }

  .quote {
    font-weight: 500;
    color: #1f2937;
    font-style: italic;
  }
}

.link-expediente {
  width: 52%;
  display: flex;
  flex-direction: row;
  align-self: center;
  gap: 10px;
  cursor: pointer;
  font-size: 18px;
  background-color: #1596d2;
  border-radius: 5px;
  padding: 0 5px;
  transition: background-color 0.3s ease;
  
  p {
    font-weight: 500;
    margin: 0;
    color: white;
  }

  i {
    align-self: center;
    color: white;
  }
}

.link-expediente:hover {
  background-color: #7ccef4;
}

/* Historia Section */

.historia-content {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.historia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
}

.historia-text {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  
  h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 1.5rem 0 1rem 0;
  }
  
  p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
  }
}

.historia-image {
  position: relative;
  min-height: 400px;
  
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.historia-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 150px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.8) 30%,
    rgba(255, 255, 255, 0.4) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

#logo-beatriz-unite {
  width: 20%;
  position: absolute;
  bottom: 15px;
  right: 15px;
}

/*Redes Section */

.unite-section {
  padding: 4rem 0;
}

.unite-content {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.unite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.unite-image {
  position: relative;
  height: 320px;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
  }

  .quote {
    font-weight: 500;
    color: #1f2937;
  }
}

.crece-header {
  text-align: center;
  margin-bottom: 2rem;

  h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #38b6ff;
  }

  p {
    font-size: 1.25rem;
    color: #6b7280;
  }
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.social-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  color: #374151;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  font-size: 1.2rem;
}

.social-button:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
}

.video-placeholder {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.video-content {
  aspect-ratio: 16 / 9;
  background: #f3f4f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.video-content i {
  font-size: 3rem;
  color: #ef4444;
}

.video-content p {
  color: #6b7280;
  text-align: center;
  padding: 0 1rem;
}

.publications-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 2rem;
}

.publication-preview {
  flex: 1 1 300px;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.publication-preview iframe,
.publication-preview .instagram-media,
.publication-preview embed {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
  display: block;
  min-height: 250px;
}

.publication-preview blockquote.instagram-media {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

/*Newsletter Section*/
.confirmation-message {
  background-color: #38b6ff;
  color: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  margin-top: 20px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: none;
}

.confirmation-message h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.confirmation-message p {
  font-size: 16px;
}


.newsletter-container {
  max-width: 1400px;
  margin: 0 auto;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  margin-bottom: 0;
  position: relative;
  margin-top: 2rem;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 450px;
}

.newsletter-image {
  position: relative;
  overflow: hidden;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.newsletter-image::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 120px;
  background: linear-gradient(
    to right,
    rgba(56, 189, 248, 0) 0%,
    rgba(56, 189, 248, 0.2) 20%,
    rgba(56, 189, 248, 0.6) 60%,
    rgba(56, 189, 248, 0.9) 85%,
    rgba(56, 189, 248, 1) 100%
  );
}

.newsletter-form-section {
  background: #38bdf8;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}

.newsletter-form {
  width: 68%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-header {
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.form-titles {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;

  h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
  }

  p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;

  label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 500;
  }
}


.newsletter-form .form-group input[type="text"],
.newsletter-form .form-group input[type="email"] {
  padding: 0.75rem;
  border: none;
  border-radius: 0.25rem;
  font-size: 1rem;
  background: white;
  color: #333;
}

.newsletter-form .checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.newsletter-form .checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.newsletter-form .checkbox-group label {
  margin: 0;
  font-size: 0.9rem;
}

.submit-btn {
  background: #FDBC53;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: flex-start;
  font-size: 1rem;
}

.submit-btn:hover {
  background: #dcb13c;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Footer Section*/
.footer {
  background: #45BEED;
  color: white;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-container {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.footer-info {
  width: 100%;
  height: 90%;
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: space-between;
}

.footer-nav {
  width: 20%;
  padding-top: 2rem;
  border-radius: 1rem;
  position: relative;

  h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-align: start;
  }
  
  nav {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: start;
  }
  
  a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
  }
  
  a:hover {
    color: rgba(255, 255, 255, 0.8);
  }
}

.footer-brand-mobile {
  display: none;
}

.footer-brand {
  display: flex;
  align-items: start;
  justify-content: start;
}

.brand-card {
  background: white;
  border-radius: 0 0 1rem 1rem;
  padding: 0 1.5rem;
  display: inline-block;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-logo {
  height: 130px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  align-items: center
}

.unite-badge {
  width: 4rem;
  height: 4rem;
  background: #38bdf8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-social {
  width: 20%;
  padding-top: 2rem;
  border-radius: 1rem;
  position: relative;

  h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-align: start;
  }
}

.social-container {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: start;

  a {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
  }
  
  a:hover {
    color: rgba(255, 255, 255, 0.8);
  }
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;

  a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
  }
}

@media (max-width: 480px) and (orientation: portrait) {

  .container {
    width: 95%;
  }

  /*Header*/

  .header-content {
    padding: 0.5rem 1rem;
  }

  .logo-image {
    max-width: 30%;
  }

  .nav-desktop {
    display: none;
  }
  
  .social-link {
    display: none;
  }

  #openMenu-btn {
    display: flex;
    background: none;
    border: none;
    outline: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
  }

  /*menu desplegable*/

  #openMenu-btn {
      display: block;
      font-size: 28px;
  }
  .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      z-index: 9;
  }
  .overlay.active {
      opacity: 1;
      pointer-events: all;
  }
  /* Bloquear scroll cuando se abre el menú */
  body.no-scroll {
      position: fixed;
  }

  .mobile-menu {
      position: fixed;
      top: 0;
      right: -100%;
      width: 55%;
      height: 100vh;
      background-color: #ffffff;
      box-shadow: 0px 5px 10px 0.2px rgba(0, 0, 0, 0.5);
      transition: right 0.3s ease;
      padding: 1rem;
      z-index: 10;
      display: flex;
      flex-direction: column;
      align-items: start;
      gap: 8%;

      i {
          font-size: 30px;
          color: #6b7280;
      }
  }
  .menu-link-option-container {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: start;
      gap: 30px;
      padding: 0 0.5rem;
  }

  .link-option-mobile {
      text-decoration: none;
      font-size: 16px;
      font-family: var(--main-font);
      font-weight: 350;
      color: #6b7280;
  }

  /* Cuando se activa el menú */
  .mobile-menu.open {
      right: 0;
  }


  /*Hero*/

  .hero {
    padding: 0;
  }

  .hero-container {
    height: 200px;
    padding: 10px;
    gap: 10%;
  }

  #titular-logo {
    width: 60%;
    margin-top: 8%;
    z-index: 5;
  }

  #unite-logo {
    width: 8%;
    z-index: 5;
  }

  .hero-overlay {
    width: 70%;
  }

  .hero-overlay::before {
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 30%, rgba(255, 255, 255, 0.6) 70%, rgba(255, 255, 255, 0) 100%);
  }

  /*Convencional Constituyente*/

  #carrusel-caja {
    height: 250px;
  }

  .imagenes {
    height: 250px;
  }

  /*Trabajos*/

  .section-banner {
    padding: 0.2rem;
    margin: 1.5rem 0;

    h2 {
      font-size: 13px;
      margin: 10px 0;
    }
  }

  .trabajo-general-container {
    gap: 2rem;
  }

  .trabajo-container {
    img {
      width: 30%;
    }
  }

  .trabajo-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
  }

  .trabajo-grid.reverse {
    flex-direction: column-reverse;
  }

  .trabajo-image {
    width: 100%;
    height: 200px;
  }

  .link-expediente {
    width: 90%;
    font-size: 15px;
  }

  /*Historia*/

  .historia-grid {
    display: flex;
    flex-direction: column-reverse;
  }

  .historia-image {
    min-height: 280px;
  }

  .historia-image::before {
    width: 100%;
    height: 120px;
    top: unset;
    background: linear-gradient(
      to top,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 1) 30%,
      rgba(255, 255, 255, 0.4) 70%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .historia-text {
    padding: 0 1rem 1rem 1rem;
    gap: 10px;

    h3 {
      margin: 0;
    }

    p {
      margin: 0 0 20px 0;
    }
  }

  #logo-beatriz-unite {
    display: none;
  }

  /*Redes*/

  .crece-header {
    margin: 2rem 0;

    h2 {
      margin: 0;
    }
  }

  .social-button {
    padding: 1rem;
    gap: 1rem;

     i {
      font-size: 30px;
    }
  }

  /*Newsletter*/

  .newsletter-container {
    background-color: #0ea5e9;
  }

  .newsletter-grid {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .newsletter-image::after {
    width: 100%;
    height: 100px;
    bottom: 0;
    top: unset;
    background: linear-gradient(
    to bottom,
    rgba(56, 189, 248, 0) 0%,
    rgba(56, 189, 248, 0.2) 20%,
    rgba(56, 189, 248, 0.8) 60%,
    rgba(56, 189, 248, 0.9) 85%,
    rgba(56, 189, 248, 1) 100%
  );
  }

  .newsletter-form {
    width: 100%;
  }

  /*Footer*/

  .footer-container {
    width: 100%;
  }

  .footer-brand {
    display: none;
  }

  .footer-brand-mobile {
    width: 60%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius:  0 0 1rem 1rem;
    background-color: white;
    padding: 0.5rem 1.5rem;

    img {
      width: 100%;
    }
  }

  .footer-info {
    width: 90%;
    gap: 0;
  }

  .footer-nav {
    width: 45%;
    padding: 0;
  }

  .footer-social {
    width: 45%;
    padding: 0;
  }
}

@media (max-width: 1024px) and (max-height: 768px) and (orientation: landscape) {
  
  .container {
    width: 95%;
  }

  /*Header*/

  .logo-image {
    width: 15%;
  }
  
  .nav-desktop {
    gap: 2rem;
    
    a {
      font-size: 12px;
    }
  }

  #openMenu-btn {
    display: none;
  }

  /*Welcome*/

  .hero { 
    padding: 20px 0;
  }

  .hero-container {
    height: 300px;
    gap: 10%;
  }

  #titular-logo {
    width: 55%;
    margin-top: 8%;
    z-index: 5;
  }

  #unite-logo {
    width: 6%;
    z-index: 5;
  }

  /*Convencional Constituyente*/

  #carrusel-caja {
    height: 300px;
  }

  .imagenes {
    height: 300px;
  }

  /*Trabajos*/

  .section-banner {
    margin-bottom: 20px;

    h2 {
      font-size: 16px;
      margin: 0;
    }
  }

  .trabajo-general-container {
    gap: 2rem;
  }

  .trabajo-container {
    gap: 10px;
    padding: 1rem;

    img {
      width: 15%;
    }
  }

  .trabajo-text {

    h3 {
      font-size: 15px;
      margin: 5px 0;
    }

    p {
      font-size: 12px;
      line-height: 1.2;
      margin: 5px 0;
    }
  }

  /*Historia*/

  .historia-section {
    padding: 20px 0;
  }

  .historia-text {

    h3 {
      font-size: 16px;
      margin: 15px 0 5px 0; 
    }

    p {
      font-size: 12px;
      margin: 0;
      line-height: 1.2;
    }
  }

  .link-expediente {
    width: 75%;
  }

  /*Redes*/

  .crece-header {
    h2 {
      margin: 10px 0;
    }

    p {
      margin: 10px 0;
    }
  }

  /*Contacto*/

  .newsletter-container {
    width: 100%;
    margin: 0;
  }

  .newsletter-grid {
    height: 350px;
  }

  .form-titles {
    h3 {
      font-size: 20px;
    }

    p {
      font-size: 15px;
      margin: 0;
    }
  }

  .newsletter-form {
    width: 100%;
    gap: 1rem;
  }

  .newsletter-form .form-group input[type="text"], .newsletter-form .form-group input[type="email"] {
    padding: 0.5rem;
  }

  .submit-btn {
    padding: 0.5rem 2rem;
  }

  /*Footer*/

  .footer-container {
    width: 95%;
  }

  .footer-nav, .footer-social {
    padding-top: 1rem;
    width: auto;
  }

}
