:root {
      --black: #000;
      --white: #fff;
      --gray: #e5e5e5;
      --dimgray: dimgray;
      --wine: #6a1731;
      --oro: #BB9D64;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Noto Sans', sans-serif;
    }

    body {
      background: var(--white);
      color: var(--black);
      line-height: 1.6;
    }

    body.modal-open {
  overflow: hidden;
}

    .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 ;
}

    a {
      color: var(--wine);
      text-decoration: none;
    }

    .pb-1 {
      padding-bottom: 1rem!important;
    }
     pb-2 {
      padding-bottom: 2rem!important;
    }

    .pt-1 {
      padding-top: 1rem!important;
    }
     .pt-2 {
      padding-top: 2rem!important;
    }
     .pt-3 {
      padding-top: 3rem!important;
    }
     .pt-4 {
      padding-top: 4rem!important;
    }

     .mb-1 {
      margin-bottom: 1rem!important;
    }
     .mb-2 {
      margin-bottom: 2rem!important;
    }
     .mt-1 {
      margin-top: 1rem!important;
    }
     .mt-2 {
      margin-top: 1rem!important;
    }

    /*
    img {
      filter: grayscale(100%);
    } */

    /* NAV */
    nav {
      position: sticky;
      top: 0;
      z-index: 20;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      background: var(--wine);
      color: var(--white);
      transition: background 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
    }

    nav.scrolled {
      background: var(--white);
      color: var(--wine);
      box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    }

    nav ul {
      display: flex;
      list-style: none;
      gap: 1.5rem;
    }

    nav a {
      text-decoration: none;
      color: inherit;
      font-weight: 500;
    }

    /* SUBMENUS DESKTOP */
.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  margin-top: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  text-align: center;
  display: block;
  flex-direction: column; /* por si alguien lo vuelve flex */
  align-items: center;
  background: var(--white);
  min-width: 220px;
  list-style: none;
  padding: 0.75rem 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 30;
}

.submenu li {
  padding: 0;
}

.submenu a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--wine);
  font-size: 0.9rem;
  white-space: nowrap;
}

.submenu a:hover {
  background: var(--gray);
}

/* Mostrar submenu en desktop */
.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

    section[id] {
  scroll-margin-top: 72px;
}


  .logo svg {
  height: 52px;
  width: auto;
}

  .logo_of img {
  height: 70px;
  width: auto;
}

    /* HERO */
    .hero {
      position: relative;
      height: 80vh;
      overflow: hidden;
    }

    .hero img {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
      animation: zoomOut 10s ease-in-out infinite alternate;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      color: var(--white);
      background: rgba(0,0,0,0.3);
    }

    .hero-content h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }

    .hero-content p {
      max-width: 500px;
      margin-bottom: 1.5rem;
    }

    .btn-black {
      background: var(--black);
      color: var(--white);
      border: none;
      padding: 0.75rem 1.5rem;
      cursor: pointer;
      font-size: .8rem;
      font-weight: 700;
      text-transform: uppercase;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      border-radius: 20px;
       text-decoration: none;
    }

    .btn-black:hover {
      transform: scale(0.95);
      box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    }


    /* TEXTOS Y COLORES */

    h1 {
      font-size: 1.8rem;
    }

    .txt-section {
      padding: 4rem 2rem;
      max-width: 1200px;
      margin: auto;
    }

    .txt-section ul{
      padding-left: 2rem;
    }

    .txt-section li {
      margin-bottom: 0.35rem;
    }

    .txt-section p {
        padding-top: 1rem;
    }

    .small {
      font-size: 75%!important;
    }

    .font-menos {
      font-size: 90%;
    }

     .sin-balas {
        list-style-type: none;

        margin: 0;
    }

    .txt-2-col {
       display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }

    .taller {
      margin-bottom: 0;
      letter-spacing: .1rem;
    }

    .orange {
      color:  #d85d26;
    }
      .btn-orange {
      background: #d85d26;
    }

    .wine {
      color:  #6a1731;
    }

    .oro {
      color: #BB9D64;
    }

    .lila {
      color: #ADBAFF;
    }

    .bg-gray {
      background-color: #F3F2F2;
    }

     .bg-lila {
      background-color: #dbe1ff;
    }

    .uppercase {
      text-transform: uppercase;
    }

    .center {
      text-align: center;
    }

    .pleca {
      font-size: .8rem !important;
      text-transform: uppercase;
      font-weight: 500;
      padding: 5px;
      color: white;
      text-align: center;
      letter-spacing: 5px;

    }

    .pleca-auto {
      width: auto;
    }

    .artesanias {
      background-color: #d85d26;
    }
     .artes-plasticas {
      background-color: #671030;
    }
      .btn-wine {
      background: #671030;
    }
     .diseno {
      background-color: #adbbff;
    }
    .btn-lila {
      background: #adbbff;
    }
     .escenotecnia {
      background-color: #263734;
    }
    .btn-vde-osc {
      background: #263734;
    }
     .transversal {
      background-color: #82985B;
    }
    .btn-verde {
      background: #82985B;
    }

 .filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 16px;
  cursor: pointer;
  border: 1px solid #000;
  color: black;
  background: transparent;

  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.2s ease,
}

.filter-btn:hover {
  background-color: dimgray;
  border-color: dimgray;
  color: #fff;
}

.filter-btn.active {
  background: #000;
  border-color: #000;
  color: #fff;
}


    /* EJES */
    .ejes-section {
      padding: 4rem 2rem;
      max-width: 1200px;
      margin: auto;
    }

.ejes-table {
  display: grid;
  grid-template-columns: 1fr 4px 1fr;
  grid-template-rows: auto 4px auto;
  gap: 3rem 4rem;
}

.eje-1 { grid-column: 1; grid-row: 1; }
.eje-2 { grid-column: 3; grid-row: 1; }
.eje-3 { grid-column: 1; grid-row: 3; }
.eje-4 { grid-column: 3; grid-row: 3; }

  .line-vertical {
  grid-column: 2;
  grid-row: 1 / -1;
  background: #ADBAFF;
}

.line-horizontal {
  grid-column: 1 / -1;
  grid-row: 2;
  background: #ADBAFF;
}


.ejes-table::before,
.ejes-table::after {
  content: "";
  position: absolute;
  background: rgba(0,0,0,0.12);
}

.ejes-table {
  position: relative;
}

/* Línea vertical */
.ejes-table::before {
  grid-column: 2;
  grid-row: 1 / -1;
  width: 1px;
}

/* Línea horizontal */
.ejes-table::after {
  grid-column: 1 / -1;
  grid-row: 2;
  height: 1px;
}
  .eje {
  position: relative;
}

    .eje-pt h3 {
      padding-top: 5rem;
    }

@media (max-width: 768px) {
  .ejes-table {
    display: block;
  }

  /* Apagamos la cruz */
  .line-horizontal,
  .line-vertical {
    display: none;
  }

  /* Separador tipo <hr> */
  .eje::after {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    margin: 2rem 0;
    background: #ADBAFF;
  }

  /* Evitar línea en el último */
  .eje:last-child::after {
    display: none;
  }

      .eje-pt h3 {
      padding-top: 0;
    }
}


  /* Cada bloque */
  .eje h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .eje-num {
    font-weight: 700;
    margin-right: 0.25rem;
  }

  .eje-desc {
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }

  .eje ul {
    padding-left: 2rem;
  }

  .eje li {
    margin-bottom: 0.35rem;
}



    /* CARDS */
    .cards-section {
      padding: 4rem 2rem;
      max-width: 1200px;
      margin: auto;
    }

    .cards-section-2 {
      padding: 0 2rem 4rem 2rem;
      max-width: 1300px;
      margin: auto;
    }
    .cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;

    }

     .cards-section-2 .cards {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
        min-height: 60vh; /* o el alto promedio */

    }

    .card-gray {
      background-color: white!important;
    }


    .card {
      border: 1px solid var(--gray);
      background: var(--white);
      box-shadow: 0 4px 10px rgba(0,0,0,0.08);
      display: flex;
      flex-direction: column;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .card-2 {
      border: 1px solid var(--gray);
      background: var(--white);
      box-shadow: 0 4px 10px rgba(0,0,0,0.08);
      display: flex;
      flex-direction: column;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }


.card.is-hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}


    .card:hover {
      transform: translateY(-6px);
      box-shadow: 0 10px 24px rgba(0,0,0,0.15);
    }

    .card img {
      width: 100%;
      height: 320px;
      object-fit: cover;
      object-position: top;
    }

    .card-2 img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      object-position: top;
    }

    .card-content {
      padding: 1.5rem;
      flex-grow: 1;
      line-height: normal;
    }

    .card-content h3 {
      margin-bottom: 0.5rem;
      font-weight: 900;
      font-size: 1rem;
    }

    .card-content h2, .modal-content h2 {
      font-weight: 900;
      font-size: 1.3rem;
      line-height: 1.6rem;;
    }

    .card-content p {
      margin-bottom: 1rem;
      font-size: 0.95rem;
    }

    /* MODAL */
    .modal {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.75);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1050;
    }

    .modal.active {
      display: flex;
    }

    .modal-content {
      background: var(--white);
      padding: 2rem;
      max-width: 740px;
      width: 90%;
      max-height: 90vh;          /* ← CLAVE */
      overflow-y: auto;          /* ← CLAVE */
      position: relative;
    }

    .close-modal {
      position: absolute;
      top: 0;
      right: 0;
      padding: .3rem .6rem;
      background: black;
      color: white;
      border-bottom: none;
      border-top: solid;
      border-right: solid;
      border-left: none;
      font-size: 1rem;
      cursor: pointer;
    }

    /* FOOTER
    .footer {
      background: var(--black);
      color: var(--white);
      text-align: left;
      padding: 2rem 1rem;
      font-size: 0.9rem;
    }*/

    .footer {
      background: var(--wine);
      color: var(--white);
      padding: 3rem 0;
    }

    .col-2{
      column-count: 2;
      column-gap: 30px; /* Ajusta el espacio entre columnas */
    }

.footer-inner {
  max-width: 1200px;   /* 👈 MISMO ANCHO QUE LAS TARJETAS */
  padding: 0 4rem;;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.footer-logo img {
  max-width: auto;
  height: 72px;
}

.footer-text p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}


  .menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: inherit;
  cursor: pointer;
}

  .menu {
    font-size: 1rem;
    gap: 1.5rem;
  }


@media (max-width: 860px) {
  nav {
    position: sticky;
  }
   .menu,
  .submenu {
    list-style: none;
    padding-inline-start: 0; /* CLAVE */
    margin-inline-start: 0;  /* CLAVE */
  }
   .menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
     color: var(--wine);
    background: #e5e5e5;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 1.5rem 0;
    display: none;
    font-size: 1.5rem;
  }

  .menu.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  /* Submenu mobile */
.submenu {
  position: static;
  box-shadow: none;
  background: white;
  padding: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  display: none;
  text-align: center;
  margin-top: 0;
}

.has-submenu.open .submenu {
  display: block;
}

.submenu a {
  font-size: 1.2rem;
  padding: 0.5rem 0;
  color: inherit;
}
.submenu li {
  margin: 0.4rem 0;
}
.menu li,
  .menu ul,
  .submenu {
    transform: none !important;
    left: auto !important;
    right: auto !important;
  }

  .menu li {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .has-submenu > b {
  display: block;
  padding: 0.5rem 0;
}

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 2rem !important;
  }

  .hero-content {
    padding: 0 2rem!important;
  }

}

    /* RESPONSIVE */
    @media (max-width: 768px) {
      .cards-section-2 .cards {
      grid-template-columns: repeat(2, 1fr);
      }

      .hero-content h1 {
        font-size: 2rem;
      }

      .ejes-grid {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    margin-bottom: 1.5rem;
  }


    }


    @media (min-width: 769px) and (max-width: 1024px) {
      .cards {
      grid-template-columns: repeat(3, 1fr);
      }
      .cards-section-2 .cards {
      grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (min-width: 320px) and (max-width: 540px) {
      .cards {
      grid-template-columns: repeat(1, 1fr);
      }
      .cards-section-2 .cards {
      grid-template-columns: repeat(1, 1fr);
      }
    .footer-logo img {
      width: auto;
      height: 40px;
    }
    .footer-inner {
    padding: 0 2rem !important;
    }
  }

    @keyframes zoomOut {
      from { transform: scale(1.2); }
      to { transform: scale(1); }
    }
    /* TO TOP */
    .to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background-color: #000;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* visible */
.to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* hover */
@media (hover: hover) and (pointer: fine) {
  .to-top:hover {
    background-color: #c62828;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  }
}

.to-top:active {
  background-color: #c62828;
}

.st0{fill: currentColor;}
