/*=======FONTS*/
:root {
  --font-heading: 'Bricolage Grotesque', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-font-body: #F2E6D9 ;
  --background-color: #F2E6D9 ;
  --primary-yelow: #d19a1a;
  --soft-color:#1c1c1c;
  --hairline-color:#120f0cc6;
 
 }
.text-xs {
  font-size: .75rem;
  letter-spacing: 3px;
  line-height: 1rem;
  color: var(--primary-yelow);
}
.text-muted-foreground{
  color: #8c8c8c;
}
.uppercase {
  text-transform: uppercase;
}
.text-enfasis{
  color: var(--primary-yelow);
}


button:hover,
a:hover,
.project-card:hover{
  cursor: pointer;
}
.softColor{
  color: var(--soft-color);
}

body {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  color: var(--soft-color);
  scrollbar-width: none;
  background-color: var(--color-font-body);
  font-family: var(--font-body)!important;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}
/* font-family: "Figtree", */


* {
  max-width: 100vw;
  box-sizing: border-box;
}

h1 {
  font-size: clamp(2rem, 10vw, 4rem); /*clamp(MÍNIMO, IDEAL, MÁXIMO)  */
  font-weight: 900;
  text-transform: uppercase;
  overflow-wrap: normal; /* no rompe palabras largas */
  word-break: keep-all; /* evita saltos dentro de palabras */
}
h2 {
  font-size: clamp(2rem, 7vw, 3.5rem); /*clamp(MÍNIMO, IDEAL, MÁXIMO)  */
  font-weight: 600;
  overflow-wrap: normal; /* no rompe palabras largas */
  word-break: keep-all; /* evita saltos dentro de palabras */
}
h3 {
  font-size: clamp(2rem, 5vw, 2.5rem); /*clamp(MÍNIMO, IDEAL, MÁXIMO)  */
  text-transform: uppercase;
  overflow-wrap: normal; /* no rompe palabras largas */
  word-break: keep-all; /* evita saltos dentro de palabras */
}
h4 {
  font-size: clamp(1.25rem, 3vw, 1.5rem); /*clamp(MÍNIMO, IDEAL, MÁXIMO)  */
  text-transform: capitalize;
  overflow-wrap: normal; /* no rompe palabras largas */
  word-break: keep-all; /* evita saltos dentro de palabras */
}
p, li {
  font-size: 18px; /*clamp(MÍNIMO, IDEAL, MÁXIMO)  */
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: keep-all;
  hyphens: none;
  overflow-wrap: normal; /* no rompe palabras largas */
  word-break: keep-all; /* evita saltos dentro de palabras */
}
.infoT {
  font-style: italic;
  font-size: 1rem;
}

.div_info{
  background-color: #d0a32b;
  min-height: 200px;
  padding: 1rem;
  align-content: center;
}
.img_carrousel{
   max-height: 150px;
}

/*****footer*/
footer {
 padding: 3rem 0; /* más aire lateral */
border-top: solid var(--hairline-color) 0.25px;
}
.footer-social-text a,
.footer-links a {
line-height: 0.5rem;
}
.logo img {
  max-height: 100px;
 }

/* Mobile */
.footer-links,
.footer-social-text,
.logo {
  display: none;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  font-size: 1.8rem;
  margin: 0 auto;
}

/* Tablet y Desktop */
@media (min-width: 768px) {
  footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
  }
  .footer-links {
    display: flex;
    flex-direction: row;
    gap: 2rem;
     align-items: flex-end;
  }
  .footer-social-text {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-self: center; /* redes separadas a la derecha */
  }
  .logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* redes separadas a la derecha */
  }
  .footer-icons {
    display: none;
  }
}



@keyframes blink {
  50% {
    background: transparent;
  }
}
#footer-container,
footer {
  z-index: 2;
  width: 100%;
  justify-content: space-evenly;
  display: flex;
}
#footer-container {
  margin-top: auto;
  padding-bottom: 10px;
}
/*========================================================DESIGNER_NOTES*/

.dnotes {
  padding: 2rem;
}

#sec_diag {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(1000px, 1fr));   
  justify-items: start;
  align-items: baseline;
   gap: 2rem;       
}

.diag-card {   
  padding: 2rem; 
  break-inside: avoid;
  margin-bottom: 16px;        
  column-count: 2;       
  column-gap: 16px;
}

.diag-img {
  max-width: 500px;
  width: 100%;
  height: auto;
  mix-blend-mode: darken;
}
.btn{
  margin: 24px 12px 0 0;
  text-transform: uppercase;
  font-weight: 600;
  border: solid #2f2f2f55;
  --bs-btn-color: var( --soft-color)!important;
}
.btn:hover{
  border: solid #2f2f2f;
}
@media (max-width: 768px) {
  .diag-card { 
  break-inside: avoid;
  column-count: 1;   
}
  #sec_diag {
  grid-template-columns: 1fr; /* se apilan en móvil */
}
 
}
/*=========================================================INDEX*/
#intro {
  min-height: 90vh;
  display: grid;
  overflow: hidden;
 }


#top_bar {
  padding: 10px;
  background-color: var(--soft-color);
  display: flex;
  justify-content: center;
  align-items: center;
}
#link_note {
  color: var(--primary-yelow);
  font-weight: 100 !important;
}

.hide-menu {
  display: none !important;
}
#header-container {
  max-height: 100px;
}
#img_logoh {
  height: 5vh;
  width: auto;
}
.content {
  scroll-margin-top: 1rem; /* deja 10rem desde el top al hacer scroll automático */
  margin-top: 4rem;
  min-height: fit-content;
  }


.cont_index {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: left;
}

.chat_hero h2{
  font-size: clamp(1rem, 5vw, 3rem);
}
#typewriter_hero {
  white-space: normal;
  word-break: break-word;
}
.cont_index{
/*   background-image: 
   url(images/hero1.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; */
  width: 100%;
  justify-items: flex-start;
    align-content: flex-end;
}
.con_hero {  
  display: grid;
  gap: 50px;
  grid-template-columns: 50% 10%;
  grid-auto-rows: min-content;
  justify-content: start;
  align-content: flex-end;
  padding: 5rem;
}
.con_hero_sub h1{
  font-size: clamp(3rem, 8vw, 10rem);
}

.con_hero_sub {
  display: grid;
  justify-items: left;
  text-align: right;
  padding: 2rem;
}
#id_img_hero {
  max-height: 700px;
}
.hero_text {
  max-height: 800px;
  z-index: 1;
  font-weight: 900;
  text-transform: uppercase;
  text-align: left;
  max-height: 800px;
  z-index: 1;
  font-weight: 900;
  text-transform: uppercase;
  text-align: left;
  /*color: #a9a483;*/
}
/* .hero_btn {
  padding: 1rem;
  z-index: 1;
  font-size: 1.3rem;
  color: #a9a483;
} */
#menu_dtk {
  flex: 0 1 auto;

  
}
.sec_menu22 {
  padding-top: 5em;
  display: flex; /* flex-direction: column; */
  padding: 35px;
  gap: 3rem;
}
.sec_menu {
  padding-top: 5em;
  display: flex;
  flex-direction: column;
  padding: 35px;
  text-align: left;
}

@keyframes blink {
  50% {
    background: transparent;
  }
}

/*.p_info{  margin-bottom: -0.1em; font-size: 1rem; text-align: center;   }*/
.navbar,
.navbar-toggler {
  border: transparent;
}

/*H===========================================================MENU*/
#img_logo {
  height: 300px;
  margin: 5rem 0;
}
.div_menu_home {
height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: right;
    min-width: 300px;
    padding-right: 1rem;
  border-right: 0.25px solid var(--hairline-color);
}
.div_menu_home .m_text,
i {
  font-size: 1.65rem;
  font-weight: 100;
}

#logo_container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
#img_logoV {
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  align-self: center; /* por si flex lo quiere estirar */
  
}

.nav-link {
  margin-bottom: 1.5rem;
}
.m_text {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}
.m_text:hover {
 /*  transform: skewY(-2deg) scaleY(1.1);
  letter-spacing: 2px; */
   color: var(--primary-yelow);
}

.m_off_text {
  color: var(--background-color);
}

.img_logoH {
  width: 150px;
  margin-bottom: 2rem;
}

/*================================================= PROJECTS*/
#projects{
  height: 100vh;
}
.title {
  font-size: clamp(2.5rem, 15vw, 8rem); /*text-transform: uppercase;*/
  color: var(--soft-color);
  }
.t-border{
  padding: 0 5rem;
  margin-left: 0rem;
  max-width:1100px;
 /* background-color: #0c1747;*/
 /* border-bottom: solid #0c1747 5px; */
}
.cont_descript {
  position: relative;
  display: inline-block;
  text-align: center;
}
.fa-check {
  font-size: small;
}

#p_container {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  color: var(--soft-color);

}
.project-card {
/*   background: rgba(0, 0, 0, 0.764);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08); */
  margin: 0 24px; 
  transition: transform 0.2s ease;
  display: grid;
  align-content: center;
  justify-items: center;
  text-transform: uppercase;
}
.project-card:hover {
  transform: translateY(-4px);
}
.card-img-top {
  height: 20px;
}
.cont_descript:hover .p_hover {
  /*esto hace q se haga visible*/
  visibility: visible;
  opacity: 1;
}
.image-wrapper {
 
  overflow: hidden;
}
.image-wrapper img {
  max-height: 350px;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.image-wrapper:hover img {
  filter: grayscale(0%);
  transition: filter 0.4s ease;
}

/*=================================================RESUME*/
.desc_item {
  white-space: pre-line;
}

#skills_section {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1500px;
}
#titles_col {
  border-right: solid;
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 5rem;
  padding-right: 2px;
  height: stretch; /* distribuye los títulos verticalmente */
}
.title_item {
  display: flex;
  align-items: baseline;
  cursor: pointer;
  font-weight: bold;
  color: gray;
  transition: color 0.2s;
}
.title_item.selected {
  color: inherit;
}
.title_item i {
  margin-right: 0.5rem;
}
#desc_col {
  flex: 1;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 1rem;
}
.desc_item i {
  margin-right: 0.5rem;
  color: #555;
}
#aboutme {
  min-height: 100vh;
}
.wrap {
  display: grid;
  margin: 5rem auto;
  padding: 3rem 2rem;
  justify-items: left;
  align-items: center;
  max-width: 1500px;
}

#p_info {
   max-width: 1500px;
}
#titles_col {
  flex: 0 0 200px; /* ancho fijo para el menú */
}
#desc_col {
  flex: 1; /* toma el resto del espacio disponible */
  width: 900px; /* no permite que se expanda más */
  overflow-y: auto; /* scroll vertical si hay mucho contenido */
}
.desc_item p {
  margin: 0; /* quita margen del <p> */
  line-height: 1.2; /* ajusta altura de línea */
}
.desc_item small {
  display: inline; /* evita que small se comporte como bloque */
  line-height: 1.2;
  font-size: 0.9rem; /* opcional: más pequeño */
}

/*=================================================SKILS*/


#skills {
  display: grid;
  align-content: flex-start;
  /*background-color: rgba(43, 41, 41, 0.1);*/
  background-color: var(--soft-color);
  }
#lnk_skills{
  color: var(--color-font-body);
}
.skills-grid {
  display: flex;
  gap: 0.5rem;
  max-width: 1500px;
  width: auto;
  margin: 0 auto;
  padding: 3rem 2rem;
  height: 600px;

  }
/* Celdas */
.skill {
  flex: 2;
 /* background: rgba(0, 0, 0, 0.764);
  color: #a9a483;*/
  background:var(--primary-yelow);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: flex 0.5s ease;
 }
/* Celda activa */
.skill.active {
  background:var(--color-font-body);
  flex: 3; /* ~50% */
}
/* OVERLAY (pista visual) */
.skill-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
/* Overlay desaparece al expandir */
.skill.active .skill-overlay {
  opacity: 0;
}
/* CONTENIDO REAL */
.skill-inner {
  height: 700px;
  opacity: 0;
  padding: 2rem;
  transition: opacity 0.003s ease 0.2s;
  height: 100%;
  display: grid;
  align-content: center;
 
}
/* Texto visible solo al expandir */
.skill.active .skill-inner {
  opacity: 1;
}
.skills-intro {
  padding: 0 2rem 0 2rem;
}

.skills-grid .skill .arrow {
  display: none; /* por defecto no se ve */
}
.skills-grid .skill.active .arrow {
  display: inline-block; /* o block según el diseño */
  margin-left: 5px; /* opcional */
  transition: transform 0.3s; /* para animación */
  text-align: center;
  justify-content: right;
}
.skills-grid .skill {
  position: relative;
}
/*=================================================CONTACT */

#contact {
  display: grid;
  align-content: flex-start;

}
.wrap_form{
  padding: 5rem 2rem 2rem 2rem;
  justify-items: center;
  justify-self: center;
}
.contForm {
  width: 100%;
}

/* CARD DEL FORM */
.contForm form {

  margin: 0 auto;
  padding: 3rem 2rem;
  border-radius: 0px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 650px
}
.field-group.full {
  grid-template-columns: 1fr; /* ocupa todo */
}
textarea {
  width: 100%;
  border: none;
  border-bottom: 2px solid #d0d0d0;
  background: transparent;
  padding: 0.8rem 0;
}
/* FILAS LABEL + INPUT (GRID PERFECTO PARA FORMS) */
.field-group {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: start;
}
.line{
  height: 70%;
  width: 1px;
  background-color: var(--hairline-color);
}
/* LABEL */
label {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var( --soft-color);
}
/* INPUTS */
input,
textarea {
  color: var( --soft-color);
  width: 100%;
  padding: 0.7rem 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid #b5a8a8;
  font-size: 1rem;
  transition: all 0.25s ease;
}
/* FOCUS BONITO */
input:focus,
textarea:focus {
  outline: none;
  border-bottom-color: var( --soft-color);
  border-bottom-width: 3px;
}
/* TEXTAREA */
textarea {
  min-height: 140px;
  resize: vertical;
}
#pop_up {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 500000;
}

#pop_up.active {
  display: flex;
}
.innerpop {
  display: grid;
  background-color: #a9a483;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 5px;
  margin: 1rem;
  align-items: center;
  justify-items: center;
  width: max-content;
  height: max-content;
}
.innerpop img {
  max-height: 100px;
  margin: 10px;
}
.closeBtn {
  position: relative;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}
.chat{
  width: 500px;
  padding: 0 2rem;

  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.chat h3,
.chat p {
  font-weight: 100;
  letter-spacing: 1px;
  margin-top: 1rem;
  text-wrap: balance;
  text-wrap: pretty;
}
.chat h2,
.chat p p {
  /* no más de 32px */
  font-weight: 100;
  font-size: 2rem;
}
#typewriter {
  display: inline-block;
  transform: translateX(0);
  text-transform: uppercase;
  color: #d0a32b;
}
h2 .cursor {
  display: inline-block;
  width: 3px;
  background: var(--soft-color);
  margin-left: 2px;
  animation: blink 0.7s step-end infinite;
  vertical-align: bottom;
  height: 1.75rem;
 
}
/*==============================PROJECT DESCRIPT==*/
.div_img {
  column-count: 3; /* número de columnas deseado */
  column-gap: 1rem; /* espacio entre columnas */
}

.gal_wrap {
  flex-grow: 1; 
  flex-basis: 200px;
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: 4 1fr;
  width: 100%;
  margin-bottom: 1rem;
}

.gal_wrap img {
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 6px;
}
/*=============================================================================MEDIA QUERY*/

/* *******************************************************************esto es para tablet*/
@media (min-width: 780px) and (max-width: 1025px){
  /****hero*/
  .con_hero {
    display: flex;
    flex-direction: column;
  }
  #projects-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    }
    #projects {
      height: fit-content;
      padding: 2rem 0 !important;
    }
    
}
/* esto es para desktop*/
/* esto es para desktop*/
@media (min-width: 1025px) {
  #projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .skills-grid {
    flex-direction: row;
  }
  .skill.active {
    flex: 7;
  }
  .skills-grid .skill.active .arrow {
    position: absolute;
    right: 10px;
    top: 50%;
  }
}
/* ****************************************************************esto es para mobil*/
@media (max-width: 790px) {
  /*menu*/
  #btn_menu {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  .navBar button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
  }
  .navBar {
    width: 100vw;
    height: 10vh;
    background-color: transparent;
  }
  .navMenu {
    position: fixed;
    top: 0;
    right: 0;
    width: 60vw;
    height: 100vh;
    background: black;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
  }
  .navMenu.open {
    transform: translateX(0);
  }
  #iconm {
    font-size: 2rem;
    color: var(--hairline-color);
  }
  #iconm:active {
   transform:scale(1.25) ;
    color: var(--primary-yelow);
  }
  body.menu-open {
    overflow: hidden;
  }
  /*section*/

  .con_hero {
    height: 60vh;
    align-content: center;
    padding: 3rem;
  }
  .content {
    scroll-margin-top: -1rem; /* deja 10rem desde el top al hacer scroll automático */
    min-height:fit-content ;
  }

/*   .cont_index{
   background: url(images/hero2.jpg) center/cover no-repeat;
  width: 100%;
  } */
.t-border{
  position: relative;
  padding: 0 2rem;
  margin-left: 0rem;
  max-width:80vw;
  /* border-bottom: solid #0c1747cd 5px; */
}
  /*****index*/
  #hero {
    height: 90%;
    width: 100vw;
    justify-content: center;
  }
  .con_hero {
    height: auto;
    }
    .chat_hero{
       padding: 5rem 2rem;
      }
    .con_hero_sub {
      padding: 0;
    }
  .hero_text {
    max-width: 80%;
    z-index: 1;
    text-align: left;
  }
  .hero_btn {
    font-size: 1rem;
    width: 80%;
  }
  #menu {
    visibility: hidden;
  }
  .menu-desktop {
    display: none;
  }
  .sec_logo {
    display: none;
  }
  .sec_menu {
    padding: 0;
    margin: 0;
    height: 0;
    visibility: hidden;
    visibility: hidden;
  }
  /*************************************resume*/

  .desc_item {
    white-space: pre-line;
  }
  #skills_section {
    display: block;
  }
  #titles_col {
    display: flex;
    flex-direction: row;
    width: 100vw;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: solid;
    border-right: none;
  }
  .title_item i {
    margin-right: 0.2rem;
    font-size: 0.25rem;
  }
  .desc_content ul {
    font-size: 0.75rem;
  }
  /**************************************************project*/
  #projects {
    height: fit-content;
    padding: 2rem 0 !important;
  }
  #projects-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    }

  /* #p_container{min-width: 100%;   margin: 0 auto; padding: 0;} */

  /********************************************skills*/
  #skills {
    max-height: fit-content;
    padding: 2rem 0 !important;
  }
  .skills-grid {
    flex-direction: column;
    max-height: 100%;
  }
  .skill {
    flex: 1;
       transition: min-height 0.4s ease;
       max-height:150px;
  }
  .skill.active {
    max-height: fit-content;
    padding-bottom: 1rem;
    height: fit-content;
  }
  .skills-grid .skill .arrow {
    transition: transform 0.3s;
  }
  .skills-grid .skill.active .arrow {
    transform: rotate(90deg);
  }
  .skills-grid .skill.active .arrow {
    position: absolute;
    right: 50%;
    top: 85%;
  }

  /****email*/
  /* .field-group {flex-direction: column; align-items: stretch; }
.field-group textarea,input { width: 100% } */
.line{
visibility: hidden;

}
  #contact {
    padding: 2rem 0 !important;
  }
  .contForm form {
    width: 100%;
    /* max-width: 900px; */

    padding: 3rem;
    border-radius: 0px;
 
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: fit-content;
  }
  /******cursor*/
  #typewriter {
    font-size: 1.5rem;
  }
  .wrap_form{
  flex-direction: column;
  }
}

/*==================================EFFECTS*/
/* Botón flotante móvil */
#mobile-menu-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 9999;
}
#mobile-menu-btn i {
  color: var(--hairline-color);
  font-size: 1.5rem;
}
#mobile-menu-btn i:hover {
  color:var(--primary-yelow);
}

/* this is the init*/
#mosaic-loader {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  z-index: 9999;
  pointer-events: none;
}
#mosaic-loader div {
  background: var(--primary-yelow);
  animation: mosaicOut 0.8s ease forwards;
}
@keyframes mosaicOut {
  to {
    opacity: 0;
  }
}

/* this is the project images*/
.image-wrapper {
  transition: transform 0.4s ease;
}
.image-wrapper:hover {
  transform: scale(1.02);
}

.mosaic_btn {
  position: relative;
  overflow: hidden;
  border: none;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.5s;
  z-index: 2;
  -webkit-appearance: none; /* eliminar estilos nativos de botón en Safari/Chrome */
  -moz-appearance: none; /* eliminar estilos nativos de botón en Firefox */
  appearance: none;
}
.mosaic_btn .line {
  position: absolute;
  width: 2px;
  height: 50px; /* SIEMPRE blanco */
  transform: scaleY(1);
  transition: transform 0.5s linear, top 1s linear, bottom 1s linear;
  z-index: 1;
}
.mosaic_btn .line.top {
  top: 0;
  transform-origin: bottom;
}
.mosaic_btn .line.bottom {
  top: auto;
  bottom: 0;
  transform-origin: top;
}
