:root {
   --green: #7aba2a;
   --purple: #5b3982;
   --gray: #5e666f;
   --gray-light: #5e666f;
   --white: #ffffff;
}

.menu-fijo-reportes {
   background-color: #7357c1;
   padding: 15px
}

body {
   background-color: #FAFAFA;
   min-height: 100vh;
   margin: 0;
   display: flex;
   flex-direction: column;
}

main {
   flex: 1;
}

h1 {
   text-align: center;
   font-size: 36px;
   color: #5E666F;
   margin: 0;
   padding-top: 30px;
   padding-bottom: 10px;
}

.text-black {
   color: #000000;
}

.grid-container {

   gap: 20px;

   width: 50%;
   /* max-width: 1280px; */
   margin: auto;
   align-content: center;
   justify-content: left;
   padding: 65px;
   text-align: center;
}

.reports-grid {
   display: grid;
   grid-template-columns: 1fr 1fr 1fr 1fr;
   /* display: flex; */
   flex-wrap: wrap;
   /* background-color: red; */
   gap: 5rem;
   /* padding-left: 80px; */
   /* width: 10rem; */
}

.report-card,
.report-card:link,
.report-card:hover,
.report-card:active {
   text-decoration: none;
   color: #5E666F;
   font-weight: 700;
   background: none;
}

.report-card::before {
   content: '';
   width: 35px;
   height: 35px;
   display: inline-block;
   background-image: url(assets/images/íconos/icon-report.svg);
   background-repeat: no-repeat;
   background-size: contain;
   background-position: center;
   vertical-align: middle;

}

.year {
   font-size: 20px;
   font-weight: 800;
   display: flexbox;
   /* display: inline-block; */
   /* align-items: center; */
   vertical-align: middle;
   color: #D5D5D5
}

hr {
   /* align-items: center; */
   display: flexbox;
   /* display: inline-block; */
   border: 1px solid #E9EAEB;
   /* margin-bottom: 30px; */
   width: 80%;
   vertical-align: middle;
   padding-left: 50px;
   /* padding-top: 1rem; */
   /* margin-top: 1rem; */
}

.footer-logos-reportes {
   padding: 20px 0px;
   text-align: center;
   display: flex;
   justify-content: center;
   gap: 50px;
   /* height: 60px; */
}

.logos {
   border-right: 1px solid #D5D5D5;
   padding-right: 68px;
}

.year-tabs {
   display: flex;
   /* flex-direction: row; */
   align-items: center;
   gap: 1rem;
   margin-bottom: 2rem;
   width: 100%;
   justify-content: center;
}

.year-tab {
   background: transparent;
   border: none;
   font-family: 'Garet';
   font-size: 16px;
   font-weight: 700;
   color: var(--morado);
   cursor: pointer;
   padding: 21px 65px;
   border-radius: 4px;
   position: relative;
   transition: all 0.2s ease;
}

.year-tab:not(.active)::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   height: 5px;
   background: var(--morado);
   border-radius: 999px;
}

.year-tab.active {
   background: var(--morado);
   color: var(--blanco);
}

@media (max-width: 480px) {
   .year-tab {
      display: none;
   }

   .year-tab.active {
      display: block;
      padding: 14px 24px;
      font-size: 14px;
   }
}

.arrow-btn {
   background: transparent;
   border: none;
   cursor: pointer;
   padding: 5px;
   display: flex;
   align-items: center;
}

.arrow-btn img {
   width: 40px;
}

.year-section.hidden {
   display: none;
}

/* Section redes sociales */
.garet-extrabold {
   font-family: 'Garet', sans-serif;
   font-weight: 800;
}

.social-container {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(50px, auto));
   justify-content: center;
   /* Centra los items horizontalmente */
   gap: 25px;
   width: 90%;
   max-width: 1100px;
   margin: 0 auto;
   padding-bottom: 40px;
}

/*Responsive*/
@media (max-width: 375px) {
   .grid-container {
      width: 85%;
      padding: 20px;
   }

   .reports-grid {
      grid-template-columns: 1fr;
      gap: 35px;
      padding: 20px;
      font-size: 20px;
   }


   hr {
      width: 60%;
   }

   .report-card::before {
      /*icono reporte*/
      content: '';
      width: 40px;
      height: 60px;
   }

   .month {
      margin-left: 15px;
   }

   .footer-logos-reportes {
      flex-direction: column;
      gap: 20px;
      height: auto;
      margin: 17px 0px;
   }

   .logos {
      border-right: none;
      padding: 10px;
      height: 70px;
   }
}

@media(min-width: 376px) and (max-width: 576px) {
   .grid-container {
      width: 85%;
      padding: 15px;
   }

   .reports-grid {
      grid-template-columns: 1fr;
      font-size: 20px;
   }

   .report-card::before {
      /*icono reporte*/
      content: '';
      width: 40px;
      height: 60px;
   }

   hr {
      width: 60%;
   }

   .month {
      margin-left: 15px;
   }

   .footer-logos-reportes {
      flex-direction: column;
      gap: 10px;
      height: auto;
   }

   .logos {
      border-right: none;
      padding: 10px;
      height: 70px;
   }
}

@media(min-width: 577px) and (max-width: 768px) {
   .grid-container {
      width: 66%;
      padding: 30px;
      margin: 0 auto;
   }

   .reports-grid {
      grid-template-columns: 1fr 1fr;
      font-size: 20px;
      gap: 30px;
      padding: 0 1rem;
   }

   .report-card::before {
      /*icono reporte*/
      content: '';
      width: 40px;
      height: 60px;
   }

   hr {
      width: 71%;
   }

   .month {
      margin-left: 15px;
   }

   .footer-logos-reportes {
      flex-direction: column;
      align-items: center;
      gap: 2rem;
      height: auto;
      margin: 0px 0px 17px;
   }

   .logos {
      border-right: none;
      padding-right: 0;
      height: auto;
      /* max-width: 250px;
         width: 80%; */
   }
}

@media(min-width: 769px) and (max-width: 992px) {
   .grid-container {
      width: 75%;
      padding: 40px;
      margin: 0 auto;
      display: grid;
      justify-content: center;
   }

   .reports-grid {
      grid-template-columns: 1fr 1fr;
      font-size: 18px;
      gap: 30px;
      padding: 0 1rem;
   }

   .report-card::before {
      /*icono reporte*/
      content: '';
      width: 40px;
      height: 60px;
   }

   hr {
      width: 71%;
   }

   .month {
      margin-left: 15px;
   }

}

@media(min-width: 993px) and (max-width: 1200px) {
   .grid-container {
      width: 90%;
      padding: 45px;
      margin: 0 auto;
      display: grid;
      justify-content: center;
   }

   .reports-grid {
      grid-template-columns: 1fr 1fr 1fr;
      font-size: 20px;
      padding: 0 1rem;
   }

   .report-card::before {
      /*icono reporte*/
      content: '';
      width: 40px;
      height: 60px;
   }

   hr {
      width: 80%;
   }

   .month {
      margin-left: 10px;
   }
}

@media(min-width: 1201px) and (max-width: 1400px) {
   .reports-grid {
      width: 114%;
      gap: 40px;
   }

   hr {
      width: 80%;
   }

}

.banner__cta {
   background: var(--green);
   padding: 80px 60px 0 100px;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 20px;
   cursor: pointer;

}


.banner__cta-icon {
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
}

.banner__cta-icon svg {
   width: 26px;
   height: 26px;
   fill: none;
   stroke: var(--white);
   stroke-width: 2;
   stroke-linecap: round;
   stroke-linejoin: round;
}

.banner__cta-text {
   font-family: 'Garet', sans-serif;
   font-size: 2rem;
   font-weight: 700;
   color: var(--white);
   letter-spacing: 0.01em;
}

/* ── Gray wave + logos area ── */
.banner__bottom {
   position: relative;
   background: var(--gray);
}

/* SVG wave that sits between green and gray */
.banner__wave {
   display: block;
   width: 100%;
   background: var(--green);
   /* fills gap above curve */
}

/* Logos row */
.banner__logos {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 60px;
   padding: 30px 60px 40px;
}

.logo-item {
   display: flex;
   align-items: center;
   gap: 10px;
   opacity: 0.45;
   filter: grayscale(1) brightness(1.6);
}

/* ── SVG logo placeholders ── */
.logo-item svg {
   width: 36px;
   height: 36px;
   fill: var(--white);
}

.logo-item__text {
   display: flex;
   flex-direction: column;
   line-height: 1.15;
}

.logo-item__text strong {
   font-family: 'Montserrat', sans-serif;
   font-size: 1rem;
   font-weight: 700;
   color: var(--white);
}

.logo-item__text span {
   font-size: 0.62rem;
   color: var(--white);
   letter-spacing: 0.02em;
}

.hover-img-container {
   position: relative;
   height: 100px;
   overflow: visible;
   cursor: pointer;
}

.hover-img-container img {
   position: absolute;
   bottom: 2.5rem;
   right: 49rem;
   object-fit: contain;
   transition: opacity 0.3s ease-in-out;
}

/* La imagen de hover empieza invisible */
.img-hover {
   opacity: 0;
   z-index: 1;
}

/* Al pasar el mouse, invertimos las opacidades */
.hover-img-container:hover .img-base {
   opacity: 0;
}

.hover-img-container:hover .img-hover {
   opacity: 1;
}

@media screen and (max-width: 1080px) {
   .hover-img-container {
      height: 250px;
      cursor: pointer;
   }

   .hover-img-container img {
      position: absolute;
      top: 80%;
      left: 50%;
      transform: translate(-50%, -50%);
      max-width: 100%;
      max-height: 100%;
      width: auto;
      height: auto;
      object-fit: contain;
      transition: opacity 0.3s ease-in-out;
   }
}

@media screen and (max-width: 475px) {
   .hover-img-container {
      height: 350px;
      cursor: pointer;
   }

   .hover-img-container img {
      position: absolute;
      top: 70%;
      left: 50%;
      transform: translate(-50%, -50%);
      max-width: 100%;
      max-height: 100%;
      width: auto;
      height: auto;
      object-fit: contain;
      transition: opacity 0.3s ease-in-out;
   }
}

@media screen and (min-width: 1080px) {
   .page-title {
      padding-left: 65px;
   }
}

.my-2 {
   margin-top: 2rem;
   margin-bottom: 2rem;
}