/* ====== CONTENEDOR GENERAL ====== */
.tcm-empresas{
  font-family: "Montserrat", Verdana, sans-serif;
  color:#000;
}

/* ====== FLECHAS (centradas a los lados) ====== */
.tcm-icons-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:20px;
  margin:16px auto 12px;
  max-width:900px;
  position:relative;
}

.tcm-nav{
  width:44px;
  height:44px;
  border-radius:50%;
  border:none;
  cursor:pointer;
  background:#24a064 !important;
  color:#fff;
  font-size:25px;
  line-height:25px;
  text-align:center;
  box-shadow:0 2px 6px rgba(0,0,0,.12);
  transition:background .15s ease, transform .15s ease;
  -webkit-tap-highlight-color:transparent;
  outline:none;
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
}
.tcm-prev{ left:-60px; }
.tcm-next{ right:-60px; }

.tcm-nav:hover,
.tcm-nav:focus,
.tcm-nav:focus-visible,
.tcm-nav:active{
  background:#1f8d58 !important;
  color:#fff !important;
  box-shadow:0 2px 6px rgba(0,0,0,.12) !important;
}

/* ====== CARRUSEL DE ICONOS ====== */
.tcm-icons{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:48px;
  padding:8px 6px;
}

/* Iconos: misma altura, más grandes */
.tcm-icon{
  width:200px;      
  height:120px;     
  max-width:30vw;
  flex:0 0 auto;
  transition:transform .22s ease, filter .22s ease, opacity .22s ease;
}
.tcm-icon img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.tcm-icon--side{ filter:grayscale(100%) opacity(.45); }
.tcm-icon--center{ transform:scale(1.12); }

/* ====== ANIMACIÓN LATERAL ====== */
.tcm-anim{ will-change:transform, opacity; }
.tcm-out-left  { opacity:0; transform:translateX(-24px); transition:transform .18s ease, opacity .18s ease; }
.tcm-out-right { opacity:0; transform:translateX( 24px); transition:transform .18s ease, opacity .18s ease; }
.tcm-enter{ opacity:0; }
.tcm-enter-left  { transform:translateX(-24px); }
.tcm-enter-right { transform:translateX( 24px); }
.tcm-enter.tcm-go{ opacity:1; transform:translateX(0); transition:transform .28s ease, opacity .28s ease; }

/* ====== TARJETA ====== */
.tcm-card{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:30px;
  background:#fff;
  border-radius:16px;
  padding:30px;
  max-width:900px;
  margin:12px auto 40px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  border:1px solid #eee;
  align-items:center;
}
.tcm-card-media img{
  width:100%;
  height:auto;
  border-radius:12px;
  display:block;
}

/* Tipografía */
.tcm-card-title{
  margin:0 0 8px;
  font-weight:700;
  color:#000;
  font-size:22px;
}
.tcm-card-text{
  color:#000;
  opacity:.95;
  font-size:18px;
  line-height:1.55;
}
.tcm-card-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:18px;
  padding:12px 26px;
  background:#dd8226;
  color:#fff;
  font-weight:600;
  font-size:15px;
  text-decoration:none;
  border-radius:8px;
  transition:background .15s ease, transform .15s ease;
}
.tcm-card-btn:hover,
.tcm-card-btn:focus{
  background:#c26f1a;
  color:#fff;
}

/* ====== TABLET (max 1024px) ====== */
@media (max-width:1024px){
  .tcm-card{
    max-width:730px;   /* ✅ nuevo valor */
  }
  .tcm-prev{ left:10px; }
  .tcm-next{ right:10px; }
}

/* ====== TELÉFONO (max 720px) ====== */
@media (max-width:720px){
  .tcm-card{
    grid-template-columns:1fr;
    max-width:92%;
    align-items:center;
    justify-items:center;
    text-align:center;
  }

  .tcm-card-body{
    display:flex;
    flex-direction:column;
    align-items:center;
  }

  .tcm-icons{ gap:22px; }

  /* ✅ iconos más grandes en teléfono */
  .tcm-icon{
    width:200px;
    height:130px;
    max-width:50vw;
  }

  .tcm-icon--side{ display:none; }

  /* Tipografía móvil */
  .tcm-card-title{ font-size:18px; }
  .tcm-card-text{ font-size:15px; }

  .tcm-card-btn{ margin-left:auto; margin-right:auto; }
}
