/* Asegúrate que el body y html ocupan todo el alto */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    z-index: 10;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.header-inner-app {
    display: none;    
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo a la izquierda */
.logo img {
    height: 80px;
    width: auto;
}

/* Menú a la derecha */
.menu {
    display: flex;
    gap: 40px;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: var(--primary);
}


 .u-hidden {
     display: none !important;
 }


/* Sección principal con fondo */
.content-h1 {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 200px); /* 100% de la altura menos el menú */
    padding-top: 200px; /* deja espacio para el menú */
    background-image: url('https://www.gimnasiatotal.com/assets/img/header-home-full.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: visible;
    z-index: 2;
    font-family: 'Poppins', sans-serif;
}

/* Capa de oscurecimiento */
.overlay-content-h1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.60); /* 60% opacidad negra */
    z-index: 3;
}

/* Contenedor de columnas */
.columns {
    position: relative;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    height: 100%;
    padding: 0 10%;
    box-sizing: border-box;
    gap: 80px;
}

.col {
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Columna izquierda */
.col.texto {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: white;
}

/* Títulos y textos */
.col.texto h1 {
    font-size: 46px;
    font-weight: 500;
    line-height: 3.75rem;
    margin-bottom: 20px;
}

.col.texto h2 {
    font-size: 26px;
    line-height: 2.25rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.col.texto h3 {
    font-size: 20px;
    line-height: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.texto a {
    display: inline-block; 
    padding: 10px 20px;
    margin-top: 30px;
    background-color: var(--primary);
    border-radius: 25px;
    border: 1px solid var(--white);
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    max-width: unset !important; 
    width: auto !important; 
    align-self: flex-start;
}

.col.texto a:hover {
    background-color: var(--primary-hover);
}

/* Columna de imagen */
.col.imagen {
    flex: 1;
    position: relative;
    display: flex;
    align-items: flex-end; /* alinea abajo */
    justify-content: flex-end;
    overflow: visible;
}

/* Imagen que se monta sobre la siguiente sección */
.col.imagen img {
    position: relative;
    bottom: -50px; 
    max-height: 100%;
    width: auto;
    object-fit: contain;
    z-index: 10;
}

.content-h2 {
    width: 100%;
    padding: 80px 10%;
    background-color: #ededed;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.content-h2 h2 {
  display: block;
  width: 100%;
  font-size: 2.25rem;
  margin: 0 auto 80px;
  color: #017e89;
  font-weight: 500;
  line-height: 2.25rem;
  text-align: center;   /* 👈 centrado del texto */
}

.swiper-wrapper-container {
    position: relative;
    width: 100%;
    /*max-width: 1200px;*/ /* Ajusta según el diseño */
    margin: auto;
    border:0px solid red;
}

.swiper-carrusel {
    width: 100%;
    padding: 20px 0;
    overflow: hidden; /* Mantiene el tamaño correcto */
    border:0px solid green;
}

.swiper-wrapper {
    position: relative;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background-color: #ededed;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  /*object-fit: contain;*/
  object-fit: cover;
}

.carrusel-slide {
    border:0px solid gray;
}

.swiper-carrusel-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; /* Ajusta según necesites */
}

.product-grid{display:grid; grid-template-columns:repeat(4, 1fr); gap:20px;}
.product-link {
    width: 100% !important;
    text-decoration: none;
    color:#000;
}
.product {
    background-color: #ffffff; /* Fondo blanco */
    padding: 10px;
    text-align: center;
    border: 1px solid #ededed; /* Bordes suaves */
    border-radius: 12px; /* Bordes redondeados */
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2); /* Leve sombreado */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Transiciones suaves */
}

.product:hover {
    background-color: #f7f7f7;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2); /* Leve sombreado */

}

.product_image {
    width: 100%;
    height: 300px; /* Ajusta la altura según sea necesario */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 2px;
}

.product_image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* La imagen cubrirá todo el contenedor */
}

.product_price_fav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 24px;
    margin-bottom: 5px;
}

.product_price {
    font-size: 14px;
    font-weight: 500;    
}

.product_price_strike {
    font-size: 14px;
    font-weight: 300; 
    text-decoration: line-through;
    color: var(--gray-6);
}

.modified_price {
    margin-left: 5px;
    font-size: 14px;
    font-weight: 500;        
    color: var(--primary);
}

.product_fav_d {
    position: absolute;
    top: 10px; /* Ajusta la posición desde arriba */
    right: 10px; /* Ajusta la posición desde la derecha */
    /*
    background: rgba(0, 0, 0, 0.5); 
    color: white;
    padding: 10px;
    border-radius: 8px;
    */
    z-index: 10; /* Asegura que esté por encima del swiper */
}

.product_fav_d img{
    width: 20px;
    cursor: pointer;
}

.product_fav {
    position: absolute;
    top: 10px; /* Ajusta la posición desde arriba */
    right: 10px; /* Ajusta la posición desde la derecha */
    /*
    background: rgba(0, 0, 0, 0.5); 
    color: white;
    padding: 10px;
    border-radius: 8px;
    */
    z-index: 10; /* Asegura que esté por encima del swiper */
}

.product_fav img{
    width: 20px;
    cursor: pointer;
}

.product_fav img{
    width: 20px;
    cursor: pointer;
}

.product-label-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product_label_oa {
    display: block;
    width: auto !important;
    text-align: left;
    margin-bottom: 10px;
}

.product_label_oa button {
    font-size: 10px;
    font-weight: 600; 
    background-color: #fff;
    border-radius: 4px;
    padding: 1px 15px;
}

.product_title {
    font-size: 14px;
    font-weight: 600; 
    text-align: left;
    white-space: nowrap;  
    overflow: hidden;  
    text-overflow: ellipsis;  
    display: block;
    margin-bottom: 8px;
}

.product_size {
    font-size: 12px;
    font-weight: 600; 
    text-align: left;    
    color: #666;
    margin-bottom: 2px;
}

.product_size span {
    font-weight: 400; 
}

.product_send {
    display: flex;
    align-items: center; /* Centra verticalmente */
    width: 100%;
    margin-bottom: 2px; 
}

.product_send img{
    width: 20px;
}

.product_send .send_title {
    margin-top: -2px; 
}

.product_send .send_title span{
    width: 20px;
    font-size: 12px;
    font-weight: 600; 
    text-align: left;    
    color: #666;
    margin-left: 5px;
}

.product_cp {
    font-size: 12px;
    font-weight: 400; 
    text-align: left;    
    color: #666;
}

.product_label {
    display: inline-flex !important;
    width: auto !important;
    text-align: left;
    margin-bottom: 10px;
}

.product_label button {
    font-size: 16px;
    font-weight: 600;
    background-color: #fff;
    border-radius: 4px;
    padding: 1px 45px;
}

.label_vendido {
    border: 1px solid var(--label-vendido);
    background-color: var(--label-vendido) !important;
    color: var(--white);    
}

.label_nuevo {
    border: 1px solid var(--label-nuevo);
    color: var(--label-nuevo);    
}

.label_usado {
    border: 1px solid var(--label-usado);
    color: var(--label-usado);    
}

.label_alquiler {
    border: 1px solid var(--label-alquiler);
    color: var(--label-alquiler);    
}

.label_reservado {
    border: 1px solid var(--label-reservado);
    background-color: var(--label-reservado) !important;
    color: var(--white);    
}

.content-h2-show {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.content-h2-show a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    border-radius: 25px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.content-h2-show a:hover {
    background-color: var(--primary-hover);
}

.content-h3 {
  position: relative;
  width: 100%;
  min-height: 975px;    /* 850 en portátil */
  padding: 80px 0 0 0;
  margin-bottom: 0px;
  overflow: visible;
  z-index: 0;
  font-family: 'Poppins', sans-serif;
}

.content-h3-m {
    display: none;
    width: 100%;
    padding: 0 0 0 0;
    font-family: 'Poppins', sans-serif;
}

.background-degradado {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(161deg, #eb585a 0%, #eb585a 62%, rgba(255,255,255,0.1) 62%);
  z-index: 1;
}

.background-mac {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://www.gimnasiatotal.com/assets/img/mac-home.png');
  background-size: 120%;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 2;
}

.background-blanco {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0);
  clip-path: polygon(50px 100%, 100% calc(100% - 50px), 100% 100%, 0% 100%);
  z-index: 3;
}

.columns {
  position: relative;
  z-index: 4;
  display: flex;
  gap: 40px;
}

.content-h3 .columns .col-50 {
  width: 50%;
  box-sizing: border-box;
  color: var(--white);
}

.mac-img-mobile {
  display: none;
  margin-top: 40px;
  text-align: center;
}

.mac-img-mobile img {
  max-width: 100%;
  height: auto;
}

.mobile-btn-info-only{
  display: none;
}

.content-h3 .columns .col-50 h2 {
    display: block;
    padding-right: 0px;
    font-size: 38px;
    font-weight: 500;
    line-height: 1.2em;
    margin-bottom: 10px;
}

.content-h3 .columns .col-50 h3 {
    display: block;
    padding-right: 40px;
    font-size: 22px;
    line-height: 1.2em;
    font-weight: 500;
    margin-bottom: 10px;
}

.content-h3 .columns .col-50 h4 {
    display: block;
    padding-right: 60px;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.content-h3-option {
  display: flex;
  align-items: center;
  gap: 10px; 
  margin-bottom: 2px;
  color: var(--white);
}

.content-h3-option img {
  width: 12px;
  height: auto;
  display: block;
}

.content-h3-option p {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
}

.content-h3-option div {
  margin: 0;
  margin-top: 20px;
  font-size: 0.75rem !important;
  font-weight: 400;
  line-height: 14px;
  padding-right: 100px;
  font-style: italic;
}

.content-h3-show {
    display: flex;
    justify-content: left;
    margin-top: 40px;
}

.content-h3-show a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ed7b7b;
    border-radius: 25px;
    border: 1px solid var(--white);
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.content-h3-show a:hover {
    background-color: var(--primary);
}

.content-h4 {
  position: relative;
  width: 100%;
  padding: 0 10% 0 10%;
  margin-bottom: 0px;
  overflow: visible;
  z-index: 0;
  font-family: 'Poppins', sans-serif;
}

.content-h4-m {
    display: none;
    width: 100%;
    padding: 0 15px 0 15px;
    font-family: 'Poppins', sans-serif;    
}

.columns-h4 {
  position: relative;
  z-index: 4;
  display: flex;
  gap: 40px;
}

.content-h4 .columns-h4 .col-50 {
  width: 45%;
  padding: 150px 0 150px 0;
  box-sizing: border-box;
  color: var(--black);
}

.content-h4 .columns-h4 .col-50 h2 {
    display: block;
    padding-right: 0px;
    color: var(--primary) !important;
    font-size: 38px !important;
    font-weight: 500;
    /*text-transform: uppercase;*/
    line-height: 1.2em;
}

.content-h4 .columns-h4 .col-50 h3 {
    display: block;
    padding-right: 0px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    color: var(--black);
}

.content-h4 .columns-h4 .col-50 p {
    display: block;
    padding-right: 0px;
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
    color: #017e89;
}

.content-h4 .columns-h4 .col-imagen {
    flex: 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    background-image: url('https://www.gimnasiatotal.com/assets/img/ipad-footer.png');
    background-size: contain;
    background-position: left bottom;
    background-repeat: no-repeat;
    overflow: visible;
}

.content-h4 .columns .col.imagen img {
    position: relative;
    bottom: 0px; 
    width: 100px;
    z-index: 10;
}


.content-h4-option {
  display: flex;
  align-items: center;
  gap: 10px; 
  margin-bottom: 2px;
  color: var(--black);
}

.content-h4-option img {
  width: 12px;
  height: auto;
  display: block;
}

.content-h4-option p {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
}

.content-h4-option div {
  margin: 0;
  margin-top: 20px;
  font-size: 0.75rem !important;
  font-weight: 400;
  line-height: 14px;
  padding-right: 100px;
  font-style: italic;
}

.content-h4-show {
    display: flex;
    justify-content: left;
    margin-top: 40px;
}

.content-h4-show a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    border-radius: 25px;
    border: 1px solid var(--white);
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.content-h4-show a:hover {
    background-color: var(--primary-hover);
}

.content-h4-center {
    text-align: center;
}

.footer-home-top-container {
    display: none;
}

.footer-home-bottom-container {
    display: none;
}







.content-h5{
  position: relative;
  z-index: 1;               
  width: 100%;
  padding: 0 10%;
  margin: 0;
  /* crea espacio para que el móvil “entre” sin ser cortado */
  background: linear-gradient(to bottom, #e2e2e2 0%, #fff 100%);
  overflow: visible;        
}

.columns-h5 {
  position: relative;
  z-index: 0;
  display: flex;
  gap: 80px;
  align-items: stretch;         
}

.content-h5 .columns-h5 .col-50 {
  width: 50%;
  box-sizing: border-box;
  color: var(--black);
  display: flex;                
  flex-direction: column;
  justify-content: center;      
  padding: 100px 0;
}




.t1 {font-weight: 500; font-size: 38px; line-height: 1.2em; margin: 0 0 10px;}
.t2 {font-weight: 500; font-size: 20px; color:var(--primary); line-height: 1.2em; margin: 0;}
.t3 {font-weight: 500; font-size: 20px; color:var(--primary); line-height: 1.2em; margin: 30px 0 10px 0;}
.t4 {font-weight: 500; font-size: 18px; margin: 0;}

.col-img .img-wrap {
  width: 100%;
  display: flex;
  justify-content: center;      
  align-items: center;          
}

.col-img img {
  width: 100%;
  height: auto;
  display: block;
}

.col-text ul{
  margin: 16px 0 8px;
  padding: 0;
  list-style: none; 
}

.col-text li{
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2em;
}

.col-text li::before{
  content: "";
  flex: 0 0 7px;      
  height: 7px;
  margin-top: 7px;    
  border-radius: 50%; 
  background: currentColor; 
  opacity: .9;
}

.col-text ul,
.col-text li{
  color: var(--black);       
}

.btn-row{
  display: flex;
  align-items: center;     
  gap: 10px;               
  margin-top: 30px;
  flex-wrap: wrap;         
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .05s ease, opacity .2s ease, background-color .2s ease, border-color .2s ease;
  cursor: pointer;
  user-select: none;
}

.btn-primary{
  background: var(--primary, #eb585a);
  color: #fff;
  border-color: var(--primary, #eb585a);
}

.btn-primary:hover{ 
    background: var(--primary-hover, #eb585a); 
}

.btn-ghost{
  background: #fff;
  color: var(--primary, #eb585a);
  border-color: rgba(0,0,0,.12);
}
.btn-ghost:hover{
  background: #fafafa;
  border-color: rgba(0,0,0,.2);
}

.u-hidden{ display: none; }



/* Fondo exterior gris suave */
.mod-why{
  background: #f2f3f4;
  padding: 100px 10%;
  overflow:visible; 
}

.why-intro{
    display: block;
    max-width: 1200px;
    margin: 0 auto 60px;
    text-align: center;
    font-weight: 500;
    color: #017e89;
    font-size: 38px;
    line-height: 1.2em;    
}

/* Card blanca con sombra. MUY IMPORTANTE: overflow visible para permitir el desborde de la imagen */
.why-card{
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 30px rgba(0,0,0,.12);
  padding: 36px;                /* relleno interior de la card */
  overflow: visible;            /* deja sobresalir la imagen */
  position: relative;
}

/* Grid de 2 columnas */
.why-grid{
  display: flex;
  align-items: center;
  gap: 120px;
}

/* Columna de texto */
.why-text{
  flex: 1 1 65%;
}

.why-text h2{
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #0f6a67;               /* ajusta a tu paleta */
  font-weight: 600;
}

/* Contenedor de la lista de bloques */
.why-features{
  display: flex;
  flex-direction: column;
  gap: 40px;                 /* separación entre bloques */
  margin: 0;
  padding: 0;
}

/* Cada bloque: 2 columnas */
.feature{
  display: flex;
  align-items: flex-start;   /* alineación superior */
  gap: 20px;                 /* separación entre icono y texto */
}

/* Columna icono */
.feature-media{
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-media img{
  width: 60px;
  height: 60px;
  display: block;
}

/* Columna textos */
.feature-body{
  flex: 1 1 auto;
}
.feature-body h4{
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: #333;               
}
.feature-body p{
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #666;
}

/* Columna de imagen */
.why-media{
  flex:1 1 35%;
  display:flex;
  justify-content:center;
  align-items:center;
  position:relative;
  overflow:visible;                 /* <- no cortar */
}

.why-img{
  width:min(420px, 100%);
  height:auto;
  display:block;
  margin-top:-75px !important;                 /* sobresale 50px por arriba */
  margin-bottom:-75px !important;              /* sobresale 50px por abajo */
}



/* Sección */
.mod-compare{
  background:#fff;
  padding:120px 10%;
  font-family:'Poppins',sans-serif;
}

/* Título */
.compare-title{
    display: block;
    text-align:center;
    font-weight:500;
    color:var(--primary,#d65a61);
    font-size:38px;
    margin:0 auto 80px;
}

/* Wrapper con scroll horizontal en móvil */
.compare-wrap{
  background:transparent;
  border-radius:16px;
  box-shadow:0 4px 10px rgba(0,0,0,.10);
  overflow:hidden;               
}
.compare-wrap{ overflow-x:auto; } 

/* Tabla */
.compare-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  font-size:16px;
}

/* Cabecera */
.compare-table thead th{
  text-align:center;
  padding:18px 14px;
  color:#000;
  font-weight:600;
  font-size: 18px;
  white-space:nowrap;
}

.th-desktop { display: inline; }
.th-mobile  { display: none;  }
.thl-desktop { display: inline !important; }
.thl-mobile-sm  { display: none !important;  }

.th-feature{
  text-align:left;
  background:#f4f5f6;
  color:#222 !important;
  font-size: 28px !important;
  border-top-left-radius:12px;
}
.th-web{ background:#61bead;padding:18px 30px !important; }
.th-erp{ background:#eb9a7f;padding:18px 30px !important; }
.th-time{ background:#c9daa4; }
.th-gt{
  background:#e2bac2;
  border-top-right-radius:12px;
}
.th-gt img {
    width: auto !important;
    height: 40px !important;
}

/* Celdas */
.compare-table td{
  padding:10px 16px;
  text-align:center;
  border-bottom:1px solid #eee;
}
.compare-table tbody tr:last-child td{
  border-bottom:none;
}

/* Primera columna (texto funcionalidad) */
.compare-table tbody td:first-child{
  text-align:left;
  background:#fafafa;
  color:#333;
  width:38%;
}

/* Redondeo inferior */
.compare-table tbody tr:last-child td:first-child{ border-bottom-left-radius:12px; }
.compare-table tbody tr:last-child td:last-child{ border-bottom-right-radius:12px; }

/* Iconos 16x16 */
.compare-table img{
  width:24px; height:24px; display:inline-block;vertical-align: middle;
}

.compare-table img.ok{
    filter: invert(41%) sepia(62%) saturate(410%) hue-rotate(86deg) brightness(90%) contrast(92%);
}

.compare-table img.ko{
    filter: invert(34%) sepia(66%) saturate(3300%) hue-rotate(338deg) brightness(96%) contrast(98%);
}

/* Filas alternas (empieza por blanco) */
.compare-table tbody tr:nth-child(odd)  td {
  background-color: #fff;
}
.compare-table tbody tr:nth-child(even) td {
  background-color: #f4f5f6;
}

/* Primera columna: mismo patrón pero ligeramente más claro para destacar texto */
.compare-table tbody tr:nth-child(odd)  td:first-child {
  background-color: #fff; /* blanco sutil */
}
.compare-table tbody tr:nth-child(even) td:first-child {
  background-color: #f4f5f6; /* gris muy suave */
  /* si prefieres, usa #ececec para más contraste */
}


/* CTA */
.compare-cta{
  display:flex; justify-content:center; margin-top:40px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:42px; padding:0 20px; border-radius:999px;
  font-weight:500; font-size:18px; text-decoration:none;
  border:1px solid transparent; cursor:pointer;
}
.btn-primary{
  background:var(--primary,#d65a61); color:#fff; border-color:var(--primary-hover,#d65a61);
}








/* Responsive: columnas apiladas en móvil */
@media (max-width: 900px) {
  .columns-h5 {
    flex-direction: column;
    gap: 24px;
    min-height: unset;
  }
  .content-h5 .columns-h5 .col-50 {
    width: 100%;
    padding: 24px 0;
    text-align: center; 
  }
  .t1 { font-size: 38px; }
  
  .why-card{ padding: 28px; }
  .why-grid{ gap: 28px; }
  .why-text h2{ font-size: 28px; }
  .why-img{ max-width: 480px; margin-top: -50px; margin-bottom: -50px; }  
  
}





@media (max-width: 768px) {
    
    .menu {
        display: none;
    }
    
    .header-inner-app {
        display: flex;
        justify-content: flex-end; 
        align-items: right;       
    }
    
    .header-inner-app a {
        color: white;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.3s ease;
    }
    
    .header-inner-app a:hover {
        color: var(--primary);
    }    

    .columns {
        flex-direction: column;
        gap: 20px; /* opcional: reduce el espacio entre columnas */
        padding: 0 5%; /* opcional: ajusta los márgenes laterales */
    }
    
    /* Títulos y textos */
    .col.texto h1 {
        font-size: 1.8rem;
        font-weight: 500;
        /*text-transform: uppercase;*/
        line-height: 2rem;
        margin-top: -30px;
        margin-bottom: 20px;
    }
    
    .col.texto h2 {
        font-size: 1.1rem;
        line-height: 1.5rem;
        font-weight: 500;
        margin-bottom: 20px;
    }
    
    .col.texto h3 {
        font-size: 1rem;
        line-height: 1.5rem;
        font-weight: 300;
        margin-bottom: 30px;
    }    
    
    .texto a {
        display: inline-block; 
        padding: 10px 20px;
        margin-top: 20px;
        background-color: var(--primary);
        border-radius: 25px;
        border: 1px solid var(--white);
        color: var(--white);
        font-size: 0.8rem;
        font-weight: 500;
        cursor: pointer;
        text-decoration: none;
        white-space: nowrap;
        max-width: unset !important; 
        width: auto !important; 
        align-self: flex-start;
    }
    
    .col.texto a:hover {
        background-color: var(--primary-hover);
    }    

    .col.imagen {
        align-items: center; /* centra horizontalmente */
        justify-content: center;
        position: relative; /* necesario para que el bottom del hijo funcione */
    }
    
    .col.imagen img {
        position: relative;
        bottom: -50px; /* sobresale hacia abajo */
        max-height: 400px; /* altura máxima */
        height: auto;
        width: auto;
        max-width: 100%; /* evita que desborde horizontalmente */
        object-fit: contain;
    }


    .col.texto {
        align-items: left; /* centra el texto horizontalmente */
        text-align: left;
    }

    .texto a {
        align-self: left;
    }
    
    .content-h2 {
        padding-top: 80px;
    }
    
    .content-h2 h2 {
        font-size: 1.5rem;
        margin-bottom: 40px;
        /*color: var(--black);*/
        font-weight: 600;
        line-height: 1.5rem;
    }
    
    .content-h3 {
        padding: 0;
        margin: 0;
        gap: 0;
    }
    
    .content-h3 .columns {
        flex-direction: column;
        padding: 0;
    }
    
    .content-h3 .columns .col-50:last-child {
        display: none;
        width: 100%;
        padding: 0;
        margin: 0;
        /*border:1px solid blue;*/
    }    
    
    .background-degradado {
        display: none;
    }
    
    .background-blanco {
        display: none;
    }   
    
    .background-mac {
        display: none;
    }    
    
    .mac-img-mobile {
        display: block;
        padding: 0 5%;
        margin: 0;
        margin-top: -350px;
        /*border:1px solid green;*/
        
    }    
    
    .mobile-btn-info-only {
        display: flex;
        justify-content: center;
        margin-top: -30px;
    }
    
    .content-h3 .columns .col-50 .content-h3-show {
        display: none;
    } 
    
    .content-h3 .columns .col-50:first-child {
        width: 100%;
        padding: 80px 5% 300px 5%;
        background: linear-gradient(180deg, #2b87da 0%, #29c4a9 100%, rgba(255,255,255,0.1) 100%);
        /*border:1px solid red;*/
    }  
    
    .content-h3 .columns .col-50 h2 {
        font-size: 2rem;
        line-height: 2rem;
        margin-bottom: 20px;
    }
    
    .content-h3 .columns .col-50 h3 {
        font-size: 1.1rem;
    }
    
    .content-h3 .columns .col-50 h4 {
        font-size: 1rem;
    }   
    
    .content-h3-option div {
      padding-right: 0;
    }  
    
    .content-h4 {
        padding: 0px;
        margin: 0px;
    }
    
    .content-h4 .columns-h4 {
        display: flex;
        flex-direction: column;
        padding: 80px 0 0 0;
    }   
    
    .content-h4 .columns-h4 .col-50 {
        width: 100%;
        padding: 0 5%;
    }  
    
    .content-h4 .columns-h4 .col-50 h2 {
        color: var(--primary) !important;
        font-size: 38px !important;
        font-weight: 500;
        line-height: 1.2em;
        margin-bottom: 20px;
        border:1px solid red;
    }
    
    .content-h4 .columns-h4 .col-50 h3 {
        font-size: 1.1rem;
    }    
    
    .content-h4 .columns-h4 .col-50 h3:last-of-type {
        padding: 0;
        margin: 0 auto;
        margin-top: 30px;
        text-align: center;
    }  
    
    .content-h4 .columns-h4 .col-imagen {
        position: relative;
        padding: 0;
        margin: 0;
        min-height: 600px;
        height: auto;
        background-image: url('https://www.gimnasiatotal.com/assets/img/ipad-footer.png');
        background-size: contain;
        background-position: center bottom;
        background-repeat: no-repeat;
        overflow: visible;
        border:1px solid green;
    }
    
    .content-h4-show {
        justify-content: center;
    }   
    
    
    
    
    
    
    
    .content-h5 .columns-h5 .col-50 {
        width: 100%;
        flex-direction: column;
        justify-content: flex-start;   
        align-items: flex-start;        
        text-align: left;               
        padding: 100px 0;
    }    
    
    .content-h5 .columns-h5 .col-50.col-text{
        padding-bottom: 0 !important;
    }
    
    .content-h5 .columns-h5 .col-50.col-img{
        padding-top: 40px !important;
        padding-bottom: 100 !important;
    }

    .btn-row{
        gap: 8px;
    }
    
    .btn{
        width: 100%;          
        height: 44px;
    }

    
    
    .why-grid{
        flex-direction: column;
        text-align: left;          /* o center si lo prefieres en móvil */
    }
    .why-media{ width: 100%; }
    .why-img{
        max-width: 440px;
        margin-top: -24px;
        margin-bottom: -24px;
    }    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    .footer-home-top-container {display: flex; width: 100%; background-color: var(--primary); padding: 0px 20px;}
    
    .footer-home-bottom-container {display: flex; width:100%; background-color:var(--black); padding:0px 20px;}
    
    .footer-home-top {
        width: 100%;
        background-color: var(--primary);
        padding: 40px 0;
    }
    
    .footer-home-top-columns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        /*margin: 0 auto;*/
        padding: 0;
        box-sizing: border-box;
        text-align: left;
    }
    
    .footer-home-top-columns:not(:last-child) {
        margin-bottom: 40px;
    }    
    
    .footer-home-top-col {
      color: white;
    }    
    
    .footer-home-top-title {
      font-size: 14px;
      font-weight: 500;
      color: var(--white);
      margin-bottom: 10px;
    }
    
    .footer-home-top-col a {
      display: block;
      font-size: 12px;
      font-weight: 300;
      color: var(--white);
      text-decoration: none;
      margin-bottom: 6px;
    }
    
    .footer-home-top-col a:hover {
    }
    
    .footer-home-bottom {
      display: block;
      align-items: center;
      padding: 20px;
      background-color: var(--black);
      color: white;
      font-size: 12px;
      margin: 0 auto;
    }
    
    .footer-home-bottom-center {
        width: 100%;    
        text-align: center;
    }

    .footer-home-bottom-center a{
        color: white;
        text-decoration: none;
    }
    
    .footer-home-bottom-center a:hover{
        text-decoration: none;
    }    
    
    .footer-home-bottom-center a.red{
        color: var(--primary);
        text-decoration: none;
    }    
    
}

@media (max-width: 480px) {
    
    .col.texto h1 {
        font-size: 36px;
        font-weight: 500;
        line-height: 2.5rem;
        margin-bottom: 20px;
    }
    
    .col.texto h2 {
        font-size: 22px;
        line-height: 2rem;
        font-weight: 500;
        margin-bottom: 20px;
    }
    
    .col.texto h3 {
        font-size: 20px;
        line-height: 2rem;
        font-weight: 400;
        margin-bottom: 20px;
    }    
    
    .col-50.col-text {
        padding-bottom: 0px !important;
    }
    
    .col-img .img-wrap {
        width: 100%;
    }    
    
    .col-50.col-img {
        margin-top: -20px !important;
    }    
    
    .t1 {font-weight: 600; font-size: 38px; line-height: 1.2em; margin: 0 0 10px;}
    .t2 {font-weight: 500; font-size: 20px; color:var(--primary); line-height: 1.2em; margin: 0;}
    .t3 {font-weight: 500; font-size: 20px; color:var(--primary); line-height: 1.2em; margin: 20px 0 10px 0;}
    .t4 {font-weight: 500; font-size: 18px; margin: 0 !important; padding-bottom: 0 !important;}    
    
    .col-text ul{
      margin: 16px 0 8px;
      padding: 0;
      list-style: none; 
    }
    
    .col-text li{
      position: relative;
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 4px 0;
      font-size: 18px;
      font-weight: 300;
      line-height: 1.2em;
    }
    
    .col-text li::before{
      content: "";
      flex: 0 0 6px;      
      height: 6px;
      margin-top: 7px;    
      border-radius: 50%; 
      background: currentColor; 
      opacity: .9;
    }
    
    .col-text ul,
    .col-text li{
      color: var(--black);       
    }
    
    .btn-row {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .btn-row a {
        display: none;
    }
    
    .col-50.col-img .u-hidden {
        display: flex !important;
        margin-top: 40px;
    }

    .content-h5{
      padding: 0 15px;
    } 
    
    .mod-why{
        padding: 80px 15px 100px 15px;
    }    
    
    .why-intro{
        display: block;
        max-width: 100%;
        text-align: center;
        font-weight: 500;
        color: #017e89;
        font-size:32px;
        line-height: 1.2em;    
        margin: 0 auto 50px;
    }  
    
    .why-media{
        flex:1 1 35%;
        display:flex;
        justify-content:center;
        align-items:center;
        position:relative;
        overflow:visible;                 
    }
    
    .why-img{
        width:min(420px, 100%);
        height:auto;
        display:block;
        margin-top:20px !important;                 
        margin-bottom:-75px !important;              
    }
    
    
    .mod-compare{
        padding: 100px 15px;
    }
    
    .compare-title{
        display: block;
        text-align:center;
        font-weight:500;
        color:var(--primary,#d65a61);
        font-size:32px;
        line-height: 1.2em;    
        margin: 0 auto 30px;
    }   
    
    .compare-wrap{
        border-radius:4px !important;
    }
    
    /* Tabla */
    .compare-table{
      width:100%;
      border-collapse:separate;
      border-spacing:0;
      background:#fff;
      font-size:16px;
    }
    
    /* Cabecera */
    .compare-table thead th{
      text-align:center;
      padding:8px 4px;
      color:#000;
      font-weight:400;
      font-size: 10px;
      line-height: 0.7rem;
      white-space:nowrap;
    }
    
    .th-desktop { display: none; }
    .th-mobile  { display: inline; }
    
    .th-feature{
      text-align:left;
      background:#c1c1c1;
      color:#222 !important;
      font-size: 10px !important;
      border-top-left-radius:4px !important;
      font-weight:600 !important;
    }
    .th-web{ background:#61bead;padding:2px 4px !important; line-height: 0.5rem; font-weight:400 !important;}
    .th-erp{ background:#eb9a7f;padding:2px 4px !important; line-height: 0.5rem; font-weight:400 !important;}
    .th-time{ background:#c9daa4; line-height: 0.5rem; font-weight:400 !important;}
    .th-gt{
      background:#e2bac2;
      border-top-right-radius:4px !important;
      line-height: 0.5rem;
    }
    .th-gt img {
        width: auto !important;
        height: 20px !important;
    }
    
    /* Celdas */
    .compare-table td{
      padding:8px 4px;
      text-align:center;
      border-bottom:1px solid #eee;
      font-size: 10px;
      font-weight:300;
    }
    .compare-table tbody tr:last-child td{
      border-bottom:none;
    }
    
    /* Primera columna (texto funcionalidad) */
    .compare-table tbody td:first-child{
      text-align:left;
      background:#fafafa;
      color:#333;
      width:20%;
    }
    
    /* Redondeo inferior */
    .compare-table tbody tr:last-child td:first-child{ border-bottom-left-radius:4px !important; }
    .compare-table tbody tr:last-child td:last-child{ border-bottom-right-radius:4px !important; }
    
    /* Iconos 16x16 */
    .compare-table img{
      width:16px; height:16px; display:inline-block;vertical-align: middle;
    }

    .content-h3 {
        display:none;
    }
    
    .content-h3-m {
        display:block;
    }    
    
    .columns-h3-m .col-h3-m{
        padding: 100px 15px 150px 15px;
        width:100%;
        background-color: var(--primary);
    }
    .columns-h3-m .col-h3-img-m{
        width:100%;
        padding: 0 15px 100px 15px;
        margin-top: -150px;
        background-color: transparent;
    }
    
    .columns-h3-m .col-h3-img-m img{
        width: 100%;
    }
    
    .content-h3-m .columns-h3-m .col-h3-m h2 {
        display: block;
        padding-right: 0px;
        font-size: 38px;
        font-weight: 500;
        line-height: 1.2em;
        color: #fff;
        margin-bottom: 10px;
    }
    
    .content-h3-m .columns-h3-m .col-h3-m h3 {
        display: block;
        font-size: 22px;
        font-weight: 500;
        line-height: 1.2em;
        color: #fff;
        margin-bottom: 10px;
    }
    
    .content-h3-m .columns-h3-m .col-h3-m h4 {
        display: block;
        /*padding-right: 60px;*/
        font-size: 1rem;
        font-weight: 500;
        color: #fff;
        margin-bottom: 10px;
    }    
    
    .content-h4 {
        display:none;
    }
    
    .content-h4-m {
        display: block;
    }   
    
    .columns-h4-m .col-h4-m{
        width:100%;
    }
    
    .columns-h4-m .col-h4-img-m{
        width:100%;
        margin-top: 40px;
    } 
    
    .content-h4-m .col-h4-img-m img{
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }  
    
    .content-h4-m .columns-h4-m .col-h4-m h2 {
        display: block;
        padding-right: 0px;
        color: var(--primary) !important;
        font-size: 38px !important;
        font-weight: 500;
        line-height: 1.2em;
    }
    
    .content-h4-m .columns-h4-m .col-h4-m h3 {
        display: block;
        padding-right: 0px;
        font-size: 14px;
        font-weight: 500;
        margin-top: 10px;
        color: var(--black);
    }
    
    .content-h4-m .columns-h4-m .col-h4-m p {
        display: block;
        padding-right: 0px;
        font-size: 20px;
        font-weight: 500;
        margin-top: 10px;
        color: #017e89;
    }  
    
    .content-h2 h2 {
        font-size: 38px;
        font-weight: 500;
        line-height: 1.2em;    
        margin: 0 auto 30px;
    }    
 
 
}

@media (max-width: 360px) {
    .thl-desktop { display: none !important;}
    .thl-mobile-sm  { display: inline !important;}
}